RSS
 

Subversion Dump and Load Over SSH

26 Aug

In case you want to move existing Subversion repository from one machine to another one. Below is the tricks.

On the new machine, create new repository. You can use a different name if you want to. I prefer using the same name as the old repository name.

1
# svnadmin create myrepo

Then on the old machine, execute this command

1
# svnadmin dump /repo/base/oldrepo | ssh -C username@new-machine-ip-address 'svnadmin load -q /repo/base/myrepo'

Remember, the user you use to connect via SSH must have write access to you new repository. And also, if you’re moving huge repository (like mine where it has almost one hundred thousand of revisions, you might consider using “screen” so you can put the dump and load process in the background.

 

Regression

19 Aug

I need to get myself to the earlier stage of my life. To be productive and to be able to learn anything rapidly. I need to be more proud of myself entirely, yes, I’m a non-theist geek and a genius with borderline personality disorder. Yes, I’m proud of myself, my unique self :-)

 
2 Comments

Posted in Blog, Disorder

 

Fever-like

18 Aug

I’m not saying this with a any scientific proof. Everytime I use my brain intensely or when my emotional going unstable, my heart is beating faster than usual and my body temperature is raising. My eyes are feeling warm and I can feel my blood in my veins being pumped throughout my body.

 
 

Egalitarian

18 Aug

I am an egalitarian and I am proud of it, up until now. I start questioning myself while looking at reality, is it worthy? Do all people really deserve to be treated as equal? Nietzschean side of me will absolutely say “no way!” while humanist side of me would probably say the contrary. But to be honest, I don’t think being an egalitarian is worthy anymore.

 
No Comments

Posted in Blog, Social

 

Agama Khonghucu

03 Aug

Banyak orang yang masih belum tahu kalau sekarang Khonghucu sudah diakui sebagai agama di Indonesia. Khonghucu, sejauh yang telah saya pelajari dari buku atau sumber referensi lainnya berasal dari ajaran Confucianism, yang awalnya diajarkan oleh Confusius atau Kong Fu-Tze atau Kong Futzu (literally artinya Guru Kong). Walaupun berasal dari sumber yang sama dengan ajaran Confucianism di negara lain, ajaran Khonghucu di Indonesia mengalami sedikit perubahan, hal ini (saya pikir) dikarenakan adanya tuntutan untuk memenuhi kualifikasi sebagai suatu bentuk agama di Indonesia.

Definisi Agama menurut ajaran Khonghucu, berdasarkan kitab Zhong Yong agama adalah bimbingan hidup karunia Tian/Tuhan Yang Maha Esa (Tian Shi) agar manusia mampu membina diri hidup didalam Dao atau Jalan Suci, yakni “hidup menegakkan Firman Tian yang mewujud sebagai Watak Sejati, hakikat kemanusiaan”. Hidup beragama berarti hidup beriman kepada Tian dan lurus satya menegakkan firmanNya. Seperti layaknya agama lain, dasar ajaran agama Khonghucu sangat baik :-)

Sishu Wujing ditetapkan sebagai kitab suci agama Khonghucu, yang awalnya merupakan dua kitab yang terpisah, kitab Shishu dan kitab Wujing. Sebenarnya, selain kedua kitab itu masih ada satu kitab lainnya yaitu kitab Xiao Jin, tapi entah kenapa kitab yang terakhir ini tidak begitu populer. Hari raya umat Khonghucu di Indonesia adalah Imlek, sebagian orang menyebutnya “Tahun Baru Cina”, selain itu mereka memiliki beberapa hari besar yaitu hari lahir dan wafatnya Konfusius, hari genta rohani, Chingming, Qing Di Gong dan beberapa lainnya.

Tempat ibadah umat Khonghucu adalah Litang, tapi karena di Indonesia tidak banyak Litang yang bisa ditemukan (saya bahkan belum pernah sekalipun melihat Litang) maka kebanyakan umat Khonghucu menjadikan Kelenteng sebagai tempat ibadah mereka. Nabi mereka, tentu saja, Konfusius, orang yang mendirikan dan menyebarkan ajaran yang hingga kini disebut sebagai Confucianism yang awalnya lebih merupakan sebuah ajaran filsafat daripada agama. Selain itu, Konfusius juga yang membuat kalender Imlek, hasil penataan ulang penanggalan Dinasty Xia sekitar tahun 2200 sebelum masehi.

 
2 Comments

Posted in Info, Religion

 

11th Annual System Administrator Appreciation Day

30 Jul

