Skip to main content

Posts

Showing posts from June, 2008

Integer

If you wonder how the wonderful PHP no-explicitly-define-data-type feature against the Java, in context of Webservice. This what you should do: return $returnValue + 0; This also happens if you have an array returned from database and you are 100% sure that it is an Integer (non-string) type. $intValue = $queryResult[0]['id'] + 0; This ensure your return type is always Integer. Well, at least in my case. What a weird hack. Care to show better to return integer not string? I am a noob in PHP! Bah, this language is dificult than C.

about:config

Ampun, Pak... Ampun, Pak, saya gak bakal nakal, kok. :D

OSS4

From Ryo Saeba in ID-Ubuntu forum, [1] I found out that OSS is being actively maintained. 4Front has put OSS back to life, it's now OSS4, currently 4.0 and ongoing 4.1 in Mercurial. [2] Gonna try it later because they said it is better than the ALSA driver which in recent version has the lack of support of HDA-Intel soundcard variants. Fyi, OSS that is deprecated is the OSS 3.8 which is being developed 10 years ago. So, I might give a try of OSS 4.0. Well, may be I would try to compile this one in lunch time, if I have time and not lazy. :D [1] http://groups.google.com/group/id-ubuntu/browse_thread/thread/baabf0544e379a87 [2] http://ge.ubuntuforums.com/showthread.php?t=780961

Estimation is Not A Number

As usual, I dug out Ubuntu Planet and Debian Planet, from the constalation I found great facts. Gene of The ERACC Web Log posted that Fox News responded to his blog entry about the GNU/Linux problem and politely responded to his problem [1]. One of the fact that the Fox guy pointed that most of his developer runs GNU/Linux Ubuntu (Ubuntu). The fact that many corporate have begun migrating to GNU/Linux is way beyond any contemporer data gathering. Long time way to analyze computer Operating System usage is to see the selling of product lines that in the subject. However, because of the way of GNU/Linux distributed, this is a debatable measurement. How many vendors that actually sells PCs with GNU/Linux as a supported OS? Not that much I'm afraid. Even in Indonesia, they sells PCs with FreeDOS, a way to say, "we vendors endorse piracy but we don't want to get involve with it." Even if some of them preloaded with GNU/Linux, who would support it? The driver is all for Wi...

Lagu yang Lagi Terngiang

Lagu yang lagi ada di nomor satu di Ajang Musik JP: Burung Camar terbang melayang jauh tinggi.. [1] ke tempat kau berada. [2] [1] Panduwinata, Vina. Burung Camar. [2] TK, anak. Bintang Kecil.

Not That Kind of Paradox [Comment]

[ATTENTION: POST INI BUKAN BUAT ANAK2, ANAK KECIL DILARANG BACA!] Ini komentar buat postingan Umam yang menarik di "Logika Paradoks" [1] (Habis gak ngerti cara komen di multiply) Apa yang membedakan antara AKKBB, Adnan Buyung, dkk dengan FPI, MUI, dsb ? Adalah yang disebut sebagai plurarisme dan humanisme. Dasar dari plurarisme adalah paham yang terbuka untuk berbagai pikiran. [2] Apakah FPI dkk termasuk dalamnya? Tidak, FPI menentang plurarisme, FPI tidak menerima pemikiran yang berbeda. Maka, FPI dapat digambarkan sebagai suatu gerakan yang mengancam plurarisme. Tentu, dalam plurarisme ada juga gerakan yang menekankan plurarisme itu sendiri. Tetapi saudara-saudara, mari kita melihat lebih lanjut. Masalah di Indonesia, saudara-saudara, bukanlah suatu masalah tentang adanya kelompok yang berbeda. Masalah di Indonesia adalah adanya bentrokan nilai antar suku bangsa, kelompok kultural, dan masyarakat itu sendiri. Tahukah Anda, ada suku di Papua yang masih telanjang dan melihat ...

To Build A Good Security

There is nothing that 100% secure. If people would sell security, they just like selling dead donkey. Even a multi-million dollar item equipped with strong security can easily be broken with common tool. Hmm.. I'm sleepy. Okay people, some other time. (to be continued if time permit and I'm not that lazy). To sum it up, to build a good secure system: 1. Build a good secure social system first, introduce security to the humans. 2. Build a good base code, black boxing each part of the system. 3. Stack up your code and consider of a domain problem. A domain problem is like there is nothing wrong with the modules, but as they integrates, they create holes. 4. Familiarize people with the good security practice and make sure they do the damn thing right! Uhm, just like when you implement a password for entering the secure area, it is important to keep the person whom uses the feature to not use any common, easy to guess phrase. No matter how sophisticated your application, people jus...

A Wishful Wish of A Wonderful Person

Wish for someone who would see me Wish for someone who come to this dark room Wish for someone who would not scold to me Wish for someone who want to see the imperfect me Wish for someone who would not yell at my mistake Wish for someone who take my hand Wish for someone who would bleed to broke the door Wish for someone who would accept my mistake Wish for someone who would make me smile Wish for someone who would take me from that dark room. Wish... that person would come. A room where I just wait and see looking at the guy who have my body. Hey, look, there is this guy in that side of mirror, but he isn't me. I'm just here, stood on the dark room at the very bottom of inner me. Just sit and watch. Yeah, I think there would be no one would find me. This very wall that should protect me is covering me from being found out. Instead, it only give me the chill and when I think of it, I just want to be found. This brick of self defense, the scar from broken trust, the animal sense...

Pengumuman UMB

Bisa dilihat di sini: http://hasil.spmb.or.id/ Hmm.. skrip Iang emang cesplong. Gampang skali setingnya. Buat yang ngincer UI dan pengen interface yang lebih bagus, silahkan liat ke: http://penerimaan.ui.edu/ Buat kaka2 yang nakal: Coy, itu website pendidikan, gak ada target laen apa? Pls lah dukung pendidikan di Indonesia. All for the glory of the Indonesia.

The Way We Search

Once upon a time, there was a happy single man. He was graduated from a famous university, having a fun job, and favorable among his family. But the family realized something and came to asked this man. JP (not a true name), the poor man, faced the question with his deeper knowledge. Family: Are you still single? JP: Yes, and I'm perfectly fine with it. Family: Why don't you find a girlfriend? JP: ... Family: Are you unable to find a girl? JP: Hmm.. what do you mean? Family: Let us find you a girlfriend, how 'bout that? JP: Alright, alright, I can find one. In fact, let me search one right now. JP: There you have: Results 1 - 10 of about 96,800,000 for girlfriend [definition]. (0.34 seconds -- google search.

A Stripped Enjoyment

When you are not an administrator, a connection speed is a matter. You would do anything to get the precious bandwith. But, now you are an admin and you can download how much you can and nobody will stop you. Bah, no entertainment in there anymore. So, you are no longer a download freak and you, yes the very you, have turned into a honest downloader. Some part of you died. :D

Overquota Problem

When user having over quota and the grace period is over, they cannot delete the email. This simply because when they delete the email, the webmail email client simply copy the message and move it into the Trash after that delete the original message. There, because of the webmail tries to copy the message, it failed. Workaround: Ask your administrator, or THE MOST PREFERABLE to set your webmail to delete the message without going to Trash. [1] http://help.ncsu.edu/solutions/all/2918.php [2] http://ucis.dal.ca/helpdesk/faq/imap_over_quota.html

