Semantic Thoughts on Model, View, Controller (MVC)

Semantic Web is a technology family (or, a disparate set of sometimes non-related technologies) that allows computing applications to understand each other. It has the potential of transforming the way we do computing in the very near future… and power to make software developers’ lives easier.

I’ve been having lots of random thoughts about how to connect independent apps to work, talk, and walk together. Several components need to be identified. I call them Actors, Messages, and Translators.

Actors are objects that can perform actions, in the traditional OO sense it has state and behavior. In Java EE or SOA they might be called stateless or stateful session beans. We can consider a web browser and a web server both are actors. The model, view, and controller in an MVC app are all actors.

To communicate with other actors, one sends a Message to each other. Traditional messages don’t have any behavior, and I’d rather think not (at least for the moment). Messages are basically data, but to be useful as “information”, it has to have content, and language. Examples of “languages” in this sense are Atom and RDF.

It can also have a message header, message envelope, or metadata, or a schema. However, I don’t consider those as “language”, because languages are identifiable, and can be inferred from message content (with some effort), while a metadata is usually not. For example, given an document, a script can be written to determine if it’s in Atom format. However, given a message body, it’d be though to determine its title or creation date if it’s not inscribed the message itself (somewhere).

Metadata, headers, and schemas also have languages. Therefore, actors need to understand these languages (as well) in order to process a document/message. In addition, languages themselves need to be know, not necessarily understood. A bit like saying, “I know you’re talking in Turkish, but I can’t understand what you’re saying. But at least I know you use Turkish.” Getting an actor to know what language a message is made of is a useful thing, as we’ll see later. A kind of universal language identifier is MIME types. If it can be inscribed somewhere of inferred in the message, the actor will at least know the next step of interpreting the message; if not, then it’d be much tougher.

Someone that can make two actors communicate in different languages is needed, Translator. They take a message from one actor, does whatever it takes to get the other party to understand this message. An example of a translator in the computing world is Mule, Apache Synapse, and OpenESB.

Actors need to agree upon use of translators, at least one of the parties and preferably both parties. Security is paramount when using translators. Messages may or may not be translated in full to translators. Partial translation shall be possible, i.e. translating parts of a message that the actor doesn’t understand, but not the entire message.

Translator may also gain non-repudiation privileges, and may perform limited set of actions on behalf of the requesting actor. Think of it as your lawyer.

Overall, some kind of cryptosystem is needed between the actors and translators. Otherwise, this kind of distributed knowledge architecture has lots of security holes of varying severities.

So, where do we start?

Like this article? Please share this article with others:

NVidia NForce 610i / GeForce 7050 in Ubuntu Gutsy 7.10

We recently upgraded a server from a Jetway P4M9AP motherboard to a Zotac N73V-AC7V, which is actually very good… except that they (the motherboard, NForce 610i chipset, NVidia GeForce 7050 integrated graphics adapter/VGA, sound) doesn’t work out of the box with our Ubuntu Gutsy 7.10.

Fortunately, there is a solution: nForce 610i : audio and nVidia graphic drivers How-to, that actually works. Now we’ve got screamingly fast display (although we rarely use it… it’s a server anyway) and a working sound card.

Here’s and HOW-TO make work audio, video proprietary drivers for the motherboard GA-73VM-S2 that has nforce 610i chipet with GeForce 7050 graphic card. Maybe this will work for other motherboards that has nforce 610i.


First, with the fresh install of download ubuntu 7.10, the audio did not work. I made all the updates of ubuntu over internet and after I did the code proposed by Temüjin :


sudo update-pciids

I also ran the scripts proposed by Temüjin:…4&postcount=24
I’m not sure what of these did fix my audio but know it works!


After that, I had a problem to set the native resolution. I have a wide screen monitor that runs with 1440×900 but with the vesa graphic driver, when I tried to set to 1440×900, it did not work. When I tried to install the restricted driver with the graphical utility in System/Administration/Restricted Drivers Manager the display manager did not work. So here’s how to make nVidia drivers work :

First uninstall the nVidia drivers provided by the Restricted Drivers Manager.

After go to Select Linux IA32 latest version if you have 32bits distribution or AMD64 if you have ubuntu AMD64. Download and save it on your desktop.

Go where you saved the file and right click on it, select propreties. Go into permissions and mark the box “Allow executing file as a program”.

Now you have to close your display manager. Close all you programs, log out and press ctrl+alt+F1. You will enter in a console that is not on the display manager. Log with your normal user and password.

First close your display manager. Type :


killall gdm

replace gdm by kdm for KDE display manager.

Go to the directory where you saved the nVidia driver for linux. Type :


cd Desktop

and then


sudo sh

verify the version that is written. If the version is different, change it on the command above. To see the files you have in the directory you are, type “dir”.

Now follow the step by step installer. At the end it is asked if you want to configure your xorg.conf. Say yes, this will select the nvidia driver. Now nVidia driver is installed!

When you return to the console type:


sudo gdm

You should see the nVidia logo before the login screen.


NOTE: the new nVidia drivers from their web site were uploaded by nVidia on the February 26, 2008.

There is also a detailed thread, nForce 610i chipset not supported, about this issue, and a Ubuntu bug report: NVIDIA GeForce 7050 onboard VGA on nForce 610i unsupported.

Like this article? Please share this article with others:

Web Hosting Sources Site

Sponsored review: provides you with lots of valuable information related to web hosting on the Internet.

You can compare and select from several web hosting categories. Information about the most well known and most used web hosting providers, web hosting services and web hosting tools in the industry is provided. They human-edit every web hosting provider, web hosting service and web hosting tool description in the directory.

Some of the resources provided are:

You will find a huge alphabetical list of web hosting providers, services and tools. And if you can’t find  enough web hosting offers for you to make a decision, you can also try ‘More Offers’ at the bottom of every web hosting directory category.

Web Hosting Sources Directory is human-edited and alphabetical to ensure that every web hosting provider, service and tool listed there has an accurate and impartial description as possible. Every Web Hosting category has been created to highlight the web hosting provider strengths in that category. Their slogan is “Get GREAT Web Hosting offers in three clicks or LESS!”.

It’s worthwhile to research all your web hosting provider choices before you purchase a long term web hosting plan. That’s the best way to save money on web hosting services and tools. Visit to decide which web hosting provider offers the best web hosting services, tools and features at the price you want.

Like this article? Please share this article with others:

KDE 4.0 Newly Released!

KDE 4.0 contains lots of applications for every day use as well as for specific purposes and is an innovative Free Software desktop, which is usually dubbed as the biggest competitor of GNOME Desktop Environment. Plasma, the new desktop shell developed for KDE 4, provides an intuitive user interface to interact with the desktop and applications. Konqueror is a usable web browser which integrates the web with the desktop. It has the new Dolphin file manager (replaces previous Konqueror in KDE 3), the Okular document reader (to read Adobe Acrobat/PDF files as well as many other file types) and the System Settings control center to complete the basic desktop set.

The KDE Libraries on which KDE is built on, provide easy access to resources on the network by means of KIO and advanced visual capabilities through Qt4. Other parts of the KDE Libraries, such as Phonon and Solid, add a multimedia framework (sound, video, DVD/movie playback, etc.) and better hardware integration to all KDE applications.

Having been on development for a very long time (can’t remember how long!), much to my surprise (or unknowing), KDE 4.0 has been released:

The KDE 4 Libraries have seen major improvements in almost all areas. The Phonon multimedia framework provides platform independent multimedia support to all KDE applications, the Solid hardware integration framework makes interacting with (removable) devices easier and provides tools for better power management.

The KDE 4 Desktop has gained some major new capabilities. The Plasma desktop shell offers a new desktop interface, including panel, menu and widgets on the desktop as well as a dashboard function. KWin, the KDE Window manager, now supports advanced graphical effects to ease interaction with your windows.

Lots of KDE Applications have seen improvements as well. Visual updates through vector-based artwork, changes in the underlying libraries, user interface enhancements, new features, even new applications — you name it, KDE 4.0 has it. Okular, the new document viewer and Dolphin, the new file manager are only two applications that leverage KDE 4.0’s new technologies.

The Oxygen Artwork team provides a breath of fresh air on the desktop. Nearly all the user-visible parts of the KDE desktop and applications have been given a facelift. Beauty and consistency are two of the basic concepts behind Oxygen.

Check out the cool KDE 4.0 screenshots:

I’m not sure if I’m overly impressed with the default theme especially the visual style of desktop controls (Hint: I’m not), however I’m sure there’d be more beautiful KDE 4 themes sprouting up in (hopefully) not very long time.

Sources and interesting stuff related to KDE 4.0 final release announcement:

Like this article? Please share this article with others:

Citibank Class Action Lawsuit, Bunga, Meterai, dan Tol

Baru-baru ini saya jadi tertarik mengikuti perkembangan tuntutan Class Action kepada Citibank yang diajukan oleh Bapak Jojo Rahardjo mengenai besar tagihan kartu kredit Citibank yang “nggak beres.”

Saya sendiri adalah pemegang kartu kredit BCA Card dan BCA VISA yang relatif puas dengan layanannya, yang alhamdulillaah belum pernah kena bunga kartu kredit (semoga nggak perlu dicoba).

Beberapa cuplikan masalahnya: (saya nggak me-rephrase karena takut salah tulis)

Intinya adalah tidak ada yang salah dengan formula perhitungan bunga setiap transaksi pada tagihan saya. Melalui telpon itu Pak Hari berjanji akan mem-fax penjelasan formula perhitungan bunga yang menurut saya tidak perlu di-fax, karena sudah dikirimkan melalui fax kepada saya sebelumnya dan sudah saya mengerti.

Namun sebagaimana yang saya tanyakan dalam 4 email terakhir saya adalah “mengapa saya dikenakan biaya pembayaran kartu dan meterai (3x Rp 5.000,- dan Rp 6.000) 2 (DUA) KALI DALAM SATU PENAGIHAN” ??? Silahkan lihat email-email yang saya kirimkan dan Citibank kirimkan ke saya.

Saya kira, pertanyaan saya cukup mudah dimengerti, kecuali jika pertanyaan itu dibaca tanpa mengikuti konteksnya. Jika pertanyaan saya terlalu sulit dimengerti oleh Citibank, mungkin pertanyaan di bawah ini yang sudah saya permudah bisa dimengerti:

Mengapa biaya pembayaran kartu (3 X Rp5.000) dan meterai (Rp6.000) yang sudah dikenakan kepada saya pada rincian transaksi, juga ditagih lagi di kolom “Bunga dan Biaya Administrasi dengan menambahkannya ke angka 188.106 sehingga menjadi 209.106” ?

Saya tebali tulisan tersebut karena di situlah letak inti permasalahannya, yang sepertinya pihak Citibank kurang teliti (atau pura-pura kurang teliti) melihatnya, seperti terlihat dari balasan e-mail dari Citibank sebelumnya: (iya, sebelumnya, karena setelah itu –at her time of writing– belum ada balasan lagi oleh Citibank)

Date: Fri, 2 Feb 2007 14:52:12 +0800 (SGT)
From: “Citibank Indonesia”
To: “Lisa XXXX” , “Lisa XXXX”
Subject: Re: Fwd: Re: contact us (KMM223329I32473L0KM)

Ibu Lisa XXXX yang terhormat,

Terima kasih telah menghubungi kami melalui e-mail.

Seuai dengan pertanyaan Ibu, kami sampaikan kembali sebagai beikut :
1. Setiap pembayaran lewat ATM BCA akan dikenakan biaya layanan sebesar
Rp 5.000,- . Biaya tersebut terlihat pada lembar tagihan bulan Oktober
2006 pada tanggal 18 September, 22 September dan 9 okrtober 2006
sehingga diperoleh nilai Rp 15.000,- (3 x Rp 5.000,-)

