Wednesday, April 29, 2009

Lusadiz



Lusadiz! Lusadiz! Lusadiz!
I love this song, i love the way of Eet's riffs, guitar distortion. Hey. This is Edane!

Monday, April 27, 2009

Quit smoke on 1 May 2009



I want to quit smoke.
Smoke is not cool.
Many girls hate smoker.
There are no conjunction between rocker and smoker.
There are no conjunction between hacker and smoker.
I'm cool with or without smoke.

Friday, April 24, 2009

KNAC Webmail



Okay, after sending many emails both to KNAC and it's mail service hosting Everyone.net, my webmail account is now reactivated after several days in suspended state. Thanks for your co-operation i really appreciate that although they (Everyone.net) never answer my mail.

Wednesday, April 22, 2009

Defensive Programming

I'm now reading "Defensive Programming for Red Hat Enterprise Linux" by Ulrich Drepper, of course not only for RHEL but for every Linux system and programmer who think security is a big issue.

Ulrich Drepper's Website

Sunday, April 19, 2009

Suspended webmail



Oh.. fucking good... my webmail account at KNAC.COM has been suspended, WTF? i didn't break any rule, spread spam or put forbidden stuff. What the hell? i already use KNAC.COM webmail since 2003, i put many docs there, many mailing lists, and contacts and identify informations. I got fucked.

KNAC.COM

Saturday, April 18, 2009

Fedora: Costumization



You may know that Fedora was targeted for desktop user, therefore many desktop applications such as X Server, Window Manager, Desktop Environment, Network Application (browser or messenger), Multimedia and many more have been already included. For those who want to use Fedora for server, router or even a small system that use only console based application you may follow this customization.

You can get a list of installed applications or application's group and remove that you don't need, for individual application you can try with rpm:

#rpm -qa | more

This will show you a list of applications installed on your system, to remove a application named i-dont-need-you:

#yum remove i-dont-need-you

Just for sure, you don't want to remove a application which has dependency with your desired application right? so be carefull.

Then For group of applications:

#yum grouplist

Will list some series of group used by Fedora, to remove a group of application let say 'Web Development' (coz you are not PHP or AJAX ninja ;p):

#yum groupremove 'Web Development'

Before removing a application that you don't know what is and what for, use:

#yum info 'application_name' or #yum groupinfo 'group_name'

Enjoy!

Fedora Project

Debian USB Installation



Have you try new Debian 5.0 (Lenny)?, i'm using it in my another x86 PC. I got bored install with CD/DVD-ROM image, that means you must burn the image file and you will need a blank CD/DVD. Is there any other method? (who said that). Cool, Debian also support network and USB disk installation. 256MiB of USB disk's size is enough if you prefer netinstall image, 1GiB for CD image. So here i go:

1. Unmount first if the USB disk already mounted.
2. Create a MBR into the USB disk using mtools utility: install-mbr:

#install-mbr /dev/usb_disk

1. Prepare your USB disk, create a FAT16 filesystem:

#mkdosfs -n lenny -F 16 -I /dev/usb_disk

2. Mount the USB disk.
3. Install syslinux.

#syslinux /dev/usb_disk

4. Create a simple syslinux.cfg:

default vmlinuz
append initrd=initrd.gz


5. Transfer all installation image (kernel, initrd) and a CD or netinstall ISO image:

#cp vmlinuz initrd.gz debian-lenny.iso /mnt/usb_disk

If all in set, the USB disk is now ready! Happy Debian.

NOTE: This maybe works in Ubuntu distribution since Ubuntu based on Debian... We should try ;p

Debian GNU/Linux

Friday, April 17, 2009

FreeBSD



Yeah, today i installed new FreeBSD 7.1 release. Have some difficulties but resolved them by reading FreeBSD's handbook. So, here my notes regarding FreeBSD:

- Put it's rc.files in /etc/rc.d
- Put system wide configuration in /etc/rc.conf (networking, service, etc.)
- Use pkg_add to install package from it's repository.

and... what you should know about FreeBSD:

