oozone.blogspot.com
oOzone: I Could Have Done It Too
http://oozone.blogspot.com/2009/09/i-could-have-done-it-too.html
Thoughts on Computers, Programming and OO Design. Wednesday, September 16, 2009. I Could Have Done It Too. With application development, the question is not whether you could have done it; it's whether you did it at all. Do you believe in your idea enough to invest the time and the effort it takes to do it? Subscribe to: Post Comments (Atom). Selective Ignorance - Koenig. Herb Sutter - GoTW. John Vlissides - Publications. Grady Booch - Architecture. Cubblogs - My other blogs. Cubbspace - Literary blog.
oozone.blogspot.com
oOzone: Recipe - Do Something To Each File In Directory
http://oozone.blogspot.com/2008/12/recipe-do-something-to-each-file-in.html
Thoughts on Computers, Programming and OO Design. Sunday, December 14, 2008. Recipe - Do Something To Each File In Directory. This one is a real life-saver! To do the same operation on each file, in Windows, you can use the for command. For /F %i in ('dir *.dbg /s/b ') do @del %i. The above example deletes all *.dbg files under the current directory. For /F %i . for each %i. Do @del %i . del %i is the command to delete the file. @ suppresses the display of the command. Labels: Windows Command-line Tips.
oozone.blogspot.com
oOzone: May 2010
http://oozone.blogspot.com/2010_05_01_archive.html
Thoughts on Computers, Programming and OO Design. Saturday, May 29, 2010. Was listening to C Stylistics. 1 Three pillars of OO. 2 object oriented styles. 3 object destruction policy. 4 reuse is actually use! 5 use chairs to make a bed is reuse. 6 using it again to sit is just use. 9 challenge is to organize code. 10 if you are not doing much, you become uncomfortable. 12 you cannot have virtual template functions. Subscribe to: Posts (Atom). Selective Ignorance - Koenig. Herb Sutter - GoTW.
oozone.blogspot.com
oOzone: January 2010
http://oozone.blogspot.com/2010_01_01_archive.html
Thoughts on Computers, Programming and OO Design. Thursday, January 28, 2010. Schedule Task, View Dependencies. On Win2K , schedule commands to run. Eg: at 07:45 "shutdown -s". Shuts down the PC at 7:45 am. You can view these tasks in Control Panel as well. On *nix, view shared library dependencies of an executable. Sunday, January 17, 2010. Sharing a template for an easy to use make file system. Self-maintaining: No need for manually adding files. Quick-and-dirty: Get started fast! Libraries to link to.
oozone.blogspot.com
oOzone: Thomanujan Number - 1229
http://oozone.blogspot.com/2009/06/thomanujan-number-1229.html
Thoughts on Computers, Programming and OO Design. Monday, June 29, 2009. Thomanujan Number - 1229. Thanks to Jeswin for pointing out bug in code. S :( Sheepish smile. Just made a discovery! For a problem on a sample space of cardinality up to 1229, it is possible to encode the information inside a 4-byte integer. We can do it with prime number multiplication - the product is uniquely decomposable as everybody knows. The product of the first 1229 prime numbers fits within MAXINT! Looking for a function.
oozone.blogspot.com
oOzone: Schedule Task, View Dependencies
http://oozone.blogspot.com/2010/01/schedule-task-view-dependencies.html
Thoughts on Computers, Programming and OO Design. Thursday, January 28, 2010. Schedule Task, View Dependencies. On Win2K , schedule commands to run. Eg: at 07:45 "shutdown -s". Shuts down the PC at 7:45 am. You can view these tasks in Control Panel as well. On *nix, view shared library dependencies of an executable. Subscribe to: Post Comments (Atom). Selective Ignorance - Koenig. Herb Sutter - GoTW. John Vlissides - Publications. Grady Booch - Architecture. Cubblogs - My other blogs.
oozone.blogspot.com
oOzone: December 2009
http://oozone.blogspot.com/2009_12_01_archive.html
Thoughts on Computers, Programming and OO Design. Sunday, December 13, 2009. To enable faster coding with an IDE. To enable better debugging, no guessing what a variable is! Variables are named as:. Member variables start with m. Global variables start with g. Function Parameters start with "in ". Local variables don't have a scope modifier. Pointer variables start with p. Reference variables start with r. Other variables don't have an indirection modifier. A - aggregates (arrays, vectors, lists etc).
oozone.blogspot.com
oOzone: Baseline Semantics
http://oozone.blogspot.com/2009/05/baseline-semantics.html
Thoughts on Computers, Programming and OO Design. Wednesday, May 27, 2009. Can often be a source of confusion. In my experience with Configuration Management and other tools (Microsoft Project etc), a baseline is anything “that can serve as a basis for comparison” – this may or may not be approved. SVN, in fact, skirts this baseline issue by defining the alternate terminology “tag” for the same thing! I believe our problems stem from the–. We refer to when we generically use the term baseline. Functional...
oozone.blogspot.com
oOzone: Make It Fast!
http://oozone.blogspot.com/2010/01/make-it-fast.html
Thoughts on Computers, Programming and OO Design. Sunday, January 17, 2010. Sharing a template for an easy to use make file system. Self-maintaining: No need for manually adding files. Quick-and-dirty: Get started fast! Automatically gets the file-list from the directory! Add extra files from other dirs at the end if needed (Sonar.cpp above). Patsubst %.cpp, %.o,$(SOURCE FILES). Rule for specifying object file list. The rest of this is standard make-file stuff. Libraries to link to. Herb Sutter - GoTW.