2. Bea meterai luanas sebesar Rp 6.000,- akan dikenakan untuk setiap
pembayaran kartu kredit dengan jumlah di atas Rp 1.000.000,-.

Demikian penjelasan kami. Apabila masih ada hal-hal yang ingin
ditanyakan, kami mohon agar Ibu dapat menghubungi pula Layanan 24Jam
Citiphone Banking kami di nomor 021-2529999 atau 69999 (melalui
ponsel, tanpa kode area dan berlaku nasional).

Atas perhatian dan kerja samanya, sekali lagi kami ucapkan terima

Hormat kami,
Citibank Indonesia

Belum lagi, bayar kartu kredit dikenakan bunga!

Sedangkan Pembayaran atau penyetoran ke Citibank (yang seharusnya bukan transaksi atau bukan berhutang) juga dikenakan bunga. Demikian juga dengan Biaya Pembayarannya yang melalui ATM BCA sebesar Rp5.000. Sehingga ketika pemegang KK membayar sebesar Rp2.000.000 pada tanggal 18 September 2006, maka ia dikenakan beban Rp5.000 ditambah bunga dua komponen tersebut (Pembayaran dan Biaya Pembayarannya), yaitu Rp65.333 dan Rp163. Total dari dua bunga ini adalah Rp65.497 atau 3% dari Pembayaran yang Rp2.000.000 itu.

Pembebanan bunga terhadap Pembayaran ini amat menguntungkan Citibank, karena selain mendapatkan bunga dari Transaksi dan Pengambilan Tunai, ternyata Citibank juga bisa mendapatkan bunga dari setiap Pembayaran. Meski ini mungkin sudah dilakukan sejak lama dan menjadi soal yang “wajar”, namun pemegang KK merasa tertipu karena tidak ada pemberitahuan secara tertulis bahwa Pembayaran juga dikenakan bunga.

Berikut penjelasan yang diteruskan oleh BPSK:

Bambang Sumantri | Selasa, 19 Juni 2007

Masyarakat Konsumen Yth,

Sidang kasus Pak JOJO.R dan CITYBANK telah berlangsung dengan baik dan pak Jojo telah mendapatkan penjelasan tentang perhitungan bunga secara gamblang dan jelas yang ditayangkan lewat in Focus di depan majelis BPSK.

Ternyata pembayaran kepada City bank tidak dikenakan bunga, tetapi mengurangi bunga yang dibebankan pada pemegang KK di bulan berikutnya.

Penjelasan ini kami buat agar masyarakat pembaca Media Konsumen maklum adanya, mengingat telah banyak komentar yang masuk tentang kasus pak Jojo.

BPSK harus berlaku adil baik untuk Konsumen maupun Pelaku Usaha.

Demikian dan terima kasih atas perhatiannya

Pak Jojo sendiri menerima sebagai berikut: (sayangnya, saya sendiri masih kurang jelas bagaimana yang dimaksud dengan “penjelasan rinci tentang cara perhitungan bunga” terutama Citibank)

Beberapa catatan penting yang harus saya sampaikan kepada masyarakat konsumen KK adalah sebagai berikut.

– Proses gugatan melalui BPSK adalah dimulai dari pertengahan Maret 2007 hingga pertengahan bulan Juni ini, yang berarti memakan waktu kira-kira 3 bulan lamanya.

– Persidangan hanya berlangsung dari pukul 10:00 hingga 11:00.

– Citibank telah menjelaskan kepada saya mengenai perhitungan bunga tagihan saya bulan Oktober 2006 (hanya bulan itu) yang menurut saya sebelumnya tidak jelas dan merugikan saya. Penjelasan itu pada saat persidangan saya terima.

– Keluhan tentang kenyamanan konsumen sebagai masukan tambahan bagi pelaku usaha masih akan dibicarakan lagi di luar sidang sebagaimana disampaikan oleh anggota majelis BPSK di dalam sidang.

