Recent Tweets

    Elsewhere

     

    September 2010
    S M T W T F S
    « Apr    
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  

    Archives

    AT&T Store Apple iPhone 3G preorder status checking

    I have pre-ordered Apple iPhone 3G from my neighboring AT&T store last Sunday (Jul 20). I have done this as purchasing from the Apple Store wouldn’t let me to apply my FAN discounts on the plan. Applying it latter would reflect only after a couple of billing cycles. Also I don’t wanna get into the [...]

    Completely clueless

    On my OpenSolaris. What could be more exciting than this?

    praveen@athena:~$ /opt/sfw/bin/emacs
    Fatal error (11).Segmentation Fault (core dumped)
     
    praveen@athena:~$ file core
    core: ELF 32-bit LSB core file 80386 Version 1, from ‘emacs’
     
    praveen@athena:~$ gdb -c core /opt/sfw/bin/emacs
    GNU gdb 6.3.50_2004-11-23-cvs
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the [...]

    Modifying Control and Caps Lock keys under OpenSolaris and Linux

    Since I started using Emacs, I started using the Control key more than I had used it before. That is when I started using my Caps Lock key as Control key. In the beginning, I swapped the Control key and the Caps Lock key. However while doing pair programming on my computer, my colleagues found [...]

    Privacy issue in Chennai Passport Office status enquiry page

    I have no affiliation with the Passport Office. I wouldn’t be able to answer any questions about passport statuses. Please don’t ask me about your case.

    The site of Regional Passport Office of Chennai has a page to inquire about the passport application case status. If you just enter the passport application file number, the status [...]

    Dumping core file from set-UID, set-GID 'ed processes in Linux

    Lately I was encountering segmentation fault with one of our processes and found that it was not dumping core file even though we asked it by using appropriate ulimit setting. It was set-UIDed root. Then I discovered that the default behavior of set-UID, set-GID processes is not to dump core unless explicitly asked by prctl(2). [...]

    Remote file editing on GNU Emacs using TRAMP

    I have been using GNU Emacs for programming for nearly 9 years now. It is exciting to keep discovering new extensions to Emacs throughout. I have heard of Ange-FTP before that can be used for remote file editing using FTP. However, I have never tried remote file editing on a local Emacs session. In most [...]

    Breaking a long silence!

    I have been a highly inactive blogger these days. It doesn’t mean that I have too many things to take care of. For some reason, I felt that I lost interest in blogging for some time now. Every week I would have found at least a couple things to write about. I would also start [...]

    What a lousy weekend!

    CppUnit CompilerOutputter error output and Emacs

    I am casually evaluating CppUnit lately. It is pretty good. I was using the CompileOutputter as the outputter for CppUnit tests. However, the default settings for gcc is not Emacs friendly for multi-directory projects. To overcome this, I had to set the location format of the CompilerOuputter to “%p:%l:”.

    CppUnit::CompilerOutputter *outputter = new CppUnit::CompilerOutputter( &runner.result(), std::cerr [...]

    How to unit test C++ private and protected member functions?

    In the unit testing world, sometimes we encounter a situation where we need to unit test private or protected member functions. There is a lot of arguments surrounding this topic. Some claim that if a private member function needs testing, it implies that there is a need for refactoring. However, I strongly feel that protected [...]