Posted
on September 8, 2005, 15:35,
by pittaya.
ไปอ่านเจอมาจากใน slashdot ขำดี
Make your own MOTO ROKR
- ซื้อ iPod nano
- ซื้อกระดาษกาวสองหน้า
- แปะ iPod nano ติดกับมือถือเครื่องเก่า
ข้อดี:
- ฟังเพลงได้่ ไม่ต้องกลัวมือถือแบตหมด
- ราคาเพียง 200USD (MOTO ROKR ขายที่ 250USD)
- ไม่ต้องทำสัญญา 2 ปีกับ Cingular
- ขนาดใหญ่กว่ามือถือตัวเก่าเล็กน้อย
- เก็บเพลงได้มากกว่า ROKR 5 เท่า
- ไม่ชอบก็ถอดออกได้
ข้อเสีย:
- เสียดายของ, iPod nano ดีๆ จะเอาไปแปะให้มันเหนียวกาวทำไม
- คนอื่นจะหาว่าเพี้ยน
หมายเหตุ - MOTO ROKR เป็นโทรศัพท์มือถือของ Motorola ที่รัน iTunes ได้ ฟังเพลงได้ ราคา 250 USD ซื้อแล้วต้องทำสัญญากับ Cingular (Mobile operator เจ้าหนึ่งใน US) 2 ปี
Posted
on September 8, 2005, 02:48,
by pittaya.
ThinkSecret ข่าวไม่พลาดจริงๆ ด้วย
ในที่สุด Apple ก็ปล่อย iPod nano ออกมาจนได้ ด้วยขนาดที่เล็กโคตร บางเฉียบ จอสี มี clickwheel เห็นแล้วยั่วน้ำลายเป็นที่สุด

iPod mini ว่าตัวเล็กกระทัดรัดแล้ว ถือว่าใหญ่ไปเลยเมื่อเทียบกับ nano ที่มีขนาด 3.5 x 1.6 x 0.27 นิ้ว น้ำหนักเพียง 42 กรัม (1.5 ออนซ์) !
สนนราคาค่าตัวอยู่ที่ $199 สำหรับรุ่น 2GB คือเท่ากับ iPod mini 4GB ของเดิมเลย แต่ว่าสำหรับ nano แล้ว ขนาดที่ลดลงมา กับจอสี ราคานี้ก็ยังถือว่าสมเหตุสมผลอยู่
สังเกตได้ว่าสายการผลิต iPod เปลี่ยนมาเป็นจอสีหมดแล้ว (ยกเว้น Shuffle) และ iPod mini ก็กำลังจะตกรุ่นไปแล้ว นอกเสียจากว่า apple จะอัพเกรดความจุ แล้วใส่จอสีเข้าไปน่ะแหละ
คาดว่าพรุ่งนี้ไปอ่าน tech blog ไหนๆ ก็คงจะพูดถึงเรื่องนี้แน่ๆ (หรือไม่ก็เรื่องโทรศัพท์มือถือของ Motorola ที่ช่วยกันกับ Apple ใส่ iTunes เข้าไปได้)
Posted
on September 8, 2005, 01:27,
by pittaya.
ปัญหาที่มัน parse feed แล้วออกมาเจ๊งๆ ตอนนี้เปลี่ยนไปใช้ planetplanet ตัวใหม่จาก repository แล้ว
เป็น feedparser เวอร์ชันล่าสุด ไม่รู้จะมีปัญหาอะไรอีกหรือเปล่า
Posted
on September 4, 2005, 12:48,
by pittaya.
Compiling Quake III arena on Linux is not quite difficult as i thought, but only a bundled README is not enough. After googling for a while i found the source files contain win32-style linebreak, so they need to be changed to unix-style ones. Moreover, default parameter in Makefile are optimized for pentium, so i need to edit it manually for my athlon cpu. The last thing is this Makefile is for gcc-2.95, some parameters are deprecated in gcc-3.3 (my default compiler) so i replaced them with 3.3 equivalent.
A brief compiling steps for my Ubuntu box (Hoary):
(adopt from here)
- Download the source from ftp://ftp.idsoftware.com/idstuff/source/quake3-1.32b-source.zip
- Unzip using:
unzip -qa quake3-1.32b-source.zip
(to convert file silently)
- chmod all perl script (*.pl) and shell script (*.sh) to be executable
- chmod code/unix/cons and code/unix/pcons-2.3.1 to be executable
- Edit code/unix/cons file, change first line from
#!/usr/bin/env perl
into:
#!/usr/bin/perl
- Edit unix/Makefile, line 149, change it to suit machine’s architecture
- Edit Construct file, line 22, change from ‘debug’ to ‘release’
- Execute: unix/cons release
- Take a break, have some coffee
- Go to code/install, there’s linuxquake3 binary file waiting to be executed
Then i get an error message said cannot find default.cfg - What the hell !
Another 10 minutes googling, i found that, in order to run Q3A i need game data file (the so-called pak0.pak file) which can be obtained from Q3A CD which i don’t have.
Do I have to go to buy a box of Q3A ? Fortunately, Bram Cohen has invented BitTorrent. Q3A can be easily found on several trackers.
There’re still more problems.
The file i downloaded is in 7-zip format which i cannot open it with my Hoary and the p7zip package is only available for Breezy
i have to download the binary manually - Damn!,i was spoiled by Apt-get/Synaptics easiness.
After unzip it, there are quake3.mdf and quake3.mds file. What the hell are these file ?
More googling told me it’s an image file created by Alcohol 120%,
<rant>I HATE IT! why didnt’t they make it ordinary ISO file !</rant>
mdf2iso is also not available for my Hoary and its website doesn’t provide any binary packages. I grabbed the source - compile - then use it on the damn mdf file.
Finally, i got an ISO file. It seems ok and can be mounted as loopback without problem.
Then, get it burned on CD with GnomeBaker.
Let’s come back to focus on Q3A. There’s a file named pak0.pak3 on Q3A cd, copy it to code/install/baseq3 directory.
Run linuxquake3 binary and then VOILA ! Q3A started ! With 3D acceleration ! With SFX !
Enough for today…
Hacking the engine must be an energy-consumed task, should be done in another day -_-’
Posted
on September 1, 2005, 03:46,
by pittaya.
ID software’s developers are crazy !
Look at their code !
(Taken from source code of Quake III arena that they just GPLed.)
./unix/ChangeLog: Note: Unix CR/LF in *.dsw/*.dsp fucks up MSVC++.
./unix/ChangeLog: How the fuck did this happen?
./ui/ui_shared.c: //FIXME: this is a fucking mess
./game/q_math.c: i = 0x5f3759df - ( i >> 1 ); // what the fuck?
./release-x86-Linux-/Q3/q3_ui/q3_ui/ui_atoms.asm:;604: // fuck, don't have a clean cut, we'll overflow
./client/snd_dma.c: if (letter =='') letter = '/'; // damn path names
./game/g_combat.c: self->client->ps.persistant[PERS_PLAYEREVENTS] ^= PLAYEREVENT_HOLYSHIT;
./unix/unix_main.c:// flush stdin, I suspect some terminals are sending a LOT of shit
./cgame/cg_local.h: sfxHandle_t holyShitSound;
./game/bg_lib.c:/* this is really crappy */