<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1860184472060895422</id><updated>2012-01-06T19:26:43.516+05:30</updated><title type='text'>Notebook</title><subtitle type='html'>my notes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-1127245735243821149</id><published>2011-10-27T20:14:00.003+05:30</published><updated>2011-10-27T20:19:58.895+05:30</updated><title type='text'>User specific locale in Mifos</title><content type='html'>We have been able to get the user specific locale work in Mifos which is scheduled to be released next (probably 2.3.x something).&lt;br /&gt;&lt;br /&gt;i.e. at head office a manager could use mifos in english while a loan officer on their own machine could let's say use a French.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can play with the feature on&amp;nbsp;&lt;a href="http://ci.mifos.org:8085/mifos/"&gt;http://ci.mifos.org:8085/mifos/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The login page is localized based on system (server) locale settings in applicationConfiguration.custom.properties, after login the user locale are used for display.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can go to the "Your Settings" and change locale for the user, also notice a new link "Change Language" at home page. We have added a dialog popup for dynamic locale change which make it easier to see what is the current locale of the user and change it on the fly.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Change Language Dialog box. (auto refresh)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ECIEdosnXDQ/TqltjSz79gI/AAAAAAAAETk/08JfHXbQ_fk/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-ECIEdosnXDQ/TqltjSz79gI/AAAAAAAAETk/08JfHXbQ_fk/s1600/Screenshot-1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;After (selected Tegulu)&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-buSqUWgEWbQ/Tqlthx5Cd1I/AAAAAAAAETc/M7jjcv0meLQ/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-buSqUWgEWbQ/Tqlthx5Cd1I/AAAAAAAAETc/M7jjcv0meLQ/s1600/Screenshot.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;If you have suggestions/improvements/bugs, report all those on&amp;nbsp;&lt;a href="http://mifosforge.jira.com/"&gt;http://mifosforge.jira.com&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-1127245735243821149?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/1127245735243821149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=1127245735243821149&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1127245735243821149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1127245735243821149'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2011/10/user-specific-locale-in-mifos.html' title='User specific locale in Mifos'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ECIEdosnXDQ/TqltjSz79gI/AAAAAAAAETk/08JfHXbQ_fk/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-7778131339754503616</id><published>2011-10-11T12:32:00.000+05:30</published><updated>2011-10-11T12:32:33.829+05:30</updated><title type='text'>Changing language in Mifos without restart (lab feature)</title><content type='html'>&lt;a href="http://mifos.org/"&gt;Mifos&lt;/a&gt; uses a system wide locale setting and to change locale one have to change the configuration and restart Mifos server, I have always wanted for Mifos to have the ability to dynamically change the locale at runtime but never got the time to do so.&lt;br /&gt;&lt;br /&gt;I just finished doing so, check &lt;a href="http://ci.mifos.org:8085/mifos"&gt;http://ci.mifos.org:8085/mifos&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-NO-QUi1PC5A/TpPlgINh5kI/AAAAAAAAES8/r4hTbFbEaZY/s1600/mifos_lang_change_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="395" src="http://4.bp.blogspot.com/-NO-QUi1PC5A/TpPlgINh5kI/AAAAAAAAES8/r4hTbFbEaZY/s640/mifos_lang_change_1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;click on change language, you will get a list of languages.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-E94iXlZ4YjM/TpPlvohaJfI/AAAAAAAAETE/h2wK_8xaIDA/s1600/mifos_lang_change_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="418" src="http://3.bp.blogspot.com/-E94iXlZ4YjM/TpPlvohaJfI/AAAAAAAAETE/h2wK_8xaIDA/s640/mifos_lang_change_2.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;and click change&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-aPvfsXfKwK8/TpPmcK1vnHI/AAAAAAAAETM/1G0fzHZkU3A/s1600/mifos_lang_change_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="322" src="http://3.bp.blogspot.com/-aPvfsXfKwK8/TpPmcK1vnHI/AAAAAAAAETM/1G0fzHZkU3A/s640/mifos_lang_change_3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Now, this is not intended for production use,&amp;nbsp;&lt;/b&gt;it is a system wide setting and change by one user is&amp;nbsp;reflected&amp;nbsp;to other users as Mifos still doesn't support user/session based locale settings.&lt;br /&gt;&lt;br /&gt;It is a lab feature and we hope that we can get user specific locale working soon and then same can be used in production also.&lt;br /&gt;&lt;br /&gt;This gives us benefit for testing and reduces our locale specific deployment server, and hopefully if the number of users who play with localization simultaneously increases on our deployment/test servers we will be done with user specific locale.&lt;br /&gt;&lt;br /&gt;There is a new setting in applicationConfiguration.custom.properties&lt;br /&gt;Localization.Lab.Level=1&lt;br /&gt;which enables this feature, but in&amp;nbsp;&amp;nbsp;applicationConfiguration.default.properties this setting is 0 which makes it disabled.&lt;br /&gt;&lt;br /&gt;You can help if you are interested in Mifos I18n/L10n project.&lt;br /&gt;&lt;a href="http://mifosforge.jira.com/wiki/display/projects/Simplify+Locale+Configuration"&gt;http://mifosforge.jira.com/wiki/display/projects/Simplify+Locale+Configuration&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mifosforge.jira.com/wiki/display/projects/Mifos+Localization"&gt;http://mifosforge.jira.com/wiki/display/projects/Mifos+Localization&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-7778131339754503616?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/7778131339754503616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=7778131339754503616&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7778131339754503616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7778131339754503616'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2011/10/changing-language-in-mifos-without.html' title='Changing language in Mifos without restart (lab feature)'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-NO-QUi1PC5A/TpPlgINh5kI/AAAAAAAAES8/r4hTbFbEaZY/s72-c/mifos_lang_change_1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-1179278892725113942</id><published>2011-05-08T09:00:00.000+05:30</published><updated>2011-05-08T09:00:57.447+05:30</updated><title type='text'>Adaptation of new technologies : XP and Agile</title><content type='html'>I have met experienced people not buying that idea that&lt;br /&gt;- JPA 2 is good specification.&lt;br /&gt;- No body needs XML configurations (spring)&lt;br /&gt;- RAD platform (rails, roo, grails, django) are better for enterprise development than old way Java or Php frameworks.&lt;br /&gt;- We don't need DTOs (data transfer objects)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-1179278892725113942?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/1179278892725113942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=1179278892725113942&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1179278892725113942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1179278892725113942'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2011/05/adaptation-of-new-technologies-xp-and.html' title='Adaptation of new technologies : XP and Agile'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-4790577239337908836</id><published>2011-04-23T13:44:00.000+05:30</published><updated>2011-04-23T13:44:59.531+05:30</updated><title type='text'>Java developer : Python can be slow at times</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Python is a powerful and more expressive language than Java. But, when I see open source code of some well known projects using Python (I am not going to name them) they seem terribly inexpressive at places. There are well known projects where code is so obscure that it's even hard to make sense out of them.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;But, the question is how Python is slow?&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I read this on Google's Code Jam FAQ for 2011&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;dt&gt;&lt;b&gt;What programming languages would you recommend?&lt;/b&gt;&lt;/dt&gt;&lt;br /&gt;&lt;dt&gt;&amp;nbsp;&lt;/dt&gt;&lt;br /&gt;&lt;dd&gt;&lt;i&gt;"Many of our contestants use C++, Java and Python, though occasionally   Python's slowness at dealing with large sets of numbers can pose a problem.   Our contestants have used a wide variety of languages to compete in Code   Jam, though we aren't certain that we'd recommend LOLCODE and Piet.  See a   site set up by one of our contestants, at   &lt;a href="http://www.go-hero.net/jam/10/languages/0"&gt;http://go-hero.net/jam&lt;/a&gt;, for a look at what languages people used   in previous Code Jams, and how that distribution changed in later   rounds."&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;See the link in this quote for Language comparison.&lt;br /&gt;&lt;br /&gt;I wanted to see it myself.&lt;br /&gt;&lt;br /&gt;I created same program to compute prime numbers in Java and Python the difference in computation time was in the order of 100, Python program was 100 times slower than Java.&lt;br /&gt;&lt;br /&gt;Java - http://pastebin.com/PvXJNM9T&lt;br /&gt;Python - http://pastebin.com/t5eEE9sq&lt;br /&gt;&lt;br /&gt;May be there are optimization that can be done at lower level for python code, but the out of the box truth is that "Python can be slow in dealing with large numbers"&lt;br /&gt;&amp;nbsp;&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dd&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;I love Python and it's a great language. Write code for humans not machines.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/dd&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-4790577239337908836?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/4790577239337908836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=4790577239337908836&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/4790577239337908836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/4790577239337908836'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2011/04/java-developer-python-can-be-slow-at.html' title='Java developer : Python can be slow at times'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-5168843373397682969</id><published>2011-04-23T00:49:00.000+05:30</published><updated>2011-04-23T00:49:37.550+05:30</updated><title type='text'>Python WebDriver backed Selenium RC 2.0 beta4</title><content type='html'>install python selenium rc driver 2.0b4 using "easy_install selenium"&lt;br /&gt;&lt;br /&gt;testing the WebDriver backed selenium rc 2.0 with python script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;from selenium.webdriver.firefox.webdriver import WebDriver&lt;br /&gt;from selenium.common.exceptions import NoSuchElementException&lt;br /&gt;from selenium.webdriver.common.keys import Keys&lt;br /&gt;&lt;br /&gt;browser = WebDriver() # Get local session of firefox&lt;br /&gt;browser.get("http://google.com") # Load page&lt;br /&gt;elem = browser.find_element_by_name("q") # Find the query box&lt;br /&gt;elem.send_keys("Udai Gupta" + Keys.RETURN)&lt;br /&gt;try:&lt;br /&gt;    browser.find_elements_by_link_text("Udai Gupta")&lt;br /&gt;except NoSuchElementException:&lt;br /&gt;    assert 0, "can't find Udai Gupta"&lt;br /&gt;browser.close()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The documentation was outdated related python selenium 2.0 rc api and lots of changes are happening. Probably best thing would be to have Selenium IDE plugin to generate python scripts for RC 2.0 (for Java the plugin is available).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-5168843373397682969?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/5168843373397682969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=5168843373397682969&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/5168843373397682969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/5168843373397682969'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2011/04/python-webdriver-backed-selenium-rc-20.html' title='Python WebDriver backed Selenium RC 2.0 beta4'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-8544633777434875776</id><published>2010-11-11T19:39:00.000+05:30</published><updated>2010-11-11T19:39:01.314+05:30</updated><title type='text'>MySQL profileSQL with Mifos</title><content type='html'>local.properties (of Mifos)&lt;br /&gt;main.database.params=useUnicode=true&amp;amp;characterEncoding=UTF-8&lt;br /&gt;&lt;br /&gt;add &amp;amp;profileSQL=true&lt;br /&gt;&lt;br /&gt;This will print the queries as System.out&lt;br /&gt;&lt;br /&gt;To enable Log4J with this&lt;br /&gt;add &amp;amp;logger=Log4JLogger&lt;br /&gt;&lt;br /&gt;loggerconfiguration.xml(or log4j.xml)&lt;br /&gt;&lt;category name="MySQL"&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &lt;priority value="ALL"&gt;&amp;nbsp; &lt;/priority&gt;&lt;/category&gt;&lt;br /&gt;&lt;br /&gt;log4j.properties&lt;br /&gt;log4j.category.MySQL=INFO, STDOUT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-8544633777434875776?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/8544633777434875776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=8544633777434875776&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/8544633777434875776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/8544633777434875776'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/11/mysql-profilesql-with-mifos.html' title='MySQL profileSQL with Mifos'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-1566305062982572134</id><published>2010-10-12T13:09:00.000+05:30</published><updated>2010-10-12T13:09:17.704+05:30</updated><title type='text'>Load CSV file in MySQL</title><content type='html'>LOAD DATA LOCAL INFILE 'C:\\datafile.csv' INTO TABLE interest&lt;br /&gt;FIELDS TERMINATED BY ','&lt;br /&gt;&lt;code&gt;enclosed by '"'&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- OPTIONAL&lt;br /&gt;LINES TERMINATED BY '\n'&lt;br /&gt;&lt;code&gt;(columnX, columnY, columnZ)&amp;nbsp; -- OPTIONAL&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-1566305062982572134?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/1566305062982572134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=1566305062982572134&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1566305062982572134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1566305062982572134'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/10/load-csv-file-in-mysql.html' title='Load CSV file in MySQL'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-7098781287515497989</id><published>2010-09-30T14:03:00.000+05:30</published><updated>2010-09-30T14:03:15.560+05:30</updated><title type='text'>Reuse by Inheritance Or Composition</title><content type='html'>Yesterday I was doing pairing (programming) with &lt;a href="http://ie.linkedin.com/in/keithwoodlock"&gt;Keith Woodlock&lt;/a&gt; for implementing &lt;a href="http://mifosforge.jira.com/browse/MIFOS-3481"&gt;savings interest&lt;/a&gt; calculation in &lt;a href="http://mifos.org/"&gt;Mifos&lt;/a&gt; for Release E. I was using Inheritance for different types (Average Balance, Minimum Balance) of interest calculation. After doing some TDD together we reached with some implementation and then Keith re-factored the implementation using inheritance to a design pattern call "Reuse by Composition". I have to admit that Keith's code was far much better than what I was doing using Inheritance and more easy to create tests. Composition reuse seems to me a very clean design principal, specially where you want to separate out the logic/policies, for example, Principal(Balance) calculation and Interest calculation in case our case.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/jw-11-1998/jw-11-techniques.html"&gt;There is good article written on this in 1998&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, I am thinking of using Spring DI with that code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-7098781287515497989?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/7098781287515497989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=7098781287515497989&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7098781287515497989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7098781287515497989'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/09/reuse-by-inheritance-or-composition.html' title='Reuse by Inheritance Or Composition'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-3452995463574932883</id><published>2010-04-11T19:02:00.001+05:30</published><updated>2010-04-12T11:06:04.571+05:30</updated><title type='text'>Annotation versus XML, where to use, which is better</title><content type='html'>I came across many discussions, blogs about this topic, This is what I concluded.&lt;br /&gt;&lt;br /&gt;Annotations are best option for mapping (Hibernate, JPA, Spring etc). Mapping is something you won't change very often. It's better to go through the build lifecycle when mapping is changes to see effect on other modules. &lt;br /&gt;Benefits of Annotation&lt;br /&gt;- Type safety&lt;br /&gt;- Better IDE support, reducing the chances of bugs as IDE easily reflects them as error.&lt;br /&gt;- Better readability and location of mapping (in the same class context).&lt;br /&gt;- &lt;a href="http://mifosforge.jira.com/browse/MIFOS-2830"&gt;Less chances of users messing up with the mappings causing unknown bug&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;XML are useful when you want to tune the configuration without recompiling the whole code.&lt;br /&gt;Example&lt;br /&gt;- port&lt;br /&gt;- no of connections&lt;br /&gt;- Things which are variables and can have a range of tune up values.&lt;br /&gt;&lt;br /&gt;Having freedom of tuning helps in performance fixing of application (even at the user end) without doing a whole build.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-3452995463574932883?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/3452995463574932883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=3452995463574932883&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/3452995463574932883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/3452995463574932883'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/04/annotation-versus-xml-where-to-use.html' title='Annotation versus XML, where to use, which is better'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-469924928379834748</id><published>2010-01-31T00:57:00.003+05:30</published><updated>2010-01-31T01:04:24.361+05:30</updated><title type='text'>Intalling Xtrabackup 1.0 on Ubuntu 9.10</title><content type='html'>Using this package http://www.percona.com/mysql/xtrabackup/1.0/deb/xtrabackup_1.0.tar.gz &lt;br /&gt;&lt;br /&gt;Got error while building&lt;br /&gt;&lt;br /&gt;error: cannot run /bin/sh config/config.sub&lt;br /&gt;&lt;br /&gt;checking for termcap functions library... configure: error: No curses/termcap library found&lt;br /&gt;&lt;br /&gt;follow these steps&lt;br /&gt;&lt;br /&gt;sudo apt-get install libtool&lt;br /&gt;sudo apt-get install build-essential&lt;br /&gt;sudo apt-get install ncurses-dev&lt;br /&gt;&lt;br /&gt;cd xtrabackup-1.0 (already extracted)&lt;br /&gt;&lt;br /&gt;cp -f /usr/share/misc/config.guess config.guess&lt;br /&gt;cp -f /usr/share/misc/config.sub config.sub&lt;br /&gt;&lt;br /&gt;sudo ./configure&lt;br /&gt;sudo make&lt;br /&gt;&lt;br /&gt;cd innobase&lt;br /&gt;&lt;br /&gt;sudo ./configure&lt;br /&gt;sudo make&lt;br /&gt;&lt;br /&gt;cd xtrabackup&lt;br /&gt;sudo make&lt;br /&gt;&lt;br /&gt;./xtrabackup (this will show the options)&lt;br /&gt;&lt;br /&gt;NOTE:&lt;br /&gt;&lt;br /&gt;- There are more options for building , my intent of this post it to help with the dependencies only.&lt;br /&gt;- Read xtrabackup-1.0/innobase/xtrabackup/Build.txt also&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-469924928379834748?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/469924928379834748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=469924928379834748&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/469924928379834748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/469924928379834748'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/01/intalling-xtrabackup-10-on-ubuntu-910.html' title='Intalling Xtrabackup 1.0 on Ubuntu 9.10'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-1000883680909696609</id><published>2010-01-17T20:02:00.002+05:30</published><updated>2010-04-20T14:34:42.332+05:30</updated><title type='text'>Using Hibernate Reverse Engineering Tool</title><content type='html'>Hibernate Tools eclipse plugin is a quite convenient way to do some reverse engineering stuff on a project.&lt;br /&gt;&lt;br /&gt;Update site(used in eclipse): http://download.jboss.org/jbosstools/updates/stable&lt;br /&gt;Ref Guide (really cool):&amp;nbsp; http://docs.jboss.org/tools/3.0.1.GA/en/hibernatetools/html_single/index.html&lt;br /&gt;&lt;br /&gt;First I am going to set Hibernate Tool for Mifos.&lt;br /&gt;&lt;br /&gt;then I am just going to generate schema dump for from hbm.xml files of Mifos (http://mifos.org) project.&lt;br /&gt;&lt;br /&gt;The purpose of this exercise is to find out what is the difference in schema definition of Mifos and its hibernate maps.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MbQnPU9oI/AAAAAAAAD-0/AFkMb29n3Ec/s1600-h/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MbQnPU9oI/AAAAAAAAD-0/AFkMb29n3Ec/s320/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add the hibernate.properties file in root of mifos-gazelle project&lt;br /&gt;&lt;br /&gt;&lt;i&gt;hibernate.connection.driver_class=com.mysql.jdbc.Driver&lt;br /&gt;hibernate.connection.url=jdbc:mysql://localhost:3306/mifos_gazelle&lt;br /&gt;hibernate.connection.username=root&lt;br /&gt;hibernate.connection.password=somepassword&lt;br /&gt;hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Add new "Hibernate Console Configuration" from "Run Configurations"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Zp4NdABcWO0/S1MdDZe7rRI/AAAAAAAAD-8/aiRZI4V-xlg/s1600-h/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_Zp4NdABcWO0/S1MdDZe7rRI/AAAAAAAAD-8/aiRZI4V-xlg/s640/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;and Apply the configuration and then close it(not run it).&lt;br /&gt;&lt;br /&gt;Open Hibernate Perspective.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MdsNP6Z6I/AAAAAAAAD_E/gIQDHjOrUHE/s1600-h/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MdsNP6Z6I/AAAAAAAAD_E/gIQDHjOrUHE/s320/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select Code Generation Configuration&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MeKduZAwI/AAAAAAAAD_M/BGeSXPRkEyg/s1600-h/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MeKduZAwI/AAAAAAAAD_M/BGeSXPRkEyg/s320/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add the project root as output directory "/mifos-gazelle" and then select the ddl option&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Zp4NdABcWO0/S1Mev2C-XWI/AAAAAAAAD_c/7rQEJFoYWO4/s1600-h/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Zp4NdABcWO0/S1Mev2C-XWI/AAAAAAAAD_c/7rQEJFoYWO4/s320/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Make sure your hibernate.properties file has right parameter so that ddl can perform schema creation using hbm.xml from the project.&lt;br /&gt;&lt;br /&gt;I took the mysql dump for schema structure so that I can analyze where the mapping is lacking in with latest_schema.sql of mifos.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-1000883680909696609?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/1000883680909696609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=1000883680909696609&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1000883680909696609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1000883680909696609'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2010/01/blog-post.html' title='Using Hibernate Reverse Engineering Tool'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Zp4NdABcWO0/S1MbQnPU9oI/AAAAAAAAD-0/AFkMb29n3Ec/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-7702805535457448250</id><published>2009-12-07T22:56:00.000+05:30</published><updated>2009-12-07T22:56:55.860+05:30</updated><title type='text'>Best Compression utility for mysql dumps on linux - rzip, bzip2, gzip</title><content type='html'>I found that rzip is the best utility for compression of large mysql dumps.&lt;br /&gt;&lt;br /&gt;http://rzip.samba.org&lt;br /&gt;&lt;br /&gt;also a extension of rzip called lrzip is more enhanced.&lt;br /&gt;&lt;br /&gt;I have tested upto 50GB of mysql dump using this utility and the result was amazing.&lt;br /&gt;&lt;br /&gt;http://ck.kolivas.org/apps/lrzip&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-7702805535457448250?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/7702805535457448250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=7702805535457448250&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7702805535457448250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/7702805535457448250'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/12/best-compression-utility-for-mysql.html' title='Best Compression utility for mysql dumps on linux - rzip, bzip2, gzip'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-3490685993188967883</id><published>2009-11-15T04:53:00.002+05:30</published><updated>2009-11-16T19:22:04.776+05:30</updated><title type='text'></title><content type='html'>MIFOS Development Kick start Guide (Ubuntu 9.10)&lt;br /&gt;&lt;br /&gt;Moved to&lt;br /&gt;&lt;a href="http://uguptahome.appspot.com/mifos/MifosDeveloperKickStartGuide.html"&gt;http://uguptahome.appspot.com/mifos/MifosDeveloperKickStartGuide.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-3490685993188967883?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/3490685993188967883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=3490685993188967883&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/3490685993188967883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/3490685993188967883'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/11/mifos-developer-kick-start-guide-this.html' title=''/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-6262604809852003295</id><published>2009-09-12T21:31:00.000+05:30</published><updated>2009-09-12T21:31:34.811+05:30</updated><title type='text'>Mifos videos</title><content type='html'>&lt;h1&gt;Mifos - Micro Finance Open Source &lt;/h1&gt;This video describes a bit about the Grameen Foundation and their efforts to create an Open Source Software solution to facilitate the use of microfinance to alleviate worlds poverty.&lt;br /&gt;&lt;object width="445" height="364"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/AFipovJwGUY&amp;hl=en&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube-nocookie.com/v/AFipovJwGUY&amp;hl=en&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;George Conard - Mifos: Open Source Software for Microfinance - Ignite Seattle 2007-8-8&lt;br /&gt;&lt;object width="445" height="364"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/aZ5yAn0GZT0&amp;hl=en&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube-nocookie.com/v/aZ5yAn0GZT0&amp;hl=en&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;I am fortunate that I am going to work with Mifos Core team for at least next 12 months (and hopefully after that too).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-6262604809852003295?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/6262604809852003295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=6262604809852003295&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/6262604809852003295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/6262604809852003295'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/09/mifos-videos.html' title='Mifos videos'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-5784584840171932622</id><published>2009-09-11T21:47:00.001+05:30</published><updated>2009-09-11T21:49:32.778+05:30</updated><title type='text'>Mifos and Me, Google Summer of Code 2009</title><content type='html'>My name is Udai Gupta and I’m a Software Engineer from Bangalore, India. I believe that innovative solutions can make the world a better place. There are hands that want to help the underprivileged but communities lags behind to reach all of them and technology is the key.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;I came across the Mifos Open Source Community while looking for projects under “Google Summer of Code 2009”. I realized the potential of Mifos, which helps the people (Micro Finance Institutions) serving the unprivileged.&lt;br /&gt;&lt;br /&gt;My work for Mifos under GSOC 2009 includes&lt;br /&gt;&lt;br /&gt;* Standardizing the naming conventions for all unit and integration tests&lt;br /&gt;* Improving the performance of the integration tests by optimizing the SQL used to initialize the database&lt;br /&gt;* Making each test class run independently of one another (a long standing problem with the tests)&lt;br /&gt;* Eliminating the need for rigid JUnit test suites classes&lt;br /&gt;* Converting database dependent integration tests to in-memory unit tests either directly or by using mocks.&lt;br /&gt;&lt;br /&gt;This has prepared Mifos for the upcoming project of splitting Mifos into modules. There are still many things one can improve or create for Mifos.&lt;br /&gt;&lt;br /&gt;Mifos developer team is very helpful to its new members, everyone on the list is very active. My communication wasn’t just limited to my mentor (Adam Monsen), I was able to reach to everyone which I liked the most about Mifos community.&lt;br /&gt;&lt;br /&gt;Mifos is a great community with a greater social cause.&lt;br /&gt;&lt;br /&gt;To contribute to other volunteer projects at Mifos - you can go here to see what is available -&lt;br /&gt;&lt;a href="http://www.mifos.org/developers/wiki/MifosVolunteerProjects"&gt;http://www.mifos.org/developers/wiki/MifosVolunteerProjects&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is Blog entry on my work during GSOC 2009 for Mifos&lt;br /&gt;&lt;br /&gt;&lt;a href="http://google-opensource.blogspot.com/2009/09/endless-summer-of-code-google-style.html"&gt;http://google-opensource.blogspot.com/2009/09/endless-summer-of-code-google-style.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-5784584840171932622?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/5784584840171932622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=5784584840171932622&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/5784584840171932622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/5784584840171932622'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/09/mifos-and-me-google-summer-of-code-2009.html' title='Mifos and Me, Google Summer of Code 2009'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-379813316990029582</id><published>2009-06-02T22:49:00.000+05:30</published><updated>2009-06-02T23:02:20.937+05:30</updated><title type='text'>Reliance Netconnect works with Ubuntu 9.04 (Linux/GNU), Kernel 2.6.28-11</title><content type='html'>At last I got my mobile modem ( Hauwai EC 121 ) working. I was facing problem as Ubuntu 8.10 or less wasn't able to detect mobile modem because it contains a installer (storage), so the kernel get confused and consider modem as a storage device. This is a problem with all the GNU/LINUX Kernel less than or equal to 2.6.27.&lt;br /&gt;&lt;br /&gt;I tried many things like usb_modswitch utility but it seems it doesn't work for my model&lt;br /&gt;&lt;br /&gt;for Ubuntu 9.0.4, I downloaded wvdial (its dependencies) and gnome-ppp package from windows and then installed manually. Now you just need to confgure gnome-ppp to make it work.&lt;br /&gt;&lt;br /&gt;Make sure that other network devices (eth0) are down (ifdown eth0).&lt;br /&gt;&lt;br /&gt;After connecting check by nslookup yahoo.com. If it works then everything is fine.&lt;br /&gt;&lt;br /&gt;I got stuck when my firefox appeared to be offline even when I was connected.&lt;br /&gt;&lt;br /&gt;The problem will go away you just need to update using package manager(it was working even if firefox was showing offline status) and restart.&lt;br /&gt;&lt;br /&gt;Cheers....Enjoy internet on Ubuntu...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-379813316990029582?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/379813316990029582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=379813316990029582&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/379813316990029582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/379813316990029582'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/06/reliance-netconnect-works-with-ubuntu.html' title='Reliance Netconnect works with Ubuntu 9.04 (Linux/GNU), Kernel 2.6.28-11'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860184472060895422.post-1147866508958008796</id><published>2009-04-18T01:11:00.000+05:30</published><updated>2009-04-18T03:14:25.640+05:30</updated><title type='text'>Developers point of view: Windows to Ubuntu and Mifos</title><content type='html'>I have been using windows and Now I migrated to Ubuntu(8.04).&lt;br /&gt;For development I realized that Windows is much slower that Ubuntu.&lt;br /&gt;&lt;br /&gt;MySQL(default) is 4 times faster than MySQL on Windows (Vista or XP). MySQL on GNU/Linux (including Ubuntu) uses a UNIX socket, and on Windows an AF_INET socket, packets via the former have much less overhead&lt;br /&gt;&lt;br /&gt;You get rid of an anti virus which keeps on scanning every file, imagine thousands of files of a software that you are developing have to go through it (which is a waste)&lt;br /&gt;&lt;br /&gt;NOTE:-&lt;br /&gt; - MYSQL on Linux/GNU(Ubuntu) is case sensitive.&lt;br /&gt;http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html&lt;br /&gt;Solution&lt;br /&gt;http://enricogi.blogspot.com/2008/05/mysql-case-sensitive-in-linux.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you want to stick with Windows you may use this article&lt;br /&gt;http://www.waltercedric.com/component/content/article/348-mysql/1217-optimizing-mysql-jdbc-under-windows-using-named-pipe.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860184472060895422-1147866508958008796?l=uguptablog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://uguptablog.blogspot.com/feeds/1147866508958008796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860184472060895422&amp;postID=1147866508958008796&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1147866508958008796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860184472060895422/posts/default/1147866508958008796'/><link rel='alternate' type='text/html' href='http://uguptablog.blogspot.com/2009/04/developers-point-of-view-windows-to.html' title='Developers point of view: Windows to Ubuntu and Mifos'/><author><name>Udai Gupta</name><uri>http://www.blogger.com/profile/01946315933412286965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Zp4NdABcWO0/Sqpbr5AuF1I/AAAAAAAAD9M/oBsLQTMC97s/S220/DSCF1444.JPG'/></author><thr:total>1</thr:total></entry></feed>
