Category Archives

348 Articles
Beralih ke Standar Terbuka

Beralih ke Standar Terbuka

Sudah lama Uni Eropa menyertakan standar terbuka (open standards) sebagai kebutuhan (requirement) dalam proyek-proyek mereka. Itu sebabnya, Microsoft memaksakan untuk OOXML menjadi standar ISO. Perkembangan perangkat lunak bebas terbuka (Free/Open Source Software, FOSS) membuat banyak gebrakan dan berlanjut kepada dominasinya kepada dunia.

Salah satu yang mencengangkan adalah bagaimana rekan saya mengatakan bahwa GNU R, bukan SPSS, yang dipakai oleh dia dan rekan-rekannya di kelas. Pada awalnya mereka protes pada sang dosen. Tetapi begitu memasuki fungsi-fungsi yang rumit, mereka lalu langsung kagum pada kesederhanaan dan kemampuan GNU R. Oh, yah, dia adalah seorang mahasiswa S2 Ilmu Ekonomi.

Peran FOSS yang paling dominan saat ini adalah dia menjadi dasar dari Internet. Sebagai standar defacto, Apache HTTPd telah merajai penyedia layanan Web. Selain itu, GNU/Linux router telah secara transparan menyediakan gateway berkecepatan tinggi. Proxy yang melayani Anda, Hotspot, federated SSO. Semuanya beralih kepada FOSS.

Hal yang teranyar saat ini adalah dengan penggunaan HTML5. Karena i* (iPhone dan iPad) tidak menyertakan Flash, maka situs Virgin Airlines di Amerika mengganti situsnya dengan HTML5 murni. Seperti dikutip oleh [REG], mereka tidak mau kehilangan 30% pangsa pasar perangkat bergerak (iPhone menguasai 30% pangsa pasar telepon pintar di Amerika Serikat).

Hal ini logis. Jajaran produk Apple adalah sebagai lambang bergengsi seperti merek Ferrari pada mobil. Di antara 30% itu pasti banyak yang menggunakan jasa penerbangan. Sebagai entitas bisnis, mereka tentunya melihat peluang terbuka tersebut. Maka, Anda dapat lihat bagaimana dominasi Flash akan mulai tergantikan.

Hal ini sama seperti Symbian yang akhirnya membuka kode sumber mereka. Mereka mulai mempertimbangkan tekanan Android, Maemo, dan berbagai konsorsium yang mulai muncul. Tidak ada, bahkan Microsoft sekalipun, dapat mengalahkan kekuatan kerja sama.

Lalu bagaimana di Indonesia?

Saya masih melihat bahwa kita masih terikat dengan produk bajakan. Bahkan, kita masih bisa diancam-ancam kalau menggunakan FOSS. Padahal, ada banyak hal yang bisa digunakan dan dikembangkan. Sebagai contoh, kita hanya tahu bahwa OpenOffice.org sebagai perangkat pengganti M$ Office. Kalau seandainya Anda agak iseng, coba lakukan ini:

$ apt-cache search openoffice

Anda akan melihat ada begitu banyak ekstensi OpenOffice.org. Bukan hanya ekstensi, ada juga UNO Bridge dan berbagai language-binding dan sebuah eclipse-plugin. Arti dari masing-masing teknologi silahkan Anda pahami sendiri (tinggal baca deskripsinya).

Akan tetapi, arti implisit dari semua itu adalah OpenOffice.org dikembangkan untuk sebuah Enterprise Knowledge Management yang komprehensif.

Bagaimana itu dapat dilakukan? Seorang penceloteh seperti saya saja sudah mengerti bahan-bahan yang dibutuhkan. Hal tersebut dapat saja dilakukan:

  • Gunakan Apache HTTPd + PHP untuk server side. Atau gunakan Tomcat sebagai servlet.
  • Komunikasi antar aplikasi dan server digunakan menggunakan Web Service.
  • Teknologi pencarian dapat diserahkan kepada Apache Lucene.
  • Nilai semantik dapat direpresentasikan secara ontologi oleh OWL.
  • Postfix dapat menyediakan layanan email.
  • Jabber server dapat dibuat untuk sarana komunikasi antar bagian.
  • Red5, FFMPEG, dan sebagainya dapat diramu menjadi server konferensi dengan protokol SIP.
  • Asterix juga dipakai untuk VOIP.
  • Empathy dapat dipakai sebagai klien yang terintegrasi dengan komputer kantor.
  • Tentunya, Kerberos, CAS, dan SSO dapat dipakai untuk menentukan kontrol akses (ACL)
  • Yang paling utama, semuanya itu bisa diintegrasikan.

