<?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-8160908322920133510</id><updated>2011-11-10T13:11:58.440+07:00</updated><category term='mobile'/><category term='test'/><category term='Din'/><category term='android'/><category term='infrastructure'/><category term='intermezzo'/><category term='english'/><category term='Tapestry 5'/><category term='tech_rant'/><category term='point of mind'/><category term='BFR'/><category term='indonesia'/><category term='credo'/><category term='mercurial'/><category term='lyrics'/><category term='rant'/><title type='text'>secondlight</title><subtitle type='html'>The first one give you hope in the darkness, while the second is sign of perseverance</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default?start-index=101&amp;max-results=100'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>200</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1570484913593128397</id><published>2011-11-10T13:11:00.000+07:00</published><updated>2011-11-10T13:11:58.464+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>D day</title><content type='html'>this is IT !&lt;br /&gt;the day !&lt;br /&gt;so bring your A game&lt;br /&gt;the innocent yet charming looks&lt;br /&gt;the witty but not hurtful response&lt;br /&gt;the smart and also caring way to talk&lt;br /&gt;&lt;br /&gt;this is MY DAY.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1570484913593128397?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1570484913593128397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1570484913593128397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1570484913593128397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1570484913593128397'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/11/d-day.html' title='D day'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8795147674717824980</id><published>2011-08-22T06:02:00.000+07:00</published><updated>2011-08-22T06:02:18.244+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='point of mind'/><title type='text'>Great Indonesia</title><content type='html'>I think there are 4 things that needs to be achieved before "This" country could become great. &lt;br /&gt;&lt;br /&gt;1. Find a good leader. Someone that doesn't have a debt on a political party, or even a pawn. Someone that doesn't consider how much he's being payed or how much he'll retired with. Someone who doesn't concern about putting his relatives on the government to make sure he stays in power. Simply someone who's interested in making changes in the 5 years he's running. &lt;br /&gt;&lt;br /&gt;2. Spread your culture if you want to dominate the world. &lt;br /&gt;&lt;br /&gt;3. Educate your people ! Not by superstitious things. But by leveraging their interest in science and knowledge&lt;br /&gt;&lt;br /&gt;4. Find a way to make people of religion, science and politics live in harmony. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8795147674717824980?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8795147674717824980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8795147674717824980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8795147674717824980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8795147674717824980'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/08/great-indonesia.html' title='Great Indonesia'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5151737433722404922</id><published>2011-07-11T14:50:00.000+07:00</published><updated>2011-07-11T14:50:08.875+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Cleaning up my GMail Account</title><content type='html'>Once i thought my Gmail account is impossible to fill, but after a few years, couple of mailing list, couple of crazy mailing list, now i often need to clean up my email to make sure no email is lost because my inbox is full. This is what i usually do &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Find email that has an attachment&lt;/b&gt;&lt;br /&gt;This is usually the quickest way to free same space. You can use &lt;br /&gt;&lt;code&gt; has:attachment &lt;/code&gt; to query the mail that contains attachment in the search box. Or if you want, you can even specify the type of file by using &lt;code&gt; filename: .doc &lt;/code&gt; adding "label:" to the query can give more refined search. Too bad we can't sort it by the attachment size&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Using date&lt;/b&gt;&lt;br /&gt;We can also use date to delete our old email. This can be done by using the "before:" and "after:" query. For example : &lt;br /&gt;&lt;code&gt;&lt;br /&gt;label:notification before:2011/01/01 after:2010/01/01&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Again, using label like the above example, can help to refine your search. And to lessen the impact if you search and then delete the wrong query :) &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Starred mail &lt;/b&gt;&lt;br /&gt;While using the query above is very useful but often the queries return hundred or even thousand of emails. GMail will page the result, dependent on your settings it can give 25, 50 or even 100 in each page. But still a tedious task to do. GMail can help you even more, by selecting all of the email in that page, another option will come out in the top, that will let you select all of the email in this query. And then delete it. &lt;br /&gt;&lt;br /&gt;But this approach is a "scorched earth" approach. You will delete all of the email, but sometimes there are important email included in this search, the one that we usually mark with a star. Logically, we want another parameter in our query. Looking for a starred email can be done by adding  &lt;code&gt; is:starred  &lt;/code&gt; parameter to our query. But what we need is a "not starred" parameter. This can be achieved by negating the previous parameter to : &lt;br /&gt;&lt;code&gt; -is:starred &lt;/code&gt;. But the problem is, even there's only one email in the thread that isn't starred. The thread would still be selected. &lt;br /&gt;&lt;br /&gt;Thus why i create my own method to handle this. first i create a temporary label named "my_starred" then i go to each label and query &lt;br /&gt;&lt;code&gt;&lt;br /&gt;label:notification before:2011/01/01 after:2010/01/01 is:starred&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;selecting all, and add my_starred label. And then remove the notification label. After that you an select the notification label again with the date range, and then delete all the email. The last step is to go to the my_starred label, and change it back to the notification label. Repeat this for every other label that you want to clean up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5151737433722404922?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5151737433722404922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5151737433722404922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5151737433722404922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5151737433722404922'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/07/cleaning-up-my-gmail-account.html' title='Cleaning up my GMail Account'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7641639312552188346</id><published>2011-07-11T13:06:00.001+07:00</published><updated>2011-07-11T13:19:59.536+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Heaven</title><content type='html'>Sometimes people have to go through a series of unfortunate event. To understand, that their values didn't belong in this world. To Let go will give you a better understanding and the opportunity to rise again from the ashes, just like a phoenix soaring up to the sky. &lt;br /&gt;&lt;br /&gt;Heaven is Dead&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7641639312552188346?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7641639312552188346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7641639312552188346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7641639312552188346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7641639312552188346'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/07/sometimes-people-have-to-go-through.html' title='Heaven'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2742684090551567491</id><published>2011-07-11T05:55:00.001+07:00</published><updated>2011-07-11T05:56:05.922+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Wild beast</title><content type='html'>The thing that we bear for others&lt;br /&gt;The things that we must do. &lt;br /&gt;what we mustn't do&lt;br /&gt;in the name of society, norm and values.&lt;br /&gt;&lt;br /&gt;But sometimes, it is necessary to be savages.&lt;br /&gt;To give in, to let your anger explode&lt;br /&gt;Becoming the wild beast that is full of lust and hatred&lt;br /&gt;Becoming the purest kind of human&lt;br /&gt;that will survive &lt;br /&gt;above everything&lt;br /&gt;&lt;br /&gt;Because after all of that has passed,&lt;br /&gt;you will find true calm and peace&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2742684090551567491?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2742684090551567491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2742684090551567491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2742684090551567491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2742684090551567491'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/07/thing-that-we-bear-for-others-things.html' title='Wild beast'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6635878085819931481</id><published>2011-05-04T21:13:00.002+07:00</published><updated>2011-05-04T21:13:21.257+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Debugging HTC Hero in Ubuntu</title><content type='html'>So, when I'm not on my PC. I'm using ubuntu in my laptop. Turn out, developing on the device is not as a simple as in windows. You need to follow the link below to make it work.&lt;br /&gt;&lt;br /&gt;http://forum.xda-developers.com/showthread.php?t=823956&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6635878085819931481?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6635878085819931481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6635878085819931481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6635878085819931481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6635878085819931481'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/05/debugging-htc-hero-in-ubuntu.html' title='Debugging HTC Hero in Ubuntu'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8059664978044435526</id><published>2011-04-02T02:52:00.069+07:00</published><updated>2011-06-02T12:41:05.963+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='infrastructure'/><title type='text'>Its time to have some bug tracking tools - Installing Trac</title><content type='html'>We're in the stage where simple notes.txt isn't enough to track our project. I think we need a better bug/feature tracking tools. So, I'm going hunting for a few of the common bug tracking tools that's available on the market.&lt;br /&gt;&lt;br /&gt;I narrow down my choice into two, Jira and Trac. I've used Bugzilla before, but it never clicked with me. And also Bugzilla and Mantis have their own horror story. Jira actually caught my attention with the &lt;a href="http://www.atlassian.com/software/jira/pricing.jsp"&gt;$10 starter pack&lt;/a&gt;. But the next packet, 25 user for $1,200 is way out of my league.&lt;br /&gt;&lt;br /&gt;So finally my decision goes to Trac. It was simple enough. People won't be distracted or hinder by the many fields they need to fill to submit a bug. Both Jira and Trac support mercurial. Just perfect. And although simple and minimalistic Trac have two very cool feature :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Timeline&lt;/b&gt; – shows current and past project events in order&lt;/li&gt;&lt;li&gt;&lt;b&gt;Roadmap&lt;/b&gt; – shows the upcoming milestones to be achieved in the project&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The only drawback in Trac is the interface, it has its way to annoy you when you look at it too long :P&lt;br /&gt;&lt;h1&gt;Installation&lt;/h1&gt;I wont be installing this from scratch. I will be installing this at the last state of &amp;nbsp;my &lt;a href="http://secondlight.blogspot.com/search/label/infrastructure"&gt;infastructure post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can install Trac with mercurial support using this three simple steps : &lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install python-setuptools&lt;br /&gt;sudo apt-get install python-genshi&lt;br /&gt;sudo apt-get install trac-mercurial&lt;/div&gt;&lt;br /&gt;But when i write this blog post the trac version in ubuntu repository is 0.11.7. Since i want to use trac 0.12, I'll be doing some of the things manually. &lt;br /&gt;&lt;br /&gt;First I installed the setup tools using apt-get. &lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install python-setuptools&lt;/div&gt;&lt;br /&gt;Then  I'm using setuptools easy_install to install Genshi and Trac &lt;br /&gt;&lt;div class="code"&gt;sudo easy_install Genshi&lt;br /&gt;sudo easy_install Trac&lt;/div&gt;&lt;br /&gt;And for the trac-mercurial plugin, you need to check out and build it manually. But first you need to install subversion.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install subversion&lt;/div&gt;&lt;br /&gt;check out the code, build the egg, and install it&lt;br /&gt;&lt;div class="code"&gt;mkdir trac-plugin&lt;br /&gt;cd trac-plugin &lt;br /&gt;svn co http://svn.edgewall.com/repos/trac/plugins/0.12/mercurial-plugin&lt;br /&gt;cd mercurial-plugin&lt;br /&gt;python setup.py bdist_egg&lt;br /&gt;sudo easy_install dist/TracMercurial-0.12.0.28dev_r10657-py2.6.egg&lt;/div&gt;&lt;br /&gt;After finished installing Trac, lets do some test. But first you need to create a database for Trac in mysql. Using mysql root user :&lt;br /&gt;&lt;div class="code"&gt;-- It is better to set the innodb as the default storage engine&lt;br /&gt;mysql&amp;gt; create database trac;&lt;br /&gt;mysql&amp;gt;&amp;nbsp;grant all privileges on trac.* to 'trac'@localhost identified by 'mypassword';&lt;br /&gt;mysql&amp;gt; flush privileges&lt;/div&gt;&lt;br /&gt;Trying logging out and then loggin in using the new account.&lt;br /&gt;&lt;br /&gt;Next, you need to install python library for connecting to mysql from python.&lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install python-mysqldb&lt;/div&gt;&lt;br /&gt;And the basic setup is complete.&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Create A Trac Project&lt;/h1&gt;Now we need to create a trac project. Since i want it to be integrated with my mercurial server. I've created the project in my hguser account.&lt;br /&gt;&lt;div class="code"&gt;sudo su - hguser&lt;/div&gt;&lt;br /&gt;create the directory for your project&lt;br /&gt;&lt;div class="code"&gt;mkdir -p ~/trac/myproject&lt;/div&gt;&lt;br /&gt;init the project&lt;br /&gt;&lt;div class="code"&gt;trac-admin ~/trac/myproject initenv&lt;/div&gt;&lt;br /&gt;If you're having a problem with trac-admin not in your path, try logging out and then relogin to your system.&lt;br /&gt;&lt;br /&gt;The initenv command will ask some question. On the database connection string input this :&lt;br /&gt;&lt;div class="code"&gt;mysql://username:password@hostname:port/databasename&lt;/div&gt;&lt;br /&gt;After finish with the environment, we need to modify the configuration file to support mercurial. &lt;br /&gt;&lt;div class="code"&gt;vi /home/hguser/trac/myproject/conf/trac.ini&lt;/div&gt;&lt;br /&gt;modify the file with the line below : &lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;[components]&lt;br /&gt;tracext.hg.* = enabled[repositories]&lt;br /&gt;&lt;br /&gt;[trac]&lt;br /&gt;repository_dir = path_to_default_repository&lt;br /&gt;repository_type = hg&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can start trac server and see the result by accessing http://yourserver:8000/myproject&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;tracd --port 8000 ~/trac/myproject&lt;/div&gt;&lt;br /&gt;&lt;h1&gt;Integrating with apache&lt;/h1&gt;Mod_python is dead, so I'm choosing mod_wsgi to integrate trac with my apache server. First you need to install mod wsgi and restart the apache2 server &lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install libapache2-mod-wsgi&lt;br /&gt;sudo service apache2 restart&lt;/div&gt;&lt;br /&gt;sudo to the hguser and create egg-cache directory under ~/trac/myproject &lt;br /&gt;&lt;br /&gt;to create the wsgi file you can create it manually, or use the trac-admin deploy method like below : &lt;br /&gt;&lt;div class="code"&gt;trac-admin trac/myproject deploy /tmp/deploy&lt;/div&gt;&lt;br /&gt;it will create the .cgi .fcgi .wsgi file under the cgi-bin directory. Then you can copy the file to the real cgi-bin directory &lt;br /&gt;&lt;div class="code"&gt;sudo mkdir /usr/lib/cgi-bin/trac&lt;br /&gt;sudo cp /tmp/deploy/cgi-bin/trac.wsgi /usr/lib/cgi-bin/trac/myproject.wsgi&lt;br /&gt;sudo chmod +x /usr/lib/cgi-bin/trac/myproject.wsgi&lt;/div&gt;&lt;br /&gt;now you need to add the new location to your apache configuration file. Usually it's under site-enabled/000-default-file . I'm using port 8008 for this purpose but later will create a subdomain for trac :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;virtualhost *:8008=""&gt;&lt;br /&gt;ServerAdmin webmaster@localhost&lt;br /&gt;DocumentRoot /var/www&lt;br /&gt;&lt;br /&gt;#WSGI scrip for trac&lt;br /&gt;WSGIScriptAlias /trac/myproject /usr/lib/cgi-bin/trac/myproject.wsgi&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Directory /home/hguser/trac/myproject&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WSGIApplicationGroup %{GLOBAL}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Order deny,allow&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Allow from all&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;/virtualhost&gt;&lt;/div&gt;&lt;br /&gt;After restarting apache, you should be able to access your trac installation in http://yourlocalhost:8008/trac/myproject&lt;br /&gt;&lt;br /&gt;While trying to integrate trac with apache, I keep stumbling to an error that said : &lt;br /&gt;&lt;br /&gt;TimeoutError: Unable to get database connection within 0 seconds. (TracError: Database "/usr/www/trac/db/trac.db" not found.)&lt;br /&gt;&lt;br /&gt;I'm using mysql so trac shouldn't need to create the embedded db. It seems that trac couldn't read the content of my trac.ini files. It turn out that I've stumble to &lt;a href="http://trac.edgewall.org/ticket/10044"&gt;this bug&lt;/a&gt;. As a work around I added group read-write permission ,&lt;br /&gt;&lt;div class="code"&gt;sudo chmod g+rw ~/trac/myproject/conf/trac.ini&lt;/div&gt;but i wonder, will this create a security problem. Since the trac.ini contains the db access URL ?&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Configuring Authentication&lt;/h2&gt;To add authentication method, I just added my mercurial hgusers file&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;location /trac/myproject/login&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthType Basic&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthName "Trac"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthUserFile /home/hguser/hgusers&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthGroupFile /home/hguser/hggroups&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Require group myproject&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;To be able to use the admin web page you need to add admin privileges to your user&lt;br /&gt;&lt;div class="code"&gt;trac-admin ~/trac/myproject permission add frodo TRAC_ADMIN&lt;/div&gt;&lt;br /&gt;it is recomended to install the &lt;a href="http://trac-hacks.org/wiki/AccountManagerPlugin"&gt;AccountManager &lt;/a&gt;plugin. To install it run&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo easy_install https://trac-hacks.org/svn/accountmanagerplugin/trunk&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;and then go to the admin tab &gt; plugin , and enable the features&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Removing anonymous user access&lt;/h2&gt;You can disallow anonymous user access by &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;trac-admin ~trac/myproject permission remove anonymous '*'&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/8160908322920133510-8059664978044435526?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8059664978044435526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8059664978044435526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8059664978044435526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8059664978044435526'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/04/its-time-to-have-some-bug-tracking.html' title='Its time to have some bug tracking tools - Installing Trac'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-19768588943189053</id><published>2011-03-17T16:27:00.001+07:00</published><updated>2011-04-01T15:16:49.116+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mercurial'/><category scheme='http://www.blogger.com/atom/ns#' term='infrastructure'/><title type='text'>Mercurial : Separating two groups</title><content type='html'>In my mercurial setup a new requirement has come up. I need to separate two groups of user, lets call the first group &lt;b&gt;research&amp;nbsp;&lt;/b&gt;and the second one &lt;b&gt;project&lt;/b&gt;. A user can belong to one of the groups or both. My mercurial server is setup like &lt;a href="http://secondlight.blogspot.com/2010/10/setting-your-own-private-mercurial.html"&gt;this&lt;/a&gt;, and then I modified it a little to enable the virtual server name right &lt;a href="http://secondlight.blogspot.com/2010/12/setting-new-dedicated-server_26.html"&gt;here&lt;/a&gt;. To implement this requirement I'm following the &lt;a href="http://mercurial.selenic.com/wiki/PublishingRepositories#Configuring_Apache"&gt;public and private repositories&lt;/a&gt; and modified it a little.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Configuration&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;First, what i do is i log-in as the hgusers (user I've setup specially for mercurial, see the first blog post). At the hgusers home directory I've &lt;b&gt;created&lt;/b&gt; a new folder called &lt;b&gt;project&lt;/b&gt;. And then I move hgusers and hgweb.config from the hg folder to the hgusers main folder.&lt;br /&gt;&lt;br /&gt;We need to create a different set of file for our repositories. So copy each of the config files :&lt;br /&gt;&lt;div class="code"&gt;$&amp;gt; cp hgweb.config hgweb_project.config&lt;/div&gt;&lt;br /&gt;and then modify hgweb_project.config content so it will point to the new project folder. The file content should look like this :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;[collections]&lt;br /&gt;/home/hguser/project/ = /home/hguser/project/&lt;/div&gt;&lt;br /&gt;now go to our hgweb.cgi directory and copy the file&lt;br /&gt;&lt;div class="code"&gt;$&amp;gt; cd /usr/lib/cgi-bin/hg/&lt;br /&gt;$&amp;gt; cp hgweb.cgi hgweb_project.cgi&lt;/div&gt;&lt;br /&gt;modify the config variable to point to the project repo folder&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;config = "/home/hguser/hgweb_project.config"&lt;/div&gt;&lt;br /&gt;and finally modify the apache settings &lt;br /&gt;&lt;div class="code"&gt;vi /etc/apache2/sites-enabled/000-default&lt;/div&gt;&lt;br /&gt;copy the previous ScriptAlias and Location div, and modify it to point to the project location. Another that you need to do is to add the AuthGroupFile, and change The Require line. I will go into detail about this in the next section. The file should look like this : &lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;ScriptAlias /project /usr/lib/cgi-bin/hg/hgweb_project.cgi&lt;br /&gt;&lt;br /&gt;&lt;location project=""&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "Mercurial repositories"&lt;br /&gt;AuthUserFile /home/hguser/hgusers&lt;br /&gt;AuthGroupFile /home/hguser/hggroups&lt;br /&gt;Require group project&lt;br /&gt;&lt;/location&gt;&lt;br /&gt;&lt;br /&gt;ScriptAlias /repo /usr/lib/cgi-bin/hg/hgweb.cgi&lt;br /&gt;&lt;br /&gt;&lt;location repo=""&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "Mercurial repositories"&lt;br /&gt;AuthUserFile /home/hguser/hgusers&lt;br /&gt;AuthGroupFile /home/hguser/hggroups&lt;br /&gt;Require group research&lt;br /&gt;&lt;/location&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Creating Group&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;I already have user sam and frodo from my previous settings. Now i'm adding two more user using htpasswd command. The users are golum and sauron. &lt;br /&gt;&lt;br /&gt;Now we need to create the group for these users. To do this go to the hguser home directory and create a new file called hggroups. You can use VI or your favorite text editor to create it. The file content should look like this : &lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;research: frodo sam golumn&lt;br /&gt;project: golumn sauron&lt;/div&gt;&lt;br /&gt;the word before the colon is the group name, like the one you specify on the Require group line. And the words after that is the users that belong to the group. In my setup sauron would only able to see the project repository (limiting his access). And so does frodo and sam, they can only see the research repository. While golumn would be able see both repo. Just what i wanted to.&lt;br /&gt;&lt;br /&gt;If you wanted to have a lot of user that can access both group, you could create a new group and than add that group to the Require line&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-19768588943189053?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/19768588943189053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=19768588943189053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/19768588943189053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/19768588943189053'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/03/mercurial-separating-two-groups.html' title='Mercurial : Separating two groups'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5906881567030158796</id><published>2011-03-13T02:41:00.001+07:00</published><updated>2011-03-13T02:41:26.023+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>I</title><content type='html'>I love non self centered people. And my number 1 list, is to witness a miracle, from me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5906881567030158796?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5906881567030158796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5906881567030158796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5906881567030158796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5906881567030158796'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/03/i.html' title='I'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8835251125408829002</id><published>2011-02-24T12:11:00.001+07:00</published><updated>2011-03-17T12:08:26.726+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Saving youtube video from google chrome</title><content type='html'>If you remember my post about &lt;a href="http://secondlight.blogspot.com/2010/01/firefox-flv-cache.html"&gt;youtube flv cache files&lt;/a&gt;,&amp;nbsp;I've been saving my youtube video's manually. I like this approach because it allowed me to watch the video first, if I found it interesting then I will save the video. While some firefox plugin allow you to save youtube videos, it often force you to re-download the video from the beginning. And if you just download the video without watching it first, some time after one hour of waiting you just end up with a complete garbage !&lt;br /&gt;&lt;br /&gt;These days I'm using Google Chrome as my main browser. So I'm faced with the same problem in a different environment. Unlike firefox,&amp;nbsp;Chrome uses the windows temp to store its temporary files. Including the FLV files. But it's very defensive. You can't copy the cache while chrome uses it, and if you close the tab that shows the video, Chrome will immediately delete the file. Giving you no time to copy it. Damn you google guys :P&lt;br /&gt;&lt;br /&gt;After some&amp;nbsp;goggling&amp;nbsp;i finally found a solution. Hobocopy to the rescue ! Hobocopy is an open source utility that can copy copy-protected file in windows.&amp;nbsp;You can download hobo copy from&amp;nbsp;&lt;a href="https://github.com/candera/hobocopy/downloads"&gt;here&lt;/a&gt;. Using this approach I can copy the protected files. The flv cache files can be identified easily by their name and size.&amp;nbsp;&amp;nbsp;Usually it will start with fla and end up with .tmp extension. So using Hobocopy i can copy the file i want as simple as :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;C:\HoboCopy.exe C:\temp F:\MyVideos\ fla18E.tmp&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;But you must be aware,&amp;nbsp;since Hobocopy is not actually a file copy utility, the Syntax is a bit different.&lt;br /&gt;&lt;br /&gt;Another thing that I've found out is about the firefox case. Remember when firefox only cache a part of my video but I can still play the full video in my browser. It turn out you can get the full FLV video's from Windows temp directory using this same exact method.&lt;br /&gt;&lt;br /&gt;Now i can view my Youtube video's without worry about rebuffer and wasted a lot of bandwidth :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8835251125408829002?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8835251125408829002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8835251125408829002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8835251125408829002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8835251125408829002'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/02/saving-youtube-video-from-google-chrome.html' title='Saving youtube video from google chrome'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3163268827355754344</id><published>2011-02-10T12:21:00.001+07:00</published><updated>2011-02-24T11:22:12.615+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Screen Scrapping Guide for Java</title><content type='html'>I created and app about one year a go. The application need to screen scrap a website because it didn't give an API to access the data. When i started, I was confused by so many choice that available for screen scrapping in java. And at that time I've decided to go with NekoHTML, its very powerful but also complicated and a bit of nightmare to maintain. So today i decided to look for better alternative. It turn out, after one year I easily confused by the so many java library out there that i can use. So i decided to create this guide.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Regex&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The simplest and probably the fastest way to do screen scrapping in Java. The regex class is already included in the standard java library. So you don't need to add another library and learn how they work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The problem is, regex is very prone to error. There are many reason for the error. It could be because the html doesn't comply to standards, bad implementation, or even non matching tags. And also a simple change on the website could break the whole regex rule and you need to start from zero.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To use regex, you need to be very diligent about white space character, or it's only a matter of time before it bites you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;NekoHTML&lt;/b&gt;&lt;/div&gt;&lt;div&gt;This is one of the best parser that i know. It often used on other framework such as HTMLUnit as the default html parser. It creates the DOM representation of the page, and then you can traverse through the DOM tree getting each node content. Since it such a low level access, its a bit of pain to maintain. And also you still need to traverse throug the node that isn't important for you. Such as empty text, series of newline, break tag, etc.&amp;nbsp;&lt;/div&gt;&lt;div&gt;To overcome this you can add a custom filter to remove the unnecessary tag, and uses XPath to query the tag that you are interested in.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;HTMLUnit&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Beside as a framework for testing, you can use html Unit for screen scrapping. It can be used for screen scrapping. You just create a webclient and then you can access the tag that you are interested in using the getHtmlElementById or you can also uses XPath. Then you can access the data as an XML or Text.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It gives a higher abstraction, you don't need to traverse the DOM tree manually. And it also gives build in cookie management, proxy access, JavaScript, CSS and Ajax Support. Everything that you ever need from a headless browsers.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;The funny thing is, after looking for something new, i decided to stick with NekoHTML. Its fast, and implementing custom filter helps me a lot. And it also doesn't come with the unnecessary bagage such as Javascript, CSS and Ajax Support. I don't need it for the moment. And of course using XPath has become very valuable. It cuts my previous code to 1/3 even 1/4 in some case. No more manually navigating through the dome, and it's more intuitive. I think i finally found the right tool :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope that helps , I'll re-write the rant some other time to give better explanation. :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3163268827355754344?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3163268827355754344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3163268827355754344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3163268827355754344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3163268827355754344'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/02/screen-scrapping-guide-for-java.html' title='Screen Scrapping Guide for Java'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-9125399499741502395</id><published>2011-01-29T14:46:00.002+07:00</published><updated>2011-01-29T14:46:29.175+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Crazy</title><content type='html'>I'm going crazy. There's only so much that one people can handle. Got to do something, or i will break down and crumble.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-9125399499741502395?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/9125399499741502395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=9125399499741502395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/9125399499741502395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/9125399499741502395'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/crazy.html' title='Crazy'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1464629457636959653</id><published>2011-01-12T21:33:00.000+07:00</published><updated>2011-01-12T21:33:20.678+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Unanswered prayer</title><content type='html'>If only someone know what I'm going through.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1464629457636959653?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1464629457636959653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1464629457636959653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1464629457636959653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1464629457636959653'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/unanswered-prayer.html' title='Unanswered prayer'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1335969032483323546</id><published>2011-01-11T01:42:00.001+07:00</published><updated>2011-01-11T01:43:34.796+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Be brave !</title><content type='html'>You know, there's many way that people choose how to live their lives.&lt;br /&gt;There are the ignorants, the bastard, and there is the wanderer, the one that always wonder what to do and what would their live would have been.&lt;br /&gt;But for most people, their live is govern by fears.&lt;br /&gt;&lt;br /&gt;Fear of dying, fear of breaking the law, fear of god, fear of the uncertain future.&lt;br /&gt;Fear of their position, fear of their place in the society, and the end fear for live it self.&lt;br /&gt;Must've been sucks to live like that.&lt;br /&gt;What ever the action, whatever the luckyness that some how happened to them,&lt;br /&gt;they can never enjoy the things to the fullest.&lt;br /&gt;Always worry what would happened next.&lt;br /&gt;&lt;br /&gt;It's a choice, and maybe the one that is closest to the right answer is the ignorants. They don't seem to care about the future, the society, and maybe live it self. The only problem is, they don't care about anything. Because it takes a whole lot of courage to really care about something.&lt;br /&gt;&lt;br /&gt;So...&lt;br /&gt;Make a choice, don't be afraid.&lt;br /&gt;Just live your life to the fullest.&lt;br /&gt;Day by day, minute after minute.&lt;br /&gt;Don't be afraid,&lt;br /&gt;maybe society will treat you bad when you broke their rule,&lt;br /&gt;and maybe , you're wrong. It just the way live is, everybody make mistake&lt;br /&gt;so don't let anything stop you.&lt;br /&gt;Just remember one rule, don't ever, ever ! Let your action based on the intention of hurting someone else.&lt;br /&gt;&lt;br /&gt;In other word, be brave ! And don't give a fuck about what the world thinks !&lt;br /&gt;And in the end, life will find you a path !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1335969032483323546?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1335969032483323546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1335969032483323546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1335969032483323546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1335969032483323546'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/be-brave.html' title='Be brave !'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-111651575813975245</id><published>2011-01-09T12:01:00.000+07:00</published><updated>2011-01-09T12:01:23.180+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='point of mind'/><title type='text'>POM 2</title><content type='html'>- I treat my Friends like Family, and I treat my Family like my Enemy&lt;br /&gt;&lt;br /&gt;- Politician, people that came when ever an opportunity arises, and leave in the wake of destruction. (AFF 2010)&lt;br /&gt;&lt;br /&gt;- If we should lose, we should lose gracefully (AFF 2010)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-111651575813975245?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/111651575813975245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=111651575813975245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/111651575813975245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/111651575813975245'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/pom-2.html' title='POM 2'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1284668668856852365</id><published>2011-01-05T14:54:00.000+07:00</published><updated>2011-01-05T14:54:07.094+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='point of mind'/><title type='text'>Who we are</title><content type='html'>&lt;div style="text-align: center;"&gt;We work to satisfy our souls.&lt;/div&gt;&lt;div style="text-align: center;"&gt;Money is important, but it should never be our first priority.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;It should be the means to keep us going.&lt;/div&gt;&lt;div style="text-align: center;"&gt;Doing what we do, Doing what we loved.&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Because what matter to us,&lt;/div&gt;&lt;div style="text-align: center;"&gt;Is not how to get rich fast.&lt;/div&gt;&lt;div style="text-align: center;"&gt;But to see the the joy, and appreciation.&lt;/div&gt;&lt;div style="text-align: center;"&gt;When what we make, have a direct positive impact to the people that use it.&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Its like sailing against the wind,&lt;/div&gt;&lt;div style="text-align: center;"&gt;with barely enough, and torn out sail.&lt;/div&gt;&lt;div style="text-align: center;"&gt;And for that, we need a lot of help,&lt;/div&gt;&lt;div style="text-align: center;"&gt;and Friends.&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;But we are sure,&lt;/div&gt;&lt;div style="text-align: center;"&gt;one day we'll make it.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;To be able to sail against the wind.&lt;/div&gt;&lt;div style="text-align: center;"&gt;And when that time comes,&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;please joins us with your spirit and courage.&lt;/div&gt;&lt;div style="text-align: center;"&gt;Because after that, we can only go faster !&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1284668668856852365?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1284668668856852365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1284668668856852365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1284668668856852365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1284668668856852365'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/who-we-are.html' title='Who we are'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-891795895983737402</id><published>2011-01-05T10:47:00.000+07:00</published><updated>2011-01-05T10:47:08.449+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='point of mind'/><title type='text'>You</title><content type='html'>I just realize why she couldn't ever say yes.&lt;br /&gt;&lt;br /&gt;It's because somehow it would make an end isn't it ? Your world would stop turning. Everything that is you, somehow would change. The problem is, whether you would like the change or not. I guess your action is the answer that you've found. Probably you're scared, very-very scared, that why you weren't able to believe. And I think you're probably right :) &lt;br /&gt;&lt;br /&gt;It's such a shame that we weren't meant for each other :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-891795895983737402?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/891795895983737402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=891795895983737402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/891795895983737402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/891795895983737402'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2011/01/you.html' title='You'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2122550180106199554</id><published>2010-12-30T18:58:00.002+07:00</published><updated>2011-01-05T10:47:59.115+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='point of mind'/><title type='text'>POM</title><content type='html'>- He lives in black and white world, there is no room for grey area-&lt;br /&gt;&lt;br /&gt;- Money will always come and go, no use of saving it or hold on to it too&amp;nbsp;tightly. You just have to spend it wisely-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2122550180106199554?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2122550180106199554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2122550180106199554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2122550180106199554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2122550180106199554'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/12/pom.html' title='POM'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3922949701620771818</id><published>2010-12-26T01:46:00.019+07:00</published><updated>2011-04-01T15:17:19.085+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mercurial'/><category scheme='http://www.blogger.com/atom/ns#' term='infrastructure'/><title type='text'>Setting new dedicated server</title><content type='html'>I'm migrating my VPS server to a new dedicated server. So i need to repeat the same proses&amp;nbsp;I've&amp;nbsp;done for the old server to this one. For future reference , I'm going to document my steps :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Setting swappiness&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To set the vm.swappiness permanently you need to edit the /etc/sysctl.conf file and add the line&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;vm.swappiness=10&lt;/div&gt;&lt;br /&gt;The default number usually 60. The smaller the number means that your system is unlikely to swap process from memory to the swap space. To see the change, use :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;cat /proc/sys/vm/swappiness&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Installing Sun JDK package&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I'm still very fond to use the JDK from SUN, to do that in ubuntu you need to follow this steps.&lt;br /&gt;&lt;br /&gt;You can add the repository manually by editing /etc/apt/sources.list&lt;br /&gt;or installing the package python-software-properties and run&lt;br /&gt;&lt;br /&gt;sudo apt-get install mysql-server-5.1&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"&lt;/div&gt;&lt;br /&gt;Then, update the repository information and install the jdk&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install sun-java6-jdk&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Installing MySQL&lt;/b&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install mysql-server-5.1&lt;br /&gt;vi /etc/mysql/my.cnf #change the default port&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Installing glassfish&lt;/b&gt;&lt;br /&gt;&lt;div class="code"&gt;wget -b -c -i http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1.zip -o log.out&lt;br /&gt;sudo apt-get install unzip&lt;br /&gt;unzip glassfish-3.0.1.zip&lt;/div&gt;&lt;br /&gt;Start glassfish&lt;br /&gt;&lt;div class="code"&gt;./glassfish/bin/asadmin start-domain domain1&lt;/div&gt;&lt;br /&gt;Connect to the admin console and change the admin password&lt;br /&gt;&lt;div class="code"&gt;http://yourip.net:4848/&lt;br /&gt;enterprise server &amp;gt; administrator password&lt;br /&gt;logout and re-login&lt;/div&gt;&lt;br /&gt;If you want a more secure and thorough set-up you can follow this &lt;a href="http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-301-on-ubuntu"&gt;guide&lt;/a&gt;. I usually just change the port in the admin console to 80.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Installing Apache&lt;/b&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo apt-get install apache2&lt;/div&gt;&lt;br /&gt;enable reverse proxy&lt;br /&gt;&lt;div class="code"&gt;sudo a2enmod proxy&lt;br /&gt;sudo a2enmod proxy_http&lt;br /&gt;sudo /etc/init.d/apache2 restart&lt;/div&gt;&lt;br /&gt;add reverse proxy context&lt;br /&gt;&lt;div class="code"&gt;sudo vi /etc/apache2/sites-enabled/000-default&lt;br /&gt;ProxyPass /itsme/ http://www.mysite.net:8080/itsme/&lt;br /&gt;ProxyPassReverse /itsme/ http://www.mysite.net:8080/itsme/&lt;/div&gt;&lt;br /&gt;if you have a problem "client denied by server configuration proxy" you need to modify the proxy.conf to allow access to your site. So far the only solution i know is by adding allow all or commenting deny all in the proxy.conf file. To edit the conf file, use this command : &lt;br /&gt;&lt;div class="code"&gt;sudo vi /etc/apache2/mods-enabled/proxy.conf &lt;/div&gt;&lt;br /&gt;if you wan't to pass the original ip through your proxy server follow this &lt;a href="http://www.xinotes.org/notes/note/770/"&gt;link&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Setting mercurial server&lt;/b&gt;&lt;br /&gt;To set the mercurial server you can see my previous &lt;a href="http://secondlight.blogspot.com/2010/10/setting-your-own-private-mercurial.html"&gt;post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Using subdomain for mercurial server&lt;/b&gt;&lt;br /&gt;To do this you need to add a CNAME entry to your DNS Server. For example I ask my hosting support to add CNAME entry for hg.myserver.net. &lt;br /&gt;&lt;br /&gt;After that, you just need to copy the virtual host from the 000-default files and add&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;ServerName hg.myserver.net&lt;/div&gt;&lt;br /&gt;And you should be able to access your hg server using http://hg.myserver.net/hg&lt;br /&gt;&lt;br /&gt;I've edited the location and path for this virtual server so i can access it using http://hg.myserver.net/repo. Better than the redundant hg for the url :)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Start glassfish at reboot time&lt;/b&gt;&lt;br /&gt;Create a glassfish.sh file at your home directory, copy the code below as the content&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;### BEGIN INIT INFO&lt;br /&gt;# Provides: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;scriptname&lt;br /&gt;# Required-Start: &amp;nbsp; &amp;nbsp;$remote_fs $syslog&lt;br /&gt;# Required-Stop: &amp;nbsp; &amp;nbsp; $remote_fs $syslog&lt;br /&gt;# Default-Start: &amp;nbsp; &amp;nbsp; 3 4 5&lt;br /&gt;# Default-Stop: &amp;nbsp; &amp;nbsp; &amp;nbsp;0 1 2 6&lt;br /&gt;# Short-Description: Start daemon at boot time&lt;br /&gt;# Description: &amp;nbsp; &amp;nbsp; &amp;nbsp; Enable service provided by daemon.&lt;br /&gt;### END INIT INFO&lt;br /&gt;&lt;br /&gt;GLASSFISH_HOME="/home/mreunion/glassfish/"&lt;br /&gt;&lt;br /&gt;case "$1" in&lt;br /&gt;start)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$GLASSFISH_HOME/bin/asadmin start-domain&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;stop)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$GLASSFISH_HOME/bin/asadmin stop-domain&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;restart)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$GLASSFISH_HOME/bin/asadmin restart-domain&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;force-reload)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$GLASSFISH_HOME/bin/asadmin restart-domain&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;*)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "usage: $0 (start|stop|restart|help)"&lt;br /&gt;esac&lt;/div&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo cp glassfish.sh /etc/init.d/ &lt;br /&gt;sudo chmod +x glassfish.sh&lt;br /&gt;sudo update-rc.d glassfish.sh defaults&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3922949701620771818?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3922949701620771818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3922949701620771818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3922949701620771818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3922949701620771818'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/12/setting-new-dedicated-server_26.html' title='Setting new dedicated server'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1050708743440046040</id><published>2010-12-14T05:01:00.000+07:00</published><updated>2010-12-14T05:01:26.708+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Wireless setup</title><content type='html'>So i've got this&amp;nbsp;Linksys WAP54G in my home, and try to set it up. I'm having trouble with the automatic setup, so reading&amp;nbsp;&lt;a href="http://seoroot.com/blog/networking/how-to-configure-a-linksys-wap54g-access-point.html"&gt;this&lt;/a&gt; helps a lot.&lt;br /&gt;&lt;br /&gt;Now i can ping and connect to my access point, I'm facing another problem. I didn't have any dhcp server. That's why my ubuntu laptop keep turning off the wifi connection. Setting the auto wireless to have a static ip address fix the problem.&lt;br /&gt;&lt;br /&gt;Last but not least, i try connecting through my htc hero. Found the same problem , &lt;a href="http://www.thisandroidlife.com/2009/09/setting-static-ip-address-for-wi-fi/"&gt;this&lt;/a&gt; article help me set the static ip address.&lt;br /&gt;&lt;br /&gt;The funny thing i setup all this, because I'm having a problem adding a third gmail account on my htc hero.It keep saying it need reliable network.&amp;nbsp;&amp;nbsp;Trying to clear the application data didn't work. So as a worked around i delete my second gmail account, and login to youtube using my third gmail account. And it worked.&lt;br /&gt;&lt;br /&gt;Well at least after all this now i have a Wifi Access point in my home now :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1050708743440046040?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1050708743440046040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1050708743440046040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1050708743440046040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1050708743440046040'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/12/wireless-setup.html' title='Wireless setup'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1506323530188950282</id><published>2010-11-26T20:02:00.000+07:00</published><updated>2010-11-26T20:02:28.378+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>The word</title><content type='html'>So, what is life ?&amp;nbsp;&lt;div&gt;If a single living organism &amp;nbsp;live and died so soon,&lt;/div&gt;&lt;div&gt;Do heaven ?&amp;nbsp;or Hell ? l is filled with them ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;In that short time living,&amp;nbsp;does it meant anything ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;Or do they got a second chance,&amp;nbsp;&lt;/div&gt;&lt;div&gt;to be reborn with the same soul every time ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And if we see the universe,&amp;nbsp;&lt;/div&gt;&lt;div&gt;that's so wide a cross , space and time.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Do we.. that look smaller than amoeba for them,&amp;nbsp;&lt;/div&gt;&lt;div&gt;matter ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do our story will ever be heard,&amp;nbsp;&lt;/div&gt;&lt;div&gt;one hundred thousand year from now ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;our tiny spark of light in history.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And what do these rules that we hold on so tightly,&lt;/div&gt;&lt;div&gt;to obey, to follow, and to pass on.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Would they matter to life ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sometimes, a simple happiness is enough.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Why does it so hard to get ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;And when someone finally get it,&amp;nbsp;&lt;/div&gt;&lt;div&gt;then why do so many people want to take it away ?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Life is cruel, life is random, life is not ordinary.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Then Why .....&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do we even bothered.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&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/8160908322920133510-1506323530188950282?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1506323530188950282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1506323530188950282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1506323530188950282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1506323530188950282'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/11/word.html' title='The word'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8506464990585600798</id><published>2010-11-23T21:48:00.002+07:00</published><updated>2010-11-23T21:48:33.627+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>way</title><content type='html'>More Lost Than A Child&lt;br /&gt;Angry with the world&lt;br /&gt;For though I'll be sorry for what i'll do&lt;br /&gt;Neither of this is a concern of you&lt;br /&gt;&lt;br /&gt;Cause I am who I am&lt;br /&gt;I've become what I've dream I become&lt;br /&gt;A dream where no angel, only shadow and despair&lt;br /&gt;&lt;br /&gt;For those of you citizens of this world&lt;br /&gt;My&amp;nbsp;apologies&lt;br /&gt;But life .....&lt;br /&gt;Is not merely all about human&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8506464990585600798?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8506464990585600798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8506464990585600798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8506464990585600798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8506464990585600798'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/11/way_23.html' title='way'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-773943212224731978</id><published>2010-11-23T20:33:00.000+07:00</published><updated>2010-11-23T20:33:13.772+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>The times ...</title><content type='html'>There are times when you feel like, live isn't worth living anymore.&lt;br /&gt;&lt;br /&gt;And today I've wondered. What my limit would be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-773943212224731978?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/773943212224731978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=773943212224731978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/773943212224731978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/773943212224731978'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/11/times.html' title='The times ...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8298076819136758875</id><published>2010-11-20T22:27:00.000+07:00</published><updated>2010-11-20T22:27:35.142+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Type of computer engineer</title><content type='html'>I believe The Computer Engineer Folks *yeah bad grammar* Could be generally separated into two categories.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The one that like to solve computer problem like algorithm, building a compiler, using the most efficient way. They think coding is an Art&lt;/li&gt;&lt;li&gt;And the one that only thinks programming as merely a tools to quickly solve real world problem.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;And sadly, both type doesn't really have a place in my country. Hopefully one day i can make a place, for both :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8298076819136758875?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8298076819136758875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8298076819136758875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8298076819136758875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8298076819136758875'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/11/type-of-computer-engineer.html' title='Type of computer engineer'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1384548453920168865</id><published>2010-11-04T00:45:00.000+07:00</published><updated>2010-11-04T00:45:00.030+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Tapestr 5 production mode</title><content type='html'>I think i made very stupid mistake. When i developed my apps i usually set Tapestry 5 production mode to false in my app module using this line :&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;configuration.add(SymbolConstants.PRODUCTION_MODE, "false");&lt;br /&gt;&lt;br /&gt;since its&amp;nbsp;programmable, this configuration is carried over when i deploy my apps to the server. What&amp;nbsp;I've&amp;nbsp;should have done is I need to override this configuration in the server so my apps would run on production mode. Adding this context-param in my web.xml hopefully would do the job.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;context-param&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;param-name&amp;gt;tapestry.production-mode&amp;lt;/param-name&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;/context-param&amp;gt;&lt;br /&gt;&lt;br /&gt;It gives a little time for me in facing my server memory problem that has been maxed out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1384548453920168865?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1384548453920168865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1384548453920168865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1384548453920168865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1384548453920168865'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/11/tapestr-5-production-mode.html' title='Tapestr 5 production mode'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-135287124281478558</id><published>2010-10-14T23:47:00.012+07:00</published><updated>2011-04-01T19:30:05.415+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mercurial'/><category scheme='http://www.blogger.com/atom/ns#' term='infrastructure'/><title type='text'>Setting your own private Mercurial server</title><content type='html'>&lt;b&gt;update : the steps in this post has been updated for using mercurial 1.7.2&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;First of all I want to say that this &lt;a href="http://mercurial.selenic.com/wiki/PublishingRepositories"&gt;wiki link&lt;/a&gt; is amazing, it's complete and robust. But even with the best guide sometime you've made mistakes. Never hurt to have many reference :)&lt;br /&gt;&lt;br /&gt;So to simply put it, &amp;nbsp;this is my steps in implementing that guide. As a background i have an ubuntu server that i will be using as my own private mercurial server. I already have some code that works with google mercurial server. So its a matter switching repositories. And I also already have an apache server running on my server.&lt;br /&gt;&lt;br /&gt;Now, Lucid lynx comes with mercurial 1.4. If you want to install Mercurial 1.5, 1.6, or 1.7 you need a new repo :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo add-apt-repository ppa:mercurial-ppa/releases&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install mercurial&lt;/div&gt;&lt;br /&gt;Don't forget to check the version using &lt;br /&gt;&lt;div class="code"&gt;hg -v &lt;/div&gt;&lt;br /&gt;&lt;h3&gt;The steps &lt;/h3&gt;&lt;h4&gt;Pre-install&lt;/h4&gt;Installing mercurial in ubuntu is as easy as running &lt;br /&gt;&lt;div class="code"&gt;$&amp;gt;sudo apt-get install mercurial&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Finding the hgweb.cgi file&lt;/h4&gt;First we need to find the hgweb.cgi file. Usually it resides in&amp;nbsp;/usr/share/doc/mercurial-common/examples/hgweb.cgi . If you can't find it using locate or executing this command should do it.&lt;br /&gt;&lt;div class="code"&gt;$&amp;gt;find / -iname hgweb.cgi&lt;/div&gt;&lt;br /&gt;go to the /usr/lib/cgi-bin/ and create hg directory. Copy the hgweb.cgi to /usr/lib/cgi-bin/hg/. Then make it executbale using this command&lt;br /&gt;&lt;div class="code"&gt;chmod &amp;nbsp;755 &lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Creating the user and directories&lt;/h4&gt;Create user hguser with www-data as its group. it should have the /home/hguser as its default home. Now login as the hguser, change the .bashrc for hguser. You can use &lt;br /&gt;&lt;div class="code"&gt;vi ~/.bashrc &lt;/div&gt;&lt;br /&gt;Add this line at the end of the file and save it:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;umask 002 &lt;/div&gt;&lt;br /&gt;With the umask set, the file and directories created by the hguser will have group write permission. So the www-data (default apache user) can create and write any file in the repository. Now&amp;nbsp;create hg directory for our repositories, so now we have /home/hguser/hg for our repositories yay !&lt;br /&gt;&lt;br /&gt;for my setup I'm using 2 repositories, one for development and one for release. So under the hg directory, I created 2 other directory, &lt;br /&gt;&lt;div class="code"&gt;/home/hguser/hg/dev and &lt;br /&gt;/home/hguser/hg/stable&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Now you can logout from the hguser and back to your default user.&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Setting the apache server&lt;/h4&gt;As I mention already have an apache2 server running. My server 80 is already used by something else, so i'm using another port for apache. Lets say port 9000. To do this you must edit the ports.conf file and make the changes accordingly. You can use this command :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo vi /etc/apache2/ports.conf &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You also need to change the port on the default apache file to 9000. You can use this command :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;sudo vi /etc/apach2/sites-enabled/000-default&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;still in the 000-default files, activate the cgi script. The easiest way is by using Script Alias, add the lines bellow to the 000-default files:&lt;br /&gt;&lt;div class="code"&gt;ScriptAlias /hg /usr/lib/cgi-bin/hg/hgweb.cgi&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Setting Mercurial Repositories&lt;/h4&gt;To enable mercurial for multiple repository, it is easier to use the hgweb.config file.&lt;br /&gt;&lt;div class="code"&gt;First login as the hguser.&lt;br /&gt;Create the hgweb.config under the hg directory&lt;/div&gt;&lt;br /&gt;The hgweb.config file should contain :&lt;br /&gt;&lt;div class="code"&gt;[collections]&lt;br /&gt;/home/hguser/hg/ = /home/hguser/hg/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;edit the hgweb.cgi and update the config line to the line bellow : &lt;br /&gt;&lt;div class="code"&gt;config = "/home/hguser/hg/hgweb.config"&lt;/div&gt;&lt;br /&gt;Restart the apache server, than you should be able to access http://yourserver/hg directory&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Allowing Push&lt;/h4&gt;I'm allowing all authenticated user to push to the repository, and since the most important thing is make the repo up and running, I'm making SSL implementation none mandatory. So to allow push you need to edit the /etc/mercurial/hgrc and add the following line below &lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;[web]&lt;br /&gt;allow_push = *&lt;br /&gt;push_ssl = false&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Adding Authentication&lt;/h4&gt;&lt;br /&gt;To add the authentication to your mercurial server you need to add the line bellow to the 000-default file, just under the script alias should suffice.&lt;br /&gt;&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;location /hg&amp;gt;&lt;br /&gt;                AuthType Basic&lt;br /&gt;                AuthName "Mercurial repositories"&lt;br /&gt;                AuthUserFile /home/hguser/hg/hgusers&lt;br /&gt;                Require valid-user&lt;br /&gt;        &amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Now login as the hguser and go to the hg directory. To create the hgusers authentication file and create the first user you can use the comand bellow :&lt;br /&gt;&lt;div class="code"&gt;htpasswd -c /home/user/hg/hgusers frodo&lt;/div&gt;&lt;br /&gt;to add another user you can remove the -c flag&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;htpasswd /home/user/hg/hgusers sam&lt;/div&gt;&lt;br /&gt;restart apache and you should be able to to access the repo at :&lt;br /&gt;&lt;br /&gt;http://www.yourserver.com:9000/hg/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Trouble Shooting&lt;/h4&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;The trouble shooting section in the wiki is very good. I just highlight some here since I've encountered them in my installation.&amp;nbsp;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;If you find the error message bellow in your apache2 error log.&amp;nbsp;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;/var/lib/python-support/python2.6/mercurial/hgweb/common.py:24: DeprecationWarning: BaseException.message&amp;nbsp;has been deprecated as of Python 2.6&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;you're using and older mercurial that work quite right with the latest python implementation. To suppress it add the following lines to the hgweb.cgi immediately after any sys.path adjustment :&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;import warnings&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;warnings.simplefilter("ignore", DeprecationWarning)&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;And if you're able to create a new repo and synch it to your local komputer but &amp;nbsp;failing when pushing or cloning your existing repo to the server. Try &amp;nbsp;changing the hguser/hg directory permission recursively to 777. If that did work than you didn't set your permission correctly.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Good luck&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-135287124281478558?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/135287124281478558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=135287124281478558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/135287124281478558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/135287124281478558'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/setting-your-own-private-mercurial.html' title='Setting your own private Mercurial server'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1125514339893595060</id><published>2010-10-14T20:55:00.000+07:00</published><updated>2010-10-14T20:55:32.691+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Something ...</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Has changed in me ...&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1125514339893595060?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1125514339893595060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1125514339893595060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1125514339893595060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1125514339893595060'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/something.html' title='Something ...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3912097675307541379</id><published>2010-10-10T17:30:00.000+07:00</published><updated>2010-10-10T17:30:06.402+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Loosing home...</title><content type='html'>Why do the Aquarians travel the universe with its massive fleet&lt;br /&gt;Why do the Kharak's people build a Mothership to travel the stars in a journey to take them Home.&lt;br /&gt;Home...&lt;br /&gt;What is home..&lt;br /&gt;&lt;br /&gt;Its not just a place, a thing, people. Its everything that represent who you were.&lt;br /&gt;So if you're planning to loose it, to&amp;nbsp;leave everything behind&lt;br /&gt;With nothing to comeback to,&lt;br /&gt;What does that makes you ?&lt;br /&gt;&lt;br /&gt;Never the less, I'm loosing my home ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3912097675307541379?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3912097675307541379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3912097675307541379' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3912097675307541379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3912097675307541379'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/loosing-home.html' title='Loosing home...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7748303343146231886</id><published>2010-10-10T16:19:00.000+07:00</published><updated>2010-10-10T16:19:52.342+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>One more day ...</title><content type='html'>One more day, hold on for one more day. The only thing I'm holding on to. What the meaning of living if you cant see the future. What the meaning of passing the day when you feel nothing, no emotion. Just sitting here watching this blank screen. The only window that connect you with some world.&lt;br /&gt;&lt;br /&gt;One more day, would i would be able to hold on for one more day ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7748303343146231886?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7748303343146231886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7748303343146231886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7748303343146231886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7748303343146231886'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/one-more-day.html' title='One more day ...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4749938163252422417</id><published>2010-10-06T00:55:00.000+07:00</published><updated>2010-10-06T00:55:26.554+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Kalau...</title><content type='html'>... semua orang berpegang kepada satu orang untuk selalu kuat. Sementara mereka berkutat dengan problem mereka masing-masing. Bukankah lama kelamaan orang ini akhirnya akan hancur juga ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4749938163252422417?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4749938163252422417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4749938163252422417' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4749938163252422417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4749938163252422417'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/kalau.html' title='Kalau...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4401354901628290378</id><published>2010-10-05T00:53:00.000+07:00</published><updated>2010-10-05T00:53:03.521+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Enam Purnama Berlalu...</title><content type='html'>Akhirnya sampai juga ke tahap ini, enam bulan. Bukan waktu yang singkat tapi terasa begitu cepat berlalu.What am I doing ? What are the things that I've done ? ...&lt;br /&gt;&lt;br /&gt;Enam bulan yang lalu, setelah membulatkan tekad. Gw membagi proses ini kedalam 2 tahap. Enam bulan pertama, dimana gw bebas melakukan apa saja, bereksperimen, membangun sebuah entity tanpa ada deadline, roadmap, atau role model. Hanya berusaha untuk fleksible dan take what ever live throw at me dalam mewujudkan keinginan gw. Lalu setelah enam bulan berlalu, di evaluasi, apakah ada yang bisa di seriusin, atau hanya sekedar keinginan, impian yang tidak punya pijakan di dunia nyata ?&lt;br /&gt;&lt;br /&gt;Kalau memang ada, gunakan enam bulan berikutnya untuk serius, membuat sesuatu, moneytizing and turn it to business. Dan setelah satu tahun, kalau tidak berhasil, gunakan sisa waktu dan sisa tabungan untuk mencari kerja. Get back to the real life. That was the plan...&lt;br /&gt;&lt;br /&gt;Sekarang, setelah merasakan, gw gak ingin kembali.Gw ingin berhasil di dunia ini. Kalau jatuh harus bisa bangun lagi. Kalau gagal, sedih , menangis meraung-raung lalu esok, coba lagi ! Buat hal baru, mulai kembali dari awal. Banyak yang bilang, di dunia baru ini, lu belum benar2 teruji sampai sudah merasakan sink to the bottom, not just ordinary bottom, but rock bottom !&lt;br /&gt;&lt;br /&gt;So where am I now ? What about my evaluation ? To be honest, I don't know. Evaluation didn't seem to matter as much as before. That's what funny about this world. Today you can feel like a king, and tomorrow some how you just hit rock bottom. Becoming the lowest on the totem pool, so I learn to not carve &amp;nbsp;anything in stone.&lt;br /&gt;&lt;br /&gt;I guess I'm kinda&amp;nbsp;satisfied&amp;nbsp;with where I am now. Don't have any money though. I'll be&amp;nbsp;ecstatic&amp;nbsp;if my position is a bit better economically, but this will suffice. So, what tomorrow will bring me ? I hope something nice. Tonight, I can only dream :)&lt;br /&gt;&lt;br /&gt;Sleep Tight :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4401354901628290378?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4401354901628290378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4401354901628290378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4401354901628290378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4401354901628290378'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/10/enam-purnama-berlalu.html' title='Enam Purnama Berlalu...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1677536798706907854</id><published>2010-09-28T22:09:00.002+07:00</published><updated>2010-09-28T22:09:14.920+07:00</updated><title type='text'>Jalan Ku ke surga sudah lenyap ...</title><content type='html'>28 September 2010&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1677536798706907854?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1677536798706907854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1677536798706907854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1677536798706907854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1677536798706907854'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/jalan-ku-ke-surga-sudah-lenyap.html' title='Jalan Ku ke surga sudah lenyap ...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2771601265162035850</id><published>2010-09-27T23:53:00.001+07:00</published><updated>2010-09-27T23:53:16.016+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>....</title><content type='html'>Gak kuat lagi, gak kebayang bagaimana kalau tinggal ber-empat :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2771601265162035850?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2771601265162035850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2771601265162035850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2771601265162035850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2771601265162035850'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/blog-post_27.html' title='....'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4153486906614001459</id><published>2010-09-23T21:31:00.000+07:00</published><updated>2010-09-23T21:31:11.888+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Indonesia</title><content type='html'>Sebetulnya bangsa indonesia bukannya tidak punya kemampuan untuk bangkit dan maju dalam persaingan menjadi bangsa terdepan di bumi ini. Tetapi bangsa ini tidak pernah diberikan kesempatan saja.&lt;br /&gt;&lt;br /&gt;Tidak pernah diberikan kesempatan, karena disaat akan maju, kekuatan-kekuatan luar akan campur tangan untuk menggoyang keadaan indonesia dari dalam. Tidak pernah diberikan kesempatan karena disaat akan maju, harta kekayaan alamnya dirampok oleh orang2 serakah yang hanya memikirkan diri sendiri. Tidak diberi kesempatan maju, karena kekuasaan hanya berputar di segelintir orang saja. Dan yang paling penting, tidak diberi kesempatan, karena informasi tentang indonesia hanya dapat diakses oleh orang-orang tertentu saja. Sehingga bangsa ini tidak mengerti apa yang sebenarnya terjadi di negaranya.&lt;br /&gt;&lt;br /&gt;Suatu hari, semua itu akan berubah. Berikan aku satu kesempatan !&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4153486906614001459?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4153486906614001459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4153486906614001459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4153486906614001459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4153486906614001459'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/indonesia.html' title='Indonesia'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-417605706848443145</id><published>2010-09-21T18:02:00.000+07:00</published><updated>2010-09-21T18:02:12.023+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>...</title><content type='html'>I don't really want to do this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-417605706848443145?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/417605706848443145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=417605706848443145' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/417605706848443145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/417605706848443145'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/blog-post.html' title='...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4394778353789232548</id><published>2010-09-09T21:37:00.000+07:00</published><updated>2010-09-09T21:37:15.114+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Din'/><category scheme='http://www.blogger.com/atom/ns#' term='indonesia'/><title type='text'>1431 Hijriah</title><content type='html'>Alhamdulillah, proyek rhamadhan tahun ini sukses. Berhasil mengkhatamkan juz 30 beserta artinya. Gak terlalu berat kalau dari sisi effort, bahkan gw berhasil selesai di hari ke 20, dimana sisa hari dipakai untuk mengulang beberapa bagian yang gw suka. Tapi tantangan terbesarnya adalah di niat dan semangat :) Untungnya aura Ramadhan banyak membantu :)&lt;br /&gt;&lt;br /&gt;Mudah2an esok bisa memulai project yang lebih besar. Mulai dari Juz pertama, gak tahu bakal berapa lama waktu yang dibutuhkan, tapi gw selalu penasaran, setidaknya ingin satu kali membaca dan memahami isi Al-Qur'an.&lt;br /&gt;&lt;br /&gt;-: Selamat hari raya Idul Fitri 1431 Hijriah, semoga semua ini menjadi awal baru bagi kita dalam proses selalu mencoba mengubah diri menjadi semakin baik. :-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4394778353789232548?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4394778353789232548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4394778353789232548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4394778353789232548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4394778353789232548'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/1431-hijriah.html' title='1431 Hijriah'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3921351843671226302</id><published>2010-09-04T04:52:00.000+07:00</published><updated>2010-09-04T04:52:00.886+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Storing image in File System or SQLite</title><content type='html'>That's the question that has been ask a lot, but if you google about it. It doesn't give a very definite answer. So here's the thing that I found out at the moment (Probably changed in time)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If your image is &amp;nbsp;&amp;lt; 1 MB Store it in SQLite. Because it will give you centralized and simple access to the images. And SQLite is still efficient handling blob with that size.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If your image is &amp;gt; 1 MB just store the reference to the file in the database while the actual image is stored in the file system. Preferable the directory is relative to your current directory.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The 1 MB limitation is derived from &lt;a href="http://effbot.org/zone/sqlite-blob.htm"&gt;here&lt;/a&gt;, but some say 2 MB is still acceptable, i guess you just have to try it for your self.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3921351843671226302?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3921351843671226302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3921351843671226302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3921351843671226302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3921351843671226302'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/storing-image-in-file-system-or-sqlite.html' title='Storing image in File System or SQLite'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8970368197856673347</id><published>2010-09-02T02:55:00.001+07:00</published><updated>2010-09-02T02:56:08.921+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Tapestry 5 and Interface</title><content type='html'>As you see from this&amp;nbsp;&lt;a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-WhydoIneedtodefineaninterfaceformyservices%3FWhycan%27tIjustusetheclassitself%3F"&gt;Tapestry FAQ&lt;/a&gt;, I just realized that my bad habit has cost me some of the advantaged of using Tapestry. I often lazy in creating an Interface when binding a Tapestry Service. It turns out that if you don't give an Interface for the service, Tapestry will create the implementation&amp;nbsp;immediately&amp;nbsp;after injection. While I was expecting it will be instantiated only after the first method of the service is invoked.&lt;br /&gt;&lt;br /&gt;Well, i guess its time to dig up some old code :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8970368197856673347?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8970368197856673347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8970368197856673347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8970368197856673347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8970368197856673347'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/09/as-you-see-from-this-tapestry-faq-i.html' title='Tapestry 5 and Interface'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5879593126689295038</id><published>2010-08-21T00:26:00.000+07:00</published><updated>2010-08-21T00:26:35.486+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>F.U.D</title><content type='html'>&lt;i&gt;Fear, Uncertainty, Doubt.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Persis sekali, hal yang sedang gw rasakan saat ini. Sering sekali berkutat dengan pertanyaan, apasih yang sebenarnya gw kerjakan ini. Apa mungkin cara-cara gw yang tidak ingin berkompromi dengan cara yang ada saat ini akan berhasil ? Memberikan terobosan baru di negara yang semua orang pesimis bisa berubah ?&lt;br /&gt;&lt;br /&gt;&lt;i&gt;I Only have one weapon, belive !&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;Percaya kalau melakukan yang benar, suatu saat akan dikasih jalan. Tetapi, seiring waktu berlalu. Tanpa ada sedikit tanda-tanda bahwa gw berjalan ke arah yang benar. Kepercayaan itu semakin terkikis dan menipis ...&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5879593126689295038?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5879593126689295038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5879593126689295038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5879593126689295038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5879593126689295038'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/fud_21.html' title='F.U.D'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-978500054719907322</id><published>2010-08-21T00:15:00.000+07:00</published><updated>2010-08-21T00:15:33.127+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>F.U.D</title><content type='html'>&lt;i&gt;Fear, Uncertainty, Doubt.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Persis sekali, hal yang sedang gw rasakan saat ini. Sering sekali berkutat dengan pertanyaan, apasih yang sebenarnya gw kerjakan ini. Apa mungkin cara-cara gw yang tidak ingin berkompromi dengan cara yang ada saat ini akan berhasil ? Memberikan terobosan baru di negara yang semua orang pesimis bisa berubah ?&lt;br /&gt;&lt;br /&gt;&lt;i&gt;I Only have one weapon, belive !&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;Tetapi, seiring waktu berlalu. Tanpa ada petunjuk apapun, tanda-tanda bahwa gw berjalan ke arah yang benar. Kepercayaan itu terkikis dan semakin menipis....&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-978500054719907322?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/978500054719907322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=978500054719907322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/978500054719907322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/978500054719907322'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/fud.html' title='F.U.D'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1381980540329847597</id><published>2010-08-16T21:13:00.001+07:00</published><updated>2010-08-16T21:21:16.295+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Din'/><title type='text'>Culture clash</title><content type='html'>Mungkin karena sedang ramadhan, jadi hobi nulis yang beginian :)&lt;br /&gt;&lt;br /&gt;Entah kenapa saat ini perbedaan antara masyarakat muslim dan non muslim menjadi blur. Dulu walaupun &amp;nbsp;masyarakat diasimilasi agar tidak terjadi perpecahan atau dikotomi agama, perbedaan dalam perilaku sehari-hari masih terlihat cukup. Di saat Allah berbeda dengan allah.&lt;br /&gt;&lt;br /&gt;Belakangan ini saya sering sekali menemui teman2 non muslim yang bicara Alhamdulillah disaat mendapat rejeki, Astagfirullah hal adzim disaat terkejut, Insya Allah , Masya Allah, dan lain-lain. Kalau dipikir-pikir malah agak lucu, karena terkadang ada teman-teman muslim yang walaupun sholat 5 waktunya lancar, tetapi tidak mempunyai kebiasaan ini :)&lt;br /&gt;&lt;br /&gt;Saya tidak akan membahas dari kelayakan ataupun fiqih karena pengetahuan saya nol besar dalam hal itu. Tapi yang menarik diangkat adalah; "Kalau begitu yang membedakan kita (Muslim) dengan mereka itu apa ?"&lt;br /&gt;&lt;br /&gt;Secara esensi mungkin mereka tidak begitu paham, tetapi secara garis besar mereka mengerti maksud dari setiap kata itu walaupun sekedar dari kebiasaan. Tapi saya rasa ada sebagian masyarakat muslim di indonesia (kalau bukan sebagian besar) yang mungkin juga tidak paham tentang hal ini sampai ke esensinya.&lt;br /&gt;&lt;br /&gt;Kesimpulan yang saya dapat, Yang membedakan, dan kalau kita ingin dibedakan, mengenai hal diatas dengan rekan-rekan non-muslim kita saat mengucapkan kata-kata tersebut, adalah Keyakinan ! Di saat kita mengucapkan kata tersebut kita harus yakin dan sadar, bahwa kata-kata tersebut adalah Doa. Doa yang memiliki arti mendalam. Komunikasi langsung dengan sang khalik tentang keadaan kita di saat tersebut. Sebuah &lt;i&gt;Back channel reserved only for my self&lt;/i&gt; :). Bukan sekedar kultur semata atau ucapan yang didapat dari pergaulan sehari-hari. Tanpa hal itu sebagai dasar, saya rasa kita sedikit-demi-sedikit mulai kehilangan jati diri kita sebagai muslim.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1381980540329847597?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1381980540329847597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1381980540329847597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1381980540329847597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1381980540329847597'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/culture-clash.html' title='Culture clash'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5885606584519303402</id><published>2010-08-13T19:59:00.000+07:00</published><updated>2010-08-13T19:59:50.416+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Din'/><title type='text'>Kadar Iman</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Saat satu ayat dari surat &lt;i&gt;Abasa&lt;/i&gt;&amp;nbsp;yang sempat membuat saya sedikit terdiam. Terjemahannya kurang lebih begini :&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;i&gt;Adapun orang-orang itu, adalah orang-orang yang telah merasa cukup tentang dirinya.&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Yang ada penjelasan sedikit dari tafsirnya :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;i&gt;Maksudnya, pembesar-pembesar Quraisy yang diharapkan masuk islam oleh Rasullullah S.A.Q padahal mereka tidak membutuhkan keimanan lagi, sebab sudah merasa kuat dan kaya.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Yang membuat saya terdiam adalah, betapa benarnya pernyataan itu di jaman sekarang. Melihat ke diri sendiri, karena punya posisi, kekuatan dan harta yang cukup. Saya sudah merasa menjadi orang yang baik, tinggi derajatnya. Tanpa sadar bahwa kadar keimanan yang menentukan tinggi-rendahnya derajat seseorang di mata sang khalik, tidak ada kaitannya sama sekali hal-hal tersebut :(&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5885606584519303402?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5885606584519303402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5885606584519303402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5885606584519303402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5885606584519303402'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/kadar-iman.html' title='Kadar Iman'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5372881600515503193</id><published>2010-08-13T15:54:00.001+07:00</published><updated>2010-08-13T16:12:56.014+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android and T5 Assets Lesson of the month :)</title><content type='html'>Okay, this is from few days back, just have the time to write it.&lt;br /&gt;&lt;br /&gt;I'm serving an android installer (.apk) in my Tapestry 5 website. I used asset to do this, its not architectural choice, but its the only thing i knew at the moment. The problem with using my regular approach, form based/Action link. Is that they generate very particular URL. Some android browser requires that the URL Consist of &amp;lt;url&amp;gt;/&amp;lt;filename&amp;gt;.apk so it will be treated as an installer. Thus why the Asset approach.&lt;br /&gt;&lt;br /&gt;Couple of days a go. A friend of mine contacted me that he wasn't able to download my apps through his android phone. He keep getting error message about the installer. After couple of messages, i found out the size of the downloaded apps is not the same with the file on the server. And no matter how many times he refresh it he keeps getting the same file. Even when he tried to download from his laptop. He's using his office Wifi, so I asked him if to use GPRS/3G. Seems to fix the problem.&lt;br /&gt;&lt;br /&gt;But since a bit tech savvy, he tried the same method using android emulator. Then he send the error message to me. Its about some error chunk size bla.. bla.. proxy bla.. bla.. &lt;b&gt;Turn out that android still having problem with password protected wifi connection&lt;/b&gt;. Lesson No 1.&lt;br /&gt;&lt;br /&gt;That problem fixed or at least I know about the root cause, I'm interested in finding out the other one. Why he keep receiving the same corrupted installer though he refresh it many times. So finally i have a proper reading about T5 Assets documentation :)&lt;br /&gt;&lt;br /&gt;The things you need to know about Assets, since its an asset it have a very specific behavior.Asset is a static content, usually its a static image or css. So it is assumed that Asset rarely changed and expected to exist in deploy time (not dynamic). So if the .apk file didn't exist when the page is rendered, it will show an error page instead the page you want to access. This is happened although the link is not clicked yet. &lt;br /&gt;&lt;br /&gt;Another thing about the Asset, is that is have a very long expiration time. The benefit is that the asset will be cached by the browser (and maybe the proxy server ?) for a long time. Giving some performance boost and reduce load for the server. But this also what makes my friend keep receiving the same corrupted installer. That's Lesson number 2, 3 about T5 Asset.&lt;br /&gt;&lt;br /&gt;Since I've got time, I find another way to handle this scenario. Turn out this scenario could be handled pretty easy using T5 event link :) Well, learning bit by bit everyday is not a sin right :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5372881600515503193?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5372881600515503193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5372881600515503193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5372881600515503193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5372881600515503193'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/android-and-t5-assets-lesson-of-month.html' title='Android and T5 Assets Lesson of the month :)'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5791633360967869861</id><published>2010-08-10T05:49:00.000+07:00</published><updated>2010-08-10T05:49:52.618+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Stupid SVN Mistake :(</title><content type='html'>Okay, i've just wasted 4 hour of my time because some stupid mistake that i made.&lt;br /&gt;&lt;br /&gt;Today, suddenly my local SVN server just stop working. I keep getting some error message :&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for ...&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;It worked fine yesterday ?&lt;br /&gt;&lt;br /&gt;Trying to retrace changes that I've done in the past few days, I've remembered that i made some update to the subclipse client. This throw me into some wild goose chase. Long story short, after changing some settings, change svn client etc, finally i found the core of my problem looking at the httpd.conf file for my svn server.&lt;br /&gt;&lt;br /&gt;I have this kind of Computer-OCD. When ever i see a file that i didn't know i tend to erase it. Later this day i found a passwd file in my C:\ drive. Thinking that no body use it, immediately i hit the Delete button. Lesson learned, that this file actually my password file for accessing my local svn server, and I simply forgotten about it. So i create new password file named svn-passwd to store my password and the svn worked fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5791633360967869861?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5791633360967869861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5791633360967869861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5791633360967869861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5791633360967869861'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/stupid-svn-mistake.html' title='Stupid SVN Mistake :('/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6038065239880420931</id><published>2010-08-04T17:00:00.000+07:00</published><updated>2010-08-04T17:00:31.970+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Din'/><title type='text'>Language of the Angels</title><content type='html'>Apa kamu pernah coba berbicara dengan seseorang yang begitu pendiam ? Sangking pendiamnya sampai terkadang dia tidak mengeluarkan sepatah katapun untuk menanggapi perkataan yang kita lontarkan. Satu-satunya tanda bahwa dia paham apa yang kita katakan hanyalah dengan melihat tatapan matanya yang menhindari tatapan kita, bibir yang mencibir saat mendengarkan suatu nasehat, tangan yang bergerak untuk menopang dagunya untuk menandakan kebosanan.&lt;br /&gt;&lt;br /&gt;Bukan berarti mereka sama sekali tidak mendengar, kadang2 belalakan mata menunjukkan keterkejutan, atau alis yang berkerut dengan tatapan tajam tanda ketidak setujuan, menunjukkan bahwa mereka tetap berkomunikasi, walaupun tidak ada kata-kata yang keluar.&lt;br /&gt;&lt;br /&gt;Berkomunikasi seperti itu terkadang melelahkan dan butuh kesabaran yang tinggi. Tetapi dibandingkan kata-kata yang mudah untuk dimanipulasi oleh lidah tak bertulang. Metode komunikasi seperti ini terkadang terasa penuh kejujuran.&lt;br /&gt;&lt;br /&gt;Where am I going with this ? Seperti inilah kita berkomunikasi dengan tuhan. Ketika kita begitu banyak berkata-kata, memohon ampun, sumpah serapah, memaki-maki melihat keinginan yang tidak terwujud atau derita di dunia ini yang seakan-akan tiada akhir.&amp;nbsp;Begitu lelah kita meminta, berkata-kata, meraung-raung, tetapi seakan tidak ada jawaban, hanya kekosongan yang ada di atas sana, hampa, nothing exists. &lt;br /&gt;&lt;br /&gt;Seperti apa yang gw angkat diawal, terkadang komunikasi itu tidak selalu seperti yang kita inginkan. Ketika tidak ada suara menjawab, mungkin kita lah yang tidak mengerti bahasanya. Kita hanya perlu sedikit lepas dari ke-egoisan diri. Untuk tidak berpikir mengenai sesuati dari our own term and view saja. Mungkin jawaban itu sudah ada di sekitar kita, tapi kitanya kurang awas melihat senyuman , tatapan atau kerutan alis dari alam ini.&lt;br /&gt;&lt;br /&gt;Saat ini yang gw pahami untuk mulai memahami bahasa ini adalah dengan menghentikan&amp;nbsp;singularity dari flow waktu kita. Disaat alur yang terlihat hanyalah alur kehidupan dunia saja, baik itu pekerjaan, karir, hobi, anak , istri , dsb. Disaat diwaktu ibadah, sholat badan bergerak tetapi pikiran kita tidak lepas dari apa yang sedang dan akan dikerjakan setelah sholat. Cobalah untuk berhenti sejenak di akhir sholat, untuk beristigfar, bukan sekedar bertasbih sesuai rutinitas. Tapi menghentikan waktu yang berputar di dunia ini, sampai disaat kata-kata istigfar berhasil menyelubungi diri kita, memberikan kesendirian dari dunia untuk sejenak. Dan at that brief moment in time. Kita bisa melihat diri kita sendiri, alam sekitar dan kejadian2 yang terjadi, dengan bahasa dan pemahaman yang berbeda.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6038065239880420931?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6038065239880420931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6038065239880420931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6038065239880420931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6038065239880420931'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/language-of-angels.html' title='Language of the Angels'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5475099407024287099</id><published>2010-08-03T01:53:00.000+07:00</published><updated>2010-08-03T01:53:32.228+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Suffering</title><content type='html'>If you wanted to know who suffer the most, you look for some that gripping so tightly to justice. Like no other force exist in this world. And although she/he is a mess, she/he cares about other more than her/his self.&lt;br /&gt;&lt;br /&gt;Definitely that person needed help. Cause everyone needs a savior in one moment of their life. But in this case, the savior couldn't be just any ordinary person.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5475099407024287099?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5475099407024287099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5475099407024287099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5475099407024287099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5475099407024287099'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/08/suffering.html' title='Suffering'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3810689031199902732</id><published>2010-07-26T02:19:00.000+07:00</published><updated>2010-07-26T02:19:29.670+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Sibuk</title><content type='html'>Sangking sibuknya dengan kegiatan duniawi, sampai lupa bulan puasa sebentar lagi hadir. Mudah2an tahun ini dapet berkah, petunjuk yang benar-benar bisa meluruskan jalan gw. I'm getting tired of this :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3810689031199902732?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3810689031199902732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3810689031199902732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3810689031199902732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3810689031199902732'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/07/sibuk.html' title='Sibuk'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3000541673559970964</id><published>2010-07-06T17:17:00.001+07:00</published><updated>2010-07-06T17:33:25.462+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Demons</title><content type='html'>Everyone has his/her own demons to fight. A&amp;nbsp;never ending battle, day by day. And today , one of my demon win big time over me. I no longer know how to fight it off, moreover to kill it. All i can do is prolong the inevitable and undermine the effect, eventually I'm going to loose unless i get some help from the outside.&lt;br /&gt;&lt;br /&gt;~SoTired&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3000541673559970964?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3000541673559970964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3000541673559970964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3000541673559970964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3000541673559970964'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/07/demons_06.html' title='Demons'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4101121592002561325</id><published>2010-06-24T01:24:00.000+07:00</published><updated>2010-06-24T01:24:58.339+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='indonesia'/><title type='text'>Selangkah Maju</title><content type='html'>Sedang memikirkan sebuah slogan yang cocok untuk sebuah gerakan. Entah kenapa yang terpikir adalah kata-kata berbahasa inggris.&lt;br /&gt;- Yes, we can !&lt;br /&gt;- Go&lt;br /&gt;- Move Forward&lt;br /&gt;- A little step in the long road&lt;br /&gt;&lt;br /&gt;Mungkin efek globalisasi benar sudah melindas negara kita. Otak-otak kreatif kaum muda kita sepertinya selalu mengangkat versi timur dari ide-ide barat :) Ketika di minta berpikir kreatif orizinal indonesia, hasilnya seperti ini :)&lt;br /&gt;&lt;br /&gt;Tetapi akhirnya kata itu ditemukan, "Selangkah Maju".&lt;br /&gt;&lt;br /&gt;Selangkah Maju demi indonesia,&lt;br /&gt;Selangkah Maju di bidang yang kita kuasai.&lt;br /&gt;Berhenti berpikir besar, bermimpi-mimpi indah.&lt;br /&gt;Potensi, potensi, potensi itu saja yang selalu kita banggakan.&lt;br /&gt;Kita memang punya begitu banyak potensi,&lt;br /&gt;Tapi tidak pernah mampu mewujudkannya :)&lt;br /&gt;&lt;br /&gt;Oleh karena itu, berhentilah.&lt;br /&gt;Tengadahkan wajah ke atas, pejamkan mata perlahan-lahan.&lt;br /&gt;Bayangkan hal yang paling kamu sukai.&lt;br /&gt;Ketika apa yang ada di benak sudah dirasakan oleh seluruh tubuh.&lt;br /&gt;Ambil selangkah maju, langkah-langkah kecil, di dorong rasa ingin tahu dan kebebasan.&lt;br /&gt;Bukan impian kosong atau slogan semata.&lt;br /&gt;Karena selangkah maju itu adalah jalan kita, untuk mengubah negara ini.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4101121592002561325?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4101121592002561325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4101121592002561325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4101121592002561325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4101121592002561325'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/06/selangkah-maju.html' title='Selangkah Maju'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3906650468918343029</id><published>2010-06-23T00:02:00.000+07:00</published><updated>2010-06-23T00:02:17.882+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Encounter</title><content type='html'>I'm looking for that special encounter,&lt;br /&gt;where its only a moment but feels like&amp;nbsp;eternity.&lt;br /&gt;Where no words exchanged,&lt;br /&gt;only eyes were met.&lt;br /&gt;&lt;br /&gt;To not ask, To not say.&lt;br /&gt;To be in a moment in time, where time seems to meet its end.&lt;br /&gt;No more journey after this, No more waiting for the One.&lt;br /&gt;This is the place where exactly I want to be !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3906650468918343029?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3906650468918343029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3906650468918343029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3906650468918343029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3906650468918343029'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/06/encounter.html' title='Encounter'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-777046528754107150</id><published>2010-06-14T13:30:00.000+07:00</published><updated>2010-06-14T13:30:48.964+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Phailed !</title><content type='html'>Ah gagal nih mau bikin app ke dua. Udah hampir satu bulan progressnya gak bagus, gak sampe2 ke versi 0.1. Terus juga tanya sana-sini sepertinya animo-nya tidak terlalu bagus. Harus cari ide lain.&lt;br /&gt;&lt;br /&gt;Huh.. usaha 1 bulan terbuang, tapi harus tahu kapan untuk cut losses dan mulai yang baru.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-777046528754107150?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/777046528754107150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=777046528754107150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/777046528754107150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/777046528754107150'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/06/phailed.html' title='Phailed !'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-64127696677859090</id><published>2010-06-01T08:15:00.000+07:00</published><updated>2010-06-01T08:15:48.116+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='english'/><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>This GMail trick is awesome</title><content type='html'>&lt;a href="http://i.imgur.com/7z3om.png"&gt;http://i.imgur.com/7z3om.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm thinking of re-subscribing all of my milist using this trick :P&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-64127696677859090?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/64127696677859090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=64127696677859090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/64127696677859090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/64127696677859090'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/06/this-gmail-trick-is-awesome.html' title='This GMail trick is awesome'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8901362278733402008</id><published>2010-05-28T22:32:00.002+07:00</published><updated>2010-08-13T16:16:22.114+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Tapestry 5 grid paging with hibernate</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;This is something that i expected to exist in tapestry. Since i "know" T5 from the first release, back then this class isn't available yet. So back then i created my own paging method with 2 additional action link above Tapestry Grid.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;But now its so easy. If you want to create paging for your grid, you just have to return the HibernateDataSource with the session and your class for your grid source parameter. Like this :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;return new HibernateGridDataSource(session, OrderForm.class);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Its something very simple. But when you're in the middle of something, sometimes its too easy to overcomplicate stuff (Not thinking straight, i previously implements my own GridDataSource for my hibernate class). Everything work out of the box (paging, sorting,etc)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Also the grid has a reset() method for reseting the Sort Ordering.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;update :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;i found the easiest way to add default column sort for now is by implementing this method.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;@Component(id="orderGrid")&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;private Grid grid;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;@SetupRender&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;void setDefaultSortOrder() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;if(grid.getSortModel().getSortConstraints().isEmpty()) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;// call it twice to make it desc ordered&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;grid.getSortModel().updateSort("orderDate");&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;grid.getSortModel().updateSort("orderDate");&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;}&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;don't forget to reset the sort order to see the result.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8901362278733402008?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8901362278733402008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8901362278733402008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8901362278733402008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8901362278733402008'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/tapestry-5-grid-paging-with-hibernate.html' title='Tapestry 5 grid paging with hibernate'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2318425541419555990</id><published>2010-05-26T21:55:00.002+07:00</published><updated>2010-08-13T16:19:23.460+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>I learn something new today :)</title><content type='html'>Thanks to geoff &lt;a href="http://jumpstart.doublenegative.com.au/jumpstart/"&gt;jumpstart&lt;/a&gt;, I finally learn how to protect tapestry page in a more 'classier' way. I've been meaning to learn this, but only able to do it now. The guide is &lt;a href="http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages"&gt;here&lt;/a&gt;. The concept is very similar with me, only the the&amp;nbsp;implementation&amp;nbsp;differs.&amp;nbsp;&amp;nbsp;While i'm using basic method of extending base page by their role. Jumpstart uses annotation, way cool :D&lt;br /&gt;&lt;br /&gt;So now i'm trying to implement it using annotation. Its very straight forward actually, since the concept is very familiar. Even the autologin concept is very familiar. But of course he's doing it far better and classier than me and i think i will change it too :)&lt;br /&gt;&lt;br /&gt;Jumpstart uses system properties to set the autologin properties, while I implement in the code. Since the system properties wouldn't be available when i deploy my apps to the server. I don't have to worry about forgetting to reset the autologin properties when i want to deploy my apps to the server.&lt;br /&gt;&lt;br /&gt;To set the system properties in eclipse wtp, you just&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;go to the server window &amp;gt; right click &amp;gt; open&amp;nbsp;&lt;/li&gt;&lt;li&gt;in the bottom of general information &amp;gt; click open launch configuration&lt;/li&gt;&lt;li&gt;select the arguments tab, and in the vm argument box add&lt;/li&gt;&lt;li&gt;-Dmyapp.autologin="true"&lt;/li&gt;&lt;li&gt;restart your server&lt;/li&gt;&lt;/ul&gt;Cool and Classy :D&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2318425541419555990?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2318425541419555990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2318425541419555990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2318425541419555990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2318425541419555990'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/i-learn-something-new-today.html' title='I learn something new today :)'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7816253051884239010</id><published>2010-05-24T01:25:00.001+07:00</published><updated>2010-05-24T01:30:55.927+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>First experience with SQLLite</title><content type='html'>Well it more like the first problem i have with SQLLite in android. If you follow the notepad tutorial for android, you're going to think that this is like any regular database mapping in java. Especially for those of you that used to working with ORM such as hibernate.&lt;br /&gt;&lt;br /&gt;When you want to add a second table naturally you'll create another class to handle that table. Well it turn out in SQLLite (in the SQLiteOpenHelper Constructor) if the database is already open, then it wont call the next onCreate() method. So your second table wouldn't be created.&lt;br /&gt;&lt;br /&gt;this &lt;a href="http://blog.foxxtrot.net/2009/01/a-sqliteopenhelper-is-not-a-sqlitetablehelper.html"&gt;link&lt;/a&gt; explain it more throughly. To solve it you need to put the table creation in one place. The better approach is to open the db in a single class and pass around the handler to other class that actually handle the database functionality. That way you wont be stuck with one single file to handle the database (we're trying to stick with OOP principles here) :).&lt;br /&gt;&lt;br /&gt;Another good link about DB/SQLLite handling in android is this &lt;a href="http://androidblogger.blogspot.com/2009/05/how-to-ship-application-with-pre-baked.html"&gt;link&lt;/a&gt;. This will tell you how to ship your android application with prebake database file.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7816253051884239010?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7816253051884239010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7816253051884239010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7816253051884239010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7816253051884239010'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/first-experience-with-sqllite.html' title='First experience with SQLLite'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5384614548865491176</id><published>2010-05-23T13:59:00.000+07:00</published><updated>2010-05-23T13:59:00.418+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Second Milestone</title><content type='html'>Today is a second milestone for me. Its exactly 2 month since I quit my job. I'm a little behind, haven't release my second apps yet. But May isn't over, hopefully i can manage in this last few days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5384614548865491176?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5384614548865491176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5384614548865491176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5384614548865491176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5384614548865491176'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/second-milestone.html' title='Second Milestone'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2319329603967285072</id><published>2010-05-18T13:53:00.000+07:00</published><updated>2010-05-18T13:53:46.364+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Forget to create trunk folder in SVN</title><content type='html'>Another one about SVN. Since i'm a bit hurry when adding my project to my SVN repositories. I forgot to create the common directories (trunk, branch and tags). After my project is stable i decided to move the code to the proper directories before tagging it.&lt;br /&gt;&lt;br /&gt;After quick i found a simple and effective &lt;a href="http://chipcastle.blogspot.com/2008/08/subversion-forgot-to-create-trunk.html"&gt;way&lt;/a&gt;. Since I'm working on windows, i made a simple batch script for it. Beware it tested lightly, and I didn't tune it to be a generic script.&lt;br /&gt;&lt;br /&gt;@echo off&lt;br /&gt;set repo=http://localhost/svn/myProject&lt;br /&gt;echo "Repository location " %repo%&lt;br /&gt;&lt;br /&gt;echo "Creating SVNTemp directory"&lt;br /&gt;del SVNTemp&lt;br /&gt;mkdir SVNTemp&lt;br /&gt;&lt;br /&gt;echo "Checking out source from repo"&lt;br /&gt;svn checkout %repo% SVNTemp&lt;br /&gt;&lt;br /&gt;echo "Creating trunk in repo"&lt;br /&gt;svn mkdir %repo%/trunk -m "creating trunk"&lt;br /&gt;&lt;br /&gt;cd SVNTemp&lt;br /&gt;FOR /F %%a IN ('dir /b *') do (&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;echo "Moving %%a to trunk"&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;C:\Progra~1\Subversion\bin\svn.exe mv %%a trunk&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;)&lt;br /&gt;svn commit -m "organizing to trunk"&lt;br /&gt;cd ..&lt;br /&gt;@echo on&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2319329603967285072?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2319329603967285072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2319329603967285072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2319329603967285072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2319329603967285072'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/forget-to-create-trunk-folder-in-svn.html' title='Forget to create trunk folder in SVN'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5586328687458066924</id><published>2010-05-11T23:14:00.000+07:00</published><updated>2010-05-11T23:14:52.181+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>1 Of 2 Fear</title><content type='html'>Udah lama emosi gw gak memuncak seperti ini. Dulu udah sering marah, berantem, capek. Jadi sekarang lebih milih diam aja , paling2 dibilang cuek abis. Tapi gak ada yang bakal sakit hati kena gw semprot, dan gw gak bakal uring2an berminggu2.&lt;br /&gt;&lt;br /&gt;Tapi tanggal 9 dan 10 Mei ini nyokap memang bener2 keterlaluan. Tapi tetep aja gak bisa marah sama nyokap sendiri, gak mau nyakitin hati, but don't push me !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5586328687458066924?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5586328687458066924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5586328687458066924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5586328687458066924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5586328687458066924'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/1-of-2-fear.html' title='1 Of 2 Fear'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6025001465264881459</id><published>2010-05-08T02:51:00.002+07:00</published><updated>2010-08-13T16:16:05.953+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>The mystifying URL Encoding</title><content type='html'>I just found out about this things. I never really care about the difference between URL and URI. Whatever it is I just figured it will point to a resource somewhere in the internet. For all i know they can be used&amp;nbsp;interchangeably, so far.&lt;br /&gt;&lt;br /&gt;It turn out, when you're trying to generate your own URL&amp;nbsp;programmatic-ally&amp;nbsp;, it matters. One thing to know, that it encode space differently. URL will encode space into + as demand by html 4.0 specification. While with URI you can get the usual %20 character.&lt;br /&gt;&lt;br /&gt;And what more annoying is &lt;a href="http://mindprod.com/jgloss/urlencoded.html"&gt;this&lt;/a&gt; fact. &amp;nbsp;That you can't simply use URLEncoder to encode and decode URL, but you need to create a URI then execute the toURL() method.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tapestry URL&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Now something specific about tapestry. Since I'm creating an android client that will talk with tapestry server. I need to generate my own URL. In this URL fiasco it turn out that tapestry has its own URL Encoding policy. You can see the change in this &lt;a href="https://issues.apache.org/jira/browse/TAP5-302"&gt;jira&lt;/a&gt;. Tapestry substitute the '%' character with '$00'.&lt;br /&gt;&lt;br /&gt;Luckily the you can get tapestry URLEncoder implementation from tapestry code. So i just use that class in my android app. And one problem solved.&lt;br /&gt;&lt;br /&gt;Oh another thing i found out. Tapestry page isn't&amp;nbsp;debug able&amp;nbsp;with eclipse WTP. But the services are.&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6025001465264881459?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6025001465264881459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6025001465264881459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6025001465264881459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6025001465264881459'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/mystifying-url-encoding.html' title='The mystifying URL Encoding'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2041084510685244311</id><published>2010-05-08T00:53:00.000+07:00</published><updated>2010-05-08T00:53:55.318+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Its not easy</title><content type='html'>Well, its not easy when you're always at home and people think that you're just wasting your saving money. Ditching out a well payed job and many opportunities.&lt;br /&gt;&lt;br /&gt;Its not easy, especially when they didn't understand about your field of work. Hell, even some of the people in your line of work couldn't see as far as you and other see.&lt;br /&gt;&lt;br /&gt;Its not easy. But at least I'm thankful that my parent never ever force their&amp;nbsp;decision on me. Although they sometimes didn't understand why i do it. And sometimes brought up question that i couldn't answer at the moment. I could only smile, and hope they will see it at the end.&lt;br /&gt;&lt;br /&gt;Its not easy. But this is my choice, and i will go through it no matter what happened.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2041084510685244311?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2041084510685244311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2041084510685244311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2041084510685244311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2041084510685244311'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/its-not-easy.html' title='Its not easy'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4990815246255150517</id><published>2010-05-08T00:02:00.000+07:00</published><updated>2010-05-08T00:02:42.736+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='indonesia'/><title type='text'>Siapakah pengguna tapestry 5 di indonesia ?</title><content type='html'>Judul di atas adalah pertanyaan yang muncul di kepala saya saat ini. Semenjak dulu 'canggih tetapi susah' adalah sebuah paradigma yang melekat dengan Tapestry. Tadinya saya pikir dengan keluarnya tapestry 5 (T5) akhirnya tapestry akan bisa jadi booming. Mungkin bukan saya sendiri yang berpikir seperti itu, tetapi para pengguna tapestry yang lain juga berpikir seperti itu.&amp;nbsp;Tapi pada kenyataanya hal itu tidak terjadi.&lt;br /&gt;&lt;br /&gt;Hingga saat ini, dimana tapestry dengan versi 5.1.0.5 yang sudah cukup stabil. Ternyata labelnya tetap melekat. Saya sendiri harus mengakui belajar Tapestry itu tidak mudah, sampai sekarang pun masih seperti orang bego :D.&lt;br /&gt;&lt;br /&gt;Tetapi ini juga yang membuat saya tidak bisa lepas dari T5, terutama disaat seperti sekarang. Dimana saya merasa perlu untuk mendalami satu hal secara serius. Tidak hanya belajar kulitnya saja seperti selama ini. Tapestry itu canggih, apalagi di T5, banyak konsep2 yang mendahului jamannya. Selain itu tapestry banyak 'memaksa' kita untuk menggunakan cara2 yang 'benar' dengan segala jenis design pattern yang perlu kita pelajari. Bukan sekedar framework hack and slash :)&lt;br /&gt;&lt;br /&gt;Mungkin itu juga sebabnya tapestry begitu sulit untuk di kuasai. Tetapi bagi saya sendiri mempelajari T5 dengan baik menjadi begitu berharga. Banyak hal yang bisa saya pelajari, semakin kelihatan perbedaan keahlian dalam mendalami konsep java dan web setiap kali saya mempelajari sesuatu. Pengalaman ini suatu saat pasti akan menjadi begitu berharga.&lt;br /&gt;&lt;br /&gt;Dan sekarang yang menjadi pertanyaan saya adalah. Apakah ada orang lain di indonesia yang memiliki pikiran yang sama dengan saya. Kalau seandainya ada komunitasnya betapa senangnya bisa saling bertukar pengetahuan sebagai pengguna T5.&lt;br /&gt;&lt;br /&gt;I'm sure we can learn a lot :D&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4990815246255150517?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4990815246255150517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4990815246255150517' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4990815246255150517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4990815246255150517'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/siapakah-pengguna-tapestry-5-di.html' title='Siapakah pengguna tapestry 5 di indonesia ?'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3915160176038274845</id><published>2010-05-05T18:35:00.001+07:00</published><updated>2010-05-18T14:32:23.964+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Removing folder from SVN</title><content type='html'>Well, i haven't use SVN for a long time, so my memory is a bit lacking. I initially import all of my project to SVN, but I've forgotten some folder that should be excluded from the initial import. Such as generated bin files. And i want to remove it from SVN versioning.&lt;br /&gt;&lt;br /&gt;The solution is pretty simple, you go to the folder that you didn't want to manage in windows explorer. Search for file and folder containing .svn, and don't forget to check search subdirectory, and search hidden file option. Sort by folder, delete all of the .svn folder.&lt;br /&gt;&lt;br /&gt;Then go to eclipse, update your project. And then the bin &amp;nbsp;folder will have a question mark near it. Just right click add to svn:ignore. And you're finished. The bin folder wouldn't be managed by SVN&amp;nbsp;any longer.&lt;br /&gt;&lt;br /&gt;Update :&lt;br /&gt;After migrating to eclipse galileo subclipse somehow treat this workaround &amp;nbsp;as un-ignored error. The better approach is to delete the folder from SVN Repositories View and check out the code again, and then add the folder to svn:ignore. The subclipse &lt;a href="http://subclipse.tigris.org/wiki/PluginFAQ#head-73584410a8d4fbad6781c7b16be39f6518410a61"&gt;wiki&lt;/a&gt; explain in more detail.&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium; line-height: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;~SD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3915160176038274845?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3915160176038274845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3915160176038274845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3915160176038274845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3915160176038274845'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/removing-folder-from-svn.html' title='Removing folder from SVN'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3230905397098332966</id><published>2010-05-01T21:27:00.001+07:00</published><updated>2010-05-01T22:35:12.030+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Color Harmony</title><content type='html'>Well, for someone like me who is color&amp;nbsp;illiterate&amp;nbsp;, this seems to be the perfect place to &lt;a href="http://webdesign.about.com/cs/color/a/aacolorharmony.htm"&gt;start&lt;/a&gt;. By learning it you make sure that the user that uses your web doesn't get a headache every time they uses your apps. :D&lt;br /&gt;&lt;br /&gt;And &lt;a href="http://kuler.adobe.com/"&gt;this&lt;/a&gt; tool from Adobe is amazing :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3230905397098332966?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3230905397098332966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3230905397098332966' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3230905397098332966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3230905397098332966'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/color-harmony.html' title='Color Harmony'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4227222040636004556</id><published>2010-05-01T12:41:00.000+07:00</published><updated>2010-05-01T12:41:17.362+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>My SUN has set, its time to SEARCH for a new one :)</title><content type='html'>&lt;i&gt;I wonder if the title is appropriate&lt;/i&gt; :D &lt;br /&gt;&lt;br /&gt;Tepat 38 hari semenjak gw berhenti kerja kantoran. &lt;i&gt;Yes, my SUN has set&lt;/i&gt;. Sebuah perusahaan yang punya begitu banyak inovasi dan penuh kultur keterbukaan. Untuk pindah dari kultur seperti ini ke kultur big O yang menomorsatukan sales number diatas semua hal, sepertinya bukanlah sebuah pilihan. Dan untungnya, gw bukan sendirian yang berpikir seperti ini. Bahkan JG pun memutuskan untuk berhenti.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;In SEARCHing a new one&lt;/i&gt;,&amp;nbsp; sepertinya memang hanya perusahaan itu yang punya kultur mirip. Mendorong keterbukaan dan juga mendorong melakukan good things. Tetapi itu mungkin akan menjadi cerita di lain waktu.&lt;br /&gt;&lt;br /&gt;Kembali ke gw, udah Mei saja :D. Tadinya mau menulis banyak hal, merayakan tepat satu bulan berhenti dengan menumpahkan pikiran dan angan-angan kedalam blog. Tapi gak jadi :) gak usah dipaksakan, pada waktunya nanti yang ingin ditulis pasti akan ditulis. Goodnewsnya waktu yg tadinya akan digunakan untuk menulis, dimanfaatkan untuk mengerjakan sesuatu yang lebih produktif.&lt;br /&gt;&lt;br /&gt;Di awal-awal &lt;i&gt;long vacation&lt;/i&gt;,&amp;nbsp; gw berhasil olahraga rutin, lari pagi untuk mengembalikan kondisi fisik. Masih keep kontak dengan teman2 kantor dengan main bulutangkis dan futsal. Tapi sayangnya karena cedera futsal dipertandingan lain di kampus, olahraga paginya terpaksa di stop dulu. Gw gak mau cedera ini jadi parah dan kambuhan.&lt;br /&gt;&lt;br /&gt;I'm a lot happier, sholat lebih teratur, bisa Nemenin nyokap di rumah karena lagi gak ada pembantu buat nemenin. Banyak belajar ulang mengenai konsep-konsep di tapestry dan javascript yang selama ini belajar sambil lalu. Dan akhir pekan lalu, gw merelease aplikasi pertama gw di android.&lt;br /&gt;&lt;br /&gt;Ternyata banyak hal dapat dilakukan dalam waktu satu bulan. Perbedaannya besar sekali melakukan hal yang lu bener-bener suka, dengan melakukan mundane job at the office. Ucapan terimakasih dari tiap-tiap orang yang menggunakan aplikasi lu benar2 terasa nikmatnya.&lt;br /&gt;&lt;br /&gt;Tapi satu hal yang benar-benar gw pahamin. Dalam keadaan seperti ini, dukungan dari teman dan komunitas benar-benar terasa manfaatnya. Disaat ragu dan bimbang tentang apa yang kita kerjakan, would it matter ? A nudge in the shoulder and a little push really2 meant a lot.&lt;br /&gt;&lt;br /&gt;So whats next ?&lt;br /&gt;&lt;br /&gt;Gw berencana untuk tetap fokus di hal yang gw kerjakan saat ini. Belajar lebih jauh tentang android, memperbaiki aplikasi gw, dan mudah2an me-release aplikasi ke dua gw di android di bulan ini. Wish me luck :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4227222040636004556?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4227222040636004556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4227222040636004556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4227222040636004556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4227222040636004556'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/05/my-sun-has-set-its-time-to-search-for.html' title='My SUN has set, its time to SEARCH for a new one :)'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7518095745136823144</id><published>2010-04-20T15:12:00.001+07:00</published><updated>2010-08-13T16:15:38.958+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Tapestry 5 and Quartz</title><content type='html'>Using Quartz with tapestry is pretty easy , thanks to the ChenilleKit project. By following the guide in the &lt;a href="http://www.chenillekit.org/chenillekit-quartz/index.html"&gt;chenillekit-quartz&lt;/a&gt; project you can use quartz to schedule jobs in your application. But in my case, i need to modify the example a little to make it work. &lt;br /&gt;&lt;br /&gt;in the Bundle class :&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void createBundle() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; trigger =&amp;nbsp; new CronTrigger("myCronTrigger", "CronTriggerGroup", "0 42 7/1 ? * *");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (ParseException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; jobDetail = new JobDetail("myJob", null, CrawlingJob.class);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; jobDetail.getJobDataMap().put("crawlingJob", crawlingJob);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; jobDetail.getJobDataMap().put("crawler", crawler);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;I'm adding the job (crawlingJob) and the actual services (crawler) into the job data map. So in the Job class :&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void execute(JobExecutionContext context) throws JobExecutionException {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Execute job Scheduled Crawler at : " + new Date());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Crawler crawler = (Crawler) context.getJobDetail().getJobDataMap().get("crawler");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; crawler.updateData(CrawlAjax.URL);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;we only need to extract the service class from the context and then execute the real method. As simple as that. And the AFAIK the minimum library you need to include to make it work is :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;chenillekit-quartz-1.0.2.jar&lt;/li&gt;&lt;li&gt;commons-codec-1.4.jar&lt;/li&gt;&lt;li&gt;commons-collections-3.1.jar&lt;/li&gt;&lt;li&gt;quartz-all-1.6.5.jar&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7518095745136823144?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7518095745136823144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7518095745136823144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7518095745136823144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7518095745136823144'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/04/tapestry-5-and-quartz.html' title='Tapestry 5 and Quartz'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3495279978705218654</id><published>2010-04-19T21:13:00.001+07:00</published><updated>2010-08-13T16:15:11.824+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Using block to invoke client Javascript code in Tapestry 5</title><content type='html'>In my &lt;a href="http://secondlight.blogspot.com/2010/04/ajax-zone-with-interval-in-tapestry-5.html"&gt;previous post&lt;/a&gt;&amp;nbsp; I've been able to create a self updating tapestry zone.But its only halfway of what i want to do. Although I already give 2 button to start and stop the timer, i want it to be more automatic.Simply said, the server need to send a response that will trigger the stopTimer js function when the crawling process is finished.&lt;br /&gt;&lt;br /&gt;To do this I'm using 2 block. The first block contain the regular content that will be returned from the server. While the second block contains the content and an embedded javascript that will invoke the stopTimer function in the client browser. This is the changes I made to my previous post.&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: large;"&gt;The Code&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Template Code :&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;t:zone t:id="infoZone" t:update="show"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/t:zone&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;t:block id="info"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Updating Message ....&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p t:type="OutputRaw" t:value="${message}"&amp;gt; &lt;br /&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; Text Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/t:block&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;t:block id="infoWithScript"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Update Stopped&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p t:type="OutputRaw" t:value="${message}"&amp;gt; &lt;br /&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; Text Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;&lt;br /&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; stopTimer();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/t:block&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a t:type="actionlink" t:id="crawl" href="#"&amp;gt;Start Crawl&amp;lt;/a&amp;gt; &amp;amp;nbsp;&lt;br /&gt;&lt;br /&gt;In the template code I'm adding the two block named "info" and "infoWithScript". The block will not be rendered by default. And also I added another actionlink that will change the state in the server and start the crawling process.&lt;br /&gt;&lt;br /&gt;Changes in java code :&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Inject&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private Block _info;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Inject&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private Block _infoWithScript;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object onActionFromRefreshZone() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(crawler.getCrawlStatus() == Crawler.CRAWL_STARTED) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; crawler.setCrawlStatus(Crawler.CRAWL_CRAWLING);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; crawler.updateData(URL);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(crawler.getCrawlStatus() == Crawler.CRAWL_END) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; crawler.setCrawlStatus(Crawler.CRAWL_IDLE);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return _infoWithScript;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return _info;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; void onActionFromCrawl() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; crawler.setCrawlStatus(Crawler.CRAWL_STARTED);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getMessage() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return ProgressNotifier.getMessage();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;In the java code we add the two block that will be return by onActionFromRefrezhZone. This method will check if the crawl status in our services class is changed to started, then it will execute update data (the method that will invoke the real process and add messages to the ProgressNotifier).&lt;br /&gt;&lt;br /&gt;At the end of the updateData method, the crawl status will be set to CRAWL_END. So the onActionFromRefreshZone will return the block that contain the embedded js to turn off the timer. And return the status to the original CRAWL_IDLE state.&lt;br /&gt;&lt;br /&gt;Nothing changes in the client js script.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3495279978705218654?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3495279978705218654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3495279978705218654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3495279978705218654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3495279978705218654'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/04/using-block-to-invoke-client-javascript.html' title='Using block to invoke client Javascript code in Tapestry 5'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5052261190274219333</id><published>2010-04-16T21:36:00.002+07:00</published><updated>2010-08-13T16:14:55.582+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Ajax Zone with Interval in Tapestry 5</title><content type='html'>I'm planning to create a zone that will keep requesting data from the server at certain interval. Seems simple enough to do in Tapestry 5 right ?&lt;br /&gt;&lt;br /&gt;But because of my lack of understanding about Ajax and Javascript concept, I've venture to many place to make it. ZoneUpdate, Progressive Display is a few things that i look a bit deep. Trying to understand their inner work, just to find out in which part could I add this simple code.&lt;br /&gt;&lt;br /&gt;After a day struggling, i found out that my original idea work just fine. Yeah when its about web, ajax and javascript, I SUCKS ! BIG TIME !&lt;br /&gt;&lt;br /&gt;So here's the code to make it work, so no other newbie would get lost like I Do.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;The Code&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;I'm using the sample code from Zone Component in Tapestry 5.&lt;br /&gt;&lt;b&gt;Here's the template page :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;h1&amp;gt; Crawl Ajax &amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt; Timer Zone &amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div style="margin-left: 50px"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;t:zone t:id="time2zone"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; time2:&amp;nbsp; ${time2}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/t:zone&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a t:type="actionlink" t:id="refreshZone" href="#" &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; t:zone="time2zone"&amp;gt;Refresh time2 &amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="button" onclick="startTimer()" value="Start Timer" /&amp;gt; &amp;lt;br/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="button" onclick="stopTimer()" value="Stop Timer" /&amp;gt; &amp;lt;br/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here's the java class code :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @InjectComponent&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private Zone _time2Zone;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // The code&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; void onActionFromRefreshPage() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Nothing to do - the page will call getTime1() and getTime2() as it renders.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Isn't called if the link is clicked before the DOM is fully loaded. See&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // https://issues.apache.org/jira/browse/TAP5-1 .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object onActionFromRefreshZone() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Here we can do whatever updates we want, then return the content we want rendered.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return _time2Zone.getBody();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Date getTime2() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return new Date();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object onChangeOfTimerZone() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return _time2Zone.getBody();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;b&gt;And finally, Here's the Java Script code :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt;var timerId;&lt;br /&gt;var linkId='refreshZone';&lt;br /&gt;&lt;br /&gt;function updateMyZone() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("Update Zone!" + linkId);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var actionLink = $(linkId);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tapestry.findZoneManager( actionLink ).updateFromURL( actionLink.href );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function startTimer() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('yohoo');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timerId = window.setInterval('updateMyZone()', 2000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function stopTimer() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clearInterval (timerId);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;As you can see i only add 2 input button to start and stop the timer. The button will invoke the javascript function that uses setInterval that will invoke updateMyZone every 2 second. The updateMyZone will emulate the actionLink behaviour to update the zone.&lt;br /&gt;&lt;br /&gt;Bleah its 10+ line of code and it took me the whole day. &lt;i&gt;*still angry and ashamed with my self*&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5052261190274219333?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5052261190274219333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5052261190274219333' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5052261190274219333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5052261190274219333'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/04/ajax-zone-with-interval-in-tapestry-5.html' title='Ajax Zone with Interval in Tapestry 5'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4072837807436443049</id><published>2010-04-16T21:17:00.001+07:00</published><updated>2010-08-13T16:14:43.380+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>It happened again !</title><content type='html'>Okay, some reminder for the future. I don't know how many simple tapestry project I've made, but definitely more than a few. Yet i keep falling into the same hole. I keep missing some minor detail when creating a new project. And this time I'm facing a weird problem.&lt;br /&gt;&lt;br /&gt;My project run fine in my development environment (eclipse WTP, tomcat, windows). But when ever i deploy it to my linux server. The page didn't show , it keep getting exception :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;Page xxx did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering.&lt;/i&gt;&lt;/blockquote&gt;&amp;nbsp;First I thought it was Case Sensitive problem. The name of the template (.tml) didn't match up to the class page. Although tapestry is case insensitive in many other things unfortunately this is something that T5 couldn't control. To bad that wasn't the problem :(&lt;br /&gt;&lt;br /&gt;And then when i try to rebuild my project, clean, rebuild the class, and refreshing the project tree on eclipse explorer. You need to refresh the tree to make sure new/old/deleted file in the project will be the same with the wtp tomcat temp folder. The temp folder usually located in :&lt;br /&gt;&lt;blockquote&gt;&amp;lt;your_workspace&amp;gt;/.metadata/.plugins/org.eclipse.wst.server.core/tmpX&lt;/blockquote&gt;&amp;nbsp;After rebuilding I found out that my local project also has the same problem, so it isn't about case sensitive. It turn out the source of my problem is this :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"&amp;gt;&lt;/blockquote&gt;while the correct one is : &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;gt;&lt;br /&gt;&amp;lt;html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"&amp;gt;&lt;/blockquote&gt;Tapestry 5 could be very strict about this stuff, and no IDE support for Tapestry 5 certainly didn't help :( There are times when i build the html page from scratch just to test simple case, i forgot to ade the xmlns and Tapestry would just sprout some error.&lt;br /&gt;&lt;br /&gt;It's a great framework no doubt. Years in front of its competitor. But it has its own perks &lt;i&gt;*meh* &lt;/i&gt;Hope this can be a gentle reminder for me in the future.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4072837807436443049?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4072837807436443049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4072837807436443049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4072837807436443049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4072837807436443049'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/04/it-happened-again.html' title='It happened again !'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2409228648076306461</id><published>2010-03-23T20:57:00.000+07:00</published><updated>2010-03-23T20:57:27.431+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>One foot at the entrace</title><content type='html'>If you remember my &lt;a href="http://secondlight.blogspot.com/2009/08/when-september-comes.html"&gt;september break down&lt;/a&gt; and what i think about &lt;a href="http://secondlight.blogspot.com/2010/01/future-journey.html"&gt;my future&lt;/a&gt;, finally I've arrived to that point. Its a few days sooner than i expected but now I'm in front of the gate into a new world. I'm glad how it turn out. But first i need to finish few things first :)&lt;br /&gt;&lt;br /&gt;Here's my check list for this week :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;clean up my room and computer&amp;nbsp;&lt;/li&gt;&lt;li&gt; backup my work to dvd&lt;/li&gt;&lt;li&gt;start jogging, and what i can get with 5 days of regular road work&lt;/li&gt;&lt;li&gt;Finish my tax&lt;/li&gt;&lt;li&gt;create my first apps&lt;/li&gt;&lt;li&gt;commemorate today's event with another post on my blog :D&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2409228648076306461?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2409228648076306461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2409228648076306461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2409228648076306461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2409228648076306461'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/03/one-foot-at-entrace.html' title='One foot at the entrace'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7943419580809104247</id><published>2010-02-15T23:28:00.000+07:00</published><updated>2010-02-15T23:28:20.320+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Akar dari frustasi</title><content type='html'>Hm.. sepertinya gw udah menemukan sedikit pencerahan, kenapa belakangan ini gw begitu mudah frustasi. &lt;br /&gt;&lt;br /&gt;1. Sifat gw yang ingin melakukan banyak hal sendirian, setelah berhasil baru membicarakannya ke orang-orang. Ini merupakan proses pembelajaran bagi diri gw, kalau berhasil tapi dikasih tahu orang, rasanya pengetahuannya gak lengket. Makanya lebih suka untuk coba sendiri. &lt;br /&gt;&lt;br /&gt;Jeleknya, disaat mentok, coba belok dikit mentok lagi, balik arah masih tetep mentok. Jadinya frustasi berlebihan. Padahal kalau tanya sama rekan, bisa diberikan jalan. Jadinya buang waktu berkutat ingin mengetahui semua hal kecil yang gak penting yang bikin sesuatu itu berjalan.&lt;br /&gt;&lt;br /&gt;Agak susah dirubah sih, karena ini sifatnya kepribadian dan cara belajar. Tapi setidaknya ada hal2 di kantor yang membuat mau tidak mau, bertanya ke orang lain :D&lt;br /&gt;&lt;br /&gt;2. Terasing dari sang khalik. Karena lingkungan kerja yang bisa di bilang agak kebarat-baratan. Atau setidaknya berakar dari ilmu barat, dimana people dianggap sebagai resource, yang diukur dari kemampuan teknikal skill-nya, kecepatan belajar, pengalaman, dst. Sebagai one of the unit of production. Tanpa diperhatikan hal spiritualnya. Hanya atribut2 teknis yang masuk kedalam KPI dan PE. &lt;br /&gt;&lt;br /&gt;Walaupun tetap solat. Tetapi ketika melihat value diri di pekerjaan, bagaimana dinilai, bagaimana hal2 yang memberikan value kepada diri kita. Tetapi lama kelamaan, sifat berserah diri, kesabaran, dan kepemilikan waktu. Mulai tergeser oleh, deadline, harus bisa dan pendakian jenjang karir. &lt;br /&gt;&lt;br /&gt;Manusia itu ringkih, lemah dan mudah frustasi. Hanya ketika mempunyai tempat bersandar lah mereka menjadi kuat, pantang menyerah, dan percaya apapun yang akan terjadi pasti akan terjadi. Disitulah peran penting satu kata yang bernama iman.&lt;br /&gt;&lt;br /&gt;3. Tidur ! Gw baru baca artikel yang bilang, salah satu efek jelek dari kurang istirahat adalah MUDAH FRUSTASI ! Jadi gaya hidup ini yang tidak membedakan waktu kantor dan waktu dirumah. Bergadang dan kecanduan berlebihan terhadap internet semenjak ada Speedy. Secara langsung berkontribusi besar untuk membuat gw lebih mudah frustasi :D&lt;br /&gt;&lt;br /&gt;Good newsnya setelah mengetahui hal-hal ini, gw bisa sedikit berbuat sesuatu. Setidaknya mencoba tidur lebih teratur dengan istirahat yang cukup. Tanpa menyalakan komputer demi download film di malam hari :))&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7943419580809104247?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7943419580809104247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7943419580809104247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7943419580809104247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7943419580809104247'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/02/akar-dari-frustasi.html' title='Akar dari frustasi'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8569012202057910553</id><published>2010-02-12T23:30:00.001+07:00</published><updated>2010-02-25T05:31:10.953+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Reverse proxy in apache 2 karmic koala</title><content type='html'>It turn out to enable reverse proxy in apache 2 is very simple. All you have to do is enable 2 module using this command :&lt;br /&gt;&lt;br /&gt;&gt; sudo a2enmod proxy&lt;br /&gt;&gt; sudo a2enmod proxy_http&lt;br /&gt;&lt;br /&gt;modify the virtual host for your sample, the default is in /etc/apache2/sites-enabled/000-default&lt;br /&gt;&lt;br /&gt;add this 2 lines for each of your context &lt;br /&gt;ProxyPass /itsme/ http://www.mysite.net:8080/itsme/&lt;br /&gt;ProxyPassReverse /itsme/ http://www.mysite.net:8080/itsme/&lt;br /&gt;&lt;br /&gt;restart the apache server using&lt;br /&gt;&gt; sudo /etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;and its done :D&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8569012202057910553?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8569012202057910553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8569012202057910553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8569012202057910553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8569012202057910553'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/02/reverse-proxy-in-apache-2-karmik-koala.html' title='Reverse proxy in apache 2 karmic koala'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4198436330954349672</id><published>2010-02-08T03:17:00.000+07:00</published><updated>2010-02-08T03:17:02.397+07:00</updated><title type='text'>Adam 2009</title><content type='html'>Well, i guess i found a little answer, of what i was feeling all this time. I guess for me, live was not all about collecting money to be rich, or chasing some career climbing the corporate ladder. For me it was all about connection, seeing the people that matter for you the most. Day to day, live in simplicity, enjoying each other company and honesty. &lt;br /&gt;&lt;br /&gt;And yes, I've just watched the movie in the title.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4198436330954349672?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4198436330954349672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4198436330954349672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4198436330954349672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4198436330954349672'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/02/adam-2009.html' title='Adam 2009'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7548666858632952865</id><published>2010-01-24T04:07:00.000+07:00</published><updated>2010-01-24T04:07:37.751+07:00</updated><title type='text'>The Way</title><content type='html'>My last though in the matter of system-society-way. The seed of your young genius, radical entities. Will face a very thick huge wall. Before they could do something great, they need to survive first. They need someone, something to show them the way. That it is not impossible to do. &lt;br /&gt;&lt;br /&gt;With out the glimpse of light, they would only get lost in the dark, and slowly dies and fade away. &lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7548666858632952865?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7548666858632952865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7548666858632952865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7548666858632952865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7548666858632952865'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/way.html' title='The Way'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8008982460487934441</id><published>2010-01-24T03:59:00.000+07:00</published><updated>2010-01-24T03:59:08.636+07:00</updated><title type='text'>The Society</title><content type='html'>Every society need a stable structure for it to be able to grow. But some time that stability if stagnant for a long time. It can drug us with being pro to the status Quo. That attitude could only bring the collapse of the society. We must keep evolving. &lt;br /&gt;&lt;br /&gt;That is why, people that has new ideas, free being, radical entity. Must have a way to exist and survive in the society. That is the only way we could survive the test of time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8008982460487934441?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8008982460487934441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8008982460487934441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8008982460487934441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8008982460487934441'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/society.html' title='The Society'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-1711124287333096740</id><published>2010-01-24T02:21:00.001+07:00</published><updated>2010-01-24T03:09:58.366+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>The systems</title><content type='html'>Di analisa D-I-S-C gw tergolong orang yang high S-C. Nilai Stability dan Compliancenya tergolong tinggi. Ini artinya gw termasuk orang yang nyaman berada didalam sebuah struktur yang baku dan sudah memiliki rule dengan standar operating procedurenya. &lt;br /&gt;&lt;br /&gt;Tapi sejujurnya semenjak dulu gw selalu memimpikan hidup hidup sebagai seorang laki-laki sejati. Yang dalam kamus gw itu berarti hidup dengan prinsip, hanya menjunjung tinggi kebenaran, dan tidak terbelenggu harta dan posisi. Mengatakan sejujurnya apa yang ada di depan matanya, dan bisa meyadarkan orang-orang banyak untuk hidup di jalan yang benar. That's right, plain old stereotype from comic book of righteous hero. &lt;br /&gt;&lt;br /&gt;Padahal kalau dipetakan ke realitas, gw sendiri yakin, bahwa pahlawan2 di buku komik itu tidak bisa 100% bertindak seperti yang mereka lakukan. Too many coincidence, people dies and live is always a bitch. But still... it must be wonderful to live like that. Every morning woke up feeling fresh and happy, living side-by-side with what you truly believe, and every day is pretty good day to die. &lt;br /&gt;&lt;br /&gt;Tapi itu semua sepertinya berat untuk bisa hidup di jaman ini. Kita sebagai masyarakat sudah terlalu diperbudak dengan sistem. Kalau tidak mempunya cicilan rumah dan mobil untuk 15 tahun ke depan, tidak bisa hidup layak. Kalau tidak punya asuransi, tidak bisa melahirkan anak. Dan sakit berkepanjangan hanya akan menyeret orang-orang yang kita tinggalkan dengan hutang segunung yang harus dibayarkan ke pihak rumah sakit. And because of that we always live in fear. Bangun setiap pagi memikirkan 10 tahun kedepan,tidak pernah menikmati hari ini,  membayangkan apakah kestabilan yang kita miliki ini akan tetap ada ? &lt;br /&gt;&lt;br /&gt;Hutang yang membebani kita membuat kita tumpul untuk perduli terhadap sekitar kita. Sisi kemanusiaan semakin terkikis. Bayangkan betapa murahnya harga nyawa seorang manusia di jaman ini. Dengan uang asuransi 100 juta, seakan-akan semua kesedihan keluarga bisa ditebus lunas. 25 tahun pengorbanan membesarkan seorang anak terhapus dengan seuntai kata maaf seremonial tanpa niat yang sudah di ulang sebanyak 100.000 kali. &lt;br /&gt;&lt;br /&gt;Bagaimana 1000 nyawa adalah harga yang layak untuk menyelamatkan 1.000.000 orang. Bagaimana nyawa 100 prajurit, 100 suami, 100 ayah adalah harga yang telah disiapkan demi nyawa Satu orang presiden. Kalau kita dilahirkan secara fitrah dan sejajar. Siapakah yang kemudian memberikan nilai jiwa-jiwa manusia ini. Dan siapakah yang melakukan diskon besar-besaran, sale of this century ? Siapakah sebetulnya yang paling mengerti berapa besar harga nyawa seseorang itu, kecuali dirinya sendiri dan mungkin orang tuanya ? &lt;br /&gt;&lt;br /&gt;Dan mengapa begitu mudah kita memaafkan pembunuhan atas nama kecelakaan dan kemajuan teknologi. Ketika hukuman diterima hanyalah 3 bulan bermain sinetron dimata publik. Untuk mengulangi kesalahan yang sama 6 bulan kemudian tanpa ada beban moral sedikit pun. &lt;br /&gt;&lt;br /&gt;Apakah kita sudah begitu tumpul, hidup bagaikan mayat hidup. Mengikuti perkembangan zaman yang telah ditentukan oleh orang-orang yang tidak mengerti arti mendasar menjadi manusia. Untuk berkata sakit jika kita sakit, untuk berteriak tolong saat kita membutuhkan pertolongan, dan untuk mengulurkan tangan disaat orang lain membutuhkan pertolongan.  &lt;br /&gt;&lt;br /&gt;So tell me, how to make our selves to wake up from this fake reality.&lt;br /&gt;&lt;br /&gt;PS: ada satu frase yang baru gw dengar tapi i fall in love with it immediately&lt;br /&gt;"Kebenaran kadang-kadang tidak terlihat karena tertutup bayangan 'akal sehat'. 'Jangan menyerah', meskipun kata itu sederhana. Pada akhirnya hanya itu yang bisa kita pegang.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-1711124287333096740?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/1711124287333096740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=1711124287333096740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1711124287333096740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/1711124287333096740'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/systems.html' title='The systems'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6966472059726436996</id><published>2010-01-20T20:25:00.000+07:00</published><updated>2010-01-20T20:25:48.992+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Money, between ends and means</title><content type='html'>Kalau ada yang bilang 'gw cari kantor lain dengan gaji yang lebih besar dong', dari sini sudah terlihat indikasi, bahwa bagi dia money menjadi ends. Tujuan utamanya adalah pendapatan yang lebih besar. Faktor-faktor lain seperti environment, work pressure, personal time, it all comes secondary. &lt;br /&gt;&lt;br /&gt;Gak salah sih, bisa jadi orang yang berpikiran seperti ini belum tentu karena mata duitan. Tetapi bisa saja karena dia sudah memiliki skill set yang spesifik, tidak banyak alternatif untuk mengembangkan diri, makanya salah satu cara paling tepat untuk memotivasi diri, adalah dengan hal ini. &lt;br /&gt;&lt;br /&gt;Tetapi untuk saat ini gw sedang mencoba menggeser perpektif gw terhadap hal ini. Bagaimana agar money menjadi 'sekedar' means untuk hal-hal yang gw lakukan. Apakah itu berarti gw sebelumnya mata duitan ? Gak juga sih, lebih tepatnya adalah ketakutan akan kehilangan pendapatan tetap perbulan. Yang jumlahnya di atas rata-rata itu. And I dont think i can make that kind of money anymore. &lt;br /&gt;&lt;br /&gt;Tapi kembali lagi, kalau money sudah menjadi means, jumlahnya sudah tidak terlalu penting lagi. Asal cukup untuk mendanai hal-hal yang ingin lu lakukan, bisa hidup dengan layak, itu sudah lebih dari cukup. Tidak perduli dia turun naik, tidak selalu tiap bulan didapat, atau bahkan tidak sebesar pendapatan sebelumnya. Tapi untuk dapat melakukan hal itu dibutuhkan beberapa hal. Ketabahan yang tinggi dan faith yang bisa membuat tetap bersabar dan percaya bahwa rejeki itu bisa datang dari mana saja.&lt;br /&gt;&lt;br /&gt;Tapi satu hal yang pasti gw tahu. Kalau menjadikan money sebagai ends. Hidup gw tidak akan pernah bahagia selamanya :D&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6966472059726436996?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6966472059726436996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6966472059726436996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6966472059726436996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6966472059726436996'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/money-between-ends-and-means.html' title='Money, between ends and means'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4222929604458154463</id><published>2010-01-20T20:10:00.000+07:00</published><updated>2010-01-20T20:10:56.457+07:00</updated><title type='text'>Collectibles</title><content type='html'>Kalau ingat 3 tahun lalu, waktu masih bekerja di perusahaan ke dua. Setelah menabung 3 tahun akhirnya mampu beli motor sendiri. Supra-X 125 R :D cash, gak pake kredit-kreditan. Di perusahaan berikutnya dapat parka merah, gak beli sendiri sih. Tapi bisa jadi itu adalah barang paling berharga yang gw punya :P Lalu di company ini, udah dapet PX-100, Kompie baru, si Zotac, sama Hero :D &lt;br /&gt;&lt;br /&gt;hm.. dengan adanya barang-barang itu, setidaknya bisa mengingat tangis, darah, dan air mata yang gw cucurkan saat bekerja di tempat-tempat itu. Dan mengingatkan bahwa waktu gw selama ini membawa hasil. Walaupun hasil yang paling besar adalah perubahan dalam diri gw sendiri :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4222929604458154463?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4222929604458154463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4222929604458154463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4222929604458154463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4222929604458154463'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/collectibles.html' title='Collectibles'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-985618294076703579</id><published>2010-01-16T22:31:00.001+07:00</published><updated>2010-08-13T16:14:26.022+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Javascript in Tapestry5</title><content type='html'>Okay, lets start from the beginning. &lt;br /&gt;&lt;br /&gt;This is the basic thing that i need to know :&lt;br /&gt;1. how to transfer data between tapestry class and my javascript library&lt;br /&gt;a. from javascript to tapestry page class&lt;br /&gt;b. from page class to javascritp&lt;br /&gt;&lt;br /&gt;2. How to invoke &lt;br /&gt;a. javascript from tapestry class&lt;br /&gt;b. tapestry class from javascript.&lt;br /&gt;&lt;br /&gt;well so far the answers is : &lt;br /&gt;1a. The easiest way was to create a hidden variable that could be accessed from the class. &lt;br /&gt;1b. Is by returning a JSON object that being invoked by javascript. Something more or less like this,&lt;br /&gt;&lt;br /&gt;public JSONArray getArea() {&lt;br /&gt;System.out.println("=== Getting area in javascript ");&lt;br /&gt;&lt;br /&gt;List areaMarkers = areaEngine.getAllAreaMarkers();&lt;br /&gt;return jsonProcessor.marshal(areaMarkers);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well for the other two is blank for me :(, I'll update this if i have the answer.&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-985618294076703579?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/985618294076703579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=985618294076703579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/985618294076703579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/985618294076703579'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/javascript-in-tapestry5.html' title='Javascript in Tapestry5'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3811212312404986389</id><published>2010-01-13T21:25:00.000+07:00</published><updated>2010-01-13T21:25:47.391+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>The future journey</title><content type='html'>&lt;a href="http://secondlight.blogspot.com/2009/08/when-september-comes.html"&gt;this&lt;/a&gt; was post around 5 months ago. From that time I've overcome many other panic attack. Live was like a roller coaster. Ups and downs and more in the down side of things. Well I've survived, but its not pretty. And along the way, although you've got accustomed with this things, but slowly but sure this things are taking a toll on me. &lt;br /&gt;&lt;br /&gt;I'm not stupid to jump to a decision only based on emotion and short term reaction. Actually I'm a very calculated and often over thinking my decision, scenario A, B, C, D and the backup :P &lt;br /&gt;&lt;br /&gt;So that is why after five month of coming to the same conclusion, i finally take it another step. I've informed my team that i was thinking of quitting between April and August. Its not final yet, but with the current condition, I'm hoping that I have the courage to make it into reality. &lt;br /&gt;&lt;br /&gt;The truth is I'm scared shitles to the bone. I don't know how to make money after i quit. Yes i have plan A through D, but none of it involved a safe and secure way to make a living. Hell i don't even know if anyone would buy my services or product because my QA skill sucks. And I'm too introvert to have a good network.&lt;br /&gt;&lt;br /&gt;But i want to live my life the way i want it. Not living someone else dream. Or following the dogma of others. I want to be happy with who I am, making my existence have an impact to this world. Not merely passing live day by day, and at some point seeing the old days and wondered, where all of my time has gone ? &lt;br /&gt;&lt;br /&gt;For all the suffering I've been through, after all the walls that I've taken down. I think i deserves and finally bought one of two years of my live to became who i really am, the true me. Creating things i want to create, exploring things i want to explore, and making sure that i have all of the time i want. I would still be the part of my family, society and the world. But at least now I'm free to the things I want and whenever i wanted to.&lt;br /&gt;&lt;br /&gt;So now I pray that 3-6 month from now, I still have the same Courage and Bravery to take my first step to the dangerous road, the open water, the wild world. Fueled with believe and faith and surround by calmness and open mind. And somehow i manage a small smile in the process of writing this. I'm getting excited of the limitless possibility. Maybe, it would be a wonderful journey after all...  :)&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3811212312404986389?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3811212312404986389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3811212312404986389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3811212312404986389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3811212312404986389'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/future-journey.html' title='The future journey'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6791756903099229324</id><published>2010-01-13T20:57:00.000+07:00</published><updated>2010-01-13T20:57:13.125+07:00</updated><title type='text'>Why do they hate them so much ?</title><content type='html'>I've just watched Fringe latest episode, season 2 episode 11. What strike me is that why do religion is keep being pushes around ? Most tv series would picture that a priest would only hinder the main actor investigation, using dogma like some one that is not touch with progress and reality. Although in the end the actor would reveal that s/he also have to rely on faith sometimes. But i think that just bullshit! Something to soothe the message, to make sure that no riot will come out from the episode. The message was clear, you need to rely on your self first. After the result has been achieved, then you can make this lip service about philosophical thing. Wall in truth, inside you're the same cocky human as ever.  &lt;br /&gt;&lt;br /&gt;Well the media is a powerful propaganda tools. The message that has been pass to your subconsciousness, although subtle it will sink to the bottom of your mind. Especially with the new generation. No wonder this generation is close with frustrated, suicidal and criminal term.  When you've been teach all of your life, that no help would come to you from the outside. That help would come in many different ways. Believe is a very important thing, and not believing another human being 100%, especially the elites, its also important thing. &lt;br /&gt;&lt;br /&gt;This problem can be seen from many perspective. There's a lot of conspiracy theories that revolves around world domination, how to blur the edges between religion, how to mix certain religion to create a new one that would comply with the New World Order. Well i don't want to jump to the same pool. For me religion is very important, like i said before, human needs help from the outside. If we only think that all of the things is only happened because of us, because of our great talent, because of our extreme effort only. Then it would only bring a huge pressure to our fragile conscious mind. And because of that, to save the religion that i depends on so much, i rather turn inside instead of outside.&lt;br /&gt;&lt;br /&gt;Yes, the portrait is mostly about western religion. Priest, church, etc. But if you turn the camera around to Islam, you will get the same picture. For this 500 years how much do our religion progress ? what new finding has come ? or do we do and understand the same thing as people five hundred years ago about our ritual ? or even less ? &lt;br /&gt;&lt;br /&gt;These things, the thing that we need to know so much. These things that make us close and befriend with our souls is so hard to acquire. Over shadowed with scientific experiment and pop culture. Its like a different world, an exlusive worlds that we, the common people, the one that work, not the one that give our 100% lives to religion, has no access to. And even when we finally do, it feels so distant with the daily reality we face. &lt;br /&gt;&lt;br /&gt;I want to bring this information to the public. I want them to have an easy access to it, and have an easy way to understand it, without prior has to understand 5 kitab, before finally getting to the point that they want to understand. I want the evolution in our 1500 year history in religion can be seen by mere people. I want the two world to be merge back to one. And i bet the way people think in the movies doesn't cover 30% of what the people of the whole earth really felt about their religion. &lt;br /&gt;&lt;br /&gt;And what about how we spread our prophet words ? Do in the past 500 years changed much ? To be honest i hate it, i hate the way it being spread. I hate the way it being pushed into my mind, "just accept it, because its all been this way since it been taught". It feels like dogma, and we're the sentinel that cannot think freely. If science, culture and even the earth moves in 500 years, then why do religion is the only thing that stay and choose to be left behind ? &lt;br /&gt;&lt;br /&gt;And also it gives the one that teaches it a structural divinity. Because they learn it full time, because they know it before we do, that what ever comes out from their mind is right. Weather its actually the teaching or just a product of their own mind separated from the teaching. The mind that is not critical, and cling to the power and position too much, cannot be trusted !&lt;br /&gt;&lt;br /&gt;And that is why religion for me is like a journey, we can start from a different entry point. We can choose a different path, but as long as we have the same guidance we will always heading to the same direction. &lt;br /&gt;&lt;br /&gt;And that is why, i enjoy the people that teaches religion without inserting words into our mouth. Or saying you can't do this, you can't do that. Blasphemy, ignorant, future tenant of hell saying things that no impact to the humans that has separated between soul and the logical being. I like the people that guide us in our journey. Teaches what is forbidden and whats not, why is that and guide us to the right action and allow us to make the mistake that will be the base to our stronger faith. And also the people that know and do what the common people do, so we doesn't feel like living in two worlds. Because in the end we are only a mere puny humans. Who without making peace and embrace our religion, would only get more frustrated and maybe someday wiped out from this earth and replace by another species. In order to survice, we must not let go of our faith !&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6791756903099229324?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6791756903099229324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6791756903099229324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6791756903099229324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6791756903099229324'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/why-do-they-hate-them-so-much.html' title='Why do they hate them so much ?'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5669584097555412858</id><published>2010-01-07T23:21:00.000+07:00</published><updated>2010-01-07T23:21:23.177+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Sakaw</title><content type='html'>Okay, I'm frustrated.&lt;br /&gt;&lt;br /&gt;Yeah, hampir pasti penyulutnya pekerjaan kantor. Ingin fokus, mencurahkan perhatian ke satu hal. Selalu aja ada something yang urgent mengganggu. Ter-'&lt;i&gt;distract&lt;/i&gt;' akhirnya konsentrasi terpecah. Mencoba mengakomodasi kedua hal, you know because I'm professional. Akhirnya malah jadi stress, depresi dan kedua project jadi mandeg. Jalan kayak siput, yang ada malah marah-marah disini dan tidak perduli dengan antusiasme di awal project. Singkat kata, "Whatever !!!".&lt;br /&gt;&lt;br /&gt;Otak gw terkadang terlalu kreatif dalam berpikir. Sangking banyaknya akhirnya tidak ada satu pun ide yang keluar, yang bisa dibilang finish. Terkadang begitu mendamba, mempunyai waktu tak terbatas untuk mengejar ide-ide. Menelorkan satu produk ke produk lain. And i mean my brain product, making what comes to mind into realization. &lt;br /&gt;&lt;br /&gt;Tetapi harus realistis juga, ide-ide yang keluar dari otak gw gak berorientasi money, mungkin someday bisa. Tapi itu artinya hidup mengejar kebahagian tanpa memiliki uang. Berani gak yah :P  &lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5669584097555412858?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5669584097555412858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5669584097555412858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5669584097555412858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5669584097555412858'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/sakaw.html' title='Sakaw'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7800358367094652058</id><published>2010-01-03T09:24:00.000+07:00</published><updated>2010-01-03T09:24:19.776+07:00</updated><title type='text'>The collapse of a Society</title><content type='html'>I was watching Jared Diamond 2003 presentation of the collapse of a society. There is two glimpse of thing that divert my attention from the presentation. First when he mention some of the society that last thousand of years and didn't collapse he mention java. And then when he sample the society that going to collapse he mention Indonesia.&lt;br /&gt;&lt;br /&gt;And another thing, he mention that if an elite decisions often benefits them selves in the short term and the group in the long term. Especially when they able to shelter them selves from the effect. That is definitely one of the big factor that contribute to the Collapse of A Society. I've seen that symptoms too many times in my country but didn't know how counter it. &lt;br /&gt;&lt;br /&gt;Oh well, people get what they deserves.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7800358367094652058?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7800358367094652058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7800358367094652058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7800358367094652058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7800358367094652058'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/collapse-of-society.html' title='The collapse of a Society'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5339400404372559966</id><published>2010-01-03T08:48:00.001+07:00</published><updated>2010-03-23T20:18:50.233+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>Firefox FLV Cache</title><content type='html'>There are some tools for storing streaming video from youtube or other site like keepvid.com or flv plugins for firefox. But usually just use the manual way. I go to the firefox cache directory, see the latest and usually the largest file size. Copy it to other directory and give it an .flv extensions.&lt;br /&gt;&lt;br /&gt;One thing that i don't understand, when I watch a rather long videos, usually the file in the cache would only store 25,584 KB of the file. This numbers is the same no matter what long video I cache. And what rather interest me is, when i see the video in my browser. It still replay able to its full length. &lt;br /&gt;&lt;br /&gt;Today i Google some info, and i think i found the answer. First you can type about:cache in your firefox address bar. There you can see the Disk Cache Device information. It can show you how many entries in your cache, Maximum Storage Size, Storage in use, and a link to the cache directory.&lt;br /&gt;&lt;br /&gt;Well one thing that i realize is, the size of 25,548. Is the size of half of the default Maximum Storage Size in firefox, which is 50 MB. So i tried to increase the Maximum Storage Size to 200 MB and refresh the video I'm watching, and finally able to get the full size video, which in my experiment is 29,418 KB. &lt;br /&gt;&lt;br /&gt;I think firefox is limiting the size of a cache file into half of the maximum Disk Space. This because its almost imposible for a cache directory to only contains a single file. Almost all the time the directory will contains more than one file. &lt;br /&gt;&lt;br /&gt;But that doesn't answer why i could re-play the full file in my browser ? &lt;br /&gt;&lt;br /&gt;My guess is, it is stored in the memory. To prove it i try watch the firefox memory usage in windows task manager. And close the tab and reopen it again. The memory usage drop significantly, but not quite the same as the full size of the file. But i'm guessing that my hunch is correct.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5339400404372559966?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5339400404372559966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5339400404372559966' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5339400404372559966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5339400404372559966'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/firefox-flv-cache.html' title='Firefox FLV Cache'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2347838591574372819</id><published>2010-01-03T00:48:00.000+07:00</published><updated>2010-01-03T00:48:40.039+07:00</updated><title type='text'>Seeing the dot</title><content type='html'>I never like apple for their Propietary View of things. But i enjoy some of their product as the finest like iPod and iTunes, never like mac though. &lt;br /&gt;&lt;br /&gt;well this &lt;a href="http://www.youtube.com/watch?v=UF8uR6Z6KLc"&gt;speech&lt;/a&gt; is clearly in mind with all of my though so far. Now, finding the courage and the necessary way is all i hope to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2347838591574372819?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2347838591574372819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2347838591574372819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2347838591574372819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2347838591574372819'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/seeing-dot.html' title='Seeing the dot'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5488943898792324702</id><published>2010-01-03T00:11:00.000+07:00</published><updated>2010-01-03T00:11:03.120+07:00</updated><title type='text'>What Does your Day meant to you ?</title><content type='html'>For me, mostly its about work. What i neglect yesterday, what i need to prepare for next week project activities. Learn-learn-learn about our product, etc. While weekend was fill with lazying up at my room, and maybe some activities that would keep me from getting kicked out from this human society. &lt;br /&gt;&lt;br /&gt;That is why i enjoy long weekend. Since taking holiday need me to prepare who in charge for me at work. Or the deadline is to short for you to take holiday reasons. In this 3 long weekend i manage to do the things that my brain wants. It do everything that it wants. Learn new things without focus, the adrenaline thrill that it needs. Waking up till morning, etc. No matter how unproductive and lazy that sounds. Somehow i fill enrich. And each days means something, i feel like I'm growing limitless to my potential. &lt;br /&gt;&lt;br /&gt;I wish all of my day would feel like this. Not knowing of what i would learn, or what I'm going to achieve that day. Instead of in the frame of work like ogre from 8-5. Hopefully that day will come soon, somewhere in this year :D&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5488943898792324702?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5488943898792324702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5488943898792324702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5488943898792324702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5488943898792324702'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/what-does-your-day-meant-to-you.html' title='What Does your Day meant to you ?'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7630231138625851510</id><published>2010-01-02T23:25:00.000+07:00</published><updated>2010-01-02T23:25:05.096+07:00</updated><title type='text'>First Draft</title><content type='html'>Selama ini terkadang karena terlalu ingin membuat tulisan yang terstruktur dengan bagus, akhirnya karena terlalu memperhatikan punctuation, penggunaan bahasa, flow dari tulisan, kata yang selalu dipakai berulang-ulang. Akhirnya ide yang ingin dituliskan menjadi terhambat, dan terkadang malah lupa sama sekali. &lt;br /&gt;&lt;br /&gt;Gw sudah menyadari ada sedikit gap antara ide yang ada di otak gw dengan kemampuan untuk menyalurkannya agar orang lain dapat mengerti. Tadinya gw pikir dengan belajar menulis lama-lama gap itu akan menghilang dengan sendirinya. Dari dulu soalnya gw punya pemikiran, writing is a skill that can be mastered. Tapi sepertinya di awal tahun ini gw mulai mengerti sesuatu. Dan mulai menerima, ternyata begitulah cara otak gw bekerja, tidak terstruktur. Saat menuangkan satu ide, ternyata bisa berkembang terus yang kadang-kadang kaitannya tidak terlihat langsung. Tetapi butuh waktu memahami dan meletakkan ke dalam alur yang sesuai. &lt;br /&gt;&lt;br /&gt;Terkait dengan hal itu, agar lebih mendorong otak gw supaya lebih kreatif memunculkan ide dan pemikiran. Salah satu jalannya adalah dengan tidak menghentikan flow atau mood yang ada. Sehingga mulai saat ini, jika lu melihat tanda ~FD di akhir post. Ttu tandanya tulisan itu adalah First Draft, hasil pemikiran yang benar-benar fresh dari kepala gw. Tanpa sensor tanpa editor yang memperhatikan kebenaran penggunaan kata2 dan tanda baca. Mungkin suatu hari gw akan mengedit tulisan tersebut menjadi lebih terstruktur dan lebih mudah dibaca, mungkin juga tidak. Berawal dari hari ini, my Brain is the King :) &lt;br /&gt;&lt;br /&gt;~Cherio&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7630231138625851510?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7630231138625851510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7630231138625851510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7630231138625851510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7630231138625851510'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/first-draft.html' title='First Draft'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-7573809947833789542</id><published>2010-01-02T23:10:00.000+07:00</published><updated>2010-01-02T23:10:38.255+07:00</updated><title type='text'>Start up - part 2</title><content type='html'>Sebetulnya pemikiran ini sama munculnya dengan saat gw menulis mengenai &lt;a href="http://secondlight.blogspot.com/2010/01/start-up.html"&gt;start-up&lt;/a&gt;. Tapi sengaja dipisah supaya lebih menarik dibaca, gak bingungin , karena domainnya sedikit berbeda. &lt;br /&gt;&lt;br /&gt;Pertanyaan yang muncul adalah apakah yang membedakan start up di silicon valey dengan start up di indonesia ? &lt;br /&gt;&lt;br /&gt;Berdasarkan pemikiran gw, ternyata cukup banyak. Yang paling mendasar adalah perbedaan negara dan masyarakatnya. Di amerika, karena negara maju yang sudah mapan. Maka kebanyakan motivasi yang muncul adalah dari mewujudkan sebuah ide kreatif. Sedangkan kalau di indonesia karena negara berkembang yang masih belum menemukan kestabilan, maka kebanyakan motivasinya adalah bagaimana menciptakan sebuah killer app yang akan membuat mereka menjadi milyuner ! &lt;br /&gt;&lt;br /&gt;Kemudian kemasalah teknologi. Karena inovasi teknologi rata-rata muncul dari amerika. Maka sebagian besar start-up berusaha untuk membuat sebuah teknologi yang belum ada sebelumnya, atau setidaknya meng-upgrade kemampuan teknologi itu dengan membuat sebuah inovasi unik. Sedangkan di indonesia, untuk menerapkan teknologi maju saja Human Resource-nya terbatas, apalagi membuat sebuah inovasi yang benar-benar baru. Makanya sebagian besar start-up bergerak di bidang implementasi teknologi, atau how to moneytize that technology to the indonesian domain.&lt;br /&gt;&lt;br /&gt;Selanjutnya, di Amerika, mereka paham dari awal membuat start up, kalau ide mereka cukup menarik, teknologi yang dihasilkan bagus, mereka akan mendapat pembiayaan dan reward finansial yang sepadan terhadap usahanya. Di indonesia, kalau start up membuat sebuah teknologi yang inovatif, biasanya mereka juga harus ikut memikirkan bagaimana cara memasarkannya. Dan biasanya juga dihantui dengan sebuah ketakutan. Kalau teknologinya terlalu canggih, malah tidak bisa dipakai dan tidak laku di indonesia. &lt;br /&gt;&lt;br /&gt;Mulai kelihatan kan pola perbedaannya. Kalau saja kita bisa mensimulai beberapa komponen pendukung environment ini. Mungkin saja tidak sekedar sebuah environment start up yang bagus yang akan hadir. Tetapi kemampuan sesungguhnya dari bangsa indonesia untuk bermain di kancah dunia. Okay, mulai jadi orang indonesia yang harus punya grand goals. Gak penting, lebih penting small ideas yang berhasil diwujudkan :P&lt;br /&gt;&lt;br /&gt;Jadi terpikir, asal bisa mendukung satu startup untuk menjadi succes story. Lalu mengadakan pertemuan-pertemuan rutin untuk menginspirasi orang-orang lain. Mungkinkah jadi sebuah awal ? &lt;br /&gt;&lt;br /&gt;oh yah, ternyata reddit punya tampilan yang lebih bagus di http://redditall.com/&lt;br /&gt;&lt;br /&gt;~FD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-7573809947833789542?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/7573809947833789542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=7573809947833789542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7573809947833789542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/7573809947833789542'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/start-up-part-2.html' title='Start up - part 2'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2920341527676604708</id><published>2010-01-02T22:24:00.000+07:00</published><updated>2010-01-02T22:24:05.734+07:00</updated><title type='text'>Start up</title><content type='html'>Bagi yang tidak tahu Alexis Ohanian, dia adalah salah seorang pendiri reddit. Salah satu startup dan perusahaan web 2.0. Sebetulnya gw juga gak tahu nama dia, sampai melihat salah satu presentasi dia di TED.com &lt;br /&gt;&lt;br /&gt;Orang ini tahu bagaimana cara membuat presentasi yang bagus, singkat, padat, mengena dan yang paling penting, tidak membosankan. Jadilah gw sedikit googling tentang dia dan menemukan salah satu cerita mengenai &lt;a href="http://particletree.com/notebook/oh-yeah-the-fun-part/"&gt;presentasi&lt;/a&gt; dia di &lt;a href="http://startupschool.org/"&gt;startup school&lt;/a&gt;. Salah satu ajang pertemuan start up yang di sponsori &lt;a href="http://ycombinator.com/"&gt;Y Combinator&lt;/a&gt; salah satu Venture Capital yang terkenal di silicon valley. &lt;br /&gt;&lt;br /&gt;Sayangnya gw tidak menemukan video presentasi dia disana, melihat slide-nya saja tidak cukup. Karena cara dia membawakan presentasinya lah yang membuat orang-orang tertarik. Apalagi kalau dilihat dari komentar yang ada, sensasi yang ditinggalkan presentasinya mengingatkan bagaimana menyenangkan menciptakan sebuah startup. Penjelasah lebih detilnya bisa dilihat di link ke particletree.com :)&lt;br /&gt;&lt;br /&gt;Kalau efek dari perasaan ini dibawa ke pemikiran mengenai start-up di indonesia. Jadi terpikir, mengapa tidak banyak start-up di indonesia ? Yea-yea, banyak alasan seperti regulasi, korupsi, environment, timbal balik yang tidak sepadan, bla-bla. Tapi satu hal yang menurut gw sebenarnya bisa menjadi katalisator, tetapi saat ini belum ada di indonesia. &lt;br /&gt;&lt;br /&gt;Start-up butuh inspirasi, mereka butuh success story. Mendengar cerita dari orang-orang yang menjalaninya. Diingatkan mengenai betapa menyenangkannya ketika berhasil mewujudkan sebuah ide yang ada dipikiran lu. Orang-orang perlu di yakinkan, bukan dengan imbalan uang, bukan dengan perhitungan matang mengenai resiko dan reward yang bakal didapat. Tetapi dengan sebuah lingkungan, komunitas yang bisa berbagi cerita dan mengingatkan tentang menyenangkannya mewujudkan sebuah ide.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2920341527676604708?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2920341527676604708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2920341527676604708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2920341527676604708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2920341527676604708'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/start-up.html' title='Start up'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-8647607341287548366</id><published>2010-01-02T01:26:00.000+07:00</published><updated>2010-01-02T01:26:18.557+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Senioritas</title><content type='html'>Baru sampai kerumah setelah kumpul dengan beberapa teman. Ada satu hal yang muncul efek dari obrolan tadi. &lt;br /&gt;&lt;br /&gt;Di negara kita memang kultur senioritas itu tinggi sekali. Terutama di lembaga-lembaga pemerintah. Dan ternyata universitas pun tidak terlepas dari hal ini. Tak heran banyak pemikir-pemikir muda indonesia yang lebih memilih untuk bekerja di luar negeri. Karena dengan prestasi, mereka mampu mendobrak hingga lapisan tertentu dari birokrasi yang ada. Dibandingkan di indonesia yang walaupun berprestasi bagaimanapun tetap saja akan disuruh buat kopi atau teh kalau masuk sebuah BUMN. &lt;br /&gt;&lt;br /&gt;Jadi bagaimana cara memperbaikinya ? &lt;br /&gt;&lt;br /&gt;Merubah kultur memang sulit, cara terbaik mungkin dengan membuat regulasi. Yang memungkinkan beberapa posisi krusial bisa diraih tanpa harus mengikuti jenjang senioritas tersebut. Penilaian hanya dari sebatas prestasi.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-8647607341287548366?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/8647607341287548366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=8647607341287548366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8647607341287548366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/8647607341287548366'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/senioritas.html' title='Senioritas'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6692349391172844815</id><published>2010-01-01T00:34:00.000+07:00</published><updated>2010-01-01T00:34:29.952+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Inheritance</title><content type='html'>My 1'st post in 2010, its 12:13 AM right now in my place. &lt;br /&gt;&lt;br /&gt;I never liked inheritance, i have a subtle attitude of rejecting everything that was given time. I didn't consciously do it, with intention of disrespect or dissing someone. It just something i do, sometimes its so subtle that people wouldn't notice. But as time goes by they would wonders why i rarely accept things from them. &lt;br /&gt;&lt;br /&gt;Maybe because I'm used of not having anything. Getting used working hard to get the things that i wanted. As i grew up i just only have one track mind, get the things that i want, and getting it with my own way. And that is what growing up means to me. &lt;br /&gt;&lt;br /&gt;New years doesn't mean much to me. For me, seeing from flow of time perspective, it just another day passes by. If the day changes also reset the month and year counter. In essence its the same flow of time like everyday occurrence.&lt;br /&gt;&lt;br /&gt;So celebrating this year new years was never in my schedule. I rather study something or watch a movie, enjoying my rare peaceful time. So when a neighbor asking me to come out and enjoy some barbecue with them, i politely decline. A bit a shame, there's nothing wrong with their invitation, and socializing with other people would be good. It just like what i said at the beginning. This social interaction is an inheritance from my parents. Don't get me wrong as a good kid, i will treasure and cherish what my parents had. But in truth , i would never feel it as mine. So i do what i must do, but sometimes rejecting things that was not my obligation. &lt;br /&gt;&lt;br /&gt;Yes, I'm acting like an ass, a total jerk. But home always means one thing to me. A thing that makes it different from any other place in the world. Home is a place where no matter how selfish, introvert, egoist, and stubborn I am, it will always has a place for me. A place to be my self without thinking about anything else.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6692349391172844815?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6692349391172844815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6692349391172844815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6692349391172844815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6692349391172844815'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2010/01/inheritance.html' title='Inheritance'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-3668802899267307295</id><published>2009-12-29T05:29:00.001+07:00</published><updated>2009-12-29T05:45:30.884+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>2010 resolution</title><content type='html'>Okay, today seems as good as any day for creating my resolution. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;2009&lt;/b&gt;&lt;br /&gt;kalau melihat resolusi gw tahun &lt;a href="http://secondlight.blogspot.com/2008/12/resolusi-2009.html"&gt;lalu&lt;/a&gt;, sebenarnya tidak banyak. Memang gw begitu orangnya, lebih menyenangi hal-hal yang tidak perlu terlalu pusing untuk direncanakan. &lt;br /&gt;&lt;br /&gt;Nah terkait resolusi itu, sebetulnya disana ada 4 item. Tetapi ternyata dengan jumlah sedikit itu bukan berarti semuanya bisa tercapai dengan mudah. &lt;br /&gt;&lt;ul&gt;&lt;li&gt; release product - not happening, sepertinya gw dan teman2 benar sudah tersita dengan pekerjaan&lt;/li&gt;&lt;li&gt; menulis buku - hanya 1 chapter :P Jadi nasibnya sama saja &lt;/li&gt;&lt;li&gt; beli tanah - hm... sepertinya sih sertifikatnya tahun ini, walaupun nyicilnya udah lama. So, yes. One point :P &lt;/li&gt;&lt;li&gt; pre-wed - defitely not :P &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Tapi di luar itu banyak hal-hal yang terjadi di tahun ini : &lt;br /&gt;&lt;ul&gt;&lt;li&gt; Akhirnya mulai sedikit beradaptasi dengan lingkungan kantor. Tidak mudah, a lot of hardwork. Banyak teman-teman baru, dan rutin berolahraga kembali (futsal dan bulutangkis)&lt;/li&gt;&lt;li&gt; Pergi ke tempat-tempat baru, karena pekerjaan sih. Ke malang bersama Telkomsel untuk workshop MySQL, ke Balicamp di daerah pegunungan bali &lt;i&gt; lupa namanya &lt;/i&gt;, berbagai perkantoran baru di jakarta karena disuruh presentasi :P Yes, I'm a full fledged Traveler now :) &lt;/li&gt;&lt;li&gt; Turning 30 :D &lt;/li&gt;&lt;li&gt; Beli handphone Android pertama gw di akhir oktober, HTC Hero &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Dan banyak hal lain yang mungkin kalau coba diingat secara detil saat ini, tidak akan teringat. Tetapi hal-hal kecil itu banyak membawa pengaruh ke diri gw. Secara keseluruhan tahun ini begitu melelahkan. Mungkin disebabkan oleh adaptasi yang akhirnya mulai berhasil. Dan kerja keras karena kekurangan orang dikantor. &lt;br /&gt;&lt;br /&gt;Yang jelas begitu banyak yang gw rasa, begitu banyak frustasi yang terlewatkan. 2009 hampir berlalu, dan gw berterimakasih. Karena di tahun ini, gw merasa tumbuh dengan cepat. Mendobrak beberapa tembok yang menghalangi gw selama beberapa tahun terakhir. Sekarang saatnya untuk melihat ke depan ! :)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2010&lt;/b&gt;&lt;br /&gt;Hm... hal-hal yang ingin gw lakukan di tahun depan. &lt;br /&gt;&lt;ul&gt;&lt;li&gt; Setidaknya ada satu project dikantor yang bisa gw selesaikan dengan Sukses. Entah itu MySQL Cluster atau OpenESB&lt;/li&gt;&lt;li&gt; Menjalankan rencana bisnis untuk stiker/printing/baju &lt;/li&gt;&lt;li&gt; Saat ini ada tiga ide yang sedang jadi pusat pemikiran gw. GMaps, ERP dan Android Games. Mudah-mudahan bisa fokus dan salah satu dari tiga hal ini bisa di release &lt;/li&gt;&lt;li&gt; Di januari ini pengumuman mengenai merger sudah final. Mudah-mudahan dapat memutuskan, di antara komit untuk menamatkan masa pembelajaran dalam dua tahun. Atau berusaha mengambil jalur entrepreneur jika diberikan kesempatan &lt;/li&gt;&lt;li&gt; Memperbaiki kemampuan menulis :) &lt;/li&gt;&lt;li&gt; Memperdalam ilmu agama dan ekonomi. Atau setidaknya konsisten menjalankan proyek malam jum'at gw :) &lt;/li&gt;&lt;li&gt; Mempunyai tempat sendiri. Pilihan gw untuk tinggal di rumah adalah untuk menemani nyokap dan adik gw. Tetapi ini ide untuk kembali menjadi independen mulai menemukan jalannya. Yah kalau tanggung jawab itu sudah bisa sedikit dilepas. Ada kemungkinan I'm going to move out. Just wait and see&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Last but not least. Selama ini gw hanya kenal satu cara. Kalau merasa tidak mampu, atau ada hal yang kurang, tempatkan diri dimana terpaksa untuk menghadapi hal tersebut. Sesuatu yang berguna pasti keluar dari kondisi tersebut. Well, setidaknya tahu mengenai batas diri. &lt;br /&gt;&lt;br /&gt;Pendekatan itu yang banyak gw pergunakan... untuk urusan kantor. Tahun depan, gw mencoba membawa prinsip itu ke kehidupan pribadi gw. Sudah dapat bantuan dari seorang teman, sedikit gila dan ber-resiko. Hasilnya akan gw ceritakan di akhir tahun 2010 nanti, tunggu saja beritanya ! &lt;br /&gt;&lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-3668802899267307295?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/3668802899267307295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=3668802899267307295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3668802899267307295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/3668802899267307295'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/2010-resolution.html' title='2010 resolution'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4380950380402431921</id><published>2009-12-25T14:13:00.000+07:00</published><updated>2009-12-25T14:13:51.328+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>3 liburan panjang</title><content type='html'>Tahun ini ada 3 liburan panjang di weekend akhir menjelang tutup tahun. Lumayan, jadi sempat aktualisasi diri :)&lt;br /&gt;&lt;br /&gt;Kalau minggu kemarin gw sempat ngelanjutin explorasi GMap dengan tapestry. Di minggu ini belajar mengenai ERP secara keseluruhan. Buka-buka catatan di perusahaan lama, liat-liat accounting system lagi. Memang bidang ini terlalu luas banget, so much to learn. &lt;br /&gt;&lt;br /&gt;Belum tahu effort ini akan menuju apa. Mudah-mudahan ada segmen middle market yang bisa dimasukin. Tetapi untuk bisa masuk, butuh persiapan yang cukup dan sebuah strategy. Alhasil minggu ini targetnya riset dan strategy planning. &lt;br /&gt;&lt;br /&gt;Supaya bisa obyektif gak boleh membaca dari 1 sumber saja. Setidaknya 3 sumber, tetapi berhubung keterbatasan waktu dan sudah punya background sebelumnya 2 should suffice. &lt;a href="http://www.wikio.com/article/basic-erp-features-153477508"&gt;This &lt;/a&gt; One source is the best. Simple yet accurate. Sekarang setelah membaca semua informasi itu, bikin coret-coretan, tinggal bagaimana menuangkannya ke sebuah dokumen yang terstruktur dengan baik :) Gonna gain a lot of thing from this :) &lt;br /&gt;&lt;br /&gt;Hm.. minggu depan mungkin oprek-oprek bikin aplikasi di android. Atau lanjut bikin prototype kecil2an. Sepertinya gak fokus banget yah :) Tapi namanya juga aktualisasi diri. Melepaskan hal-hal yang selama ini mengganjal. Ingin dibuat tapi gak bisa karena kerjaan kantor yang gila-gilaan. Well if one of this gonna turn into a 'thing' in the future, I'm gonna be more than satisfied. For now, my reward is My Piece of mind and pleasure of having the time to what I really want. Live should be always like this :) &lt;br /&gt;&lt;br /&gt;Cheerio&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4380950380402431921?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4380950380402431921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4380950380402431921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4380950380402431921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4380950380402431921'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/3-liburan-panjang.html' title='3 liburan panjang'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-10168766554861076</id><published>2009-12-20T16:27:00.001+07:00</published><updated>2010-08-13T16:13:50.140+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tapestry 5'/><title type='text'>Tapestry 5 and Javascript</title><content type='html'>Ok, I'm not a web designer. The only web framework that I've ever learn was tapestry. So when i try to make something and that something is related to web scripting, javascript or css, I'm lost. But i can't let that happened all the time, that is a necessary skill for me to complete my side project. Because of that reasone I'm spending this long weekend to know javascript in Tapestry 5 a little better. &lt;br /&gt;&lt;br /&gt;Since my side project is building something with google maps, i find that there are 3 kind of javascript that i need to handel in my page. First external javascript, my google maps library that reside in another webserver. Second my javascript library, javascript code that will be used in many pages. And the third is the javascript for my current page. &lt;br /&gt;&lt;br /&gt;Isn't the first and second type can be consider as one ? Unfortunately no, from the perspective of the page they both are external javascript. But currently there are no way to treat the external javascript from google like javascript library in Tapestry 5. &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;My Story&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Okay, since I'm a bit slow picking up new things. So I created my page the old way. I put everything in the template (.tml) file. Luckily it worked, the map from google shows and I've managed to create some polygon above it. Doing this required me to have :&lt;br /&gt;&lt;br /&gt;&lt;i&gt;a link to google maps javascript library&lt;/i&gt;&lt;br /&gt;&amp;lt;script src="http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;sensor=false&amp;amp;key=xxxxx" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;my own link &lt;/i&gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="${asset:context:js/mapeditor.js}" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;and my own javascript for current page&lt;/i&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;// tapestry aware vars&lt;br /&gt;var latLng = ${getArea()};&lt;br /&gt;&amp;lt;!-- // &lt;br /&gt;// used for only initialization and invoke method in js lib, &lt;br /&gt;// while other js lib will be added using addScript command in the java file&lt;br /&gt;// lets keep the template clean&lt;br /&gt;var map = null;&lt;br /&gt;var gmarkers = [];&lt;br /&gt;var other_polygon = [];&lt;br /&gt;&lt;br /&gt;function initialize() {&lt;br /&gt;&lt;blockquote&gt;if (GBrowserIsCompatible()) {&lt;br /&gt;map = new GMap2(document.getElementById("map_canvas"));&lt;br /&gt;map.setCenter(new GLatLng(-2.1088986592431254, 117.158203125), 5);&lt;br /&gt;showPolygon(latLng);&lt;br /&gt;}&lt;/blockquote&gt;} &lt;br /&gt;&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&lt;br /&gt;This worked !&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Other way&lt;/b&gt;&lt;br /&gt;Now I'm trying to do it the right way, in this case the Tapestry 5 way. As i understand you can add external library so it will render in the &lt;b&gt;top&lt;/b&gt; of your page by using renderSupport addScriptLink method. But unfortunately this method cannot add the external Javascript from google, so i leave the google javascript library in the template file. &lt;br /&gt;&lt;br /&gt;While i've managed to move my library to the java file, so the template would look clean. I understand moving the current page to the render support is also possible, but composing the javascript into a string using StringBuffer is a pain :(. And i don't see the real benefit anyway. Because as long as you keep the page javascript clean, only for initialization, its okay to leave it on the template page. &lt;br /&gt;&lt;br /&gt;Anyway one of tapestry strong point is to separate coding and UI design. And sometimes the UI designer uncomfortable when they doesn't know the behaviour of the page. If you move all of the script to the java class. And that would break their design tool WYSWYG and also force them to understand the java class. &lt;br /&gt;&lt;br /&gt;PS : I understand one more things writing this blog. Writing code in blogger is pain, because you need to &amp;lt; , &amp;gt; sign to the appropriate mark-up your self.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-10168766554861076?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/10168766554861076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=10168766554861076' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/10168766554861076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/10168766554861076'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/tapestry-5-and-javascript.html' title='Tapestry 5 and Javascript'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-757934145419222063</id><published>2009-12-14T22:57:00.003+07:00</published><updated>2009-12-14T23:34:58.992+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Din'/><title type='text'>Din</title><content type='html'>I hate the word "Religious People" !&lt;br /&gt;&lt;br /&gt;As if, people, normal common people, is not someone that truly believe their religion. But people that see used their religion when ever they see fit with their causes. Here the law of togetherness apply. Together we are strong, not actually right, but strong enough to create a common wisdom, which eventually passed to generation to come. And the people who truly believe with their religion, will somehow get labeled, pushed away, and become not ordinary. &lt;br /&gt;&lt;br /&gt;For me, my religion is very special, very private, i keep it as a treasure and a guide for my self. It is a journey, to understand your self, to understand this world, and to understand your soul, and what it really want. So, you think I'm religious ? &lt;br /&gt;&lt;br /&gt;Like i said, i hate that word. But i do believe in my religion, I've done many wrong thing according to my religion, but i still believe it, it managed to guide my live and stopped me from committing a great sin. Like I said, its a journey. And its human to make mistakes, but you need to learn from it. &lt;br /&gt;&lt;br /&gt;So what the urges that push me to write this ? Its because in this era, when ever i look. I see how religion is being pushed away from our daily life. As if its a different entity between what we do in day light, at work. And what we do at night in our home. &lt;br /&gt;&lt;br /&gt;When you make a business decision, you only based in on your economic or management knowledge. Push away what your soul know and only used your brain, its the logical thing to do right ? And many other thing in our daily life where we made decisions only based on logic. No matter how hard your heart cry or torn to pieces. No wonder so many people felt so lost, depressed, unhappy. Its only our own doing, our own ignorance that we didn't take care of our soul, pushed it away. And now we're just an empty shell of meat, bone and logic. &lt;br /&gt;&lt;br /&gt;This is not natural, because human needs happiness, love and peace. And those things isn't reside in your brain. It is entities that attached to your soul. So please, from now on, listen to your soul. And bit by bit nurture it with doing what is right whenever you can. You don't need to change the world, your workplace, or your even your friend. All you have to do is stay strong, don't torture your self with changing everything immediately. Stay in this path, because only you yourself understand what your true happiness is, and one day .... it will come to you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-757934145419222063?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/757934145419222063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=757934145419222063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/757934145419222063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/757934145419222063'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/din.html' title='Din'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6749677845245238330</id><published>2009-12-11T00:59:00.003+07:00</published><updated>2009-12-12T08:40:42.867+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Some things ....</title><content type='html'>karena terbangun tengah malam, seperti biasa, browsing-browsing dan nemu beberapa hal. Ada &lt;a href="http://zer0d4y.blogspot.com/2009/10/terusik-dengan-performa-mysql-di.html"&gt;blog teman kantor&lt;/a&gt;, yang walaupun isinya tidak terlalu banyak tetapi lumayan detail dan mungkin suatu saat berguna :) Nanti kalau ada waktu mungkin bisa dibaca lebih detail, kehausan akan ilmu pengetahuan memang susah mencari penawarnya :)&lt;br /&gt;&lt;br /&gt;seri terbaru dari &lt;a href="http://www.wakeupproject.com"&gt;wakeup project&lt;/a&gt;, phase 3, ternyata sudah lumayan banyak. Lagi, kalau ada waktu pengen nonton, soalnya gak bagus juga terkurung di dunia IT yang sempit ini. Got to know what happened to the world, and it has a different point of view than the mainstream media. The world that we live is important to us right ? &lt;br /&gt;&lt;br /&gt;Here's the &lt;a href="http://www.youtube.com/watch?v=yLhBIW5M4NI&amp;feature=channel"&gt;intro&lt;/a&gt; to the series. &lt;br /&gt;&lt;br /&gt;Dapat kolaborator untuk ngoprek Web dan Android, fiuh... kayak masih banyak waktu aja di luar kantoran :P Yah kita lihat saja, mungkin kalau dipaksa seperti ini bisa break salah satu tembok penghalang diri gw :)&lt;br /&gt;&lt;br /&gt;All in all &lt;span style="font-style:italic;"&gt;I've just made up this meaningless phrase&lt;/span&gt;, 2009 is coming to an end. Its been painful, crazy, mind opening, and surprisingly good year. You'll be missed two thousand nine :)&lt;br /&gt;&lt;br /&gt;PS : lupa bilang, akhirnya gw beli HTC Hero, android phone pertama gw di akhir oktober lalu. And I'm loving it :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6749677845245238330?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6749677845245238330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6749677845245238330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6749677845245238330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6749677845245238330'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/some-things.html' title='Some things ....'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4697314332537513193</id><published>2009-12-10T23:04:00.003+07:00</published><updated>2009-12-11T00:56:16.942+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Malem Jum'at</title><content type='html'>Yup ini malam jum'at, setidaknya waktu gw mulai menulis post ini :) &lt;br /&gt;&lt;br /&gt;Minggu ini gw ada 2 project yang sedang gw pegang dan lumayan besar. Masih fase2 awal dan belum mulai, tetapi mengumpulkan info di awal, baca docs sana-sini, menjawab pertanyaan2 yang muncul, sangat melelahkan. Karena ada kebetulan project ini ada di dua domain yang berbeda, satu database dan satunya lagi middleware. &lt;br /&gt;&lt;br /&gt;Sudah 3 hari pulang malam dan minum pharmaton formula terus untuk doping :P. Akhirnya hari ini gw memutuskan untuk untuk pulang lebih cepat dari kantor, gak baik terus-terusan dipaksa, selagi ada waktu untuk istirahat, manfaatkan sebaik-baiknya. Tapi tentu saja gw pulang kerumah dengan pikiran melanjutkan pekerjaan dari kantor sesuai dengan jam kerja yang masih tersisa. &lt;br /&gt;&lt;br /&gt;Selama diperjalanan masih terpikir tentang langkah-langkah, dan task-task yang harus dilaksanakan secara berurut untuk kedua project ini. Sampai di rumah, setelah selesai mandi, teringat bahwa ini hari kamis. Masih berusaha untuk menyeimbangkan diri dengan &lt;a href="http://secondlight.blogspot.com/2009/11/unbalanced.html"&gt;cara&lt;/a&gt; yang sebelumnya gw pikirkan :) Akhirnya gw putuskan untuk berhenti sejenak, masih punya banyak waktu belum ada deadline, 1 jam sudah lebih dari cukup. So i start reading ....&lt;br /&gt;&lt;br /&gt;Ternyata tidak beberapa lama setelah mulai membaca, gw ketiduran. Yah mungkin memang tubuh gw sudah saatnya mendapatkan istirahat, yang kemarin-kemarin tertutup-tutupi karena nge-doping :P Gw pikir ini hal yang bagus, karena akhirnya ada bisa yang me-rem pikiran-pikiran yang ada di kepala gw mengenai proyek ini. Ketika gw bersemangat, dan nexus-nexus di otak gw sudah saling terhubung untuk memikirkan proyek-proyek ini, somehow i can't make it stop. &lt;br /&gt;&lt;br /&gt;Ketika terbangun gw merasa segar. I think i've beginning to found my balance :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS : ternyata rencana untuk melakukannya setiap hari terlalu berat untuk jadwal gw saat ini. Jadinya gw mencoba setidaknya satu kali dalam seminggu untuk menyeimbangkan jiwa gw.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4697314332537513193?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4697314332537513193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4697314332537513193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4697314332537513193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4697314332537513193'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/malem-jumat.html' title='Malem Jum&apos;at'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-5099949314025439773</id><published>2009-12-01T09:11:00.003+07:00</published><updated>2009-12-01T09:31:26.060+07:00</updated><title type='text'>Weird poping noise in ubuntu</title><content type='html'>Okay ever since i've upgraded to Karmic Koala, i've got this weird poping noise from my laptop. At first i thought because there's somethings wrong with my laptop (I've reinstall to karmik because my disk has crashed). The hardisk has a bad sector, but for now the assumption for my laptop accident is  not the hardisk, but the connector from the Mobo to the disk (that causing the weird poping noise). But mind though, that this only an assumption without actually opening up my laptop. If its gonna die, then its gonna die. Its got 6 more month to live anyway. &lt;br /&gt;&lt;br /&gt;The annoying thing was, di poping noise is spreading to my audio, it comes and go. So i was thinking maybe its not because the hardware fault, maybe there are 2 problem that causing this weird poping sound when my audio is off. &lt;br /&gt;&lt;br /&gt;So i googled and got this solution, you need to edit &lt;br /&gt;&lt;br /&gt;/etc/modprobe.d/alsa-base.conf&lt;br /&gt;&lt;br /&gt;look for&lt;br /&gt;&lt;br /&gt;options snd-hda-intel power_save=10 power_save_controller=N&lt;br /&gt;&lt;br /&gt;and change it to &lt;br /&gt;&lt;br /&gt;options snd-hda-intel power_save=0 power_save_controller=N&lt;br /&gt;&lt;br /&gt;I'm hoping that it would fix both of my problem, kinda wishful thinking though, i settle for one anyway :D&lt;br /&gt;&lt;br /&gt;the detail can be seen here :&lt;br /&gt;http://ubuntuforums.org/showthread.php?p=8223592#post8223592&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-5099949314025439773?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/5099949314025439773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=5099949314025439773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5099949314025439773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/5099949314025439773'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/12/weird-poping-noise-in-ubuntu.html' title='Weird poping noise in ubuntu'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-6828790647184011403</id><published>2009-11-22T19:52:00.005+07:00</published><updated>2009-11-22T21:14:06.045+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='intermezzo'/><category scheme='http://www.blogger.com/atom/ns#' term='indonesia'/><title type='text'>Unbalanced</title><content type='html'>Gw yakin pengetahuan yang gw miliki saat ini jauh lebih banyak jika dibandingkan dengan satu tahun lalu. Kalau ditarik lebih jauh lagi, dibandingkan dengan 5 tahun lalu saat baru lulus, pastinya perbedaannya amat jauh sekali. &lt;br /&gt;&lt;br /&gt;Kalau melihat ke bawah, gw merasa teramat beruntung karena bisa berhasil sejauh ini. Walaupun kalau melihat ke atas, rasanya masih jauh sekali yang ingin gw capai. Seiring begitu banyak pengetahuan baru yang masuk, sedikit demi sedikit gw mulai merasakan keanehan di diri gw. Kehilangan arah , mudah stress, dan tidak gampang untuk bangkit kembali. Semua orang pasti pernah merasakan jatuh dan gagal. Tetapi kemampuan masing-masing orang untuk bangkit kembali berbeda-beda. Disaat ini gw merasa kemampuan gw berada di bagian paling bawah lembah kegagalan. &lt;br /&gt;&lt;br /&gt;Ketidakseimbangan waktu untuk pekerjaan dan hal lain dalam hidup, gw rasa menjadi kontributor utama perasaan ini. Sekedar memperkaya diri dengan pengetahuan duniawi gw rasa tidak cukup. Belum lagi ditambah uang yang lebih dari cukup, some sense of power. Terkadang bisa membuat orang lupa akan hakikat alaminya dan mengalami deteorisasi mental.&lt;br /&gt;&lt;br /&gt;Alhamdulillah setelah menyadari hal ini, secercah cahaya menyinari pikiran gw. Ide untuk mengatasi pertanyaan, "kalau begitu banyak waktu yang gw luangkan untuk pekerjaan, dan sisanya tercurah untuk waktu sosial dan keluarga". "Bagaimana cara agar gw bisa memberikan waktu bagi jiwa yang sudah lama tidak berkembang ini" ? Ternyata caranya mudah, tetapi penerapannya sepertinya butuh kekuatan hati yang lebih :)&lt;br /&gt;&lt;br /&gt;Ketidakadaan waktu sebenarnya hanya ilusi. Kalau kita memanfaatkan waktu dari waktu magrib hingga isya untuk melepaskan diri dari kegiatan duniawi, pekerjaan, internet. Dan menggunakan waktu yang singkat itu untuk membasuhi jiwa yang kekeringan ini dengan sesuatu yang bermakna. Seperti mengaji, membaca buku yang menyentuh ruh kita, atau sekedar berzikir, itu sudah lebih dari cukup untuk menyelamatkan kita dari kegoyahan. Cara ini sebetulnya amat tepat bagi gw, karena selain bisa menyeimbangkan kembali diri gw. Sholat isya yang biasanya kelewatan karena ketiduran, bisa dikerjakan di awal :)&lt;br /&gt;&lt;br /&gt;Mudah-mudahan cara ini bisa sukses. Its to shift the unbalance scale to its place. &lt;br /&gt;&lt;br /&gt;*saat ini buku yang sering gw baca diantara magrib dan isya adalah sejarah hidup muhammad oleh Dr. Muhammad Husain Haekal, Ph. D*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-6828790647184011403?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/6828790647184011403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=6828790647184011403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6828790647184011403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/6828790647184011403'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/11/unbalanced.html' title='Unbalanced'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-2354840455117471445</id><published>2009-11-22T11:56:00.013+07:00</published><updated>2009-11-22T15:48:24.861+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tech_rant'/><title type='text'>The karmic koala...</title><content type='html'>I've been postponing my upgrade from hardy heron to karmic koala for a long time. But because my laptop disk crash, somehow i've been forced to do it anyway :) So here is my experience...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The installation was easy and fast. Since I'm installing to another hardisk (used windows disk), i just used the default option and wipe the whole content of the disk. &lt;br /&gt;&lt;br /&gt;After successfully installing karmic koala, now comes the detail part. I need to restore my data, since my previous hardisk luckily can be mount using ubuntu live cd, i just copy my home folder to a backup directory in the new one. &lt;br /&gt;&lt;br /&gt;There's one problem though. Because in my previous installation I've installed Wine emulator, somehow some of my file was copied more than once. From the real path and from the wine path. Since i don't use Wine any longer, i think its better to &lt;span style="font-weight:bold;"&gt;remove .wine folder&lt;/span&gt; before start copying your old file. &lt;br /&gt;&lt;br /&gt;Another thing you should notice when copying your old file is, you better do it with &lt;span style="font-weight:bold;"&gt;sudo&lt;/span&gt;. Because some of my file was created by root id, it failed to copy to the backup folder.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Program List - part 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before starting to install the programs there's one thing i like to mention. I use to manually modify the apt source list using vi to point to my favorite repository. But now i can do that through the synaptic manager repository settings. Since my favorite repository is available, one click would do the trick instead of copying several lines in the /etc/apt/sources.list :)&lt;br /&gt;(a bit OOT, my favorite repository is dl2.foss-id.web.id, its blazing fast)&lt;br /&gt;&lt;br /&gt;Here's the minimum list of program that i need to install after i finished my karmic installation :&lt;br /&gt;&lt;br /&gt;- openssh&lt;br /&gt;- pidgin&lt;br /&gt;- rar plugin&lt;br /&gt;- thunderbird mail client&lt;br /&gt;- exaile (yes we can't live without mp3 anyomore :P)&lt;br /&gt;- sun java 6 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;few of my own notes. Karmic comes with empathy as the default IM client. But it still lack many things, especially proxy option. Thats why i still need to install pidgin. Thunderbird is my default my client (and probably most people), Evolution is simply not my thing. &lt;br /&gt;&lt;br /&gt;And for Exaile, i was using Amarok. But since it load many KDE library, i was looking for another alternative. Exaile seems nice enough. But the most important thing i missed from Amarok is the key binding to start and stop music using windows- z through b. If only another player incorpoorate this :(&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The plugins&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Yes, its not enough to simply install the programs, now everything come as a plugin :) For me it quite straigh forward, all i need is : &lt;br /&gt;&lt;br /&gt;- Flash plugins, Flash Blocker Plugins, Ad Block Plus Plugin and Firebug plugins for my Firefox&lt;br /&gt;- gstreamer for playing mp3 and mpeg files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restoring&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well one thing i like about Firefox and Thunder bird, to restore all of your mail folder, rss, bookmark, etc. All you need to do is copy the old file and overwrite the old configuration. For thunderbird is a simple as this. copy the content of .mozilla-thunderbird from the old to the new one, open thunderbird and see all of your mail back to where it belongs. You can delete the new profile if you like. &lt;br /&gt;&lt;br /&gt;For firefox you need to copy .mozilla/firefox/profiles.ini and .mozilla/firefox/[old profile folder] from the old one to the new one. I was using 3.0 and now 3.5 and the transition is very smoth, i even got my previous opened tab and history just like in my old hard disk :D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; The UI &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The default Karmic UI still feels somewhat clunky for my taste, so its time to tune it a little bit. I like putting all of bar on one place, preferably bottom. You used to able to do this by dragging the bar. But now you need to right click on the bar, choose properties, and choose the orientation to bottom.&lt;br /&gt;&lt;br /&gt;The default ubuntu font is an eyesore to my taste, you can download your own font. There are 2 font that i like to mention, first is the sun font, the sans and serif is quite good. But for my karmic i like to try a new font, the droid font. &lt;br /&gt;&lt;br /&gt;The droid font was designed for small system, so even in small display it doesn't break or become clunky. It fit perfeclty for my 14" laptop screen. To install it you just need too look for ttf-droid in the synaptic package manager.&lt;br /&gt;&lt;br /&gt;After installing the droid font, you need to configure the appearance through System &gt; Preference &gt; Appearance &gt; Fonts. My configuration is : &lt;br /&gt;- Application fonts           Droid Sans Japanese         8&lt;br /&gt;- Document fonts              Droid Sans Japanese         8&lt;br /&gt;- Desktop fonts               Droid Sans Japanese         8&lt;br /&gt;- Window title fonts          Droid Sans Bold             8&lt;br /&gt;- Fixed width font            Monospace                   10&lt;br /&gt;&lt;br /&gt;you need to change a little thing on Firefox to give it the finishing touch. Just go through firefox Edit &gt; Preference &gt;  Content &gt; Font. My Configuration is : &lt;br /&gt;- Proportional           Serif         15&lt;br /&gt;- Serif                  Serif         &lt;br /&gt;- Sans-Serif             Sans-Serif         &lt;br /&gt;- Monospace              monospace     12&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and Voila ... My Karmic Desktop is Prettier than my windows desktop :D&lt;br /&gt;         &lt;br /&gt;&lt;span style="font-style:italic;"&gt;with this settings I've managed to continue my work, the other could be updated piece by piece, and here's some of the advanced part i've managed to set on the weekend.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Notification&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Karmic comes with a new centralized notification, sometimes it can be very annoying, especially when you're using pidgin. It keeps popping every time my buddy sign on, combined with bad network, its a living hell for working. To solve this you need to configure your pidgin like this. Go to Tool -&gt;Plugins -&gt; 'Libnotify popups' -&gt; Configure Plugin . And then remove 'Buddy signs on' checkbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;LILO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My laptop is lenovo 3000 N200. Since Hardy Heron I've always get this problem. My DVD isn't detected on my Ubuntu, the funny thing I'm able to use the DVD for installation or using live cd. &lt;br /&gt;&lt;br /&gt;It turn out i'm not the only one, lots of people having this kind of problem with this lenovo series. One of the solution is to set ACPI off in boot time, but has the risk of damaging the laptop in the long run. So i choose the other solution replacing grub with lilo as the boot loader. &lt;br /&gt;&lt;br /&gt;Installing lilo is quite easy : &lt;br /&gt;- Make sure you have live cd ready just incase anything happens&lt;br /&gt;- Just go through synaptic and download the lilo package. &lt;br /&gt;- Backup your /etc/fstab to lets say ~/backup/fstab.backup. &lt;br /&gt;- Modify the fstab files so lilo would work, since lilo hasn't been updated to recognize UUID for the boot partition, you need to restore it to the old fasion way. For example like this &lt;br /&gt;&lt;br /&gt;# /etc/fstab: static file system information.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;proc /proc proc defaults 0 0&lt;br /&gt;/dev/sda1 / ext4 defaults,errors=remount-ro 0 1   &lt;---   the changes&lt;br /&gt;#UUID=ca06fd83-becb-4012-8579-9e65662c9ef0 /  ext4  errors=remount-ro 0 1&lt;br /&gt;&lt;br /&gt;# /dev/sda2&lt;br /&gt;UUID=948b4626-2f62-40c0-bc92-6ee8b69af42e /media/hda2 reiserfs defaults 0 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- after that run sudo liloconf, since i didn't use grub anymore i just rewrite the MBR&lt;br /&gt;- and then restart &lt;br /&gt;&lt;br /&gt;And finaly my DVD worked and I've managed to backup my work :D&lt;br /&gt;&lt;br /&gt;One thing, the default lilo is very slow comparing to grub. It took about 2-3 minute to start while grub could do under 1 minute. There's a way to speed up Lilo boot up time, by using the compact mode. You just need to type this as root, &lt;br /&gt;&lt;br /&gt;lilo -c -v&lt;br /&gt;&lt;br /&gt;see /etc/lilo.conf and make sure there's line saying compact and its not commented. Then lilo would boot up pretty fast. Comparable with grub, the side note is, this solution is intended for FD, could have some problem with old hardware. But since my laptop is not that old, so far i haven't had a problem with it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Network Management Applet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well this is another pain in the ass , but this has been a very long post. So lets leave it as it is and save it for another time :D&lt;br /&gt;&lt;br /&gt;- Adeu -&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-2354840455117471445?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/2354840455117471445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=2354840455117471445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2354840455117471445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/2354840455117471445'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/11/karmic-koala.html' title='The karmic koala...'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160908322920133510.post-4937923156620680923</id><published>2009-10-10T00:50:00.004+07:00</published><updated>2009-10-19T22:57:50.224+07:00</updated><title type='text'>Human Cerberus</title><content type='html'>I Get It ! What's this annoying feeling that has been hogging me all day. The sudden extra work by the weekend, staying late with some meeting, especially in the special day. Sudden appearance of someone that i though long gone. And finally coming home 9.30 PM. So tired ... mentally. Just wanna scream that today sucks !&lt;br /&gt;&lt;br /&gt;But tonight I finally understand what tonight is about. Is about the people that even though I'm being ignorant, I'm being selfish, annoying and some time ... hurt them, but still care about me. Years apart, but they still say hi, and happy birthday!&lt;br /&gt;&lt;br /&gt;In other words, tonight is about the people that is most important to me...&lt;br /&gt;&lt;br /&gt;-=My Friends=-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160908322920133510-4937923156620680923?l=secondlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secondlight.blogspot.com/feeds/4937923156620680923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8160908322920133510&amp;postID=4937923156620680923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4937923156620680923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160908322920133510/posts/default/4937923156620680923'/><link rel='alternate' type='text/html' href='http://secondlight.blogspot.com/2009/10/not-dog-cerberus.html' title='Human Cerberus'/><author><name>B</name><uri>http://www.blogger.com/profile/08097573690296403442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
