Before we get started, let me say that I always liked being a SQL Server DBA. My database experience started with DB2, then Teradata, followed by Oracle, and then SQL Server (and then a little bit of Sybase after that, followed by MySQL). Coming from the other databases, I found SQL Server the easiest and quickest to learn at the time, but of course, a lot of that had to do with the fact that Microsoft was really the only database vendor around then (I started with version 4.2 of SQL Server) that shipped any decent GUI management tools with their server. Take the tools away, and you basically had Sybase on Windows with the ISQL command line tool, which was not pretty by any means.
I started managing a lot more database servers with SQL Server 6.0, 6.5, and then SQL Server 2000. I was doing a lot of Oracle at the time too, but still felt that SQL Server had an edge on Oracle in terms of ease-of use. Oracle’s done a lot to improve their tools and overall manageability over time and today they are way ahead of where they were in the version 8/9i days with their 10/11g tools, but Microsoft has kept moving forward too. SQL Server 2005 came along with a little more help in the area of management, but it wasn’t as much as in prior versions. The same can be said (in my opinion) of SQL Server 2008 in terms of additional management help. But don’t misunderstand me, in my DBA days, SQL Server was still the easiest to use over all its competitors and I never thought I’d find another database server that could equal it in terms of having the total package of ease-of-use, reliability, and good performance.
But then I found MySQL.
Of course, you can say I’m biased because I oversee product management for MySQL inside of Sun, so guilty as charged there. But I do think MySQL has SQL Server beat in many respects, even when it comes to running on the Windows platform. Moreover, a lot of other folks seem to agree. When it comes to migrating away from another database to MySQL – or using another database for new applications – the #1 database platform is Microsoft, three years running according to our year-end surveys.
Since Linux distributions started shipping with Firefox 3 Aptana has become harder and harder to get running error free. After getting a nice fresh Ubuntu 8.10 install running my first task was to get Aptana running so that in a pinch I could belt out some code and get myself paid.
There are only a couple of steps required to get Aptana running on Ubuntu 8.10. Install Java and install Firefox 2. Don’t panic I have never had trouble doing this despite the warning bells you are probably hearing. Firefox 2 and 3 can happily be installed on the same machine without argument.
Step 1: Install Java on Ubuntu
Simple, hardly requires a step.
- Go to Applications -> Add/Remove
- Change the Show drop down to read “All Available Applications”
- Search for Java
- Tick and Install Sun Java 6 Runtime – feel free to use one of the others, your choice but I can’t vouch for them working – Aptana says they prefer Sun and that is good enough for me.
Step 2: Install Firefox 2 on Ubuntu 8.10
The theory here is simple. Change your package sources to Ubuntu 7.10 (Gusty Gibbon) ones, which make Firefox 2 available, install Firefox 2, and then revert your package sources.
Back up our existing source list to make it easy to revert later.
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
Create a new package source list
gksudo gedit /etc/apt/sources.list
Paste the following list of package sources into this new file and save and close it.
deb http://archive.canonical.com/ubuntu hardy partner deb http://br.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted deb http://packages.medibuntu.org/ hardy free non-free
Update using the new (well technically old) package source and install Firefox Two.
sudo apt-get update sudo apt-get install firefox-2
Step 3: Cleaning up the mess and getting the system back to usable
Copy back our original package source list
sudo mv /etc/apt/sources.list.original /etc/apt/sources.list
Update your package sources for next time.
sudo apt-get update
Step 4: Downloading and Running Aptana on Ubuntu 8.10
- Download Aptana from http://aptana.com/studio/download
- Create a script to launch it with the correct settings
- Create a new text file called startAptana in your home directory
- Add the following
#!/bin/bash export MOZILLA_FIVE_HOME=/usr/lib/firefox /usr/local/aptana/AptanaStudio
- Make the file executable by running
sudo chmod a+x startAptana
- from the Terminal
All things being equal you should now be able to ./startAptana and away you go.
If you get Java errors and can not find JRE messages change
/usr/local/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun-22.214.171.124/jre/bin/java
(or whatever the path to your Java runtime is) in your startAptana file
Pada posting sebelumnya gue mencoba convert file video rmvb menjadi file avi. Tools yang digunakan adalah mencoder. Nah, sekarang saya ingin mengubah koleksi file video matroska mkv saya menjadi file avi juga. Setelah buka-buka google dapat command yang hampir mirip karena sama-sama menggunakan mencoder.
$mencoder my_video.mkv -ffourcc xvid -ovc lavc -lavcopts vcodec=xvid:vhq:vbitrate=1800 -oac mp3lame -lameopts vbr=5 -o output_video.avi
Uups..ternyata command ini tidak berjalan di komputer saya karena di komputer tidak terinstall codec xvid. Usut punya usut, ternyata gue bisa mencoba code mpeg4. Akhirnya pilihan codec diganti mpeg4 dan command menjadi seperti berikut :
$mencoder my_video.mkv -ffourcc xvid -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1800 -oac mp3lame -lameopts vbr=5 -o output_video.avi
Ternyata bisa jalan.
Sekarang tinggal tunggu hasilnya deh…
Gue ada koleksi file video Ipin Upin buat anak gue. Koleksi itu berupa file rmvb yang biasa dibuka pake Real Player. Gue mau ubah dari rmvb menjadi avi. Gue mau tes di TV gue. Kebetulan ada colokan USB dan seinget gue bisa membuka file divx.
Cari-cari info untuk convert rmvb to avi di ubuntu. Ketemu link ini (http://www.kartook.com/2009/06/convert-rmvb-to-avi-ubuntu-9-04/)
Tinggal install mencoder dan beberapa library.
$sudo apt-get install mplayer mencoder librte1 librte-dev
Trus perintah convert seperti berikut :
$mencoder -oac mp3lame -lameopts cbr=128 -ovc xvid -xvidencopts bitrate=1200 video_input.rmvb -o video_output.avi
Barusan coba 1 file, ternyata lumayan ok.
Anda yang sedang belajar Matlab atau sedang ada tugas kuliah yang dikerjakan dengan matlab ? Jangan bingung atau khawatir, silakan download tutorial Matlab berbahasa Indonesia berikut
Gratis…tis..tis… Silakan disebarkan ke teman-teman.