tag:blogger.com,1999:blog-61694272009-02-21T03:06:59.520-07:00o3ng weblog...This was project blog for my work at WALHI when I was develope and deploy web CMS system using LAMP and Midgard CMS. Now, its about every technical experience that I've faced when trying opensource software and maybe a bit about my life ;).. and last but not least it still about my experience using Midgard. One other thing, I'm not so much what you called a blogger so maybe there will be no daily post here :Do3ngnoreply@blogger.comBlogger47125tag:blogger.com,1999:blog-6169427.post-1169444961280319872007-01-21T22:17:00.000-07:002007-01-21T22:49:21.303-07:00hacking sierra wireless aircard 555 on suse 10Since there's a lot of changes from pcmcia-cs to pcmciautils, pcmcia operation suppose to be easier because it now work with hotplug.That mean when the card got inserted to the laptop, linux will just recognize it in a zap.But that's just doesn't work for sierra aircard 555 while you using suse 10.To make your aircard 555 work on suse 10, you need to fiddle around a bit with linux kernel.Owww ando3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1160541258793561982006-10-10T21:30:00.000-07:002006-10-10T21:34:18.796-07:00failed create midcomI try to create midcom site, when I run following commandphp /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php -u admin -p password --sitegroup_id 0 --topic_midcom midgard.admin.sitewizard --hostname localhost --host_prefix /sitewizard --extend_style template_Midgard --topic_name "Midgard Site Wizard"I got the following errorPHP Warning: main(/usr/local/lib/php/midcom/libo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1160539849480436252006-10-10T21:06:00.000-07:002006-10-10T21:18:32.123-07:00java MessageDigestIf you use MessageDigest in java to encrypt string, you wont get hash like other language does.So you need to convert the result so that you can compare the hash result with other output that produce by diff language.Found the function on the java net forumprivate static String baToHexString(byte byteValues[]) { byte singleChar = 0; if (byteValues == null || byteValues.length <= 0)o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1160539466788052962006-10-10T20:59:00.000-07:002006-10-10T21:04:26.800-07:00table corrupt in mysqlMy server just ran out of space recently, so I do some cleanup.Then my friend complain about several web app act abnormaly, turn out several db on mysql got table corrupt.The error sound like "Can't open file: 'TableName.MYD'. (errno: 145)"So to fix it, logon to mysql console, and type "REPAIR TABLE TableName"And don't forget to select the db first ;)o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1155099413504458942006-08-08T21:48:00.000-07:002007-01-25T03:15:56.816-07:00CapitalizeWords.javaI need to make my string sentence to be capitalize on each first character of word, So far haven't find such function that I can use. So made this simple class, incase someone need it. It's GPL so free to use it and modify it.import java.util.Scanner;import java.util.ArrayList;import java.util.Iterator;import java.lang.StringBuilder;/**** @author avenpace* I'm using singleton here so, hope you o3ngnoreply@blogger.com1tag:blogger.com,1999:blog-6169427.post-1145264770148936942006-04-17T01:04:00.000-07:002006-04-20T00:06:16.850-07:00Fucked up chaintech and ecsMy pc at home was suddenly broke like 3 month ago before I went to Zagreb. So after doing some hardware test, turn out my 7aivl chaintech without a clear reason got bios corrupt and it onboard vga died. Damn cheap mobo!!!!!So I went to computer store looking for socket A mobo and finally found it at this computer store named edicom at Harco Mangga dua. So I bought that ECS k7s5a pro. So I installo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1142368945276566572006-03-14T13:38:00.000-07:002006-03-14T13:44:34.973-07:00It's now 21.38 GMT+1. Tomorrow morning I'm gonna leave Zagreb and going back to Jakarta and now kinda bit snowy outside.It was really fun here and like it so far. The city is not so crowded like Jakarta not mention the geek scene here, I'm definetly gonna miss this place.Hopefully will had the change to come again and doing other FLOSS hack.Hvala Zagreb!Hvala Croatia!Hvala Mama!o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1142004596078048712006-03-10T08:27:00.000-07:002006-03-20T05:29:50.026-07:00Don't really bother with syntax coloring on vim 'till nowSo to make syntax coloring on vim, edit "/etc/vimrc" and add"syntax onset backspace=indent,eol,start"o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1141411939293050872006-03-03T11:49:00.000-07:002006-03-03T11:52:19.306-07:00Another notes for me, in mysql version 4, at least the one that on my SuSE 10. If I create user and give permision to do all things and assign host anything beside localhost. I wont be able to login to mysql console. And now my mysql_connect() on my php script wont work unless I use 127.0.0.1 for the db host. Dunno why, I'll figure out this latero3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1141404045903044562006-03-03T09:26:00.000-07:002006-03-03T11:56:10.603-07:00Been while since I post my last blog and playing with php. So to remind my self about getting value from POST and GET in php. When you have url like http://lame.com/script.php?duh=ownotagain You can just straight echoing inside the script like echo $duh; Just notice that the newer php, that thing doesn't work anymore. For the url that I've mention above, that mean it use the GET method, if you o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1127468178074165952005-09-23T02:20:00.000-07:002005-09-23T03:38:24.743-07:00Finally manage to put some dhtml drop down menu onto WALHI website, though till i write this it still kinda buggy when using M$ IE and work great on Firefox. I create style element script_dhtml for storing javascript and css file that used by dhtml dropdown menu. For top navbar I modify banner_menu and put javascript function inside html link tag and for left horizontal kampanye I modify the o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1127396489762783932005-09-22T06:35:00.000-07:002005-09-22T06:41:29.766-07:00Bergie just gave me account to midgard project website and listed me in developer community section with other midgarders. Really cool coz I had a change to try out some MidCOM there.Here is link for midgard developer community :http://www.midgard-project.org/community/whoswho/o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1127296824741257642005-09-21T02:55:00.000-07:002005-09-21T03:00:24.743-07:00WALHI need to make sub website for sahabat WALHI (WALHI's volunter community).We want to use our separate Midgard based system for that. There's a lot facilities that we've think that we want to put to there like forum, chatroom, pooling stuff and membership.I'm still thinking how can I put all that stuff to our Midgard System.o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1129529078927572722005-09-16T22:57:00.000-07:002005-10-16T23:04:38.926-07:00Wrote port scanner in java named Jawascan back in 2003. It only use simple handshaking concept between one port to another. Jawascan use standard networking JDK API. So it is very simple port scanner, it wont be powerfull utility like nmap or anything like it.Made it just for fun.You can download it at http://vc-digital.com/Jawascan.zipo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1126431408268167262005-09-11T02:33:00.000-07:002005-09-11T02:36:48.273-07:00One by one they're getting marriage.... uuhhhhh..... well I hope they'll have a happy live and ever lasting love....hehehehhhho3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1129527847473314312005-07-14T18:08:00.000-07:002005-10-26T05:50:30.850-07:00Made database connection class for my project that using mysql jdbc. I'm putting the code here incase anyone may find it usefull. Or you can download it from http://vc-digital.com/ConnectionDB.java/* * Created on March 25, 2005 * */package sim;import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.IOException;import java.sqlo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1118915485001336602005-06-16T02:45:00.000-07:002005-06-16T02:51:25.006-07:00Dual core processor, how do you thing the sound of it, prety cool huh... just imagine cpu that can simultaniously doing two different task in the same time. Dying to have those kinda system for my machine at home.... ;)too bad AMD charge their's more expensive then Intel coz I've been huge fan of AMD for quite long time....soon, no more slow arithmetic processing on your machine... hehehehhhh...o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1118057582042053872005-06-06T04:23:00.000-07:002005-06-06T04:33:03.673-07:00Hemm... pake boso indo ye. Kmaren gw lagi bingung nyari distro yang enak buat warnet. Pilihan gw antara pake gentoo dan ubuntu sama suse. Akhirnya pas di rumah nyobain gentoo. Ternyata itu distro lebih complex dan custumable dari slackware. Installasinya bener2 manual dan elo akan punya kebebasan absolute terhadap system linux yang elo pengenin. Gentoo bener2 oldschool banget, nyobain gentoo o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117809462271735292005-05-03T18:32:00.000-07:002005-06-03T07:47:59.473-07:00Back to the root, I'm back to do java coding and study for sjp exam coz I've bought the exam voucher couple a months agoo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117809362430083102005-04-17T21:33:00.000-07:002005-09-21T02:53:42.986-07:00Just try installing midgard 1.7 on cecil at home. arrgghhh.... apache always gave me segmentation fault, man I'm so lame, dunno is it because the sarge or the midgard it self.Henry told me on the Irc that 1.7 run well on woodyo3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117809214455141622005-02-10T02:25:00.000-07:002005-09-21T02:55:13.846-07:00Just got sarge dvd and gonna install it on cecil at home. heheehh... goodbye redhat welcome debian. Unfortunately, can't rid off that damn m$ coz my printer and some of the peripheral still has proprietare m$ driver... aarrgghhhho3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117809027068591562005-02-06T12:28:00.000-07:002005-06-03T07:31:02.666-07:00ahhhh after a long bumpy ride on the airplane, I finally arrive at singapore and now I'm in changi airport and wait for another airplane that gonna take me back to Jakarta.haaahhhh... macet dan panas lagi daho3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117808901112754962005-02-04T00:24:00.000-07:002005-06-03T07:47:05.466-07:00Got the chance to see the down town bangalore and speending my money to buy local merchandise.One thing I hate here is that really hard to find meat food ;)All the asiasource session just thrill me, pitty I can't follow all the session... in this very moment I hope I can clone my self ;)o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117808689593706082005-02-01T03:19:00.000-07:002005-06-03T07:24:49.596-07:00I'm bloging from vistar venue here in Bangalore, India just great. Alot similarity with Indonesia but they will be better in few years a head coz their government pay so much attention to the education sector. While in Indonesia, well you know how costly the education are, only the richer that can enjoy great education. Oh yeah al the participants here just awesome really, I know there are alot o3ngnoreply@blogger.com0tag:blogger.com,1999:blog-6169427.post-1117808328677593362005-01-24T02:13:00.000-07:002005-06-03T07:46:15.760-07:00tommorow, I'll leave this Island (huh.. finally) and heading to bangalore... yaayyyso anxious to meet people all over the world that has a huge passion with opensourcehope the airplane is good since I'm so much affraid to highI leave at noon with several friend wich I haven't meet in the airporto3ngnoreply@blogger.com0