Happy System Administrator Day everyone. Today is the 11th Anniversary, and I’ve been a System Administrator for almost 9 years! I’m very proud to be a system administrator, an IT engineer. In my entire system administrator career, I have laid hundreds of kilometers of cables, connected hundreds of broadband access points, connecting millions of users using dial-up connection, DSL cable, satellite, fiber optic cable and broadband wireless connection and provided e-mail services, web services and other services to millions of users.

When the server, router or any other problem occurred at night. I’m the one who get called. I got less sleep since the first day I became a system administrator, that is indeed disrupting my mental stability, worsening my BPD. But, I like it. It’s a big self satisfaction to get on an important role in this age of technology.

So, happy anniversary to all system administrators in the world! You can check this following link for more information on this event! http://www.sysadminday.com

 
 

Delusion

28 Jul

Recently I’ve been thinking and analyzing why I often forget something, which sometimes can be a very important thing. I always believe that my brain doesn’t easily forget anything once it has been processed. Now, this is not a scientific excuse, this is only what I’ve realized. I do not forget anything (mostly) but I’m having a difficulty to distinguish imagination from reality. With so many ideas, knowledges, fantasies and dreams inside my brain, now it’s hard for me to decide, to remember which one I really experienced and which one is not.

Knowing how my brain works, I suspect there’s a little failure in my brain everytime It tried to recall whatever happened in the past. Like it is confusedly building a memory blocks with the mixture of real experiences and imaginations. A simple example of the result would be like when I cannot remember what I said to someone in the past, because my brain failed to build a correct memory block and instead, it giving me a corrupted block which say, as example, the one who said that was someone else, but I was also there to listened or it was something written in a book which I also read.

In a worse scenario, I sometimes forgot something I have done. By confusing it with my imaginations, my ideas or even my dreams. Now, I hope this is just because a stress or because I’m too exhausted. For someone like me, short memory loss or failure in building memory block is so uncool.

 
 

Strength

26 Jul

One can never be able to endure everything by oneself. Like someone was once told me, “you don’t have to be strong all the time”. Make sense but yet, not quite relieving. Human was born alone, solely trying to find a way through one’s life which mostly, hostile. Human’s life was never easy, their life is hard while they are not. But they don’t have any other chance do they? endure it, or give up.

Other people will most likely put themselves first. So counting on others, does not count! Human is not a pack animal like hounds, even thou when we see a figure resembling an Alpha Male, we only think we see it. No, we’re a solitary animals. Even the most communist person will think about themselves first, only the law, the rules which force them not to express it.

Even Ubermensch will need other people, even if it merely as a tool to escalate human’s civilization onto the next level. I’m start babbling am I. I knew my brain rapidly change it’s focus everytime I try to focus on one thing. Well, I can’t be smart all the time can I? :-)

 
No Comments

Posted in Blog, Rubbish

 

Human Nature (Yet Still)

23 Jul

I thought human have changed. I was expecting a revolutionary improvement in human civilization, in the way they interact each other, the way they understand each other. I was too naive to believe human has evolved into a higher state of being. I had faith, just to realize that my has idealism blinded me from seeing their true nature, they haven’t changed even for a little.

The world is moving toward the age of nano technology, with every outstanding technologies human possesses, when the blank part of the universe being filled, when they are struggling to see the edge of the universe, most of them still acting like when Jesus killed on his cross, like when Hitler salvaged the christians, like when the americans burnt the negroes. Just like always, human always put themselves first, even when it means destroying other human.

People will do everything to satisfy their needs, even when they loudly and proudly say they are humanist who will never take benefit from others. The biggest stupidity, when they are destroying other people without realizing it, unintentionally. For me seeing this, it makes me to be more difficult to accept God’s existence, when some particular people are still walking on this earth instead of being obliterated by the bolt of lightning.

 
No Comments

Posted in Blog, Social

 

Masalah Pada Bensin Premium

23 Jul

Sejak beberapa minggu terakhir mulai sekitar awal bulan July 2010 banyak mobil yang mogok di jalan raya, dan semuanya mengalami masalah yang sama, kerusakan fuel pump (pompa bensin). Entah kebetulan atau tidak, satu-satunya persamaan diantara mereka adalah semuanya menggunakan bensin premium. Banyak pihak curiga kualitas bensin premium yang buruk menyebabkan kerusakan fuel pump ini.

