Member of 0xlab
Archives
- February 2012
- January 2012
- October 2011
- May 2011
- April 2011
- March 2011
- October 2010
- September 2010
- August 2010
- March 2010
- February 2010
- November 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- September 2007
Category Cloud
Copyrights
Category Archives: programming
Words from the Wise
Quote from Interview with Donald Knuth Still, I hate to duck your questions even though I also hate to offend other people’s sensibilities—given that software methodology has always been akin to religion. With the caveat that there’s no reason anybody … Continue reading
Posted in programming
Leave a comment
generate object methods at runtime
I have been working on a dialer button class since yesterday. It makes sense to use the command design pattern here, and I want to separate the commands and the buttons so I can change the functionality of every button … Continue reading
Posted in programming, python
Leave a comment
我果然不懂 C 啊。
from gcc-4.2.info: 5.34 An Inline Function is As Fast As a Macro <..snipped..> If you specify both `inline’ and `extern’ in the function definition, then the definition is used only for inlining. In no case is the function compiled on … Continue reading
Posted in C, programming
Leave a comment
GLOBAL and struct
Refer to: Gnu – Global – Help – How to find the definition effectively To put the story even shorter, the GNU GLOBAL will not treat C struct as definition, but as `other symbol’ . This means you may only … Continue reading
Posted in C, programming
Leave a comment
Hello World?
Guess this is appropriate for a blog about software. >>> print “Hello, world!” Hello, world!
Posted in programming, python
Leave a comment