– Penjelasan rinci tentang cara perhitungan bunga memang sebuah soal yang Citibank atau penerbit KK pada umumnya hanya mau menjelaskan tidak secara terbuka atau hanya secara khusus dan hanya jika diminta oleh konsumennya. Cara perhitungan bunga itu memang rumit untuk dimengerti bagi saya yang awam dan mungkin juga bagi kebanyakan konsumen lainnya.

– Khusus mengenai cara perhitungan bunga, penerbit KK sudah seharusnya membuat atau mencantumkan penjelasan yang mudah dimengerti konsumen di dalam agreement ketika konsumen menerima KK dari sebuah penerbit KK.

– Saya masih tidak mengerti pada satu soal penting, yaitu mengapa saya tidak merasa puas atas kualitas pelayanan Citibank pada saat saya meminta penjelasan perhitungan bunga, termasuk ketika saya persoalkan di media. Bahkan soal ini tidak perlu ke BPSK jika Citibank tanggap dalam memuaskan konsumennya. Padahal itu bisa menjadi bagian dari proses edukasi kepada konsumen Citibank atau dalam kerangka untuk memenuhi hak konsumen atas informasi dan layanan sebagaimana di dalam UU Perlindungan Konsumen 8/1999:

• Pasal 4a: hak atas kenyamanan, keamanan dan keselamatan dalam mengkonsurnsi barang dan/atau jasa.

• Pasal 4c: hak atas informasi yang benar, jelas, dan jujur mengenai kondisi dan jaminan barang dan/atau jasa.

• Pasal 4d: hak untuk didengar pendapat dan keluhannya atas barang dan / atau jasa yang digunakan.

• Pasal 4g: hak untuk diperlakukan atau dilayani secara benar dan jujur serta tidak diskriminatif.

– Masyarakat konsumen perlu mendorong pemerintah dan penerbit KK untuk lebih memperhatikan dasar pertimbangan UU PK ayat d: yaitu untuk meningkatkan harkat dan martabat konsumen perlu meningkatkan kesadaran, pengetahuan, kepedulian, kemampuan dan kemandirian konsumen untuk melindungi dirinya serta menumbuhkembangkan sikap pelaku usaha yang bertanggungjawab.

Nah, tambah keren lagi, materai pun jadi masalah:

Berdasarkan pada PPRI no 24/2000 dan SE Dirjen Pajak no 13/2001 itu, Pak Hagus berpendapat bahwa pemegang KK tidak diwajibkan untuk membayar bea meterai itu. Jika bukan pemegang KK yang diwajibkan untuk membayar bea meterai itu, maka tentu pembuat dokumen yang mendapat kewajiban itu. Oleh karena itu Pak Hagus mengajukan keberatan dan meminta pengembalian bea meterai itu yang sudah dikenakan sejak tahun 2000 itu. Keberatan itu diajukan dan dilakukan berulang-kali hingga membuat Pak Hagus kesal dan merasa amat tidak nyaman, meski pun akhirnya Citibank mulai mengembalikan sebagian kecil dari bea meterai yang telah ditagih Citibank pada periode bulan Juni 2005 hingga Oktober 2006. Itu pun Citibank tidak mengembalikan semua bea meterai yang sudah dibebankan kepada Pak Hagus. Bahkan Citibank telah secara sepihak memberikan laporan kepada Bank Indonesia, bahwa Pak Hagus memiliki tunggakan kepada Citibank sebesar sekian juta. Namun anehnya, Citibank tidak pernah menagih apalagi mengejar Pak Hagus untuk mendapatkan tunggakan itu.

Banyak ekses yang timbul atau terjadi dari proses pengajuan keberatan bea meterai yang dilakukan oleh Pak Hagus ini. Satu yang menonjol dan amat mengganggu rasa nyaman Pak Hagus adalah Citibank pernah menggunakan cara-cara yang menyinggung sara, yaitu Citibank pernah mempertanyakan apa agama Pak Hagus? Apakah Pak Hagus Muslim atau Nasrani? Rekaman pembicaraan itu masih disimpan oleh Pak Hagus. Karena Pak Hagus tidak menjawab pertanyaan Citibank itu, maka tidak diketahui apakah maksud dari pertanyaan itu. Apakah jika Pak Hagus menjawab bahwa ia menganut salah satu agama, itu akan mempengaruhi kualitas atau bentuk respon Citibank terhadap Pak Hagus? Meski didesak terus tentang maksud dari pertanyaan itu, Citibank hingga kini (pertemuan di Citibank Tower, 14 September) menolak menjawabnya. Cepat atau lambat, Pak Hagus akan memperkarakannya melalui jalur hukum.

Lebih kerennya lagi, ternyata Citibank sudah mau “mengakui kesalahannya” bahkan membayari alias mengembalikan “uang tilep” ini kepada salah satu penggugat yaitu Bapak Hagus:

Rekan2 Yth,saya ingin memberikan gambaran fakta dan bukti secara defakto bahwa Citibank selama beberapa bulan mengembalikan bea meterai(Koreksi Bea Meterai/KBM),denda(Late Charges reversal/LCR) dan bunga(Interest Adjustment Reversal/IA dan Finance Charges Reversal/FCR) yang timbul akibat komplain saya soal pengenaan meterai yang illegal,berikut ini lengkapnya,Kartu Visa:15/10/06 FCR 141.672, 14/9/06 FCR 396.934, 16/7/06 FCR 58.624 dan KBM 6.000, 14/5/06 FCR 53.169, 16/4/06 FCR 109.075 dan KBM 6.000, 14/3/06 FCR 316.852 dan KBM 36.000, 14/9/05 FCR 58.836 dan IAR 6.336, 14/7/05 FCR 159.655, 14/6/05 FCR 736.845,total reversal/pengembalian Rp 2.085.998,-. Kartu Master, 27/9/06 FCR 154.442 dan LCR 100.000, 27/8/06 FCR 197.861, 29/1/06 IAR 99.061, 27/9/05 FCR 282.398 dan LCR 50.000,total reversal/pengembalian Rp 883.762,-.Jadi total keseluruhan Reversal /Pnegembalian/Pengkreditan kartu Visa dan Master sebesar Rp 2.969.760,-.Artinya apa,ini berarti pengakuan secara defakto bahwa pengenaan bea meterai memang kewajiban Citibank dan bukan kewajiban pemegang kk.Sayangnya yang komplain dan keberatan atas bea meterai hanya saya seorang,sehingga Citibank lama2 mungkin sadar,kalau yang lain2nya ikut komplain dan keberatan,berapa banyak dana yang harus dikembalikan.Mari kita hitung,kalau nasabahnya 1.000.000 x Rp. 3.000.000,- berarti Rp,- / 3 Trilliun. Bayangkan rekan2 Rp 3 Trilliun lho uang yang harus dikembalikan citibank pada kita semua.Sayangnya hanya saya yang komplain dan keberatan sehingga hanya saya yang mendapatkan pengembalian Rp.3.000.000,-.Itupun belum pengembalian seluruhnya.Jadi mari kita ramai2 menuntut pengembalian bea meterai,kalau Citibank tidak mau,tutup aja kartu kreditnya ,pasti Citibank akan mengembalikan meterai seluruhnya ketimbang kehilangan pelanggan seluruhnya.Faktanya bea meterai adalah kewajiban citibank dan bukan kewajiban kita.Betuuuuuuuuuuuuuuulllll,hayooooooo ramai2 minta pengembalian meterai pada Citibank.

Salam, Hagus.

Tentu saja, hal ini bisa jadi “merugikan” Citibank nantinya:

Jojo Rahardjo | Rabu, 05 September 2007

Saya menghimbau pada para pemegang KK Citibank atau yang pernah menjadi pemegang KK Citibank, agar bergabung bersama saya dan Pak Hagus di sebuah milis yang ditujukan sebagai media komunikasi untuk melakukan class action.