- It's a preemptive multitasking operating system
- Can run in 32 or 64 bit platforms (x86, AMD64, Alpha, Itanium, UltraSPARC)
- SMP (Symmetric Multi Processor) support
- Can run X Server: thus we are able to use GNOME or KDE for desktop
- Offer memory protection for user-space application (don't touch me)
- Great TCP/IP support
- Binary compability: you may run a program which compiled in Linux, SVR4, SCO, BSDI, or NetBSD
- C codes ;p and many more

Did someone said: "...it's about like we see in Linux kernel?" indeed.

I'm now installing GNOME 2 using pkg_add, i will update this note when i was finished.

FreeBSD Project

Kernel: Compiling a simple module



Here a simple for beginner to compile their first kernel module:

1. Create a simple Makefile:

obj-m += mymodule.o

2. Compile and link the module, notice you should replace your kernel source:

$make -C /usr/src/linux SUBDIRS=$PWD modules

3. Use insmod or rmmod to insert and remove your module into kernel space.
4. Watch your module log message in the kernel ring buffer via dmesg or tailing /var/log/messages only if you did some debugging info.

Update on 09/09/2011

Another method is to create complete Makefile script for example

KERNEL_DIR = /usr/src/linux
SOURCE_DIR = /project/cpu

obj-m += cpu.o

all:
    make -C ${KERNEL_DIR} SUBDIRS=${SOURCE_DIR} modules

clean:
    make -C ${KERNEL_DIR} SUBDIRS=${SOURCE_DIR} clean


Have many fun...

Linux Kernel Project

Thursday, April 16, 2009

What you need to care in linux kernel development

* The kernel does not have access to the C library.
* The kernel is coded in GNU C.
* The kernel lacks memory protection like user-space.
* The kernel cannot easily use floating point.
* The kernel has a small fixed-size stack.
* Because the kernel has asynchronous interrupts, is preemptive, and supports SMP, synchronization and concurrency are major concerns within the kernel.
* Portability is important.

Saturday, April 11, 2009

Rawamangun

Meet with SM members at the Harmoni Carrefour Mall (Central Jakarta). Nice people there. After meeting, because what i though was not work ;p then going to *you know* Rawamangun with Irma. Shit... i should not take the deal. Back to office. What a day!

Saturday meeting point

Going to Harmoni's Carrefour, meeting start at 2.00 am.

Not vote to any party

This supposed to be posted in 9th April this year as my country's party election, i have no idea why i should vote one of them, i confused about who they are, what bring them to being crazy in government position and what for? there are too many party - 44 parties with 44 bullshits -. I'm not encourage anyone in order tvote, just vote what you are believe in, i'm not satisfy with one of them, so i don't have a reason to vote. Did someone said "You don't try too hard for knowing them" ?, indeed, bacause i think they are useless. Why i should vote for something i don't believe in?

Thursday, April 09, 2009

Rock Spirit

This is the rock spirit i got when watching the Ozzy Osbourne - I don't wanna stop from YouTube.

u say jonas brothers i say OZZY
u say miley cyrus i say black label society
u say katy perry i say Van Halen
u say high school musical i say Metalica
u say rap i say crap
u say hip hop i say judas priest
u say kanye west i say motley crue
u say britney spears i say led zepplen
u say flo rida i say dumb
94% of kids prefer rap to other music. if youre one of the awesome 6% that still loves to headbang copy and paste this to three pure rock videos.
KEEP THE SPIRIT OF ROCK ALIVE


Watch on YouTube

Zakk Wylde


This morning in Zakk Wylde's official website. I'm hearing "I don't wanna stop" shit, this song kicked my lazy ass... is this song was singed by the Dark Lord? Ozzy Osbourne? i think so. Zakk has a incredible guitar power, GOD's shake vibrato, and metal style. His Gibson Les Paul looks so cruel! That's the main reason why i love Rock!

Zakk Waylde's Official Website

Tuesday, April 07, 2009

Bandung Tour


Fuckin surprise, last weekend. My rockin performance was canceled by a office duty, the duty is "Have a nice tour to Bandung The Paradise City", oh damn well "im going back to the paradise city, where the pretty girls walk alone". I was enjoying taken some pictures with my office partners in Tangkuban Perahu's crater, have a hot water bath in Sari Ater and have a nice trip. Not so bad! i must admit this enjoyable! keep rock'n

Monday, April 06, 2009

Windows 7 Beta Screenshot


This is a Windows 7 Beta screenshot taken from my lab PC, i think this is a Improved Vista!

Microsoft Windows

Wodim: A cdrecord clone

Wodim is a CD Production tool, it's use command line interface for operation. Wodim comes with cdrkit package, bacause it was a cloned from cdrecord therefore it has ability which cdrecord supported.

Today i burn a ISO with wodim:

#wodim -v dev=/dev/sr0 -speed=16

cdrkit

I don't love you


My Chemical Romance - I don't love you from The Black Parade Album, i love this song.

Fedora: Non-free packages


Have enjoying using the latest Fedora 10 now i'm thinking about multimedia contents, you may know the Fedora Project aims to provide only "free-as-freedom" packages, therefore any propriety codec will not be included. Rpmfusion a RPM based packages repository provide non-free gstreamer plugin to play propriety codec (gstreamer-plugins-bad). Here are the steps:

1. Goto Rpmfusion, download and install it's non-free repository package, for example: #rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
2. Fetch it using yum #yum update
3. Search for gstreamer-plugins-bad and install it. #yum install gstreamer-plugins-bad

Try the codecs using gstreamer based player (eg. Totem), if the movie/song was not played and Totem told you such as "plugin search", just follow the wizard.

Fedora Project
Rpmfusion

Saturday, April 04, 2009

Upgrade to Fedora 10


This night i updated my Fedora box to version 10 (previously version 8), i use Live-CD installer, burn the image into a CD. Problem, the CD was corrupted, i got I/O request error when booting. I switch to USB install. Assume we are login as root, and the USB stick's device is /dev/sdb. Here are my steps:

#mkdofs -F 16 -n Fedora10 /dev/sdb
#yum install livecd-tools
#livecd-iso-to-disk /path/to/live-cd-image.iso /dev/sdb


Then boot with the USB to start installation, the installation process is pretty fast. I don't know what new features that Fedora 10 comes with but i should try a shiny new distro too :p.

Fedora Project

Thursday, April 02, 2009

Building RTAI Linux



Today i build RTAI Linux based system on Intel Celeron(M) processor @ 1Ghz, it is a single board computer for use in TCT (Toll Collecting Terminal). I use RTAI version 3.6 with Kernel 2.6.23 on Debian Lenny. Since Debian Lenny comes with GNU C Compiler version 4.3, the Kernel and RTAI was failed to build - I know, the Kernel actually forbid to use except GCC version 4.1 -. Then i move to Fedora 8 with GCC version 4.1. Here my steps:

1. Patch the current Kernel.
#patch -p1 < /tmp/rtai/base/arch/i386/patches/hal-2.6.23-rtai-patches-x.x-x.patch

2. Customizing and compile the current Kernel.
#cd /tmp/kernel-2.6.23
#make menuconfig
#make bzImage


3. Compile RTAI (set Kernel and installation directory, in this sample i use /rtai for the installation directory).
#cd /tmp/rtai
#make menuconfig
#make
#make install
#tar cjvf rtai-tct.tar.bz2 /rtai


4. Copy the compiled Kernel and RTAI into the host machine.
5. Run test suite.

to be continued...

RTAI
Linux Kernel Project

Moving into Git



Matthias Classen from gtk-devel-list on Gnome mailing list announce:

Last week, I said that I'd like to get this done by the end of March, which is almost upon us now.

Therefore, I'd like to ask everybody to hold off with committing to svn. While we are not quite ready to start the migration yet, it will begin sometime later today. So to avoid duplicate work, it would be best to wait with further commits to glib and gtk+ until the migration is completed. I'll send another email with checkout information, etc, when the conversion is done.

See you all on the other side !

Matthias


Okay, so we are preparing into Git: a versioning system which introduced first by Mr. Linus Torvalds for the Linux Kernel Project to replace SVN.

Git
GTK+