Pertamina sendiri selaku distributor bensin premium menyatakan bahwa bensin premium sudah standar dengan RON 88 (Road Octane Number) dan mereka dengan yakin kualitas bensin premium tidak berubah. Satu hal yang perlu diperhatikan, Pertamina selalu mengelak dengan mengatakan bensin premium “sudah standar dengan RON 88″. Padahal kerusakan fuel pump tidak disebabkan oleh hal yang berhubungan dengan RON (octane) bahan bakar. Kerusakan fuel pump lebih dikarenakan bensin yang kotor, bukan karena tingkat octane yang rendah.

Bahan bakar yang kotor akan mengakibatkan fuel pump bekerja keras untuk memompa bahan bakar kedalam ruang pembakaran (combustion chamber) karena kotoran yang terkandung dalam bahan bakar akan menyumbat proses pemompaan itu sendiri. jika hal ini dibiarkan, fuel pump akan macet, dan mesin mati total. Kemungkinan hal ini terjadi lebih besar jika kondisi bahan bakar di dalam tanki hampir habis, karena kotoran banyak mengendap di dasar tanki, sehingga volume kotoran yang terhisap oleh fuel pump lebih banyak.

Hal ini membuat khawatir banyak pengguna kendaraan, terutama mobil karena fuel pump mobil lebih rentan terhadap bensin yang kotor daripada motor. Entah apa yang sebenarnya terjadi, apakah karena pemerintah ingin mengurangi penggunaan bensin bersubsidi sehingga pertamina menurunkan kualitas bensin premium, atau Tuhan sedang bad mood sehingga dia membuat ribuan mobil mogok di Jakarta. Tapi yang jelas, sebaiknya pengendara mobil lebih berhati-hati menggunakan bensin, saya sendiri lebih memilih untuk menghindari penggunaan premium, bahkan bensin produksi pertamina dan beralih menggunakan bensin produksi Shell atau Petronas.

 
No Comments

Posted in Blog, Social

 

Changing VMWare VM Mac Address

22 Jul

The ability to change VMWare virtual machine’s Mac address can be helpful sometimes, especially when we want to manually assign it. Here’s the trick.

First, remove these following lines below from your virtual machine configuration file.

1
2
3
ethernet[n].generatedAddress
ethernet[n].addressType
ethernet[n].generatedAddressOffset

Then, insert this single line below

1
ethernet[n].address = 00:50:56:XX:YY:ZZ

You should change example mac address above to any mac address you want, as long as it is a valid hexadecimal format.

 

Reset Mac Back To Setup Assistant

21 Jul

When we want to sell or give our Mac to someone else, it will be helpful if we can just reset the OSX back to setup assistant. So it will go back to the state like the first time we bought it. Here’s the trick.

Enter single user mode, then mount root partition with write access.

1
2
3
$ mount -uw /
$ rm -rf /Library/Preferences
$ rm -rf /Users/username (change username to your existing users)

This is the new one, for leopard and snow leopard

1
2
$ rm /var/db/dslocal/nodes/Default/users/username.plist
$ rm /var/db/.AppleSetupDone

You’re done, reboot your machine and see it will startup to the Setup Assistant. Fresh as new :-)

 
No Comments

Posted in Mac, Tutorial

 

Merubah Database Template PostgreSQL

20 Jul

Jika database template pada PostgreSQL menggunakan SQL_ASCII, saat kita ingin membuat database baru dengan jenis encoding yang lain akan muncul error “new encoding incompatible with the encoding of the template database (SQL_ASCII).”. Untuk memperbaiki masalah ini, kita harus merubah encoding database template itu sendiri menjadi, misalnya UTF8 (Unicode). Encoding SQL_ASCII ini menurut saya tidak berguna karena menurut saya, encoding SQL_ASCII artinya “tidak peduli dengan jenis data dan encoding apapun”.

Cara untuk merubah default encoding, berikut perintah SQL yang harus dijalankan.

Enable connection pada database template0.

1
postgres=# UPDATE pg_database SET datallowconn = TRUE WHERE datname ='template0';

Masuk ke database template0

1
postgres=# \c template0;

Ubah column “datistemplate” pada template1 agar kita bisa menghapusnya.

1
postgres=# UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';

Hapus database template1

1
postgres=# DROP DATABASE template1;

Buat database template1 yang baru dengan encoding Unicode (UTF8).

1
postgres=# create database template1 with template = template0 encoding = 'UTF8';

Set database baru tersebut sebagai database template.

1
postgres=# UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1';

Masuk ke database template1

1
postgres=# \c template1

Disable koneksi ke template0

1
postgres=# UPDATE pg_database SET datallowconn = FALSE WHERE datname = 'template0';

Setelah semua selesai, sekarang kita bisa membuat database baru dengan jenis encoding apapun yang kita inginkan :-)