Sebagaimana sudah dijelaskan berulang-ulang oleh Pak Hagus, Citibank telah mengembalikan biaya meterai yang dikenakan pada tagihan Pak Hagus setelah Pak Hagus mempertanyakannya. Anehnya, mengapa hanya Pak Hagus saja yang dikembalikan biaya meterainya? Mengapa tidak pemegang KK lainnya? Jika biaya meterai ini adalah sebuah modus pencurian yang dilakukan Citibank, maka jumlah yang dicuri dari pemegang KK tentu amat fantastis. Oleh karena itu diperlukan sebuah class action agar uang ini dikembalikan kepada pemilik yang sah.

Secara saya pengen daftar Citibank credit card, jadi ragu gara-gara ada tulisan ini.

Sekaligus, saya salut banget buat Pak Jojo Rahardjo beserta istri (Lisa), Pak Hagus, Bu Victoria Loedovica, Bu Kenti, dan rekan-rekan lain yang berjuang membela konsumen dan keadilan.

Informasi lebih lanjut bisa didapatkan di alamat-alamat berikut:

Like this article? Please share this article with others:

How to Print or Make PDF Files in Ubuntu/Linux

No paper needed if you have PDF!

Ever wonder how to create PDF files from your documents or the web pages you visit?

It’s very easy if you use Ubuntu!

Considering the success of my previous post about wireless-ing your ADSL internet connection, I guess it’s good to show you how to make PDF files easily with Ubuntu.

In short, go to your Ubuntu terminal then execute:

sudo aptitude install cups-pdf
sudo aa-complain cupsd

Then you can go to System menu, Administration, Printing and add a New Printer, pick the PDF driver. And you’re set!

Linux Printing PDF

You can print a test page or anything using your newly installed PDF printer. Your PDF files will be saved in the PDF folder inside your home folder (so it will be named with something like /home/salsabeela/PDF/somefile.pdf).

The sudo aa-complain cupsd command is very important: it avoids AppArmor restrictions for cupsd / cupsys (the printer server application in Linux). I recently stumbled across this problem myself, because my Ubuntu Gutsy laptop can create PDF files, but my Ubuntu desktop computer can’t. Example error messages that you may get (see your /var/log/cups/error_log and/or /var/log/cups/cups-pdf_log):

E [28/Jan/2008:22:17:32 +0700] cupsdAuthorize: Local authentication certificate not found!
Mon Jan 28 20:56:17 2008 [ERROR] failed to create directory (/home/ceefour/PDF)
Mon Jan 28 20:56:17 2008 [ERROR] failed to create user output directory (/home/ceefour/PDF)
Mon Jan 28 20:58:21 2008 [ERROR] failed to set file mode for PDF file (non fatal) (/home/ceefour/PDF/PPR_Test_Page.pdf)

Weird, but the quick solution is what I’ve described above.

PS: …which makes me wanna create a socially networked HowTo site. 😉

Like this article? Please share this article with others:

How to Make Your Own Broadband WiFi Hotspot

Go wireless!

Creating your own TelkomSpeedy / ADSL Broadband WiFi Hotspot is actually pretty easy. Why go Ethernet wired if you can go 802.11g wireless? 😉

Mungkin ada teman-teman yang kepingin tau gimana cara membuat Hotspot WiFi menggunakan akses ADSL Broadband misalnya TelkomSpeedy. So, let’s get on with it…

What you will need:

First, you need to connect the Ethernet cable from your ADSL modem to the WAN port of the WiFi broadband router.

Now, login to your WiFi router.

And configure your router as follows:

Linksys WRT54GL control panel small

Now, click Save Settings and enjoy!

Thanks a lot to segores tinta kupu ungu for posting “Bikin internet wi-fi area SOHO ? Akhirnya bisa juga,, alhamdulillah” that inspired me to write this article! 🙂

PS: Make sure to configure wireless security settings in your WiFi router. You don’t want anyone messing around with your wireless network!

Like this article? Please share this article with others:

Intuitively Probabilistic Programmer [wannabe]

thinking and drooling

You know what, I get the feeling that I’m somehow “destined” to be a “probabilistic guy”

(it has a spiritual touch)

