Praveen's Blog

An Eternal Quest for Incremental Improvement

I use Org-Mode excessively for taking notes, publishing, and even presentation. As a programmer, most of the stuff I write has snippets of source code from various languages. I always feel that well formatted, syntax highlighted code is easy to read in published documents. It is possible to mark a ...


I enjoy reading XKCD. One of the recent comic that I enjoyed the most was published last week, titled "Permanence", that was about naming servers.

One of the reasons that I enjoyed this the most was due to the fact that I can totally correlate this comic to my behavior ...


GNU Emacs's compilation mode is capable of detecting error messages from various standard compilers and build tools. However, it is fairy common for one to run into a format of error message that Emacs can't handle by default.

As you know, Emacs is highly extensible and it provides ...


Today, I planned to go back to the basics by taking 6.001 Structure and Interpretation of Computer Programs offered by MIT OpenCourseWare. I'll save the reason behind it for another post.

For running the programs that are used in the class, I decided to use MIT/GNU Scheme ...


Recently, I started playing with a lot of Open Source products from Apache Software Foundation. It all started with Hadoop, HBase and Cassandra. Day after day, I am getting my hands dirty on more Apache Foundation's products like Ant, Maven, Archiva and Thrift.

When trying to build HBase from ...


TDD

I have been following Test-Driven Development for a few years now. Even though TDD is widespread, often I come across a few friends who aren’t very familiar with TDD approach. It took a while for me to really appreciate TDD since I was introduced to it. When I demonstrated ...


My obsession for GNU Emacs has grown over years to an extent where I managed to get a significant amount of users to adopt Emacs. In the past 10 years, I have learned a lot of nice tricks that I can do on Emacs to improve my productivity. So, I ...


If you have ever wanted to get the command line options that were passed to a running Solaris process, you might have noticed that the output of command line arguments from ps is truncated to 80 characters. Looking into /usr/include/sys/procfs.h will reveal the reason why! This ...


I had a previous post on how to turn on core files for set-UID, set-GID processes under Linux. Recently we ran into the same problem on Solaris. To turn on core files for set-id processes, use coreadm.

$ pfexec coreadm -e global-setid

Please keep in mind that these core files can ...


  • We were troubleshooting an interesting problem with GCC/gdb that caused gdb to report an argument passed by reference as if it was passed by value. In the process, I was digging up some DWARF information. Ever wondered what exactly gcc is adding to support the debuggers when you use ...