Java ME (J2ME) JSON Implementation Tutorial/Sample
by jimmy on Mar.03, 2010, under English, Java, Programming
JSON is one of the most popular format used for communicating between (Java ME) J2ME client and App Server. Strangely it’s hard to find JSON implementation sample in J2ME. So I decide to write a sample.
Set up Centos yum repository to Kambing UI server (kambing.ui.ac.id)
by jimmy on Jan.19, 2010, under Indonesia, Linux
Untuk menggunakan server kambing.ui.ac.id sebagai repository di Centos :
- Buat file dengan extension repo di directory /etc/yum.repos.d/ (Contoh: vim /etc/yum.repos.d/Kambing-Base.repo)
- Isi file:
Bind JBoss to specific IP address
by jimmy on Dec.28, 2009, under Java, Linux
Simple but I think it will help JBoss newbie (like me :]) when searching the internet.
By default when you run JBoss ( ./run.sh in Linux) it will bind to localhost/127.0.0.1
This will cause the JBoss default port 8080 cannot be access from other computer, because you need to open http://127.0.0.1:8080/ instead of your IP http://<your IP>:8080/ (continue reading…)
Kehilangan uang di safety box Hotel Kuta Lagoon Resort, Bali
by jimmy on Dec.21, 2009, under Life, My Life

Kemarin tanggal 17 Des – 21 Des 2009 saya berkunjung ke Bali untuk pertama kalinya, tetapi mengalami pengalaman yang tidak menyenangkan (masalah) di Hotel Kuta Lagoon Resort yaitu kehilangan amplop berisi uang yang saya letakkan didalam safety box dalam kamar saya.
Artikel ini bertujuan untuk mengingatkan teman-teman untuk waspada dalam menyimpan uang dalam berpergian, supaya tidak seperti saya yang percaya dengan keamanan safety box di dalam hotel.
Kronologisnya seperti ini: (continue reading…)
Fixing network slow transfer in Windows Vista
by jimmy on Oct.08, 2009, under Uncategorized
If you find that copying from your Windows Vista extremely slow (50KB/s) from wifi you must try this.
Go to your device manager: (continue reading…)
Blackberry sending delivered notification email
by jimmy on Jun.26, 2009, under English, My Life, Technology
I just realize that when sending to blackberry device when the email received on blackberry and the sender request delivered notification, it will automatically send delivered notification back to the sender.
And there’s no option to disable this.
Maybe it’s like a ‘feature’, but in my opinion it’s suck to cannot select whether we want to sent this delivered notification or not.
For spammer this could be good ‘feature’ since they will know which email still actively receiving their spam.
In my blackberry curve there’s only option to disable ‘read notification’, which located at message – options – email settings.
But read notification is not delivered notification, when I disable sending read notification still the blackberry sending delivered notification automatically.
This is sucks, anyone know how to solve this issue?
Solving Pidgin cannot connect to Yahoo Messenger (YM)
by jimmy on Jun.19, 2009, under English, Linux
Starting June 18 I started having problem connecting to YM with Pidgin.
Somehow it’s random I can connect or not.
I google and several article/forum writing that need to flush dns cache and also about several YM server cannot be accessed from Pidgin.
I try my friend advice to change YM server configuration to IP rather than domain name.
And it’s worked..
You will need to use cn.scs.msg.yahoo.com as Pager server since June 24, or you can update to pidgin 2.5.7 to solve this problem
Some people are reporting changing the Pager server didn’t solve the problem, you can follow these instruction to update your pidgin to latest version (for Ubuntu) : Updating Pidgin to latest version in Ubuntu
The steps: (continue reading…)
Solving failed starting mysql service with non default datadir (Ubuntu)
by jimmy on Jun.19, 2009, under English, Linux
I used to put my mysql data dir to /home/mysql, just to separated the partition so when something goes wrong or upgrading the OS I won’t lose my mysql data just because I forgot to backup it.
After I upgrade from Ubuntu 8.04 to Ubuntu 9.04 suddenly my mysql failed to start.
The strange thing the only data dir seems working is putting it on /var/lib/mysql which is the default directory for mysql data dir.
After browsing around I found out that it is apparmor that prevent mysql datadir on different directory.
So the easy way to solve this is to remove apparmor : apt-get –purge remove apparmor
Move the blog to new domain
by jimmy on Jun.03, 2009, under My Life
After a while since I updated my blog I decide to move the blog from wordpress.com to my on domain jimmod.com
Although the hosting service is local but the server is at USA for better international access speed.
I still not sure whether to use http://jimmod.com/blog or a new sub domain http://blog.jimmod.com/
A friend of mine whose expert in SEO told me that subdirectory is better than subdomain in term of SEO.
But I think a subdomain look a lot cooler
Displaying row number (rownum) in MySQL
by jimmy on Sep.09, 2008, under My Life
Sometimes you need to do query with MySQL for reporting.
And you’ll need to display the row number/ranking in query result.
Example you have this table:
table : player
fields : playerid, name & score
For reporting purpose you need to query the top 10 (highest score).
The result should be : rank, memberid, name, score.
Example :
rank playerid name score
———————————–
1 A1029 Jimmy 100
2 A9830 Lia 98
3 B28d0 Lulu 90
…
…
10 B8789 Lele 50
Now you can easily query the top 10 by using ‘limit’ and ‘order by’, but how to automatically add row number in query result? (continue reading…)