Zimbra adalah sebuah contoh produk solusi yang meramu sebagian dari hal-hal tersebut.

Tapi, seandainya ada sebuah sistem enterprise terbuka yang dikerjakan secara gotong royong untuk keperluan Indonesia. Yah, sebut saja sebuah proyek e-Gov yang terbuka kepada publik sehingga kita dapat berkontribusi. Produk tersebut dapat dipakai oleh Pemda dan perusahaan di Indonesia. Sehingga, bukan tidak mungkin, semua bisa terkoneksi ke pemerintah dengan mudah. Penghitungan SPT tidak perlu dilakukan dan blunder-blunder proyek tidak perlu ada. Dana-dana yang berhasil diselamatkan dapat digunakan untuk kesejahteraan pegawai negeri sehingga tidak ada alasan krusial untuk korupsi.

Bagaimana cara ke sana?

Bahan yang tidak ada saat ini adalah kreativisme dan pengertian. FOSS yang seperti pisau swiss (Swiss Army knife) memerlukan kedua hal tersebut untuk membuat sesuatu. Membangun sebuah integrasi berbicara tentang pemahaman tentang domain masalah. Artinya, ditemukan masalah, dipahami, baru kemudian dicari solusinya. Itu cara kerja di dunia FOSS. Sedangkan dunia perbajakan mengatakan sebaliknya, Anda didikte cara membuat gambar atau menulis. Kreativitas Anda sebatas solusi produk yang Anda gunakan.

Satu langkah yang perlu dilakukan, sebuah jembatan keledai, adalah dengan mengubah sistem pendidikan Indonesia. Seandainya Anda yang adalah pengajar (guru, dosen, guru les, pelatih, ahli agama, dan lain sebagainya) bersedia berkontribusi untuk mengenalkan FOSS kepada anak didik Anda, maka makin banyak orang yang menggunakan FOSS. Atau, Anda sebagai seorang pengguna biasa, maukah Anda mengenalkan teknologi tersebut?

Saya pikir, seandainya dari 100 orang Indonesia yang dikenalkan, ada 5 orang yang intensif ingin mempelajarinya sungguh-sungguh. Maka, akan ada cukup banyak tenaga ahli yang bisa meramu impian mereka.

Maukah Anda memulainya?

Referensi:

[REG] The Register. http://www.theregister.co.uk/2010/03/02/virgin_america_html_flash/

Bukan Sekedar

Bukan Sekedar

Sering kali terjadi salah sangka tentang manfaat FOSS (Free/Open Source Software). Kebanyakan melulu berpikir tentang memerangi pembajakan perangkat lunak dengan menyediakan alternatif bagi perangkat lunak berbayar.Tetapi, mari kita evaluasi sejenak. Ya, Anda yang telah memakai FOSS selama ini secara aktif. Tidakkah Anda merasa mendapatkan sesuatu yang Anda tidak pernah duga bisa Anda kuasai? Tidakkah Anda merasakan kreativitas yang lebih dari pada orang sekeliling Anda yang memakai perangkat lunak bajakan? Berapa banyak dari Anda yang dapurnya telah menyala dari FOSS? Berapa banyak sekolah yang telah tersentuh teknologi informasi akibat FOSS?Semoga ini bisa menjadi pemacu bagi Anda yang berjuang di jalan kebenaran. Hidup FOSS! 😀

Configuring Basic Network (2 of 2)

Configuring Basic Network (2 of 2)

Now, you could pinged the network router, yet, you couldn’t access

google.com
. It’s because the way internet runs is by using IP, not names. So, when you type google.com, actually your system is trying to translate it into IP.

