2006 or 2007?

June 27, 2007 · Filed Under General, Regular Hours · 11 Comments 

What year is it now? 2006 or 2007. Holy crap, I keep on writing 2006 .. What the f***?! …

Powered by ScribeFire.

Yatta, online with bcm43xx (dhcp mode)

June 23, 2007 · Filed Under General · 2 Comments 



broadcom43xx

Originally uploaded by Framed Geek

Well, actually, I don’t know what really happen. But I noticed several clues.

First off all, I got “SoftMAC: Open Authentication completed with 00:17:9a:1f:36:ec”. It was failed last time I booted. And then, iwconfig bit rate shows 11M compared to 1M before. Then link quality shows something like 61/100. Yokatta~

So, what did I do? Well, I followed some clues I got from some thread. First of all, I reloaded bcm43xx module with rmmod bcm43xx and then modprobe bcm43xx. That’s the point where I got good SoftMAC response. Then I set eth1 rate to 11M before trying to attach tho local AP. Then I do the usual iwconfig eth1 essid “PARSLEY JAKAL”. Voila, got link quality 61/100. I’m attached alrite. The process went on with dhcp. It took quite a while. I almost gave up when I saw ” 192.168.1.2 — renewal in 1538 seconds” in my tail -f /var/log/syslog terminal. Yatta~!

Now I can finally enjoy my Jasmine tea. *Slurp~*

Kenapa cloop terbatas jumlahnya (256)?

June 21, 2007 · Filed Under Open Source · 3 Comments 

Daripada dibilang tidak lengkap waktu membaca, mending saya nulis di sini saja. Kekekeke. Jadi sebenarnya kalau reply saya kemarin itu dibaca maka akan ditemukan link ke thread di lkml.org. Sebenarnya batasannya tidak 256 tapi 390. Persoalannya adalaah karena batasan maksimum alokasi memori yang bisa dilakukan oleh kmalloc, ie: 128KiB. Struct loop sendiri dialokasikan secara statis saat load module. Besar struct ini adalah 336 bytes. dengan demikian, dengan batas 128KiB maka hanya bisa dilokasikan maksimum 128 * 1024 / 336 device, yakni mendekati 390. Klo max_loop-nya saya ganti jadi 4076 gitu gimana? Baca lagi, batasan alokasi memory yang bisa dilakukan kmalloc hanya 128KiB. Kenapa kmalloc hanya bisa segitu? Tanya saja sama Mas Andrew Morton atau Mas Linus Torvald. Kenapa tidak pake malloc yang sering kita pakai sehari-hari? Ya karena kernel bukan barang sehari-hari meskipun biasa kita pakai tanpa sadar sehari-hari.

Gini nih kutipan aseli dari lkml

The loop_device array is kmalloc-ed at load/init time.On x86 (32-bit), struct loop_device is 336 bytes, and with kmalloc()having an upper limit of 128 KB, the max. number of loop_devices thatcan be allocated at one time is 128 * 1024 / 336 = 390, not a hugeimprovement over 256 loopback devices.

I don’t know of any reason that vmalloc() couldn’t be used hereinstead of kmalloc(), and once that hurdle is cleared (the 128 KB one),since minor number on 2.6.y is 20 bits, there can be plenty of loopbackdevices AFAIK.

I’m sure that Al or probably Andrew could answer this reliably.

Gimana? Lengkap bacanya?

Powered by ScribeFire.

Officially on bcm43xx (not ndiswrapper)

June 19, 2007 · Filed Under Open Source, Technology · 1 Comment 
[  211.580000] bcm43xx driver[  211.580000] ACPI: PCI Interrupt 0000:06:06.0[A] -> GSI 18 (level, low) -> IRQ 19[  270.632000] ADDRCONF(NETDEV_UP): eth1: link is not ready[  273.804000] ieee80211_crypt: registered algorithm ‘WEP’[  273.960000] SoftMAC: Open Authentication completed with 00:80:48:25:81:c6[  273.968000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

Ok, now I’m officially on broadcom43xx driver. Not with ndiswrapper anymore. There’s still a configuration item left as the module doesn’t loaded automatically. wlan0 is more, eth1 is the new wlan0. We’ll see if this driver can handle the weirdness I have when hanging around the hotspot I mentioned before.

Powered by ScribeFire.

Bernasib sial dengan hotspot

June 17, 2007 · Filed Under General, Open Source · 8 Comments 

Busyet deh, akhirnya harus pake XP. Hare gene gitu loh. Entah kenapa gk bsia juga konek internet di hotspot sejak kemaren. Mulai dari di Momento. Klo Momento sih sepertinya pake static IP dan harus minta ke managernya, sayang waktu itu sedang tidak ada di tempat. Kedua, di Celcius cafe, Amplaz. Tempatnya punya view keren. Kata mas teknisi, settingnya dhcp, key off. Tapi tetap saja ndak konek. Busyet. Sekarang di Parsley Jakal. Pake XP bisa meskipun rada putus-putus. Koneksi cepet. Dengarnya tadi di sini pake Speedy.

Tapi pertanyaannya adlah apakah ada salah di stack linux saya atau memang konfig networknya memerlukan banyak trik karena suatu hal? DHCP timeoutnya 60 juga gk dapet lease IP. Padahal di XP cepet banget dapetnya. /var/log/syslog gk banyak membantu.

Pertanyaan. Gimana cara memastikan bahwa iwconfig kita udah bener? Prasaan sudah ditulis bener, no network key. Tetep aja kok gk nyantol ya? Bikin stress. wlassistant ngebug karena dia tidak mengquote essid. Sudah dicoba juga pake cara yang di-log-kan sama wlassistant. Tetep juga.

Gimana nih pendapat para wardriver? Ada tip khusus gk menghadapi kondisi semacam ini?

Sepuluh rupiah per kilobyte itu super mahal, bego

June 15, 2007 · Filed Under Regular Hours, Technology · 3 Comments 
Jun 14 20:43:28 sofie pppd[7500]: pppd 2.4.4 started by sofie, uid 1000Jun 14 20:43:28 sofie pppd[7500]: Using interface ppp0Jun 14 20:43:28 sofie pppd[7500]: Connect: ppp0 <–> /dev/rfcomm0Jun 14 20:43:30 sofie pppd[7500]: CHAP authentication succeededJun 14 20:43:30 sofie pppd[7500]: CHAP authentication succeededJun 14 20:43:34 sofie pppd[7500]: local  IP address 172.26.28.136Jun 14 20:43:34 sofie pppd[7500]: remote IP address 192.168.254.254Jun 14 20:43:34 sofie pppd[7500]: primary   DNS address 202.152.254.245Jun 14 20:43:34 sofie pppd[7500]: secondary DNS address 202.152.254.246Jun 14 20:53:29 sofie pppd[7500]: Terminating on signal 15Jun 14 20:53:29 sofie pppd[7500]: Connect time 10.0 minutes.Jun 14 20:53:29 sofie pppd[7500]: Sent 179956 bytes, received 812653 bytes.Jun 14 20:53:29 sofie pppd[7500]: Connection terminated.Jun 14 20:53:30 sofie pppd[7500]: Exit.

Yep, akhirnya setelah dua hari, berhasil juga konek ke gprs xl. Tapi tetep juga gak bisa online. Selidik punya selidik ternyata pulsa udah tinggal 1040, dari pulsa awal sekitar 10 ribuan. Aje gile! Prasaan belum konek sama sekali. Resolve domain sih udah bisa dan selalu bisa, tapi waktu coba online selalu diputus sama remote peer. Meteran GPRS Info kok udah sampe 1,2 MB? Apa-apaan?!

Ya, pembelajaran. Tarif Rp 10/KB itu .. so fcking crazy super duper expensive. Itu berarti 1,2MB = 1,2 x 1024 x Rp 10 = somthing > Rp 10 ribu. Ini bukan lagi dunia dimana 640KB itu cukup untuk semua orang, meskipun sudah terlalu banyak PC yang nongkrong di dunia ini. Rp 1/KB juga sama aja. Masih mending tarif flat dengan ukuran waktu karena konsumsi bandwidth kebanyakan orang sekarang sudah gila-gilaan.

Jadi apa maksudnya? Ya cari tarif yang murah. Dan terus usahakan ada tarif yang murah. Jaman inherent kok akses internet masih mahal, ndeso!

Powered by ScribeFire.

Covert art experiment

June 13, 2007 · Filed Under Open Source, Technology · Comment 



covert art experiment

Originally uploaded by Framed Geek

Having my wife and a laptop on my side means more times and spirit to do (code) hacking. I’ve been interested in making a iTunes’ cover-artwork clone. Just one this thing and everyone can stop bitching about Amarok is not like iTunes.

Well, as you can see in the screenshot, it’s pretty much feasible. Though, the perspective is kinda funny (reverted scale and cover-flow direction). Well, you can blame my i-am-not-zack-rusin lame math. This screenshot was made using KImageEffect, QImage and QPixmap. The transformation formula is taken from wikipedia. I think I got the x2d and y2d transformation good, but there’s no info on the scale transformation. As far as my brain could go, i thought the scale can be calculated from transformed top-right minus transformed top-left. But it ended up, still, wrong. I dunno. The z3d factor should make the widht&height smaller, but what really happen is: it made it bigger. Oh, crap.

I think I’ll left the correct perspective transformation task to any zack-clone-reader, and start working with dcop to fetch real cover art. And maybe add some keybinding to make it usable.

Nikmatnya hi-link Inherent

June 9, 2007 · Filed Under General · 8 Comments 



apt-get install flightgear

Originally uploaded by Framed Geek

Ya memang. Hi-LinkInherent sangatlah nikmat. Mungkin ada sih yang bsia mendapatkan kecepatan akses di atas batas yanga da dalam screenshot saya. tapi bagi orang yang biasanya hanya bisa mentok sampai 7-10KB dan itupun saat saat tengah malam, Hi-Link benar-benar surga jatoh. Dalam screenshot bisa dilihat lightning speed sewaktu instalasi flightgear. sekitar 160MB didownload tanpa merasa cemas kapan bakal selesai.

HilinkInherent memang surga, tapi itu hanya bagi yang punya akses ke network 5 perguruan tinggi di Indonesia: UGM, ITB, ITS, .. dua lagi saya kurang ingat dan tidak bisa melakukan googling karena guess what? Ya, ini adalah pagi hari, peak time. Googling pada saat seperti ini hanya akan merusak mood dan produktifitas saya. So, bagi-orang yang tidak punya akses ke jaringan 5 perguruan tinggi tersebut, ya anda bisa menikmati screenshot yang saya pajang itu.

Namanya teknologi, pasti seperti pedang yang bermata dua. Di satu sisi, dengan kecepatan uplink dan dowblink yang ruarrr biasa, penetrasi terhadap teknologi-teknologi (lama atau baru) menjadi semakin mudah dan sering terjadi. Kubuntu 7.04 saya jadi gampang diupdate. Install kdebase-devel bisa dilakukan dalam waktu singkat. Peluang ngoprek pu jadi semakin mudah. Tentu saja ini akan mengakselerasi pertumbuhan komunitas opensource di daerah seputar HilinkInherent.

Lalu bagaimana dengan negative side-nya? Ah, itu sudah biasa. Ndak perlu dibahas :p.

Kapan ya akses internet ini bisa lebih cepat lagi. Mirror dalam kota saja tidak ada. Kini harapanku kutumpukan pada pengusaha-pengusaha IT lokal. Mudah-mudahan saja pemilik jalur-jalur cepat di Yogyakarta ini mau berkontribusi kepada komunitas opensource dengan memberikan koneksi cepat dalam kota untuk mengakses resource-resource bebas (FOSS material). Malu ah sebagai warga kota yang melek IT tapi masih lemot internetnya.

Sandalku sayang sandalku malang

June 8, 2007 · Filed Under General · 4 Comments 

kalau dilihat dari segi beribadah, saya percaya bahwa sandalku yang hialng itu terjadi karena saya ndak konsen sholat jum’at. Unbelievably, malah mikirin soal-soal kerjaan. Peringatan buat lebih menyeimbangkan kerja dan ibadah.

Sedang, jika ditinjau dari segi manajemen diri. Itu karena saya tidak disiplin untuk memakai sandal jepit kalau ke masjid. Rada aneh memang, ke masjid tapi dimulai dengan niat pake sandal jepit biar gk dicolong. Gk tau deh urusannya sama niat ibadahnya :)).

To sum all, inilah hari yang menakjubkan. Ada banyak peristiwa yang perlu aku renungi. Cieeh. Moga-moga dapet ganti sandal yang tetep bagus awet dan barokah ^^. Ustad dadakan.

Powered by ScribeFire.

SCM Dissected

June 4, 2007 · Filed Under Open Source · Comment 

Via Slashdot.It’s started over a story of Linus’s “Subversion has been the most pointless project ever started…
Subversion used to say, ‘CVS done right.’ With that slogan there is
nowhere you can go. There is no way to do CVS right.” when he talked at Google few weeks ago.

Discussion is gearing toward positive side. And voila, we automatically got an unofficial SCM Dissected “e-book” ;). There’re many things to read. Concluded on how each SCM was designed to overcome many different problem. Even the holy GIT was said also to have lack of performance on a very large multiproject environment. Nevertheless, many agrees that distributed SCM (Source Control Management) is the way to go. You bet it is. It’s SCM done right.

Do you use any SCM?

Powered by ScribeFire.

Next Page »