You Got The Wrong Point Here (cont'd)

#3 The Evolving World Yeah, today's theme is evolving. :P Theodore Ts'o of DD, [1] writes up about the wrong communication approach of senior engineers of Nokia by telling the opensource developer to see DRM from different perspective. Yeah, its a trolling incident, got hit by slashdot and ZDNet. But, in the end the man said that he is not a teacher but a learner. As the world evolve, clash will be there and Nokia as a device vendor live in a world where open standards has only been introduced these past years. Relatively young, they will learn how to behave. The success story of collaboration of device technology is the AMD64 of AMD and the ASUS EEE-PC which undoubtedly have become two majors. Another note from AMD, after its success of AMD64 because of the back up of FOSS kernel (Linux etc.) making them step forward by FOSS-ing the ATi cards. Collaborating with other companies in a community may seems alien by some companies and they need to fit in. But, when the time comes t...

The Evolving Heart

When the generation of 2000 reformed the way of treating new students (2002 generation) into democratic way, there a lot of questions arouse. Some people had difficult time to accept it, some became reluctant, and some minor refused. Because of the reformation, we the 2002 generations having a lot of gap at the time with some of the seniors. Some postings reflected of the dislike of the new young minds and the record of the first generation that had significant percentage of people that not going into the Inauguration Night (or MK: Malam Kekerabatan). But, thanks to the preassure, we did somehow have tigher bonds between us, the 2002 generation. Was that the 2000 generation fault of having reformation? No. The 2000 generation had put the best bet. At the time, it was the first year Universitas Indonesia having collaboration betweens faculties in PDPT program (I don't remember what it's stand for). The 2002 students from Computer Science, Psychology, and Nursing are having the s...

A Lustful Mind

Reflection after reading Golden Boy. A sincere act is something that the world will never trust. They would consider that is an act of an idiot. To eat or to be eaten, they said. Nothing good will come from sincerity but to have yourself played as a toy by others whom receiving your sincerity. What you achieve in the end just fist against the wind. Lust, on the contrary, is the basic need of man, so they said. Lust is the desire to own something. This desire affect motivation and spread some fire into your soul. Lust is the desire to gain something: power, money, sex, security, etc. With lust, people are able to walk with their mind and set their path toward goal. Lust, however, comes with a great impact: it makes people fall for temptations. Temptation to be rich, temptation to have glory, and temptation to have sex. To bribe, to kill, to rape, to raid, to rage, to berserk. In the end, people with lust is someone no one. The person have gone and the body is a puppet for purpose. The l...

You Got The Wrong Point Here

Because the Free / Open Source Software (FOSS) is free, doesn't even means that you have the right to butt in and judge all wrongly by accusing FOSS is not even worth it. There are some times where random trolls would come and flaming by make a harsh judgment of FOSS. Any developer with so much high in coding would get bait and strikes back. It is natural to do so in the way they devote hours of working. I mean, come on, it's like someone come and mess you up in a monday evening. But, actually there is something that we need to clarify about FOSS: It is not just about the software, it is a philosophy. At the time of 2002~2003, I've decided to move and support my interest to FOSS is simply because of its value and merit that make FOSS is an ideal way to educate people. For the sake of simple reader, I would like to make a short list of values to be consider when thinking of FOSS. #1 Knowledge is not Free Something that would come in mind when thinking about intellectual prop...

The Shifting World X!

As we know, the most developed chipset is the GPU chipset! It evolves from a co-processor into having its own subsystem. They are far more advanced than the x86 chipset development. The x86 chipset have stalled many years ago and only have minor development (multi cores, extra instructions, but no revolution). While for the GPU, it has been evolve amazingly. Now, the problem with this is the world of X11. X11 is a wonderful project born from MIT. They are fairly stable and have lasted for centuries. It was said that technology from 20 years ago would still run on today's X11 platform. It has a backward compability and amazingly very stable. It lasted until David R. of former XFree86 developer (now in X.org) showed a new ability called compositing in his own version X11 called Xgl which created a new stack for compositing. The idea also considered obsolete since the Xorg team produce a new approach: AIGLX extension. It was cleaner than the first but it brought another problem which ...

Notes About JNI

Note #0: How to create JNI: public class AJNIClass { static { System.load("myLib.so"); } private native static void aMethod (int aParam, String aParamToo, byte[] yetAnotherParam); } Note #1: There are two ways of loading native library: Using "System.load". This is like loading a file.  Using "System.loadLibrary". This is like asking JVM loader to search in system path the right library. Example: System.loadLibrary("SMJava"); will try to load libSMJava.so in *nix or SMJava.dll in Windoze. Note #2: How to create JNI Code: # javac AJNIClass.java # javah AJNIClass It will generate a header. Implement it and compile the arbitary library. Voila! Your program will start to run (of course with bug included). Note #3: A pointer in C/C++ is an integer long in the Java. So, you can save pointers in Java. Java will prevent its Garbage Collector from erasing the memory where the data inhabitate. So, be sure to free the memory after using it. Note #4: Peop...

Siapa Bermain Api?

http://www.detiknews.com/index.php/detik.read/tahun/2008/bulan/06/tgl/02/time/150248/idnews/949007/idkanal/10 Ini adalah komentar paling tidak bertanggung jawab yang saya pernah dengar. Siapa yang bermain api? Apakah AKK-BB ataukah FPI? AKK-BB sedang mengusungkan sebuah tema yang menjadi dasar negara ini: Bhinneka Tunggal Ika! Apakah menyatakan nilai nasionalitas adalah sikap yang tidak terpuji? Siapa yang sedang bermain api? Apakah peran pemerintah sudah tidak berguna lagi sehingga Ormas memiliki privilege untuk menggunakan kekerasan? Apakah setiap orang tidak berhak bersuara di negeri ini? Asal tahu saja, ada rasa takut yang timbul dari kaum non-mayoritas tentang keselamatan hidupnya, setidaknya itu yang saya rasakan. Ada ketakutan akan hari esok di mana sewaktu-waktu orang akan datang dan membakar tempat-tempat ibadah non-mayoritas. Setidaknya itu yang saya rasakan semenjak kasus Situbondo yang tak pernah diusut tuntas. Rasa takut itu juga menyebabkan saya mempertimbangkan untuk men...

Kebebasan Beragama dan Kebebasan Berekspresi

Ada perbedaan antara hak dan kewajiban. Hak seseorang dibatasi oleh hak orang lain. Seberapa besar garis yang ditarik seharusnya berimbang. Satu hal yang diingat, dunia seperti dadu yang berputar dan kita semua masing-masing sedang memasang taruhan pada nomor-nomor yang akan keluar. Semuanya menantikan dadu berhenti dan memunculkan nomor kemenangan. Setiap orang mengeluarkan ilmu eksaktanya dengan mengatakan bahwa pasti positif nomor yang dia taruhkan akan keluar. Ada yang memasang rantai Markov, adanya berusaha menggunakan sebaran Poison, bahkan menggunakan perhitungan Bayesian. Beberapa orang spesial berusaha mengemulasikan bentuk dadu dan menghitung friksi yang terjadi dan memodelkan matematika sehingga menggunakan pendekatan untuk menghitung kapan dadu akan berhenti berputar. Ada juga yang berusaha menjadi oportunis dengan bertaruh pada nomor tertentu tanpa perhitungan apa pun. Yang pasti, semua harus memasang pada suatu angka. Di tengah-tengah perjudian ini, kemudian ada segelinti...