Skip to main content

Posts

It's been a while...

It's been a while since my last blog entry. Maybe this time I'll try to write something into this blog. Something about computer and programming related or something other than that. And for all my reader (is there any?), I want to tell you my appreciation and my best regards... Thank You..

Fix Tomcat PermGen Space (Out of Memory)

Tomcat production server sometime will hit the following java.la ng.OutOfMemoryException: PermGen space error. java.la ng.OutOfMemoryException: PermGen space     at java.lang.ClassLoader.de fineClass1(Native Method)     at java.lang.ClassLoader.de fineClass(ClassLoader.java:620)     at java.security.SecureClassLoader.de fineClass(SecureClassLoader.java:124)  It’s usually happened when the Tomcat start and stop few times. It’s just funny, however you can fine tune it with some minor changes in the Tomcat configuration setting. By default, Tomcat assigned very little memory for the running process, the solution is actually quite simple. All you need todo are 1) create setenv.sh or setenv.bat (windows) 2) add this line if not already exist (depend on what os you are using)    Linux:      export set JAVA_OPTS="-Xms512m -Xmx2g"    Windows       set JAVA_...

Google's Image Search now faster with new update?

At last Google has updated its image searching feature. "We just redesigned Google Images to make it easier to move through a series of images—it's now faster, more reliable and lets the images do the talking" said Google on its official blog. The main feature of this update is you can quickly flip through the whole set of image previews using your keyboard, once you click the image. If you want to go back to looking at other search results, you can just scroll down and pick up right where you left off. To check out the website where the image is hosted, you can click on the photo or use the tools available. Google said that their new design is rolling out worldwide over the next few days. And they hope this update makes it easier and even a bit more fun to find the images we're looking for.

The Future Of Computing is Ubuntu Phone

As we are know, in the beginning of January 2013. Canonical announce their new project called Ubuntu Phone. From the beginning Ubuntu was just another Linux distro,  but now Canonical driving Ubuntu far beyond its beginnings as just another Linux distro into an Operating System that works on  television and even being  an android and iPhone competitor, Ubuntu is skating to where they puck is going to be. But, which such a bold move, there are significant obstacles to overcome. The soon to be released Ubuntu Phone is paving the way that all smart phones will eventually go. Back to the late  1943 where  computers were gigantic, filling rooms and requiring constant care and maintenance. Over time, the components required to build the computers become smaller and cheaper, till eventually it was possible to put one on your desk until the laptop computer, a smaller, more portable, but just as powerful machine was made and make it nearly obsolete. And then, com...

Throwing The Sun Tzu Baby Out With The InfoSec Bathwater

Steve Tornio and Brian Martin just published a  5,000 word rant  against anyone who dares utter the name Sun Tzu in connection with information security. According to Tornio and Martin, Sun Tzu – the principal strategic authority who’s seminal work has served to guide China’s military and civilian leadership for 2500 years, is “ not relevant to modern day InfoSec ” because  “information security is not warfare (leaving aside actual warfare, of course” . That’s a pretty huge stipulation considering that the People’s Republic of China has been heavily invested in information technology R&D to revolutionize both its Armed Forces and its civilian infrastructure simultaneously for the past 20 years or so. The same is true for the Russian Federation (sans Sun Tzu, of course). I’d love to hear either of these two gentlemen discuss where they make the distinction between InfoSec for the enterprise versus InfoSec as an “expression of warfare by other means” (to paraphras...

PlayStation Store faster with new Update, patch is 26MB in size

Sony has issued a small update to the new PlayStation Store, one that's aimed at improving your browsing experience by speeding up navigation. The patch is, not surprisingly, rather small, weighing in at 26MB, and pushes the app to version 1.02. Some report that after the patch, load times for the Store are still pretty slow, but overall wait times have been shortened, especially when you're moving between pages. The new PlayStation Store launched last year and  got off to a rough start , though such things are to be expected. The new design was intended to make the Store more intuitive, though it seems that slowness persisted even after the new look went live. Source:   Eurogamer Section:   Sony Consoles

Metal Gear Solid: Ground Zero

During PAX Prime, Metal Gear Solid: Ground Zeroes director Hideo Kojima presented fans with 11 combined minutes of both cinematics and gameplay footage of the Konami developed title. Ground Zeroes (yes, Zero is pluralized) was announced to be the prologue to Metal Gear Solid 5 . Metal Gear Solid: Ground Zeroes stars the original Snake, who has a helicopter that allows him to zip around the world and take on missions in any country he's needed. View slideshow: Metal Gear Solid: Ground Zeroes screens The English subtitled demo opens with kids in rain-soaked cages are presumably being turned into soldiers by men that are clearly 'bad guys'. After receiving reports of an agent held in Cuba with info that could undermine their child training regime, the operatives of XOF board a helicopter in order to 'silence' her. As their chopper leaves, the camera cuts to view Big Boss making his way onto their base. This is an older, grey-haired Snake...

New 4.20 PlayStation(R)3 System Software Update

PlayStation ® 3 System Software Update Download Now Downloading and installing the PlayStation ® 3 system software update will update your PS3™ system's operating system to include the latest security patches, settings, features and other items. We encourage you to check this page from time to time for system software updates and to always maintain your system to use the latest version of the system software. An update to the PS3™ system software was released on June 20, 2012. You can use this update to upgrade your system software to version 4.20. If your PS3™ system software version is 4.20 (or later), you do not need to perform this update. To check the version of your system software, go to   (Settings) >   (System Settings) > [System Information]. The PlayStation ® 3 system software version 4.20 update includes the following : Set the time until the system automatically turns off Under   (Settings) >   (Pow...

Fix windows's MBR without installation Disk using linux!!!

Bismillahirohmanirrohim... Assalamualaykum, When I was trying out new ubuntu 12.04. The installation progress went wrong and then freeze. After a couple of minutes the progress still the same. Before installing 12.04, my system was running ubuntu 11.04 dualboot (windows 7). Within my experience, when the installation of linux went wrong, the next step is recovering windows MBR using installation disk. But alas, my DVD-RW was busted long time ago and I haven't fix it or intent to fix it. The only thing I have is Ubuntu USB Thumbdrive. After googling awhile I found out to recover windows MBR using Ubuntu thumbdrive. First, make sure syslinux packages are installed or update to the latest version using this command $ sudo apt-get install syslinux When syslinux packages installed, enter this command to write windows MBR image into the harddrive's boot sector(/dev/sda) $ sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda Next thing to do is restart your PC using unity or usi...

Q2 Sony rilis ponsel seri Xperia Neo L

Setelah memisahkan diri dari Sony Ericsson dan meluncurkan ponsel pintar bertajuk Xperia S. Pada quartal 2 ditahun 2012 ini sony akan meluncurkan ponsel Xperia lanjutan bertajuk Xperia neo L... ya penerus dari Xperia neo S yang sebelumnya telah muncul dipasar. Berbeda dengan seri neo terdahulu, neo L diisukan akan dipasarkan langsung dengan OS Android ICS (4.0.5). Sehingga neo L akan menjadi ponsel pertama Sony yang menjalankan ICS. Dari segi fitur dan performa, neo L dibekali prosesor Snapdragon single-core 1 GHz dan Adreno 205 graphics yang dibundling dengan RAM 512 MB dengan layar LCD 4 inchi beresolusi 480 x 854 piksel, dan disertai kamera 5 MP yang mampu merekan video 720p. Pada neo L juga terdapat frontfacing camera dengan kualitas gambar setara VGA. Dengan ukurannya yang berdimensi 120.0 x 61.0 x 12.8mm ini terasa nyaman digenggan tangan. Dibalik semua itu terdapat isu yang menyatakan seri neo L tidak akan dijual dipasar Global selain China. Semoga saja isu tersebut tida...

Penjualan PSVita Menurun Dijepang

PlayStation 3, sebuah konsol game yang diusung raksasa elekronik asal negeri sakura ini sedang mengalami masa-masa menyenangkan dilihat dari penjualannya yang terus meningkat dibeberapa minggu dibulan ini. Namun hal ini tidak terjadi pada konsol game portabel PSVita yang sama-sama buatan Sony. Penjualan PSVita dalam beberapa minggu ini terus mengalami penurunan yang membuat kondisi ini menjadi suatu berita baik sekaligus buruk bagi Sony. Hal ini diperkuat oleh grafik penjualan yang dibuat oleh beberapa media Jepang yang isinya mencakup tentang penjualan kedua konsol game tersebut dari tanggal 27 Februari hingga 4 Maret. Dalam grafik tersebut menunjukan prestasi PlayStation 3 sebagai pemenang besar di segmen perangkat keras dengan penjualan sebesar 65,116 unit pada kurun waktu tersebut. Sony juga diindikasikan telah berhasil menjual PS3 hampir 2.5x lebih banyak dari minggu sebelumnya... Penjualan hardware yang kuat ini oleh beberapa media jepang dipicu oleh peluncuran piranti...

Load Java class dengan URLClassLoader

Pernah berpikir untuk memanggil class yang tidak ada didalam classpath aplikasi yang kita buat? Atau mungkin ingin melakukan inisialisasi driver JDBC secara runtime? Mungkin bagi pengguna awal, URLClassLoader adalah class yang asing. Sebenarnya, mekanisme ClassLoader merupakan mekanisme standar dalam java, namun umumnya ClassLoader berjalan ketika aplikasi akan di- compile atau dijalankan dengan cara membaca ClassPath baik melalui parameter -cp atau -classpath atau melalui MANIFEST.MF didalam jar atau melalui system environment variable CLASSPATH. Untuk ClassLoader model ini, saya rasa tidak ada pertanyaan atau mungkin bukan menjadi fokus pembahasan pada post kali ini. Pembahasan pada post kali ini lebih menekankan bagaimana cara memindai (Load) suatu java class yang tidak terdapat pada classpath pada saat runtime..... Penggunaan class URLClassLoader adalah solusinya. Class ini dapat memindai class-class yang berada pada alamat URL tertentu dan bahkan dalam bentuk JAR... Berikut i...

K-Touch W700... Android Bintang 5 Dengan Harga Kaki 5

Mungkin sebagian orang jika mendengar nama K-Touch akan terbayang sebuah ponsel dengan QWERTY keyboard yang menyerupai ponsel pintar besutan vendor ponsel asal Kanada dengan fitur dan spesifikasi yang seadanya... Mungkin ada benarnya, namun kali ini ada sesuatu yang berbeda... Hmnn... kira-kira apa yang membuatnya berbeda? Nampaknya vendor asal negeri tirai bambu ini mencoba untuk menarik perhatian pengguna ponsel dengan meluncurkan sebuah ponsel pintar berbasis Android... ya Android! Sebuah Sistem Operasi berlambang Robot Hijau ini yang sedang populer ini nampaknya berhasil membuat persaingan di ranah ponsel pintar menjadi terbuka luas.. sehingga pemain di pasar ini tidak hanya vendor-vendor ternama... Dengan terbukanya peluang pasar ini lah yang mendorong K-Touch untuk mencoba meluncurkan sebuah ponsel pintar android... dan nampaknya K-Touch tidak main-main dalam urusan spesifikasi ponsel tersebut. K-Touch W700 tampil dengan dukungan layar sentuh kapasitif multitouch dengan di...

Parsing XML dengan java SAX Parser

Melanjutkan dari post saya tentang parsing XML dengan Java, pada entri sebelumnya teknik parsing yang digunakan dengan menggunakan DOM Parser. pada entri kali ini saya akan membahas bagaimana cara untuk mem-parsing XML dengan SAX parser. pada entri kali ini kita tetap menggunakan XML dengan struktur yang sama dengan entri sebelumnya. <?xml version="1.0" encoding="UTF-8"?> <personnel> <employee type="permanent"> <name>Seagull</name> <id>3674</id> <age>34</age> </employee> <employee type="contract"> <name>Robin</name> <id>3675</id> <age>25</age> </employee> <employee type="permanent"> <name>Crow</name> <id>3676</id> <age>28</age> </employee> </personnel> pembacaan xml dengan SAX Parser...

Mengapa Karyawan Meninggalkan Perusahaan!

Mengapa karyawan meningggalkan perusahaan (atau paling tidak sering ngedumel)? Berikut ini petikan dari bukunya Haris Priyatna yang berjudul Azim Premji, "Bill Gates" dari India (terbitan Mizania 2007). Azim Premji adalah milyuner dari India yang telah menyulap Wipro, dari sebuah perusahaan minyak goreng menjadi konglomerasi perusahaan dengan salah satunya adalah Wipro Technologies yang merupakan ikon kebangkitan industri teknologi informasi di India. Dia urutan ke-21 orang terkaya di dunia versi Forbes 2007. Azim dikenal sebagai milyuner yang bergaya hidup sederhana. Berikut ini pandangan Premji tentang mengapa karyawan betah dan tidak betah dengan perusahaan. Wipro sendiri memiliki tinkat turn-over (kepindahan) karyawan yang sangat rendah, padahal gajinya tidak lebih tinggi dibandingkan perusahaan sejenis seperti Infosys dan TCS. Mengapa KARYAWAN meninggalkan perusahaan? Banyak perusahaan yang mengalami persoalan tingginya tingkat pergantian karyawan. Betapa or...

XML Parsing Dengan Java Bag. I (Menggunakan DOM Parser)

Dulu sewaktu kuliah saya pernah pernah berpikir untuk membuat suatu applikasi yang dapat membaca dan menulis file configurasinya sendiri. lalu saya menggunakan text file sebagai media penyimpan konfigurasi.... seiring perkembangan dan jam terbang bertambah sayapun sempat terpikir untuk mengganti text file yang digunakan menjadi XML (Extensible Markup Language) dimana dokumen ini memiliki keunggulan yang sangat banyak. tidak hanya sebagai media penyimpanan konfigurasi, ternyata XML juga banyak digunakan sebagai media penyimpanan data. seperti contoh berikut ini. <?xml version="1.0" encoding="UTF-8"?> <personnel> <employee type="permanent"> <name>Seagull</name> <id>3674</id> <age>34</age> </employee> <employee type="contract"> <name>Robin</name> <id>3675</id> <age>25</age> </employee...

JSP/Servlet File Upload....

Wah dah lama juga ga posting... jadi gue sempet mikir kira-kira enaknya posting apa ya? nah kebetulan beberapa waktu yang lampau gue pernah dapet assignment dari kantor untuk buat aplikasi yang mengupload file zip lewat JSP/Servlet trus waktu selesai di upload file tadi langsung otomatis diextract... nah... pada posting kali ini gue pengen ngebahas gimana caranya buat Script upload file di JSP/Servlet... karena umumnya penanganan request yang bersifat multi-part agak berbeda pada server j2ee container dibandingkan dengan bahasa pemograman lainnya (eg. PHP). bagi yang belum ngerti atau ngga' bisa java tapi pingin belajar silahkan comment disini, nanti gue buat post tentang "java tutorial" berikut adalah beberapa API yang harus dimiliki terlebih dahulu. download API commons-fileupload disini download API commons-io disini setelah file telah didownload kita lanjutkan dengan coding... pertama kali yang harus dilakukan adalah memasukkan API library diatas kedalam class...

Submit new post by e-mail

Maybe I'm a little bit late about this. I just found up this feature... At first I was thinking about posting my blog via email. And then after googling I found my answer on someone blog. He said that to post your blog using email, you must enable it in your blog setting... I think you can do this setting by your self. But if anyone have a problem or question about this settings, just send me your comment ---- 
Sent using a Sony Ericsson mobile phone

Ubuntu 9.04 x86_64 Run well in Acer Aspire 4530

Hey guys, after a while I didn't update this blog, right now I'm just feeling like to share my happiness. Just want to inform you all that ubuntu 9.04 64bit run well in my laptop... i'm just happy to say to my self welcome back to ubuntu after a while back to windows because ubuntu version lesser than 9.04 doesn't support my laptop. the installation process is simple, much more simple than before. to install ubuntu 9.04 please follow this steps: insert ubutu 9.04 live CD or the alternate version of it set your optical drive as your first boot device at BIOS or press F12 at boot sequence to select which device you want to boot from. select install ubuntu to harddrive wait until boot process done and setup your storage partition (at least 1 ext3/ext4 partition and 1 swap partition fill your name, user name and password. wait until installation progress finished. reboot you laptop now. VIOLA! your ubuntu now ready to use okay let's check so...

Play MP3 and fixing ACER Aspire 4715z audio front panel

Ubuntu 7.10 doesn't come with ability to play multimedia file except *.ogg (theora and vorbis). if you want it badly to play mp3 file this are the steps... install xmms # sudo apt-get install xmms now you can play your *.mp3 file. but wait... there is some problem, the song you are playing doesn't mute when you plugged you earphones... to fix this problem is simple...all you need to do is install linux-backports-modules-generic ex: # sudo apt-get install linux-backports-modules-generic append this line " options snd-hda-intel model=acer " to " /etc/modprobe.d/alsa-base " ex: echo " options snd-hda-intel model=acer " | sudo tee -a /etc/modprobe.d/alsa-base done! now you can listen to your music with internal speaker or using headphones...