<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>my work and hobbies</description><title>dodyweb</title><generator>Tumblr (3.0; @dodyweb)</generator><link>http://dodyweb.com/</link><item><title>Snow leopart halted on boot</title><description>&lt;p&gt;Suddenly this morning my osx stop working. From booting darwin with -v, I found something wrong with the disk. Something like fsck things. &lt;/p&gt;

&lt;p&gt;As suggested by someone on board, I boot with SL install disk and run disk utility to fix the permission error. Unfortunately this won&amp;#8217;t fix the problem. I still can&amp;#8217;t get into the system.&lt;/p&gt;

&lt;p&gt;I tried with safe mode too, -x. Still, it doesn&amp;#8217;t work.&lt;/p&gt;

&lt;p&gt;Then I read something interesting on forum again. This time I should use darwin command line with -s option for booting.&lt;/p&gt;

&lt;p&gt;Finally it is fixed after I run the following command in 2 times. The first time report it the error still occur. And the second time it said &amp;#8216;repaired&amp;#8217;&amp;#8230; Yeii&lt;/p&gt;

&lt;p&gt;$fsck_hfs -r /dev/disk0s1&lt;/p&gt;

&lt;p&gt;Now.. Is it the a moment  to setup timemachine? I have it off now.&lt;/p&gt;</description><link>http://dodyweb.com/post/2788059894</link><guid>http://dodyweb.com/post/2788059894</guid><pubDate>Mon, 17 Jan 2011 09:56:30 +0700</pubDate></item><item><title>Converting text with different charset, utf8 and iso/ansi</title><description>&lt;p&gt;This one is a common problem that I could not solved months ago or even more than a year ago. I usually give up with mixing charset problem that occur in database. Lucky, in past few days I&amp;#8217;m working with Arabic, Dutch and French websites. It give me some knowledge (and problem too) how to deal with them.&lt;/p&gt;
&lt;p&gt;Okay &amp;#8230; here is a few line of codes that I&amp;#8217;m looking for so long and bothering me so much!&lt;/p&gt;
&lt;p&gt;if (!mb_check_encoding($$fields[$j],&amp;#8217;UTF-8&amp;#8217;)) { &lt;br/&gt;  $$fields[$j] = iconv(&amp;#8220;ISO-8859-1&amp;#8221;, &amp;#8220;UTF-8&amp;#8221;, $$fields[$j]);&lt;br/&gt;  //$$fields[$j] = mb_convert_encoding($$fields[$j], &amp;#8216;UTF-8&amp;#8217;);&lt;br/&gt;}&lt;/p&gt;
&lt;p&gt;Don&amp;#8217;t ask me about $$field .. it was coded 10 years ago (with php3), I&amp;#8217;m too lazy to change it.&lt;/p&gt;
&lt;p&gt;As you can see. I use mb_check_encoding() to check what charset is being use. Also I assume the other mixing charset is defined. In western charset, it is ISO-8859-1. In Arabic, in my case is windows-1256.&lt;/p&gt;
&lt;p&gt;At last, then we can use iconv() or mb_convert_encoding() to convert.&lt;/p&gt;
&lt;p&gt;I feel like stupid, how can I couldn&amp;#8217;t solve this kind of issue before. Just 3 lines of codes make me wait so long to understand it!&lt;/p&gt;</description><link>http://dodyweb.com/post/2642183419</link><guid>http://dodyweb.com/post/2642183419</guid><pubDate>Sat, 08 Jan 2011 05:52:59 +0700</pubDate></item><item><title>Chiisana koi no uta - Proposal Daisakusen… done. Lagi...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/5aUZLyR-QGs?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Chiisana koi no uta - Proposal Daisakusen… done. Lagi hunting dorama lagi .. donlod dulu, nonton nya kalo sempat2 ajah :)&lt;/p&gt;</description><link>http://dodyweb.com/post/2607187581</link><guid>http://dodyweb.com/post/2607187581</guid><pubDate>Wed, 05 Jan 2011 15:30:59 +0700</pubDate></item><item><title>Special buat K-ON lover like me ..hehe …. K-ON live...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/1UC5sG2pQrw?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Special buat K-ON lover like me ..hehe …. K-ON live concert 2010 : watashi no koi wa hotch kiss … .. lihat para seiyuu main live, very inspiring! Good job!&lt;/p&gt;</description><link>http://dodyweb.com/post/2452489477</link><guid>http://dodyweb.com/post/2452489477</guid><pubDate>Sat, 25 Dec 2010 08:37:33 +0700</pubDate></item><item><title>Seharusnya Indonesia punya website “social music...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/7TBTHwVf2L8?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Seharusnya Indonesia punya website “&lt;em&gt;social music collaboration&lt;/em&gt;” semacam niconico dunga (jp), dimana musisi amatir bisa saling berkolaborasi secara online dg mudah. Skr gak perlu lagi harus kumpul bareng dan sewa studio untuk sekedar latihan bareng. Cukup setorkan hasil rekaman dan diskusi secara online.&lt;/p&gt;</description><link>http://dodyweb.com/post/2331918170</link><guid>http://dodyweb.com/post/2331918170</guid><pubDate>Thu, 16 Dec 2010 10:19:24 +0700</pubDate></item><item><title>Saya suka musisi amatir yg bisa all-in-one .. (bisa gitar, bass,...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/k11LAnajyA0?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Saya suka musisi amatir yg bisa all-in-one .. (bisa gitar, bass, drum, kibord, nyanyi .. plus sekalian aransemen dan home recording).&lt;/p&gt;</description><link>http://dodyweb.com/post/2331465913</link><guid>http://dodyweb.com/post/2331465913</guid><pubDate>Thu, 16 Dec 2010 09:44:43 +0700</pubDate></item><item><title>Different tone and notes … much better than the original....</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/tBNGu0xQ2r8?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Different tone and notes … much better than the original. Nice.&lt;/p&gt;</description><link>http://dodyweb.com/post/2330942860</link><guid>http://dodyweb.com/post/2330942860</guid><pubDate>Thu, 16 Dec 2010 09:04:00 +0700</pubDate></item><item><title>Looking for svn export git equivalent command</title><description>&lt;p&gt;&lt;strong&gt;So apparently the answer is &amp;#8220;no.&amp;#8221;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8212;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Basic command:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;git archive master | tar -x -C /somewhere/else&lt;/p&gt;
&lt;p&gt;git archive master | bzip2 &amp;gt;source-tree.tar.bz2&lt;/p&gt;
&lt;p&gt;&amp;#8212;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Add exclude:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;git archive &amp;#8212;format=tar &amp;#8212;prefix=myproject-${VERSION}/ ${RELEASETAG} | bzip2 -9 &amp;gt; ${CURRENTDIR}/myproject-${RELEASE}.tar.bz2&lt;/p&gt;
&lt;p&gt;.gitattributes export-ignore .gitignore export-ignore&lt;/p&gt;
&lt;p&gt;&amp;#8212;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Manual bash shell copy:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;cp -R /path-to-git-repo /path/to/destination/  (then remove then hidden .git, .gitattributes and .gitignore folder in the root manually)&lt;/p&gt;</description><link>http://dodyweb.com/post/2330761043</link><guid>http://dodyweb.com/post/2330761043</guid><pubDate>Thu, 16 Dec 2010 08:50:25 +0700</pubDate></item><item><title>Completely moving from svn to git</title><description>&lt;p&gt;Thanks to github that introduce to better version control called git. After two weeks working on it, I feel confident to move completely from svn to git. I wish I can host my projects solely with github. But the pricing for private project force me to find alternative solution.&lt;/p&gt;
&lt;p&gt;I found a few names as alternative. They are&amp;#160;:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.unfuddle.com/"&gt;Unfuddle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codebasehq.com/"&gt;Codebase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.assembla.com/"&gt;Assembla&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.xp-dev.com/"&gt;XP-Dev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codaset.com/"&gt;CodaSet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.repositoryhosting.com/"&gt;Repository Hosting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;After trying them with free trial, I decide to use Repository Hosting. The main reason is cost effective. It has all I need, specially unlimited repositories. The trac is a bonus as I love it when I was using svn. This is pecfect!&lt;/p&gt;</description><link>http://dodyweb.com/post/2185022999</link><guid>http://dodyweb.com/post/2185022999</guid><pubDate>Sun, 12 Dec 2010 18:16:12 +0700</pubDate></item><item><title>Forking project on github</title><description>&lt;p&gt;What I really like about github compared with other similar services is that it allow to fork someone else project / repositore. Forking project give full control as if it is your own without worrying about writing permission.&lt;/p&gt;
&lt;p&gt;On top of that, as the owner of original project, he has ability to see what changes are made by forked project. The great thing about this is that he can commit the changes if he like and take it as part of the original repository.&lt;/p&gt;
&lt;p&gt;Let say you have created a project called abchelpdesk. Then later as this project gain popularity, there are 100 user forking it. Some users adding more features like status update, priority tickets, ticket routing, email piping, etc. While other users also fixing bugs. This is the wonderful thing will happen. Without your hand become dirty, you can see all changes they have made. After reviewing them, if you like you can take them and commit to your own repository.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;But..&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#8217;t understand why github doesn&amp;#8217;t allow to fork our own project. On daily work, usually we have main product or project. Usually we do project based on it. It would be great if we can just fork it as another project without mixing with the main project. I know we can do branching. But it would be great if we can fork it instead of create a new branch inside the main project. I&amp;#8217;m not the only one who complain about this. Many github users face similar issue. Is there any good reason to disallow it? I wish they fix it in the future.&lt;/p&gt;</description><link>http://dodyweb.com/post/2064447748</link><guid>http://dodyweb.com/post/2064447748</guid><pubDate>Thu, 02 Dec 2010 06:52:01 +0700</pubDate></item><item><title>【けいおん!!】 Listen!!
So impressive! He remind me of animetal. I...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/zbotacnY7Cg?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;【けいおん!!】 Listen!!&lt;/p&gt;
&lt;p&gt;So impressive! He remind me of animetal. I wish I can play like him someday.&lt;/p&gt;</description><link>http://dodyweb.com/post/1722390857</link><guid>http://dodyweb.com/post/1722390857</guid><pubDate>Mon, 29 Nov 2010 10:04:12 +0700</pubDate></item><item><title>ddlang, php language engine</title><description>&lt;p&gt;I develop my own php language engine as a result of getting frustrating of compiling gettext files. I love gettext and its tools. But I hate to compile it everything I made changes. It also bothering and confusing many clients.&lt;/p&gt;
&lt;p&gt;ddlang still using gettext .po file, but rather than compile to .mo file, ddlang with read .po file directly. As an advantage we can see immediate result of changes we have made.&lt;/p&gt;
&lt;p&gt;Also in the future perhaps I will add storing handler, allowing to store language dictionary into database instead of plain text file. Perhaps more tools to make changes online. It will be cool if the user can change the language inside control panel ;)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/dodyrw/ddlang"&gt;https://github.com/dodyrw/ddlang&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lciz3dvvt51qepb45.png"/&gt;&lt;/p&gt;</description><link>http://dodyweb.com/post/1698143523</link><guid>http://dodyweb.com/post/1698143523</guid><pubDate>Sat, 27 Nov 2010 11:07:10 +0700</pubDate></item><item><title>ddcurl on github.com, a web scraping wrapper</title><description>&lt;p&gt;My first repository of Git (version control) on GitHub.com. Everything look good, compared with svn, git is so much easier. But I miss a good TortoiseSVN tool. I wish in future, git has similar tool like TortoiseSVN.&lt;br/&gt;&lt;br/&gt;Now I use both. Git for open source project and svn for paid project.&lt;/p&gt;&#13;
&lt;p&gt;Here is my codes that usually I use to scrape the web. It offer normal fetching (GET), form POST-ing, and login (maintain cookie and session). It doesn&amp;#8217;t offer parsing method like DOM selection, regular expression or text splitting. That&amp;#8217;s your problem  .. hehe. Ah no .. it because each of websites has its own pattern, so it is impossible to generalize them.&lt;/p&gt;&#13;
&lt;p&gt;Enjoy.&lt;/p&gt;&#13;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lci0abBxcM1qepb45.png"/&gt;&lt;/p&gt; 

&lt;a href="https://github.com/dodyrw/ddcurl"&gt;https://github.com/dodyrw/ddcurl&lt;/a&gt;</description><link>http://dodyweb.com/post/1691559518</link><guid>http://dodyweb.com/post/1691559518</guid><pubDate>Fri, 26 Nov 2010 22:38:00 +0700</pubDate></item><item><title>i just realized that tumblr doesn&amp;#8217;t have zip file uploader &amp;#8230; too bad</title><description>&lt;p&gt;i just realized that tumblr doesn&amp;#8217;t have zip file uploader &amp;#8230; too bad&lt;/p&gt;</description><link>http://dodyweb.com/post/1690557461</link><guid>http://dodyweb.com/post/1690557461</guid><pubDate>Fri, 26 Nov 2010 19:44:18 +0700</pubDate></item><item><title>tes2</title><description>&lt;p&gt;another post for fb&lt;/p&gt;</description><link>http://dodyweb.com/post/1623640634</link><guid>http://dodyweb.com/post/1623640634</guid><pubDate>Sat, 20 Nov 2010 10:12:03 +0700</pubDate></item><item><title>testing tamblerr .. look nice so far</title><description>&lt;p&gt;testing tamblerr .. look nice so far&lt;/p&gt;</description><link>http://dodyweb.com/post/1623535808</link><guid>http://dodyweb.com/post/1623535808</guid><pubDate>Sat, 20 Nov 2010 09:59:59 +0700</pubDate></item></channel></rss>

