Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Tuesday, February 8, 2011

Installed doxygen + doxymacs

I'm trying to learn to use Doxygen.

http://www.stack.nl/~dimitri/doxygen/

This way I hope I can learn to document my code better :)

The following page helped me install doxymacs, emacs plug-in for doxygen.
(Actually what I had to do was just to type apt-get install doxymacs)
http://emacs-fu.blogspot.com/2009/01/commenting-your-functions.html



Then I confronted the problem of not displaying my e-mail address correctly.
I think this is because I didn't configure my Ubuntu properly, but at least I could find that



 (setq user-mail-address "my@email.com")
will set my user-mail-address variable, and would propagate to doxymacs-user-mail-address.
As a statistics Ph.D student, I felt obliged to know how to document R codes (although R is not my favorite language for scientific computation). The solution is to try Roxygen in the following project page:
http://roxygen.org/
It's good that ESS (Emacs Speaks Statistics) supports Roxygen! Actually I've never done anything ambitious in R (just homework problems), but I would definitely try to use Roxygen when the appropriate time comes!

Wednesday, July 11, 2007

While Dual/Quad core CPUs dominate...

I'm reading 'An Algorithm for Subgraph Isomorphism(Ullmann, 1974)'
which was referenced by 'Network Motif Discovery Using Subgraph
Enumeration and Symmetry-Breaking(Grochow and Kellis)'.



It's a bit interesting to read this line:

'A parallel asynchronous logic-in-memory implementation of a
vital part of this algorithm is also described, although this hardware has not
actually been built. The hardware implementation would allow
very rapid determination of isomorphism'


Now 30 years have passed,
and Dual-Core and even Quad-Core CPUs are largely in use.
Multi-thread programming is universal nowadays.


I don't know J. R. Ullmann personally,
how old he is... what he is doing now...

but I wonder he is living a better life now.