A few minutes ago I was thinking that “IT” is simply about reducing ambiguity. which is basically increasing specificity. Problem is, the world is inherently uncertain.
And IT usually doesn’t cope well with this that changes a lot (hence the need for BPMs and such). IT is very good for things that are strictly in order, and certain, and known upfront.

The more we get to details, the more the uncertainty (and hence the ‘probability factor’) increases.

This is how the real world seems to be modeled, according to some scientists. On a macro level, the universe is calm and orderly (i.e. planets and such), and we have Newton law. On a very micro level though, beyond atoms, things get very ecstatic and we have quantum theory. Which is simply the technical term for ‘probabilistic uncertainty of matter or whatever’.

Then I was thinking, why am I so attached to this ‘probability’ thingy?

IT world currently don’t really have a “probabilistic” programming model. Ok, we have imperative. And it’d be a full chore to write probabilistic functions using if-then and loops and such. We have functional programming, which is rare-r and a bit more inline with ‘probabilistic’, but still, functional programming still expects a well-defined function to transform input to output.

What I think, is there should be a probabilistic programming model, which should perform well in some areas of the real world problems. I’m calling it… “Intuitive programming”. (“Intentional programming” is a term already snatched, and it’s different anyway)

What tools do we have to do probabilistic programming? I’m not sure. Never familiar with it.

My final bachelor paper was about Bayesian Theorem. See the match? I certainly didn’t “specify” Bayes as my goal when I was in college. It was just something that happens to be one of my only options when I needed to choose a final paper topic. (as a background, I never thought of probabilistic statistical theme either, I was just interested in folksonomy and at that time… I wonder what made me into Bayes) The result was very good for me, but I know behind the scenes that my paper wasn’t all that good. It’s lousy…

It’s probabilistic! “There’s an 60% chance that my paper was ‘good enough’ to deserve an A… and it did!” 😛

Too many choices. Too many probabilities. Has got to be intuitive.

It doesn’t mean it’s 60% good. It just means (assumptively) that even the paper was 90% bad, the probabilistic chance was good enough. Thanks Bayes! 😉


Like this article? Please share this article with others:

OpenBravo is Honest Software, Me Likes! :)

OpenBravo Installation

Having been waiting “a few minutes” for several years with various taking-too-long-to-install software, “it will take more than an hour” is definitely a relief.

At last, somebody is being honest! 😉

Update: Murti has a great article on installing OpenBravo on Ubuntu. I myself got stuck on the “FAIL – Application at context path /openbravo could not be started” error. 🙁

Like this article? Please share this article with others:

“Selling” for 0% Profit!

Today I just found one way (though not so “good idea”) to have a 45-day loan with 0% interest……!

I got approx 800,000 rupiahs today, cash, in less than an hour, that I can return around end January.. it was very easy.

I was shopping with my friends (actually my Entreprenur University Kediri classmates), at Gramedia book store. I’m not really sure if I want to buy a book, but seeing my friends take up a few books, I decided to buy a book and ask them, “hey, why dont you help me. what if you pay to me, and I’ll pay all of our books using my BCA credit Card?” In short, he said alright. And I start “marketing” my scheme to the other friends. So they joined.

I asked Gramedia if they had a discount. She said I’ll get 10% discount if my order is 1.5 million rupiahs. So I told my friends. Unfortunately some of the friends had already left, they said “Hendy why didn’t you told us earlier!!! :-P” and we didn’t get 10% discount. 🙁

Anyways, the total purchase was 861,300 rupiah. I only purchased one book worth 35,000 rupiahs (Robert T. Kiyosaki Advisor’s Building A Business Team that Wins) and my friends each buy average of 3 books (yeah I’m sooo a cheater). 😛

Now, I get 800,000 rupiahs in cash… That I can use for whatever, that I’ll pay on my next credit card billing statement. It’s much better than taking the cash out of my credit card (with 3%-7% surcharge). Without any monthly interest at all 🙂

Soo happy 🙂

P.S.: Thanks to all the Entrepreneur University friends who joined my scheme: Ali, Udin, Susi, Lestari, Harli, Eko, and Ulfa!

Like this article? Please share this article with others: