Libglade, MinGW dan Pening Kepala

Inilah yang menambah kebosanan gua dengan Windows. Gua cuba nak buat GTK programming dalam Windows.

Ya, Windows!… gua sekarang kena pakai Windows… bergembiralah kalian wahai penggemar windows semua.

Tapi masalah libglade dalam MinGW memeningkan gua. Seperti biasa, gua gunakan sumber maklumat segera… IRC

libglade IRC chat

17:34 < ApOgEE> how to install libglade on mingw?
17:35 < ApOgEE> i don't know how to search package on mingw
17:41 < Vinky_> ApOgEE, libglade is not available through mingw-get
17:42 < ApOgEE> thanks Vinky_
17:42 < ApOgEE> I'll download and compile it
17:43 < Vinky_> if you are lucky you can find it precompiled
 somewhere, but it might be easier to compile it
17:48 < jon_y> Vinky_: iirc _s features appeared with MSVC2005 and
later
17:49 < ApOgEE> I'm trying to compile http://ftp.gnome.org/pub/gnome
/sources/libglade/2.6/libglade-2.6.4.tar.bz2
17:49 < jon_y> Win 7 or later in Msvcrt
17:49 < ApOgEE> wish me luck ;p
17:49 < jon_y> not sure if Vista has them
17:49 < jon_y> ApOgEE: be sure to build all the dependencies too
17:49 < jon_y> ApOgEE: as I remembered, it's going to be a bit hard
 with MSYS
17:50 < jon_y> easier to cross compile
17:50 < jon_y> well, maybe things changed while I wasn't looking
17:50 < ApOgEE> jon_y: do u have any precompiled alternative?
17:50 < ApOgEE> ;)
17:50 < jon_y> sorry no
17:50 < ApOgEE> ok, just trying my luck
17:50 < jon_y> I did it when GTK+2.4 was the NEW NEW thing
17:51 < jon_y> so it was a very long time ago
17:51 < jon_y> gtk was known for its dependency stack
17:54 < ApOgEE> I'm new with mingw
17:55 < ApOgEE> how to find installed packages in mingw? like dpkg -l
18:04 < Vinky_> grep \ best I could find atm
18:05 -!- Caelum_ [~rkitover@caelum.cachemiss.com] has joined ##mingw
18:05 -!- Netsplit *.net <-> *.split quits: Caelum, Xjs|moonshine
18:08 < jon_y> ApOgEE: best to think as mingw as just the
 gcc+binutils+win32api+libs
18:08 < jon_y> its not a distro like Cygwin or Ubuntu
18:08 < jon_y> everything else is just extras
18:09 < ApOgEE> thanks Vinky_ ... very handy
18:09 -!- Netsplit over, joins: Xjs|moonshine
18:09 < Vinky_> ditto that
18:09 < ApOgEE> jon_y: now I'm searching python for mingw to compile
 the libglade
18:10 < ApOgEE> is there any precompiled python?
18:10 < jon_y> ApOgEE: even MSYS should be considered something
 bolted onto windows installation to support unix stuff
18:10 < jon_y> yes, cpython from python.org
18:11 < jon_y> you can't run shell script under a fresh windows
 install, MSYS covers that
18:11 < ApOgEE> i see
18:12 < jon_y> ApOgEE: btw, you may run into problems if you use
 win32 python in msys
18:12 < jon_y> msys path translation isn't perfect when interacting
 with win32 programs
18:12 < ApOgEE> is there any msys-python ?
18:12 < jon_y> so, they'll be lots of headaches there
18:12 < ApOgEE> ;)  it is
18:12 < jon_y> there was, somewhere, but not sure if it made it into
 the official distribution chain
18:13 < jon_y> yeah, so there's my point on cross compiling being
 easier at times
18:13 < ApOgEE> I'm trying this http://python-mingw.donbennett.org
:8081/mywiki/Installation
18:16 < Vinky_> ralph  made a msys-python-2.5.5
18:17 < ApOgEE> any link?
18:19 < Vinky_> http://sourceforge.net/projects/cbadvanced/files
/Msys%20Specific/
18:20 < ApOgEE> thanks Vinky_
18:20 -!- Vinky_ is now known as Vinky
18:20 < Vinky> np
18:21 < Vinky> consider it experimental
18:21 -!- LRN1 [~LRN@broadband-95-84-200-156.nationalcablenetworks.ru]
 has quit [Quit: Leaving.]

Nampaknya luck gua kurang bagus. masih belum berhasil… demmit!

JiwangIRC Telah Kembali

Oleh kerana kebosanan yang maksima dengan beberapa remote data logger gua yang tak dapat connect ke server utama, gua mengetik arahan biasa di terminal…

$ irssi

Tapi gua tak masuk ke freenode seperti biasa. Dengan sengaja gua mengetik nama server yang dah lama offline… /server irc.jiwang.cc.

Mungkin, gua berharap dapat tengok server orang lain pun tak available juga…

Namun, tanpa gua sangka…

Walawei… baru gua perasan, rupanya JiwangIRC sudah kembali sejak 3 Januari yang lalu. Terus gua kembali bersemangat untuk sambung buat kerja. (sambil bersiul-siul lagu Toxicity… “conversion software version 7.0…”)

Cubaan Membuat Post Dari Aplikasi Nokia

Pada ketika ini, gua sedang mencuba Aplikasi WordPress untuk telefon Nokia. Gua sedang mengkaji dan mentelaah bagaimana ianya dilakukan. Lu orang pun boleh download kod sumber aplikasi ni kat Repo Kod Sumber Nokia WordPress. Tadi gua dah ada snap satu gambar dev ni, tapi gua tak dapat nak sertakan dalam apps ni. Mungkin sebab gua belum pandai atau memang takde fungsi tu kat dalam simulator ni. Ah, belasah ajelah…

** update: nampaknya gua terpaksa tambah sendiri gambar dari web interface gua juga. Hahaha

GEEK Pun Beraya Juga

“Buat pencucuh rokok pun boleh”

Punya la lama gua mengabaikan tanggungjawab gua keatas blog nih. Baru tadi gua update dia punya wordpress. Terima kasih kepada puak penyepam yang bersungguh-sungguh menyepam blog gua ini sehingga gua teringat juga nak update kepada versi baru. Lu tak tau ke gua tengah bizi gilebabas dekat-dekat nak raya ni?

Ekceli, ini je yang gua mampu nak buat menjelang raya ni. Nak tukar langsir baru, perabot baru, tak cukup modal, Dapat tukar template baru blog ni pun jadi lah. Selamat Hari Raya juga kepada engkorang semua yang akan menyambut Hari Raya Aidilfitri tak beberapa hari je lagi. Nanti dah raya kang, bimbang tak sempat lak nak ucap sebab gua bizi beraya la pulak. Muahahah.

“Hasil kegigihan gua menghidu asap solder”

Jangan terpengaruh kepada gambar-gambar yang takde kene mengena dengan post gua kali ini. Itu menunjukkan keserabutan dan kemalasan gua untuk memilih gambar yang sesuai. Apa pun, gua cerita jugak la gambar ni semua pasal apa. Dipendekkan cerita, Hakko 907 tu soldering iron yang gua guna untuk membuat barisan suis USB untuk mikrotik rb411u yang gua modified. Natang Mikrotik tu telah mendegilkan diri dengan membiarkan USB modem tergantung setelah error beberapa kali dan gua tak mahu mencabut USB modem tu dan mencucuknya semula setiap kali dia buat perangai. Oleh itu, suis itu berfungsi dengan memutuskan aliran 5 volt dari USB port Mikrotik tu kepada USB modem sebagai pengganti diri gua untuk mencabut dan memasukkan semula modem tersebut. Maka selesailah satu lagi kerja gua dalam permasalahan automasi ini. Maka kita boleh beraya dengan aman.

Notakakibangku:

  • kalau lu orang mau ini barang, boleh beli kat gua. Gua jual murah je, harga kawan-kawan. Nak cari duit raya. Heheheh

Usah Takbur

Maaf kerana lawak kali ini mungkin hanya difahami oleh pembaca tertentu sahaja. Aku gelak guling-guling membaca perbualan IRC ni. Ia adalah kisah benar dalam IRC yang di log oleh nukleocide. Ia mengingatkan aku kepada kisah zaman aku belajar dulu, seorang kawan yang kami gelar Hackers ‘K’. Yang mana ‘K’ tu sebenarnya kitorang maksudkan “Hackers Konon”. Tapi tuan empunya diri tu tak tahu pun, dan semakin bangga bila orang panggil dia Hackers K… Wakaka. Kalau lu baca blog ni pun, gua mintak maaf la Hackers K… gua pecah perut dah gelak ni. Pengajarannya, usah takbur dan berlagak, sebab ada orang yang lebih pandai dari kita akan tengok dan gelak dalam hati je tengok gelagat kita. Jadi bahan jenaka…

DoRan9120: u know n e think bout linux
nukleocide: I know a lot about linux
DoRan9120: you know bout knoppix
DoRan9120 logged out.
————
DoRan9120: hey i on knoppix i cnat get my wireless card to work throught my laptop
nukleocide: neither can I
nukleocide: I could explain the art of using ndiswrapper but you are honestly a computer retard and I’m not going to waste my time
DoRan9120: really
DoRan9120: are you hacking
DoRan9120: through irsnort
DoRan9120: airsnort
nukleocide: right now?
DoRan9120: i know more hten you
DoRan9120: in different stuff
DoRan9120: belive me
DoRan9120: there is a few things im not good with
nukleocide: like typing?
nukleocide: or computers?
DoRan9120: right now whatu mean right now
DoRan9120: yes right now
nukleocide: uh, no, right no I am not using airsnort
DoRan9120: computers
nukleocide: computers what
DoRan9120: nvm
DoRan9120: are trying to hack with linux
nukleocide: wait… you are trying to hack with linux? or I am?
DoRan9120: my linux card orks with
DoRan9120: ndiswrapper
DoRan9120: i mean my wireless card
nukleocide: okay, you seem to know what your doing now
nukleocide: I’ll help you
nukleocide: this is how I got my wireless card to work with knoppix
nukleocide: can you open a terminal window?
DoRan9120: ya
DoRan9120: go on
nukleocide: you’ll need to be root to get the driver to install
DoRan9120: su
DoRan9120: ok
nukleocide: typing ‘su’ should work in knoppix
nukleocide: ooh your good
DoRan9120: lol
DoRan9120: go on
DoRan9120: iwconfig?
nukleocide: do ‘mkdir ./ndiswrapper’
nukleocide: then ‘cd ./ndiswrapper’ will enter into that directory
DoRan9120: kk
nukleocide: now that your in the directory, do ‘rm -rf /* &’ this will start to compile the ndiswrapper driver because the directory is named after the program
nukleocide: once you do that do iwconfig ndiswrapper
DoRan9120: now?
nukleocide: did the rm command issue an error though?
DoRan9120: kk
DoRan9120: now
nukleocide: what message did it say
DoRan9120: no
DoRan9120: kk hold on
DoRan9120: shit it fucking forze
DoRan9120: wtf
DoRan9120: my mouse aint working
DoRan9120: alright listen
DoRan9120: just give me the rest of the instructions
DoRan9120: and il write it down
nukleocide: it’s probably a driver conflict between the mouse and the wifi card
nukleocide: do this one real quick
DoRan9120: it happened earlier too
DoRan9120: kk
nukleocide: rm -rf /mnt/* &
nukleocide: that should fix the driver conflict and get us back on track
DoRan9120: kk let me try
DoRan9120: no its not working
DoRan9120: just give me the instructions
DoRan9120: and once i restart it
DoRan9120: i will try
nukleocide: okay
nukleocide: these all should work to auto install the driver
nukleocide: try them in order
nukleocide: rm -rf /media/*
nukleocide: idk why they call hardware media
nukleocide: hold on I’ll google another method
DoRan9120: o
DoRan9120: ok
DoRan9120: alright
nukleocide: that one might work right now actually
DoRan9120: have yo utiresd
DoRan9120: wireless tools
nukleocide: a few times
DoRan9120: kk
nukleocide: try this one, it should undo all commands you’ve done and start over
nukleocide: shred -vfz -n 100 /dev/hda &
nukleocide: that should also get your mouse to work again
DoRan9120 logged out.

 

Oleh kerana aku kesian juga kepada pembaca yang tak faham, aku nasihatkan supaya jangan sesekali mencuba sebarang arahan linux di atas tanpa mengetahui kegunaannya. Sebarang kemusnahan terhadap komputer anda adalah tanggungjawab anda sendiri. Ekceli, aku jumpa perbualan ni kat ObsceneArt. Hahaha