There are two ways of setting it.

#1 Using

/etc/hosts

This is an ARPANET legacy and still holds true. Although nowadays we are using DNS, but this file still can be used to point in some site. This is what it looks like:

127.0.0.1 localhost rajagukguk-laptop

It binds IP 127.0.0.1 to localhost and rajagukguk-laptop. So, when you type localhost, you would be directed into 127.0.0.1

#2 Using DNS

There are ways to set DNS, but the default standard is using

/etc/resolv.conf
. Here’s my
/etc/resolv.conf
:

nameserver 152.118.24.2
search ui.ac.id

The first line is the DNS server that we would be using to query IP. The second line is about our home network name. So, when we type http://www/ the address will be rewritten as http://www.ui.ac.id/, or if we enter “webmail”, then it would be rewritten as webmail.ui.ac.id. Neat, eh?

Now, here’s some bonuses tips.

1 If you are a web developer

When we entered an address, the system will looked into /etc/hosts first then your DNS. So, you could set your own version of something.com before you published it with real IP. For example, smartcard.ui.ac.id is situated on 152.118.24.116. But, we are going to pimp that one out. Instead of pimp it online and pissed people, I could set another box in 192.168.1.68 and then set my development PC to point into that address. So, in order to do that, I add my web development PC’s /etc/hosts as following line:

192.168.1.68 smartcard.ui.ac.id smartcard

So, everytime I access http://smartcard.ui.ac.id/ from my browser in that computer, it would go into 192.168.1.68 instead of the real one.

2 You are an anti-ad

WARNING: I don’t recommend this, because ad is something that some people lived from. But, sometimes a site is awfully slow because of these ad sites keeps pushing bad javascript.

[Gah! This is left as an excercise for the reader. HINT: Point them to localhost]

Configuring Basic Network (1 of 2)

Configuring Basic Network (1 of 2)

There are several reasons why this basic skill is important:

  • Your network is failing because of your experimentation.
  • You want to be an l33t and impress your GF.
  • You are stranded on an Debian/Ubuntu server.

To configure a basic networking, usually we use “

/etc/network/interfaces

“. Every network interface (e.g. ethernet card) can be brought up and down by using command

   $ sudo ifup eth0
   $ sudo ifdown eth0

Change eth0 with any network device you like. To see available network interface, type this:

$ sudo ifconfig -a

Currently, these way of action is being deprecated in favor of

network-manager

. But, these commands still can be run and overriding

network-manager

.

One more powerful command is to use

ifconfig

directly. The principal is easy, set the network card’s IP and then set the default gateway

1 Set the network card default IP

$ sudo ifconfig eth0 192.168.0.3 netmask 255.255.255.0

2 Set the default gateway

$ sudo route add default gw 192.168.0.1

That’s it.

Lucid From Debootstrap

Lucid From Debootstrap

What scenarios does this would likely involved you in? Well, for instance:

  • Creating an Ubuntu system on your USB stick because your lack of faith to trust all of your system to GNU/Linux.
  • Creating new system from your Ubuntu stick because you have become the enlightened.
  • Creating a customized *buntu flavour because you have become one.
  • Killing time because you have insomnia. 😀

Most likely I’m in reason #4. This scenario is tested on GNU/Linux Debian and Ubuntu. I played with Unstable/Experimental and Lucid.

#0 Backup your data on USB stick.

Don’t tell me that I didn’t warn you! 😀

#1 Set the partition

Stick your USB and seek what is the node file it representated.

$ dmesg | tail

Now, it would come up something like

 /dev/sdb1

or

/dev/sdc1

depending how funky your system is.

#2 Format the USB stick

$ sudo mkfs.reiserfs /dev/sdb1 -l "KEREN DEH"

I’m used to label the filesystem. This label is important that you may prevent from accidentally formatting that particular partition. (Been there, done that) Oh, before the holy war begin, let me warn you that my flavour on ReiserFS is subjective, stick with whatever your fave filesystem. Here the change: EXT3: mkfs.ext3, XFS: mkfs.xfs, JFS: mkfs.jfs

#3 Mount the filesystem

$ sudo mount /dev/sdb1 /mnt

#4 Debootstraping begins

$ sudo debootstrap lucid /mnt http://kambing.ui.ac.id/ubuntu/

The “

--arch amd64

” before “lucid” parameter is optional. It would come in handy if you are trying to make 64bit Ubuntu from 32bit system, vice versa. See the manpage for more information.

#5 Setup before chrooted to there

Mount all the important directory.

$ sudo mount /proc /mnt/proc -t proc

$ sudo mount /dev /mnt/dev -o bind

Optionally copy these files:

$ sudo cp /etc/hosts /mnt/etc

$ sudo cp /etc/resolv.conf

resolv.conf

is deprecated on desktop because of the

modem-manager

being. But, it won’t hurt you if you still use it.

$ sudo cp /etc/fstab /mnt/etc

Don’t forget to edit the /mnt/etc/fstab and delete the root directory entry (find “/” and delete it) because we are using USB stick.

#6 Chrooted there

$ sudo chroot /mnt

#7 Add a user

This is important! Don’t let your system userless…

# adduser user

Make him/her an admin.

# addgroup user sudo

By default Lucid is making everybody in the sudo group to be an admin. If you are using another, you could add yourself a group:

# addgroup penguasa

echo “%penguasa ALL=(ALL):ALL” >> /etc/sudoers

(Or just type

visudo

to edit the file properly)

#8 Install kernel

There are few flavours of the kernel. Desktop user usually stick with generic.

# apt-get install linux-image-generic

This virtual package will install

linux-image-generic-2.6.32-13

in time this writing. If you want, you could search for another linux kernel with

# apt-cache search linux image

#9 Install grub

# apt-get install grub2

Usually, it would let you choose where it would like to install. Install it into USB stick’s Master Boot Record/MBR (/dev/sdb). If later you would like to install it, the sane way to install is:

# dpkg-reconfigure grub-pc

Or, if you’re the rock star:

# grub-install /dev/sdb

To have GRUB reconfigured, i.e. generates the GRUB menu, do:

# update-grub

#10 Install your flavour

# apt-get install kubuntu-desktop

#11 Get some sleep!

It’s already morning and you have a life? No? Well, you could go on and try your new system by restart to the system.

~hiddenCurcolCrouchingDeadline

Java Could Not Connect To Host

Java Could Not Connect To Host

If you are experiencing:

Caused by: java.net.SocketException: Network is unreachable 

This is most likely because of the Debian bug to force all system using IPv6. According to the reference, you should do:

$ sudo sed -i ‘s/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/’ \ /etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart

REFERENCE: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044

Journey Log 3: A Glitched Upgrade

Journey Log 3: A Glitched Upgrade

This morning I upgraded my workstation which runs Lucid. I have found that there are 2 failed upgrades. The solution to those packages are trivial.

INITRAMFS fails

The first problem  encountered is

initramfs-tools

that failed to found “

./lib/udev/firmware.sh

“.  After a quick check on “

/lib/udev

” directory, I found out that the given file was named “

firmware

“. Thus, solution should be an alias:

$ sudo ln -s /lib/udev/firmware /lib/udev/firmware.sh

After  that, I ran the Debian’s configuration:

$ sudo dpkg --configure -a

It then hits the second configuration

Virtuoso Server fails

If you are using Kubuntu, which using Virtuoso for her semantic things, most likely you would encounter this error. The Virtuoso was 5.x version, but the one that would be installed is 6.x version. So, there are some new packages that need to be installed. Fortunately, it is easy enough to do so:

$ sudo apt-get install virtuoso-opensource-6.0-common
$ sudo apt-get install virtuoso-opensource-6.0

In Debian, *

-common

is a virtual package to install the given software. But, here I must install the

virtuoso-opensource-6.0

virtual package manually. Well, after that two installs, the upgrade went smooth.

UPDATE

fix from :

Ubuntu/Lucid: recovering from yesterday’s messy update

Yesterday a silly oversight in the packaging of udev in Ubuntu/Lucid produced a breakage that consistently makes dpkg barf. Here’s a simple command line recipe to recover from it. In your terminal application, type: sudo sed -i ‘s#copy_exec /lib/udev/firmware.sh#copy_exec /lib/udev/firmware#’ /usr/share/initramfs-tools/hooks/udev && sudo dpkg -a –configure && sudo aptitude update && sudo aptitude safe-upgrade …then press enter.

$ wget http://launchpadlibrarian.net/39011493/udev-firmware.patch && sudo patch -p0 < udev-firmware.patch && sudo dpkg -a --configure && sudo aptitude update && sudo aptitude safe-upgrade
Phonon Blocking Building KDE4

Phonon Blocking Building KDE4

I’m trying to use Bespin from SVN but the build failed at configuring. According to [BUG], there are two ways of solving it:

  1. Reinstalling libqt4-phonon-dev
    • $ sudo aptitute reinstall libqt4-phonon-dev
  2. Create a symlink (symbolic link/shortcut) from /usr/include/qt4/phonon to /usr/include/phonon
    • $ sudo ln -s /usr/include/qt4/phonon /usr/include/phonon

With my current Lucid, I get the second one successful.The complete error message when installing:

$ cmake .

— Found Qt-Version 4.6.1 (using /usr/bin/qmake)   — Found X11: /usr/lib/libX11.so                   CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):  file Internal CMake error when trying to open file:                          /usr/include/phonon/phononnamespace.h for reading.                         Call Stack (most recent call first):                                           /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45 (_phonon_find_version)  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:613 (find_package)   /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)                  CMakeLists.txt:15 (find_package)                                             — Found KDE 4.4 include dir: /usr/include— Found KDE 4.4 library dir: /usr/lib    — Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler— Found automoc4: /usr/bin/automoc4                                      — WARNING: *** Amarok Hack enabled, notice that this will potentially cause trouble on Amarok                       also this is legacy code and supposed to be redundant due to (future) changes to Amarok                       Hacks can be disbaled at runtime and should in case of issues with Amarok                                     By activating this you confirm that you know what you’re doing ***                     — Found X11: /usr/lib/libX11.so                                                                              — INFO: XRender was found – kwin deco & FX via GPU available!                                                — Configuring incomplete, errors occurred!I was trying to build Bespin according tothis.Reference:[BUG]  https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/386742

Journey Log 2: What’s New On Lucid

Journey Log 2: What’s New On Lucid

Today’s update on Lucid, Firefox is on the 3.6 version and still using firefox-3.5-branding. However, Ars reported that Canonical made a deal with Yahoo! to include their search engine as the default, not Google. So, I will expect the next update would change the default search engine into Yahoo! search engine (Bing).

The neat feature of KDE 4.4 that it is integrated with OpenDesktop.org. OpenDesktop is an emerging open standard that promote social site compability degree. The simple explanation is a Facebook-like open API that can be implemented by many websites so that they compatible each other.

Anyway,

With the desktop tight up with OpenDesktop, I can download any KDE content and vote for it. What a neat feature! I’m using pwgen to generate password so it’s kinda hard to remember all of my passwords (one password per site!). That’s why I don’t log that much into many sites, including KDE-Look. Thanks to the implementation, Kubuntu Lucid (KDE) now become more and more integrated with web.

I’m using Netbook-plasma from KDE 4.4. It has a neat feature, making the maximized applications without border. But, sometimes I wish that the dialog box not into windows mode and not maximized also. I wish it could be docked into the plasma’s dock. Hmm… just like Mac? Dunno.

I’m sorry with no screenshot, I have a great deal of work right now. If you want, I can provide one, though. Just feel free to comment.

Plymouth on Lucid

Plymouth on Lucid

WARNING: Lucid is still on alpha version, don’t whine on me if it burns your house and destroy your future.

I’m installing from debootstrap, if you want to tell me that it’s already installed on Lucid installer. Furthermore, this may be a helpful hint for you on other version or other distro that may want to enable plymouth, may be.  This tutorial has been  excercised on my laptop (Lenovo Y41, Intel GM965) and my workstation (ATi x550). I don’t own any nVidia card, so I don’t know if it works on that too.

#1 Install plymouth

$ sudo apt-get install plymouth

#2 Insert kernel modules on your initramfs-tools

$ sudo $EDITOR /etc/initramfs-tools/modules

Change the

$EDITOR

to your favourite editor (vi, emacs, pico, gedit, kwrite, etc.). Put the following three lines to your modules file:

intel_agp
drm
i915 modeset=1

If you use Radeon card, change the intel part into radeon (intel_agp –> ati_agp, i915 –> radeon). To be sure about the agp line, just grep and see what the active module is:

$ lsmod | grep agp

Until this line, you could regenerate your initrd image. But, we can do that later.

#3 Setup Your Theme

Default Ubuntu Lucid’s plymouth is “ubuntu-logo”. I urge you to reselect the theme for the first time or you could select other theme. To view other theme:

$ /usr/sbin/plymouth-set-default-theme --list

The theme are details, fade-in, glow, script, solar, spinfinity, text, and ubuntu-logo. Let’s try glow:

$ /usr/sbin/plymouth-set-default-theme glow --rebuild-initrd

This will change the theme and also enabling it on the initrd.

#4 Update your GRUB 2 configuration

I mentioned GRUB 2, but if you still have GRUB 1 or maybe LILO, you could do the same. To change the GRUB2:

$ sudo $EDITOR /etc/default/grub

Append the line containing

GRUB_CMDLINE_LINUX

with a string

"gfxpayload=true splash quiet rhgb"

. E.g.:

GRUB_CMDLINE_LINUX="gfxpayload=true splash quiet rhgb"

Last step, update GRUB2:

$ sudo update-grub

#5 Restart and enjoy.

There are few technical things that I want to discuss, including the parameters involve. But, let me know if you need one.

Just Updating

Just Updating

My Ubuntu Lucid now running well. I use KDE plasma-netbook and looking great and stable. KRunner occasionally crashed, but it’s acceptable because of Alpha version. But, all-in-all, my computer is rocking solid:

$ uptime
12:15:10 up 2 days, 22:48,  2 users,  load average: 0.38, 0.51, 0.36

FYI, last quarter of 2009 is  a bad year for ATi cards because of the migration from DRM to DRM2 (MESA) which introduce the new architecture: Gallium3D. My poor Debian is not in the right state right now because of the legal issue that made Debian stripped away all the (working) firmware. Fortunately, kernel 2.6.33 would be the comeback of ATi cards and hopefully will be able to get my Debian workstation well. In the meantime, hello Ubuntu! 😀

An interesting note about Debian is that GRUB 2 had given some love and now using graphical menu selector. It was something from GSOC 2008, but it wasn’t implemented because of the font legal issue. Now it’s on Debian Experimental, given that Lucid still synchronizing from Debian, it is a matter of time before Ubuntu got that one too. If you want more, you could give BURG, a GRUB pretified version, a try.

== Next is a human side of me, just stop here if you don’t like it 😀 ==

Read More

A Neat Thing

A Neat Thing

I know there are many shorter ways. But, this is my way to delete things. To delete a directory:

$ find .  -type d -print | grep ecchi | xargs rm -rf 

Change the “-type d” with “-type f” for printing files. In my example, I’m using “ecchi” for keyword. “xargs” is a neat utility that will pipe all of the output into the command. So, basically, it runs “rm -rf $PARAM” which “$PARAM” supplied by “grep”. Change the “rm -rf” with another command. Imagination is your limit.

May the source be with you.

Moving Out on Evolution

Moving Out on Evolution

There are many technological changes that would likely change our ways in GNU/Linux, especially Debian/Ubuntu. I want to share some so that we would expect errors and able to fix those. Comments are welcome, especially changes that I haven’t notice.

1 Job Scheduling

Vixie’s Cron has been running years on Debian/Ubuntu system. Gradually, the job scheduler is being taken by Upstart. Another change, Sys V initscript system has being being gradually deprecated. Upstart will be in Debian Squeeze and already in Ubuntu. The old initscript was invoked with this:

invoke-rc.d apache2 start

or

/etc/init.d/apache2 start

Now, since Karmic, the way of doing it is gradually changed into:

service apache2 start

or

start apache2

Well there are also stop.

2 Ubuntu are using their own build script on kernel

Yes, that’s true, especially in building kernel. Because they have many flavors, they have a configuration for each flavor. Meaning, if we build a variation on top of Ubuntu kernel, we may provide configuration. This would get us a variation of kernel and more robust configuration. Well, personally, I have try the Ubuntu way and it is pain. I still wish to use the standard Debian way of building kernel.

3 Xorg moving into DRM2: hello 3D!

As Linus was asking about Nouveau going upstream, the sign of new 3D infrastructure in X11 is rapidly shaping up. Gallium, the new tech is getting ready for prime time. Ubuntu already decided to ships Nouveau on Lucid. Unfortunately, Debian only have the Gallium for Intel hardware. ATi and Nouveau aren’t shipped yet on their kernel and marked as missing package. So, it’s a good news for the Intel hardware, but not for neither.

Ubuntu and Security

Ubuntu and Security

How to be save from Vampires? 

If you’re in Transylvania, if you walk into the street just wear a cross necklace or put white garlic on your fragrance. Count Dracula and his minions can’t go into a house if they were not invited into one’s house. So, as long as you keep away from inviting them, they can’t go in.

How to be save from worms?

If you’re using Ubuntu, just stay away from unofficial repositories.  Don’t worry about worm, trojans, etc! Every packages in Debian and its derivative (including Ubuntu) must get signed. The signer must be eligible to do so. Official repositories get maintain by such people.

Wait, what? There is such vampires worms?

No, there isn’t any worms in Ubuntu, not like the one works in other OS ™. With the UNIX-like architecture, GNU/Linux operating system is protected by default with kernel provisioning. With the years of recommendation of using user-space level programming than kernel level, which the other OS ™ version 7 now also use, applications can’t go into kernel mode and override things without provision.

One practice that we are practicing for years is avoiding using “root” account. There are projects like

sudo

to do even fantastic job: erasing root’s password. Every application runs as regular user. That’s why there such a special user available with special interest like the “www-data” user for web applications (Apache Webserver, lighttpd, nginx). There is also groups that are able to do the specific job. Special nodes (those in “/dev”) have group access limit so that only few users that belong to that group can access it.

BUT, there is a possibility of an application patched with malicious code from malicious contributor for error doing (like making your computer as a Botnet). The example is the now-deceased free screensaver from gnome-look.org. Luckily, it is a community driven, so the ill-work has been detected and eradicated.

Err… in the human language meaning? 

Just do things normally.

A Modern Revolution

A Modern Revolution

This post is a post in my insomniac night. But, I’m trying not to be rude… (you know, people with lack of sleep tends to overreact :D)

From all GNU/Linux distribution, I have many common things: improvement. For instance, OpenSUSE would have decreased time when opening YaST, Ubuntu have greater desktop integration and friendliness, and Fedora gain very much speed. Overall, modern GNU/Linux distribution is well polished. Different from the time where I think a LFS is amazingly needed. Now I would not like to build another BLFS for my laptop.

An old school like me would find it difficult to find the settings. From the learning process of the new distros, I learned that we can now enable network from Network Manager. This brings confusion when I want to start my desktop as server mode and turn off the X11. Fortunately, “ifconfig” and “route” commands still available. Because of the behaviour, I would cautiously shutting down my GDM process. It would be nice if I shut down the X11, I can still have a connection.

IM2 also provide their product driver with Ubuntu (.DEB) and Fedora/SUSE (.RPM). This means, many of its (power) customer is having GNU/Linux as their operating system. Unfortunately, I’m unable to find it in their web. But, as this momentum I would like to say that GNU/Linux RULEZ! So, please for all of the education institutions out there: Please consider free/open source as a part of your curriculum, don’t poise your students with M* domination and stuffs! Things aren’t like what it was few years back.

I was just enthusiasts to hack into Beagleboard and building my own Netbook. I would like to implement my own machine with the following capabilities:

  • Touchscreen. From convensional, 3D, and multi touch, this is like must have. New xorg implementation can enable the multitouch and any funky input devices.
  • GPS + Accelerometer for better GUI experience and traffic (integrate with OpenStreepMap).
  • 3G+ CDMA modem. Can be built to have network bonding, providing better connection with reasonable cost.
  • WiFi is the man!

Well, few months ago, unfortunately I came to this site and found out that it was (partially) already implemented. Darn! I wished I was a year faster… 😀 Now, I just want to buy that stuff (still beta testing, though).

Can we achieve the same level as global people?

My answer, yes, we can! I can show you so many things that our university could achieve. But, I don’t have the guts to tell you all and for humility, I would like not to do so. We can have many researches open to our university.

Hey, do you remember I was talking about grid computing?

Today yesterday was a great moment when in class there was Pharmacy students following our presentation about building grid machines. We had the knowledge of setting up the infrastructure and didn’t even know what the infrastructure was for, until they showed how it meant to be. They understand the data, but they were only users of the machines. So, joining both world, we had an enlightenment of becoming a good team solving those computational tasks.

My personal hope is may the InGRID resurrect and gain its prosper, because we have the real deal here, real people with real data to experimenting with.

Wow, what have I write?

Dreams are dreams not illusions when it has steps and tools to capture another steps and creating another tools. Live your dream and may the source be with you! 😀

Getting Multiple Screen

Getting Multiple Screen

Hello everyone! As my promise in reviewing OpenSUSE, I would like to give a recipe for making multiple screen. This post intended for any of Kubuntu, OpenSUSE, and any users that need to activate their dual screen.

Backup your “/etc/X11/xorg.conf” first. Then download my “xorg.conf.pdf” file. Please rename it into “xorg.conf”. Put the file on “/etc/X11” directory and restart your X.

Run “krandr” and you would have it on your tray. Click on the icon and you would get:

Krandr

Normally, the VGA display is cloned or disabled. Just try to find “Clone of” in the drop down menu and change it into “Right of” or “Left of” based on your laptop/desktop condition. Done.

Explanation (Skip this if you want)

Randr need the “virtual” space of Xorg configured with the joined dimension. If you have two screens and want to have them stretch the desktop, you must set the virtual space as screen 1 + screen 2.

In my case, I want two screens side by side. So, the axis of virtual space need to be stretched out.That’s why the value of the width is “2560” and set the height with “1024”.

If you want do funky things, like put the monitor on top of your main display, or somewhere else, just explore the krandr control panel.

QtCurve

QtCurve

Atas permintaan evran, saya mengunggah berkas konfigurasi saya. Perlu diketahui bahwa saya menggunakan Qtcurve sebagai tema penyatu antara KDE4 dan Gnome. Untuk memasangnya buka terminal dan ketik:

$ sudo apt-get install qtcurve

Atau gunakan cara yang lebih beradab, pakai Synaptic dan pasang paket Qtcurve dari sana. 😀

Setelah selesai, pergi ke Sistem -> Preferensi -> Penampilan klik kanan di desktop dan pilih “Ubah Latar Belakang Desktop”. Pilihlah tab “Tema”.

Penampilan

Pada tab “Tema” tekan tombol “Atur”, nanti akan muncul kotak dialog. Pilih tab “Komponen” dan pilih “Qtcurve”. Terakhir, tekan tombol “Tutup”.

Atur sendiri

Maka tema Anda sekarang sudah Qtcurve. Sekarang, unduh berkas ini. Jangan lupa mengganti ekstensi dari berkas ini dari INILAH.tar.gz.pdf menjadi INILAH.tar.gz. Lalu ekstrak berkas. Gunakan manajer berkas Nautilus untuk melakukannya.

Setelah selesai, timpa berkas-berkas pada direktori rumah Anda dengan berkas-berkas yang ada. Misalnya,  “

.kde/share/config/kdeglobals

” ditimpa dengan berkas dari “

INILAH/.kde/share/config/kdeglobals

“. Atau, gunakan Nautilus untuk pindahkan semua berkas di INILAH ke direktori rumah Anda. Jangan lupa mem-backup terlebih dahulu.

Silahkan berkomentar.