Subversion LOLity

From /usr/src/UPDATING on FreeBSD 7-STABLE:

Never 'assert' a statement with side effects!

 Every once in awhile, while whisking away at a new batch of code, the best of your wit fails you and you plant the seed for what would be an epic, head-ache inducing bug by not following a good common practice you really ought to know better about.

[C++] A functor abuse, but a cool abuse :D

Taken from http://www.boost.org/doc/html/program_options/tutorial.html, here's my “omigod why haven't I thought of this before” moment of the week:

// Declare the supported options.
po::options_description desc("Allowed options");
desc.add_options()
("help", "produce help message")
("compression", po::value(), "set compression level")
;

All I can say is: -_-)=b

Google Mobile Platform released

Google announced today his Mobile Phone platform... NTT DoCoMo is working with them,  BTW. Details in here:

 

http://googleblog.blogspot.com/2007/11/wheres-my-gphone.html 

http://feeds.feedburner.com/~r/OmMalik/~3/180103075/

 

The base for this new "OS" is Linux. 

Python methods are not python functions

As much as python treats functions as first order objects analogous in most ways to any other new-style object, it is important to observe the fine differences between methods and functions, and in the process hopefully avoid a few edge case pitfalls.

 

Some fun facts to keep in mind:

OpenMoko, an OS allternative to iPhone?

More details here:

 http://www.openmoko.com/

http://openmoko.org/

 

Some blog talking about it:

http://troubledramblings.com/2007/10/06/the-open-source-iphone-alternative-openmoko-for-consumers/ 

 

Syndicate content