Skip to main content

Posts

Showing posts from August, 2012

Keraguan

Artikel kali ini saya buat terinspirasi dan didasari isi khotbah yang disampaikan Pak Agus Syihabudin pada Jumat, 17 Agustus 2012, di masjid Salman ITB. Pak Agus adalah dosen agama Islam di ITB yang sempat mengajar saya sewaktu saya mengambil mata kuliah agama. Seperti kebiasaannya saat mengajar di kelas, saat khotbah pun beliau sempat menyelipkan nasihat-nasihat tentang jodoh. Saat itu beliau menyampaikan perkataan yang kurang lebih seperti berikut.  "Implikasi dari keraguan ada 3 macam. Ada yang ringan, sedang, dan berat. Salah satu implikasi dari keraguan yang bersifat sedang adalah ketika Anda ragu dalam memilih jodoh." (sambil tampak sedikit tersenyum) OK, yang di atas bukan hal utama yang ingin saya sampaikan. Menurut beliau keraguan adalah sifat alami yang sering muncul dalam diri setiap manusia. Kita semua pernah mengalami keraguan dalam berbagai hal. Implikasi atau akibat dari keraguan ada berbagai macam. Ada yang bersifat ringan, sedang, dan berat. Contoh akiba

Differences Between Micro ATX and Mini ATX

Mini ATX was created by AOpen to be a small, lower-power motherboard. Micro ATX (sometimes referred to as µATX, mATX[1] or uATX) is a standard for motherboards that was introduced in December 1997 to be backwards-compatible with existing systems but provide a smaller form factor. Size The maximum size of a micro ATX motherboard is 244 mm × 244 mm (9.6 in × 9.6 in), but some microATX boards can be as small as 171.45 mm × 171.45 mm (6.75 in × 6.75 in). Mini ATX is a 15 x 15 cm (or 5.9 x 5.9 inches) motherboard.  Computer form factors Name PCB size  (mm) WTX 356 × 425 AT 350 × 305 Baby-AT 330 × 216 BTX 325 × 266 ATX 305 × 244 EATX (Extended) 305 × 330 LPX 330 × 229 microBTX 264 × 267 NLX 254 × 228 Ultra ATX 244 × 367 microATX 244 × 244 DTX 244 × 203 FlexATX 229 × 191 Mini-DTX 203 × 170 EBX 203 × 146 microATX  (min.) 171 × 171 Mini-ITX 170 × 170 EPIC  (Express) 165 × 115 Mini ATX 150 × 150 ESM 149 × 71 Nano-ITX 120 × 120 COM Express 125 × 95 ESMexpre

Assets

One of the inspiring persons by his quotes which are usually about financial success is Robert Kiyosaki. He likes to share his suggestions about the financial plan and how people can comprehend it. I also have some books written by him like "Cash Flow Quadrant" and "Rich Dad Poor Dad" that give me a new perspective. Some of his quotes also talk about assets. These are some of them. Live it up! Buy everything you want… just by the assets to pay for them first. I use debt to buy assets. Most people use debt to buy toys and liabilities. Don’t buy luxuries until you have built the assets to afford them. If you want to predict a person’s financial future, you have to look no further than the expense column. Are they buying liabilities or assets? By making charity and investing in assets making expenses in his budget, my rich dad ensured that he would make them a priority. He called it paying himself first. Firstly, we must figure out what an asset is

Console Application with High CPU Usage

This month, I have a project to make a kind of bot application. It's a console application that run on a server. This application doesn't have any heavy algorithm but just check a database periodically and run some simple function. When I run this application, the CPU usage of my server is increasing into 100%. I was thinking that it's caused by the function which run periodically. I don't have any idea about this. But, one of my friend in my laboratory said that it's caused by while function which doesn't use any kind of usleep function. He said, in C programming, if we make an application using while function for forever (e.g. using while(1){<some source code>} ), it  will cause a high CPU usage. After that, I looked for a kind of  usleep function in Java because my application is a Java console application. I found that we can use sleep function from Thread class. I made a simple program to check the differences. This is the program. publ