Development
How to setup OSD for ThinkPad on Ubuntu Gutsy
Today I notice some strange behavior of my laptop since all hotkeys did not show on-screen display anymore. All buttons still work as expect but Gnome don't get notification so mute/unmute will not effect the icon in notification area. It seems to just happer after upgrading kernel to 2.6.22-11. Well, I have found workaround.
- sugree's blog
- Add new comment
- Read more
- 4193 reads
Codenone User Group Meeting #1 The Hangman
เมื่อวันเสาร์ที่ 1 กันยายน 2550 ที่ผ่านมามีงาน Codenone User Group Meeting #1 ที่โพลา โพลาตรงข้ามม.เกษตร ตอนแรกกะกันว่าจะฝากตัวไว้ที่โพลา โพลาซักครึ่งวัน เอาเข้าจริงสถานที่ไม่เอื้ออำนวย โชคดีที่อ.มะนาวเอื้อเฟื้อสถานที่ให้ใช้ห้องที่ภาคคอม รอดตัวไป งานนี้มีหัวข้อสั้นๆ ง่ายๆ ว่า Hangman ใครถนัดอะไรก็ตามสะดวก ประทับใจงานนี้มากครับ ทำให้นึกถึงคืนวันเก่าๆ เขียนโปรแกรมแข่งกับเวลา เนื่องจากช่วงนี้งานรัดตัว ผมเลยอาศัยเวลาระหว่างพี่ป๊อกพูดเอามาเขียนโปรแกรมก่อนที่จะให้ดูเป็นคนสุดท้าย เป็นหนึ่งในประสบการณ์เสียวเสี่ยวนาทีแห่งชีวิตจริงๆ และที่ขาดไม่ได้ มีวีดีโอด้วยนะ ความจริงแล้วกะว่าจะเขียนถึงทันทีที่กลับบ้าน แต่ว่ายอมอดทนไม่พูดเพื่อบังคับตัวเองให้รีบตัดวีดีโอให้เสร็จรวดเดียวเลย ไม่งั้นอาจมีการเบี้ยวได้
- sugree's blog
- Add new comment
- Read more
- 5708 reads
How to install VMware on Ubuntu Gutsy Gibbon
This is my first task. I would like to run VMware under Ubuntu Gutsy Gibbon. Unfortunately, it seems like VMware doesn't support the latest kernel, 2.6.22-9, yet. As a result, I got below error messages.
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmnet-only' make -C /lib/modules/2.6.22-9-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-9-386' CC [M] /tmp/vmware-config0/vmnet-only/driver.o CC [M] /tmp/vmware-config0/vmnet-only/hub.o CC [M] /tmp/vmware-config0/vmnet-only/userif.o /tmp/vmware-config0/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’: /tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’ /tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’ /tmp/vmware-config0/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’ make[2]: *** [/tmp/vmware-config0/vmnet-only/userif.o] Error 1 make[1]: *** [_module_/tmp/vmware-config0/vmnet-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-9-386' make: *** [vmnet.ko] Error 2 make: Leaving directory `/tmp/vmware-config0/vmnet-only' Unable to build the vmnet module.
- sugree's blog
- 12 comments
- Read more
- 10967 reads
The future of BTQueue 0.1.4
For all fans of text-based BitTorrent client like BTQueue, I am still working on it everyday. As of now, its core engine has been changed to offer more features and the latest core is BitTorrent 5.0.8. Anyway, I can't release this new one because of some big problem regarding weird memory usage. By the way, it is usable for use but not for long run.
- sugree's blog
- 2 comments
- Read more
- 4102 reads
How to calculate equation with summation in Python
Most modern mathematics might have summation in some parts of equation. Implementing this kind of equations in Python is very easy and straightforward. Python already provides built-in functions to help us, e.g., sum()
and map()
.
- sugree's blog
- 1 comment
- Read more
- 6299 reads
How to create and verify lmPassword or ntPassword hash using PHP
Sometimes authenticating password against LDAP in PHP can't rely on userPassword
attribute because they might use only lmPassword
or ntPassword
. It is not quite easy but not too hard as long as we have LDAP Account Manager.
- sugree's blog
- Add new comment
- Read more
- 4939 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago