<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>jeffri.net</title>
	
	<link>http://jeffri.net</link>
	<description> </description>
	<lastBuildDate>Sat, 21 Nov 2009 01:01:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/jeffrinet" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Finally the Chrome OS is here</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/Kh_m2e3dwSY/</link>
		<comments>http://jeffri.net/2009/11/finally-the-chrome-os-is-here/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:01:42 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=421</guid>
		<description><![CDATA[Linux geeks must be know about the new OS from Google for quite a time. Since it was announced back in July, it began to attract attention from many people, including me.   Finally, Google show how the OS is operating. I could said it is basically a Chrome browser that is made into [...]]]></description>
			<content:encoded><![CDATA[<p>Linux geeks must be know about the new OS from Google for quite a time. Since it was announced back in July, it began to attract attention from many people, including me. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Finally, Google show how the OS is operating. I could said it is basically a Chrome browser that is made into an OS, instead a full usable OS for everyday work. Let&#8217;s take a look on the video.</p>
<p><object width="540" height="344"><param name="movie" value="http://www.youtube.com/v/0QRO3gKj3qw&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0QRO3gKj3qw&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="540" height="344"></embed></object></p>
<p><span id="more-421"></span><br />
And more of the user interface.</p>
<p><object width="540" height="344"><param name="movie" value="http://www.youtube.com/v/hJ57xzo287U&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hJ57xzo287U&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="540" height="344"></embed></object></p>
<p>Looks good, doesn&#8217;t it? But it has a big weakness that might prevent it to success, it needs to be online to have it working. For a country like Indonesia where internet is still not covered everywhere and without a decent speed, it is probably not an OS for us. It is also not an OS for people who use the PC for everyday work, let&#8217;s say designer and programmer is out of the scope of the OS can handle. Too bad&#8230;</p>
<p>But for a tiny OS, that you will need only to check mail, internet, etc, it might be more than enough. Well, actually, what is the point of having a tiny OS in a full powered net-book? I mean, if you want to check email, internet, etc quickly, then didn&#8217;t your gadget is more than enough (especially that is powered with Android)? And net-book these days have enough spec that can work with a more powerful OS, even sacrificing one or two minutes didn&#8217;t hurt at all and then you can do more.</p>
<p>Another point that Google might forgot is, net-book is basically targeted to developing country which internet is still something rare, especially for a good quality one. So Chrome OS just lost the battle in these countries. It is not a joke if we want to do a simple document we need to connect internet all the time just to use the Google Docs. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cloud concept is good, but it just not that ready yet for everyone. Maybe when internet is cheap enough and can covered everywhere, then it might be a good solution, but unfortunately we don&#8217;t see it coming very soon, at least in here Indonesia.</p>
<p>Also, we know many people didn&#8217;t like their information stored online. It is not that we can&#8217;t trust Google (at least they are a trustworthy company until today) but still, by having our data all stored in Google it is not comfortable at all. After all, we use internet only when we need to share something, and nothing more.</p>
<p>Good or bad, Chrome OS still provide something new. It still worth a try. Review is later&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p><a href="http://feedads.g.doubleclick.net/~a/GSSmCKOTOh-skK_NxhUIizq3cIg/0/da"><img src="http://feedads.g.doubleclick.net/~a/GSSmCKOTOh-skK_NxhUIizq3cIg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GSSmCKOTOh-skK_NxhUIizq3cIg/1/da"><img src="http://feedads.g.doubleclick.net/~a/GSSmCKOTOh-skK_NxhUIizq3cIg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Kh_m2e3dwSY:NjtmCqM5z_4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Kh_m2e3dwSY:NjtmCqM5z_4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=Kh_m2e3dwSY:NjtmCqM5z_4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Kh_m2e3dwSY:NjtmCqM5z_4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=Kh_m2e3dwSY:NjtmCqM5z_4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/Kh_m2e3dwSY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/11/finally-the-chrome-os-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/11/finally-the-chrome-os-is-here/</feedburner:origLink></item>
		<item>
		<title>The pain of upgrading to Xubuntu 9.10</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/tOW3_jlqBN0/</link>
		<comments>http://jeffri.net/2009/11/the-pain-of-upgrading-to-xubuntu-9-10/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 03:48:13 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Wacom Bamboo]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=408</guid>
		<description><![CDATA[Well, this is the third and hopefully the last day for me to upgrade my Xubuntu install to 9.10, or also widely known as Karmic Koala. It is painful..! lol But this experience is worth it, except that it really kills my time which I suppose to do my work&#8230;   I don&#8217;t know [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this is the third and hopefully the last day for me to upgrade my Xubuntu install to 9.10, or also widely known as Karmic Koala. It is painful..! lol But this experience is worth it, except that it really kills my time which I suppose to do my work&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I don&#8217;t know why, or probably because of the lack experience of me, I got into the series of failure while upgrading from Xubuntu 9.04 to 9.10. Actually, my first install was Ubuntu 9.04 but I later change to Xubuntu by installing the xubuntu-desktop, probably that&#8217;s the culprit of why the auto upgrade fails.</p>
<p><strong>The first day &#8211; upgrading the current Xubuntu</strong></p>
<p>So at the start, I have a well working Xubuntu 9.04. Updates for 9.10 came in October 29, but I do upgrade on the next day. My internet was running slowly -it probably just my connection to Ubuntu server, since I got a great download speed on others- to download all of the updates (which surpassed 800MB), that takes more than 12 hours to complete. Well, during that time, I can do everything in my PC until, the upgrading process which takes another hour to complete, at this time it loads heavily and almost impossible to do anything. It seems everything run smoothly and it asks me to reboot.</p>
<p><span id="more-408"></span></p>
<p>Before I reboot, everything is still fine. But I can&#8217;t wait to reboot to see what have changed in my new Xubuntu, so I reboot immediately. My feeling is getting worse when there is some weird text with broken graphic came up before the splash screen, if I recall, it is the same screen while the Ubuntu is checking the disk drive, except that it happens in blink and the graphic is broken, then the splash screen load. It was all fine until I got into the login screen, and login also fine. Oh right, I have removed my Wacom Bamboo before that since I read some issue of it on upgrade notes.</p>
<p>Then, weird errors pop up on the screen, Xfce is loaded slow, and I got a repeating pop up that said the trash applet error. I can&#8217;t go anywhere, the pop up keep repeating, and no menu is working, including the shutdown, so that forced me to push the reset button. Next, I loaded into Gnome session, there is still some error pop up, but I can get rid of it. The Gnome is working fine, but I can&#8217;t enable any effects and actually, it is slow (well, fast since there is no effect, but when I got into a more heavy task, it is too slow). I tired so I just go sleep. That&#8217;s the first day&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>The second day &#8211; reinstall the Xubuntu</strong></p>
<p>On the second day, I decided to reinstall my Xubuntu using a fresh installation. My install procedure is from Wubi, then I move the installation to a dedicated partition. This way, I will get a two working Xubuntu which the Wubi one can be used as backup if somehow I messed the installation again. Downloading 600MB more for the iso is quite painful, since, it is downloading in the same speed as when I upgrading, but fortunately, thanks to torrent, I can get full download speed. It still takes 3-4 hours though.</p>
<p>Installation from Wubi is going smoothly, it is also working well after installation. So I just setup everything I have before, simply by using the Read marking menu on sypnatic that was saved before. I ended up downloading 600MB files, again, with slow speed. That is another 10 hours or so. But everything was working great, I can finally get the same feel as I have in previous installation -that messed up-, except that the screen resolution is working on maximum 1152&#215;864, while I usually use 1280&#215;1024. But that&#8217;s fine as long as it can work. Then I reboot to see everything is going well and will move it to dedicated partition.</p>
<p>But another disaster came up, yes, disaster. After I reboot, I can&#8217;t load the Xubuntu (that installed from Wubi) anymore. The error that came up now is kernel panic. The reason is unable to mount the rootfs, if I can remember correctly. Trying Google around, but none of the solution worked. I even defragment my disk drive, since I read it was the solution somewhere, but no effect at all, and that cost me another 2 hours or so. Then, I gave up, too tired of it (after setup everything and&#8230;.) so I go to sleep, that&#8217;s the second day.</p>
<p><strong>The third day &#8211; reinstall the Xubuntu again</strong></p>
<p>The third day came. I decided to reinstall the Xubuntu again, but now, instead of using the Read marking, I just choose only the necessary application to install. Right now, everything is working. Rebooting also have no problem. Then I move it to a dedicated partition. At first, I used LVPM. The process was going smoothly until the end, it asked for reboot. So I do, but after reboot, I can&#8217;t find the Xubuntu from the grub -in 9.04, I use the grub from Wubi-, I tried everything I could, adding the menu.lst and so, but none of them works. Now I just realize that it is now using a different version of grub.</p>
<p>After giving up with LVPM, I tried the wubi-move-to-partition script that I taken from <a href="https://bugs.launchpad.net/wubi/+bug/456549" target="_blank">here</a>. This one also going well. Reboot and then, I just saw that my grub is installed in my main drive, so I lost the Windows MBR and even, there is no Windows options anymore there! Oh, another disaster. It doesn&#8217;t happen in LVPM, in previous 9.04 version, LVPM add the menu to my Wubi grub menu, but it doesn&#8217;t work this time, and now I lost the MBR&#8230; another Googling time. Oh, well, the good thing is the new moved Xubuntu is working fine.</p>
<p>Next mission is to restore the Windows MBR and use the Wubi grub menu instead of installing the grub. Oh, forgot to mention it, my Xubuntu, both from Wubi and partition is installed in my external hard disk drive. Sometime, it just doesn&#8217;t load fine while power up, ended up with error 22 of grub. Also, it is not always connected to PC, so that&#8217;s why I need the Windows MBR back, if not, I will always need to insert my external HDD only to load grub. Before that, I want to make sure that my Windows is fine, so I inserted the line for Windows on grub menu list, fortunately it is fine, that light me some hope. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I managed to restore my Windows MBR by this:</p>
<blockquote><p>
sudo apt-get install mbr<br />
sudo install-mbr -i n -p D -t 0 /dev/sda
</p></blockquote>
<p>Yippe, I got my Windows MBR back. But now I just back to where I begins. Nowhere to access my partition installation of Xubuntu. Finally, I managed to add the menu in grub by editing the grub.cfg from Wubi installed Xubuntu. I have done it before actually, but no success. Now, since I have the menu.lst from the partitioned Xubuntu, I can copy and adapt it to the grub.cfg. And yes, it is working! <img src='http://jeffri.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Finally&#8230;&#8230;&#8230;..!</p>
<p>Next one, is to configure the Wacom calibration and the screen resolution. For Wacom calibration, I just use the same .xinitrc file as before, but need a little change on device identifier. Bad thing is the wacomcpl didn&#8217;t work anymore, fortunately I have found the best setting for me so it is not a big deal. For screen resolution, I finally able to add the 1280&#215;1024 resolution by editing the xorg.conf file. Here is the final xorg.conf file from me:</p>
<pre>
<blockquote>
Section "Device"
	Identifier	"Configured Video Device"
	Driver      "intel"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
	Modeline "1280x1024" 109.62  1280 1336 1472 1720  1024 1024 1026 1062 -hsync +vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Depth 24
		Modes "1280x1024"
	EndSubSection
EndSection
</blockquote>
</pre>
<p>Hopefully, that is the end for it. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The new Xubuntu is also working faster than before. This is the third day, really feel tired of it, will gonna got a sleep after posting this. lol. What a long post&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p><a href="http://feedads.g.doubleclick.net/~a/ndhqMPLkA-sNENnRfCJ2jTclke0/0/da"><img src="http://feedads.g.doubleclick.net/~a/ndhqMPLkA-sNENnRfCJ2jTclke0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ndhqMPLkA-sNENnRfCJ2jTclke0/1/da"><img src="http://feedads.g.doubleclick.net/~a/ndhqMPLkA-sNENnRfCJ2jTclke0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=tOW3_jlqBN0:B1IiZZWihqw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=tOW3_jlqBN0:B1IiZZWihqw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=tOW3_jlqBN0:B1IiZZWihqw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=tOW3_jlqBN0:B1IiZZWihqw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=tOW3_jlqBN0:B1IiZZWihqw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/tOW3_jlqBN0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/11/the-pain-of-upgrading-to-xubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/11/the-pain-of-upgrading-to-xubuntu-9-10/</feedburner:origLink></item>
		<item>
		<title>Mouse gesture to emulate stylus scrolling on Firefox</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/Yal14MRXp64/</link>
		<comments>http://jeffri.net/2009/10/mouse-gesture-to-emulate-stylus-scrolling-on-firefox/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 00:26:16 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mouse gestures]]></category>
		<category><![CDATA[Wacom Bamboo]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=389</guid>
		<description><![CDATA[
One of the feature I missed while migrating to Ubuntu Linux is the fully functional Wacom tablet. Good things is with Ubuntu 9.04, it has pre-installed Wacom driver, so it works out of the box for my Wacom Bamboo. However, not all features we have on Windows (and Mac) are available on Linux, the only [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffri.net/wp-content/uploads/gesture+bamboo.png" alt="gesture+bamboo" title="gesture+bamboo" width="540" height="150" class="alignnone size-full wp-image-394" /></p>
<p>One of the feature I missed while migrating to Ubuntu Linux is the fully functional Wacom tablet. Good things is with Ubuntu 9.04, it has pre-installed Wacom driver, so it works out of the box for my Wacom Bamboo. However, not all features we have on Windows (and Mac) are available on Linux, the only one I missed is the stylus scrolling (by default, in Windows, when we hold the stylus button and drag, the scroll event occur). Since I do browsing all the time, sometime it is hard to allocate the scrollbar, especially in a looong page, that is painful. Up until now, I use the keyboard to scrolling that looong page but it is not efficient, and finally I found the solution by using Mouse Gesture add-ons on Firefox to emulate it. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I love Chrome better though, but the only solution I found is with Firefox.</p>
<p>So this is how I do it. First install the add-ons called <a href="http://www.mousegestures.org/" target="_blank">Mouse Gestures Redox</a> on Firefox. Next we setting it up.</p>
<p><span id="more-389"></span></p>
<p>Open the preference, select Tools, then Add-ons, navigate to Extension tab, then choose Mouse Gestures Redox and finally click Preference. The new window will come up. Select the Middle button on the <em>Make gestures with</em>, like shown in the picture</p>
<p><img src="http://jeffri.net/wp-content/uploads/gesture1.png" alt="gesture1" title="gesture1" width="466" height="390" class="alignnone size-full wp-image-395" /></p>
<p>Next open Edit Gestures. Edit the Scroll Down, Scroll Right, Scroll Left and Scroll Up. New window like this will show up when you choose Edit.</p>
<p><img src="http://jeffri.net/wp-content/uploads/gesture3.png" alt="gesture3" title="gesture3" width="540" class="alignnone size-full wp-image-396" /></p>
<p>Click on the button Recognize Gesture (right from the Gesture code), then do the gesture you want (for scroll down, I drag to top). Or you can just use the same Gesture code as I am. Next, remove all gesture you didn&#8217;t need, for me, I remove all of them. If you want to keep them, make sure you don&#8217;t have a conflict with another gestures. This is how my final settings look.</p>
<p><img src="http://jeffri.net/wp-content/uploads/gesture2.png" alt="gesture2" title="gesture2" width="540" class="alignnone size-full wp-image-397" /></p>
<p>Now, I can emulate the same behavior as I have on Windows. Even though, it is only on Firefox. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Well, the cons is we don&#8217;t have a nice smooth scrolling, but well, at least, it works better than using the scrollbar. You can play around with the configuration and see what working best, for example I feel better by decreasing the minimal gesture size to 5 pixels.</p>
<p>Anyway, GIMP, Inkscape and another software, especially the imaging software already worked well with my Bamboo. Also, others Wacom tablet has equipped with mouse, so this trick will probably needed for the classic Bamboo user. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Oh, other things, Wacom Bamboo Touch has launched now. I would like to upgrade, but still, I wonder if it can works well with Linux.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/vbCFMkMMTQTTAEhiRt-WEOrGTS8/0/da"><img src="http://feedads.g.doubleclick.net/~a/vbCFMkMMTQTTAEhiRt-WEOrGTS8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vbCFMkMMTQTTAEhiRt-WEOrGTS8/1/da"><img src="http://feedads.g.doubleclick.net/~a/vbCFMkMMTQTTAEhiRt-WEOrGTS8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Yal14MRXp64:aCt-B-OtNqs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Yal14MRXp64:aCt-B-OtNqs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=Yal14MRXp64:aCt-B-OtNqs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=Yal14MRXp64:aCt-B-OtNqs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=Yal14MRXp64:aCt-B-OtNqs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/Yal14MRXp64" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/10/mouse-gesture-to-emulate-stylus-scrolling-on-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/10/mouse-gesture-to-emulate-stylus-scrolling-on-firefox/</feedburner:origLink></item>
		<item>
		<title>Installing Aptana Studio on Ubuntu 9.04</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/7_7MsUxIcv4/</link>
		<comments>http://jeffri.net/2009/10/installing-aptana-studio-on-ubuntu-9-04/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 16:00:29 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=374</guid>
		<description><![CDATA[
Aptana Studio is a powerful IDE for web development. It supports HTML, CSS, Javascript and the server side script such as PHP, Ruby and Python. Even more, it support a wide variety of Javascript library. It based on Eclipse and available as a standalone application or as a plugin for Eclipse. Aptana Studio is available [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffri.net/wp-content/uploads/aptana.png" alt="aptana" title="aptana" width="540" class="alignnone size-full wp-image-375" /></p>
<p>Aptana Studio is a powerful IDE for web development. It supports HTML, CSS, Javascript and the server side script such as PHP, Ruby and Python. Even more, it support a wide variety of Javascript library. It based on Eclipse and available as a standalone application or as a plugin for Eclipse. Aptana Studio is available on Windows, Mac and Linux. And the best of all is, Aptana Studio is free. Here I will post how I install the recent version of standalone Aptana Studio, 1.5, on 32 bit Ubuntu 9.04 Jaunty Jackalope.</p>
<p>First of all, download the Aptana Studio on <a href="http://www.aptana.org" target="_blank">http://www.aptana.org</a>, choose the Linux and 32 bit version, or change it accordingly to suit your machine. Before we start installing the Aptana Studio, we need to ensure we have installed the sun-java6-jre and sun-java6-plugin. To do that, simply type this in terminal</p>
<p><span id="more-374"></span></p>
<blockquote><p>
sudo apt-get install sun-java6-jre sun-java6-plugin
</p></blockquote>
<p>To install Aptana Studio, first create a directory /usr/local/aptana or simply type this in terminal</p>
<blockquote><p>
sudo mkdir /usr/local/aptana
</p></blockquote>
<p>Next, unzip the Aptana Studio archive you downloaded in the first step to /usr/local/aptana directory.</p>
<blockquote><p>
cd /usr/local/aptana<br />
sudo unzip /home/keaglez/Aptana_Studio_Setup_Linux_x86_1.5.1.zip
</p></blockquote>
<p>Change the /home/keaglez/Aptana_Studio_Setup_Linux_x86_1.5.1.zip to the complete directory of your downloaded Aptana Studio archive. The installation is done, now you can run Aptana Studio in Terminal.</p>
<blockquote><p>
cd /usr/local/aptana/Aptana\ Studio\ 1.5<br />
./AptanaStudio
</p></blockquote>
<p>If it succeed, now you can see Aptana Studio running. At first, it will ask you to install additional plugin. I actually failed several times when installing some plugin, the Aptana Studio just keep crashing while installing the plugin. So I just try to install the plugin one by one, and keep only the plugin I needed. Finally, I&#8217;m able to install PHP and jQuery plugin.</p>
<p>The final step is to create the launcher for Aptana Studio. To do that I simply right click on desktop and choose Create Launcher, then I fill every field like in the picture. Oh, btw, I&#8217;m using Xfce desktop or also known as Xubuntu, but I&#8217;m installing Ubuntu at first and change the desktop after that.</p>
<p><img src="http://jeffri.net/wp-content/uploads/aptana-launcher.png" alt="aptana-launcher" title="aptana-launcher" width="511" height="489" class="alignnone size-full wp-image-380" /></p>
<p>Also here is a short review of the Aptana Studio. Beside of the several crashes on installing plugin, the Aptana Studio runs quite slow in my machine. My machine running on 2 gigs of RAM and old Pentium 4 processor, basically it passed the <a href="http://docs.aptana.com/docs/index.php/Aptana_System_Requirements" target="_blank">system requirements</a> from Aptana Studio. However, the fact that it is powerful can&#8217;t be denied, even though it runs much slower than an average text editor (I was using Geany before). Well, it is not only a text editor, but a complete all in one development environment, so a sacrifice in speed is worthed.</p>
<p>After all, there is still some way to improve the performance, and as for me, instead of running Gnome, I chose to run the light-weight Xfce instead, it is proven to have a better speed and more stability (right, I was changing to Xfce just to use this IDE <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). I run Google Widgets, Screenlets, Avant Window Navigator, XMMS and some application I used all the time, and of course Aptana, and it still run in an acceptable speed. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The cool things is it has an internal browser to review inside the Aptana Studio, the Linux version has only Firefox, while Mac version has Firefox and Safari, and Windows version has Firefox and the <em>ugly</em> Internet Explorer. It also has a wide variety of Javascript library which I found great. The debugger and on time validation is also cool. Another great feature is, it recognized the Javascript and CSS script inside an HTML document.</p>
<p>The only feature I missed is the inability to hinting the <del datetime="2009-10-18T05:40:07+00:00">method name of a static classes and objects that returned from a function</del> (correction: static methods and properties from class will be showed there if defined correctly <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). However, it does great for the object itself.</p>
<p>That&#8217;s all of it, I&#8217;m still not finished exploring all of the Aptana feature. But it is a great and powerful IDE indeed. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p><a href="http://feedads.g.doubleclick.net/~a/kHc0tPveZrVxh1ikbDRCKIW-TkI/0/da"><img src="http://feedads.g.doubleclick.net/~a/kHc0tPveZrVxh1ikbDRCKIW-TkI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kHc0tPveZrVxh1ikbDRCKIW-TkI/1/da"><img src="http://feedads.g.doubleclick.net/~a/kHc0tPveZrVxh1ikbDRCKIW-TkI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=7_7MsUxIcv4:kZx3G0y-Z5Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=7_7MsUxIcv4:kZx3G0y-Z5Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=7_7MsUxIcv4:kZx3G0y-Z5Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=7_7MsUxIcv4:kZx3G0y-Z5Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=7_7MsUxIcv4:kZx3G0y-Z5Y:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/7_7MsUxIcv4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/10/installing-aptana-studio-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/10/installing-aptana-studio-on-ubuntu-9-04/</feedburner:origLink></item>
		<item>
		<title>The oDesk Debit MasterCard powered by Payoneer</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/ydDQHpWzqo4/</link>
		<comments>http://jeffri.net/2009/10/the-odesk-debit-mastercard-powered-by-payoneer/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 19:20:16 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[oDesk]]></category>
		<category><![CDATA[Payoneer]]></category>
		<category><![CDATA[Paypal]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=358</guid>
		<description><![CDATA[
The above picture is the oDesk Prepaid Debit MasterCard that is powered by Payoneer. As you might know already, Payoneer offered a prepaid debit card for every member of its partner company. I got mine from oDesk. Here is my personal experience for using this card and also there is some comparison with Paypal regarding [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-359" title="black-card-small" src="http://jeffri.net/wp-content/uploads/black-card-small.PNG" alt="black-card-small" width="330" height="207" /></p>
<p>The above picture is the oDesk Prepaid Debit MasterCard that is powered by Payoneer. As you might know already, Payoneer offered a prepaid debit card for every member of its partner company. I got mine from oDesk. Here is my personal experience for using this card and also there is some comparison with Paypal regarding the fees. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Yesterday, I finally received my oDesk Debit MasterCard. It takes approximately 3 weeks from approval into arrival. FYI, I got my card approved in 4 days after registration and it sended through regular mail. Once it is arrived, I activate the card immediately and withdraw my remaining oDesk balance into the card. I was withdrawing $50 into the card.</p>
<p><span id="more-358"></span></p>
<p>The fees itself is quite high. From oDesk, the withdrawal fees is $2. The funds will be loaded to the card in 2 business days or less, but there is a choice for immediate load which cost another $2.5 and it will loaded in less than 2 hours. I choose the second option, so I paid $4.5 for withdrawal, the funds is loaded in less than 10 minutes, which is pretty fast. Then, from the first load, it charged an activation fees for $9.95. Well, it is $14.45 already so the available balance I got in final is $36.55. That is the calculation, when it just loaded, the fees is hidden and it still show $48 balance ($50 minus $2 from oDesk withdrawal fee).</p>
<p>Next, I&#8217;m going to find an ATM to trying it out. First, I&#8217;m going to BCA ATM, which is available almost everywhere here and it support MasterCard. I insert the card, enter the PIN, and trying to take some cash out. But, unfortunately, it failed, the ATM said it is unable to process the request or so. Okay, I&#8217;m trying to find another ATM. Now, I&#8217;m in BNI ATM, and as usual I inserted the card, enter the PIN, take some cash out&#8230;.and yes, it succeed! <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I wonder why BCA didn&#8217;t work, since I heard some peoples have succeed with it, but well, whatever. MasterCard ATM is easy to find too.</p>
<p>About the ATM withdrawal, each withdraw will cost $2.15 fee and it will converted to the local currency immediately, but if it is failed, it will cost $0.9 fee.</p>
<p>Here is the details for withdrawing funds from oDesk to the Debit MasterCard.</p>
<p><strong>First time</strong> (with immediate load)<br />
oDesk charge                  : $2.00<br />
Immediate load              : $2.50<br />
Activation card               : $9.95<br />
ATM withdrawal charge   : $2.15 (each)<br />
<strong>Total                            : $16.60</strong> or $14.10 without immediate load</p>
<p><strong>Next time</strong> (with immediate load)<br />
oDesk charge                 : $2.00<br />
Immediate load              : $2.50<br />
ATM withdrawal charge   : $2.15 (each)<br />
<strong>Total                            : $6.65</strong> or $4.15 without immediate load</p>
<p>This hasn&#8217;t included local ATM charge (if there is one). And since most ATM here has withdrawal limit to maximum Rp 1,500,000.00 (approximately $150) for each transaction, so if we want to withdraw more than that, we need to withdraw twice and that means, the ATM withdrawal charge will apply twice as well.</p>
<p>How is that compared to Paypal? For the fees, Paypal is definetely costless. The oDesk only charged $1, and withdraw funds from Paypal to local bank is only Rp 16,000.00 (approximately $1.6) for funds lower than Rp 1,500,000.00 and free for funds bigger than that. So it is $2.6 only, compared to $4.15 fees from Payoneer without immediate load. The cons is, while the oDesk to Paypal is instant, but from Paypal to the local bank isn&#8217;t, it will need 3-5 days for the funds to be available on the bank. Personally, I haven&#8217;t tried withdrawing from Paypal yet, so I can&#8217;t decide which is better for now. I will get into more depth when I tried Paypal. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh right, above calculation didn&#8217;t include the exchange rate and some fees that might apply to it.</p>
<p>Revision October 21, 2009:<br />
- Payoneer immediate load from oDesk is $2.50 and not $3.00, the article has been corrected and recalculated.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/4r1dRFS4K6lBcpzLTMEw4G2VYH0/0/da"><img src="http://feedads.g.doubleclick.net/~a/4r1dRFS4K6lBcpzLTMEw4G2VYH0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4r1dRFS4K6lBcpzLTMEw4G2VYH0/1/da"><img src="http://feedads.g.doubleclick.net/~a/4r1dRFS4K6lBcpzLTMEw4G2VYH0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=ydDQHpWzqo4:mOWmOLdJioQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=ydDQHpWzqo4:mOWmOLdJioQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=ydDQHpWzqo4:mOWmOLdJioQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=ydDQHpWzqo4:mOWmOLdJioQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=ydDQHpWzqo4:mOWmOLdJioQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/ydDQHpWzqo4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/10/the-odesk-debit-mastercard-powered-by-payoneer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/10/the-odesk-debit-mastercard-powered-by-payoneer/</feedburner:origLink></item>
		<item>
		<title>Tokyo Magnitude 8.0</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/5KgTlMXfyaY/</link>
		<comments>http://jeffri.net/2009/09/tokyo-magnitude-8-0/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 01:09:53 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Anime]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=347</guid>
		<description><![CDATA[
Well,  I will bring an unusual topic today. Even though I love anime, but I never post a single post in this topic, but this interesting series makes me want to post one.   This anime -which is quite underrated- is surprisingly turn out very well. For some people, it might be boring, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffri.net/wp-content/uploads/tokyo8m.jpg" alt="tokyo8m" title="tokyo8m" width="500" height="319" class="alignnone size-full wp-image-348" /></p>
<p>Well,  I will bring an unusual topic today. Even though I love anime, but I never post a single post in this topic, but this interesting series makes me want to post one. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This anime -which is quite underrated- is surprisingly turn out very well. For some people, it might be boring, but for me, it is interesting since the characters emotion was made real, as well as the earthquake.</p>
<p>The first episode introduce the main character, Mirai and her little brother, Yuuki. Mirai was a pessimistic middle school student, while Yuuki is strong and always give courage to her sister. The story started with Mirai, from school, back to home, and then with Yuuki, both without their parent going together to robot exhibition. The first episode ended when the earthquake happened and Yuuki was still traped inside the exhibition building.</p>
<p>It is not recommended for you to hit the read more, if you haven&#8217;t watched the series. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-347"></span></p>
<p>The second episode is pretty good, it shows how the impact of the massive earthquake and how Mirai bravely go to the half-collapsed building to search for her brother, Yuuki. At that time, she met Mari, who help her to search for Yuuki. They finally found him and decide to go together to home.</p>
<p>The next episodes is the story of their journey to return to their home. Mari protected the two children and lead them. One interesting episode is when the Tokyo Tower collapsed due to many aftershock. During time, the Mirai character is developed (which is one of the interesting part) and finally the plot-twist.</p>
<p>Yuuki was dead and Mirai, who can&#8217;t accept that reality started to hallucinate that Yuuki is still with her (or he really turn out into ghost? well, whatever). Since then, by time, Mirai started to realize the reality and started to cry without reason. The two last episode was well done, emotional, sad. I actually cried for the last episode, especially when Mirai united together with her parents and when Mirai gives her mom the birthday gift that Yuuki chose.</p>
<p>The only bad story for the whole series is when Mari reunite with her family. Why? Well, because the anime tried to troll us that they was died, Mari was so sad and sitting in front of two unknown corpse (she doesn&#8217;t have the courage to identify the corpse yet). And then, thanks to Mirai and the &#8220;ghost&#8221; Yuuki, they found out that her family (actually her daughter and her mom) are survived and still healthy, even though her mom is hospitalized but nowhere near to die. lol <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But the ending helps the whole series, I give the perfect rating for the series. One of the best anime I have ever seen, so much reality (from the earthquake into the humans attitude) and the sadness to lose someone precious. The graphics and animation was well done too. Definitely worth to watch.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/47W7fA_M38cBJa6kMlzHjDmDJ_U/0/da"><img src="http://feedads.g.doubleclick.net/~a/47W7fA_M38cBJa6kMlzHjDmDJ_U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/47W7fA_M38cBJa6kMlzHjDmDJ_U/1/da"><img src="http://feedads.g.doubleclick.net/~a/47W7fA_M38cBJa6kMlzHjDmDJ_U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=5KgTlMXfyaY:dBeuBdn9GoA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=5KgTlMXfyaY:dBeuBdn9GoA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=5KgTlMXfyaY:dBeuBdn9GoA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=5KgTlMXfyaY:dBeuBdn9GoA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=5KgTlMXfyaY:dBeuBdn9GoA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/5KgTlMXfyaY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/09/tokyo-magnitude-8-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/09/tokyo-magnitude-8-0/</feedburner:origLink></item>
		<item>
		<title>Google Code Jam qualification round</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/_kPcs_3NSgs/</link>
		<comments>http://jeffri.net/2009/09/google-code-jam-qualification-round/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 10:00:53 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=343</guid>
		<description><![CDATA[Finally, Google Code Jam 2009 qualification round has finished. I almost forgot this actually, until there is notification that tell us that the Code Jam has a problem at the beginning and get extended time for 2 hours (even though there is a notification 24 hours before, but I completely forgotten, lol). Finally I can [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, Google Code Jam 2009 qualification round has finished. I almost forgot this actually, until there is notification that tell us that the Code Jam has a problem at the beginning and get extended time for 2 hours (even though there is a notification 24 hours before, but I completely forgotten, lol). Finally I can participate in a couple of last hours left.</p>
<p>There is three problem that it is needed to be solved. The problem A is pretty simple, we can just change the pattern to Regular Expression and it&#8217;s done. I do it this way, but a little slower on large data. The B case is completely blank for me, never have run into this kind of problem before and I can&#8217;t finish it. For the C case, I can finish the small data, but not for the large data. It seems, I still need a lot of practice for better algorithm. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But at least, I&#8217;m advanced to the next round. Let&#8217;s see how long I can stand in this competition.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uIj9RKlL3V9uOsoKEUpisT6UmK0/0/da"><img src="http://feedads.g.doubleclick.net/~a/uIj9RKlL3V9uOsoKEUpisT6UmK0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uIj9RKlL3V9uOsoKEUpisT6UmK0/1/da"><img src="http://feedads.g.doubleclick.net/~a/uIj9RKlL3V9uOsoKEUpisT6UmK0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=_kPcs_3NSgs:5Z-m1Tg04_A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=_kPcs_3NSgs:5Z-m1Tg04_A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=_kPcs_3NSgs:5Z-m1Tg04_A:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=_kPcs_3NSgs:5Z-m1Tg04_A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=_kPcs_3NSgs:5Z-m1Tg04_A:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/_kPcs_3NSgs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/09/google-code-jam-qualification-round/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/09/google-code-jam-qualification-round/</feedburner:origLink></item>
		<item>
		<title>Careful with Float data type</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/dKc9Bi1IVOg/</link>
		<comments>http://jeffri.net/2009/08/careful-with-float-data-type/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 16:18:15 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=325</guid>
		<description><![CDATA[Usually, I store number with decimal point in float, but now I run into a problem &#8211; the rounding error. This really doesn&#8217;t good in financial data like money, for example, in float datatype, when we calculate 10000000-25, it will result in 9.99998e+006, when we convert to decimal (I do it in PHP), it will [...]]]></description>
			<content:encoded><![CDATA[<p>Usually, I store number with decimal point in float, but now I run into a problem &#8211; the rounding error. This really doesn&#8217;t good in financial data like money, for example, in float datatype, when we calculate 10000000-25, it will result in 9.99998e+006, when we convert to decimal (I do it in PHP), it will result in 9999980. Not good!</p>
<p>But that was a big mistake I made, if you just take the data, let&#8217;s say </p>
<blockquote><p>SELECT floatdatafield FROM whatevertable</p></blockquote>
<p>you will get this 9.99998e+006 value, and no matter what you do in PHP, you won&#8217;t be able to get the exact value, 9999975. So for the solution, we need to use the SQL function, ROUND(). So instead of just select everything, we can do this </p>
<blockquote><p>SELECT ROUND(floatdatafield,2) AS floatdatafield FROM whatevertable</p></blockquote>
<p>This will round it to have maximum 2 numbers digit after the decimal point and it will return 9999975.00, exactly what we need.</p>
<p>Another solution is to use decimal data type instead, or by defining the number of digits before and after decimal point of the float.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/duNc61fDihJ7BDQX3uV4cFZOFW8/0/da"><img src="http://feedads.g.doubleclick.net/~a/duNc61fDihJ7BDQX3uV4cFZOFW8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/duNc61fDihJ7BDQX3uV4cFZOFW8/1/da"><img src="http://feedads.g.doubleclick.net/~a/duNc61fDihJ7BDQX3uV4cFZOFW8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=dKc9Bi1IVOg:ogxQ7eqC1mY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=dKc9Bi1IVOg:ogxQ7eqC1mY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=dKc9Bi1IVOg:ogxQ7eqC1mY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=dKc9Bi1IVOg:ogxQ7eqC1mY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=dKc9Bi1IVOg:ogxQ7eqC1mY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/dKc9Bi1IVOg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/08/careful-with-float-data-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/08/careful-with-float-data-type/</feedburner:origLink></item>
		<item>
		<title>If the Wordpress automatic update failed</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/YWkm2K90ZLs/</link>
		<comments>http://jeffri.net/2009/08/if-the-wordpress-automatic-update-failed/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 07:14:51 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=322</guid>
		<description><![CDATA[This problem encountered since I moved my server to IIX, which has less bandwidth for international user, and for that reason too, the downstream is too small to download whole Wordpress package that used for updating. That&#8217;s why, I always get timeout error. So, I&#8217;m simply unable to automatically update my Wordpress.
However, the solution is [...]]]></description>
			<content:encoded><![CDATA[<p>This problem encountered since I moved my server to IIX, which has less bandwidth for international user, and for that reason too, the downstream is too small to download whole Wordpress package that used for updating. That&#8217;s why, I always get timeout error. So, I&#8217;m simply unable to automatically update my Wordpress.</p>
<p>However, the solution is actually simple, by increasing the timeout so the download can be completed. Once it is, the updating will going smoothly. So this is how to do it, in manual way.. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-322"></span></p>
<p>Open /wp-admin/includes/file.php with your favourite text editor.</p>
<p>Find the following function</p>
<blockquote>
<p>/**<br />
 * Downloads a url to a local file using the Snoopy HTTP Class.<br />
 *<br />
 * @since unknown<br />
 * @todo Transition over to using the new HTTP Request API (jacob).<br />
 *<br />
 * @param string $url the URL of the file to download<br />
 * @return mixed WP_Error on failure, string Filename on success.<br />
 */<br />
function download_url( $url ) {<br />
	//WARNING: The file is not automatically deleted, The script must unlink() the file.<br />
	if ( ! $url )<br />
		return new WP_Error(&#8217;http_no_url&#8217;, __(&#8217;Invalid URL Provided&#8217;));</p>
<p>	$tmpfname = wp_tempnam($url);<br />
	if ( ! $tmpfname )<br />
		return new WP_Error(&#8217;http_no_file&#8217;, __(&#8217;Could not create Temporary file&#8217;));</p>
<p>	$handle = @fopen($tmpfname, &#8216;wb&#8217;);<br />
	if ( ! $handle )<br />
		return new WP_Error(&#8217;http_no_file&#8217;, __(&#8217;Could not create Temporary file&#8217;));</p>
<p>	$response = wp_remote_get($url, array(&#8217;timeout&#8217; => 60));</p>
<p>	if ( is_wp_error($response) ) {<br />
		fclose($handle);<br />
		unlink($tmpfname);<br />
		return $response;<br />
	}</p>
<p>	if ( $response['response']['code'] != &#8216;200&#8242; ){<br />
		fclose($handle);<br />
		unlink($tmpfname);<br />
		return new WP_Error(&#8217;http_404&#8242;, trim($response['response']['message']));<br />
	}</p>
<p>	fwrite($handle, $response['body']);<br />
	fclose($handle);</p>
<p>	return $tmpfname;<br />
}
</p></blockquote>
<p>Okay, notice the line we need to change?</p>
<p>Yep, this one</p>
<blockquote><p>
	$response = wp_remote_get($url, array(&#8217;timeout&#8217; => 60));
</p></blockquote>
<p>By default it is set to 60 seconds, so we can increase it depends to our downstream. For me, I only able to download 800 kB or so in 60 seconds (as shown when the update failed), so for Wordpress package that usually more than 2 MB, I need to multiply it to at least three times. But for playing safe, I multiply it to five, or 300 seconds. Then, I change the above line to this</p>
<blockquote><p>
	$response = wp_remote_get($url, array(&#8217;timeout&#8217; => 300));
</p></blockquote>
<p>Upload and replace the old files. Try to do update again and it should proceed smoothly now. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Please notes that when the update finished, this file will be changed as well, so when you trying to update next time, your timeout will back to default set by Wordpress developer. So, when you want to update next time, it is recommended to repeat this step, and in future version, this function may be changed as well, so it is preferable to don&#8217;t use the copy of the older version you have changed this time.</p>
<p>Well, I hope Wordpress developer will add this to configuration, so we don&#8217;t need to change the files manually anymore. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for reading, hope it useful.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/kzHmkNmeOVEqNX8BYdJRIqBtu0s/0/da"><img src="http://feedads.g.doubleclick.net/~a/kzHmkNmeOVEqNX8BYdJRIqBtu0s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kzHmkNmeOVEqNX8BYdJRIqBtu0s/1/da"><img src="http://feedads.g.doubleclick.net/~a/kzHmkNmeOVEqNX8BYdJRIqBtu0s/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=YWkm2K90ZLs:eigSaJMR_Vc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=YWkm2K90ZLs:eigSaJMR_Vc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=YWkm2K90ZLs:eigSaJMR_Vc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=YWkm2K90ZLs:eigSaJMR_Vc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=YWkm2K90ZLs:eigSaJMR_Vc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/YWkm2K90ZLs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/08/if-the-wordpress-automatic-update-failed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/08/if-the-wordpress-automatic-update-failed/</feedburner:origLink></item>
		<item>
		<title>Art: Sylviss Sofian</title>
		<link>http://feedproxy.google.com/~r/jeffrinet/~3/RGZY-gBduAw/</link>
		<comments>http://jeffri.net/2009/08/art-sylviss-sofian-2/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 17:58:38 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Designing]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[drawing]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=320</guid>
		<description><![CDATA[Well, I redesign this character a bit, and this is how I ended up&#8230;

]]></description>
			<content:encoded><![CDATA[<p>Well, I redesign this character a bit, and this is how I ended up&#8230;</p>
<p><a href="http://i212.photobucket.com/albums/cc274/keaglez/5-low.jpg"><img src="http://i212.photobucket.com/albums/cc274/keaglez/5-low.jpg" alt="Sylviss Sofian" style="width:540px;" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/qwHCVMpEwhkXyMdIPCpCUJ1z1qU/0/da"><img src="http://feedads.g.doubleclick.net/~a/qwHCVMpEwhkXyMdIPCpCUJ1z1qU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qwHCVMpEwhkXyMdIPCpCUJ1z1qU/1/da"><img src="http://feedads.g.doubleclick.net/~a/qwHCVMpEwhkXyMdIPCpCUJ1z1qU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/jeffrinet?a=RGZY-gBduAw:hjRoVEvD9DQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/jeffrinet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=RGZY-gBduAw:hjRoVEvD9DQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=RGZY-gBduAw:hjRoVEvD9DQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/jeffrinet?a=RGZY-gBduAw:hjRoVEvD9DQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/jeffrinet?i=RGZY-gBduAw:hjRoVEvD9DQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/jeffrinet/~4/RGZY-gBduAw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/08/art-sylviss-sofian-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://jeffri.net/2009/08/art-sylviss-sofian-2/</feedburner:origLink></item>
	</channel>
</rss>
