Posts

Showing posts from 2009

SVN Client for Ubuntu: RabbitVCS

The best SVN Client would definitely be an integrated file manager in which you can actually checkout, export, commit files without dealing in to the committing issues. On Ubuntu it would be Nautilus as a file browser. TortoiseSVN is the one I was used to when working on Windows machine.  But on Ubuntu RabbitVCS  http://rabbitvcs.org/  comes to the rescue. Noticed the analogy, Tortoise on windows and Rabbit on Ubuntu :). Just download the plugin from  http://wiki.rabbitvcs.org/wiki/download  which is available for most Ubuntu releases, hardy, karmic, interpid, jaunty and you will see the  http://wiki.rabbitvcs.org/wiki/about/screenshots Enjoy SVN-ing

NesC Development

Since developing using TinyOS's NesC language is really very difficult, hence as always,  Eclipse comes to rescue. Below is the Plugin location for Eclipse for NesC development. http://tos-ide.ethz.ch/wiki/index.php It is required to put the above plugin in the plugins folder in the eclipse home directory. Also it is possible to practically debug NesC code using GDB which comes in by default with Eclipse CDT.  Below is the link to proceed on howto achieve it. http://www.tinyos.net/tinyos-1.x/doc/nesc/nesc-debugging.htm l Look into my post about Eclipse over Ubuntu to begin with. http://talhaobaid.blogspot.com/2009/04/development-on-unix-using-cc-over.html TJ now you owe a coffee to me :)

How to locate a memory leak in C?

Though it is an extremely programming intensive task to fix a memory leak, still if possible to get any help in finding the leaking source hint, it is really very helpful, trust me. On Ubuntu you may get many memory leak fix solutions. But the best which did saved the day turned up to be   Valgrind ... tada... If you don't have valgrind installed you can install it by apt-get install valgrind Valgrind comes with a command prompt interface. Although its GUI clients are also available like Valkyrie etc, but command line interface is enough. To check memory leak location you can execute the following command definitely with all the supportive arguments valgrind --leak-check=full ./executable arg1 arg2 This will show the memory leak in the bottom up fashion showing the stack. For instance if there is a memory leak in func1(), than the stack would show something like: malloc() func1() main() You have to intutively identify the hint of the stack. For exa

Evolution email client over Ubuntu

Since I am expecting that you would be spending more time over your Ubuntu machine, than on Windows, therefore if you were an Outlook savvy person like me, you cannot live without   Evolution 2.28.1   on   Ubuntu 9.10 .  Ubuntu comes with a default Email client named  Evolution . Evolution cannot connect with  MS Exchange Sever 2007 . By default Evolution will never let you connect to MS Exchange Server 2007 with "Exchange Server" selected as  Server Type  during Account creation wizard at the start of Evolution. Moreover if you select "Exchange Server" it takes OWA path which is the web interface for Exchange Server. So you would be expecting authentication failure with the error message about  Exchange connector . The solution is to install "evolution-mapi" from System->Administration->Synaptic Packager Manager. If this would still not solve your problem as it did with me, than you need to install the latest stable version of evolution-mapi manu

Development on Unix using C/C++ over Ubuntu

For Development over Ubuntu in C/C++, you don't need to go through complex terminal commands. Just download Eclipse for C/C++. Remember if you run the command  apt-get install eclipse , it will install Eclipse for JAVA not for C/C++. Eclipse for C/C++ should be downloaded specifically from the www. eclipse.org  site. From the following: http://www.eclipse.org/downloads/ Click  Eclipse IDE for C/C++ Developers. The best thing about this IDE is that it come with pre-configured GNU Debugger for C/C++ and with pre-configured Makefile build. Another option would be Sun Studio, Sun Studio is not for JAVA. It is for c/C++/Fortran. I would recommend you go for Sun Studio only if you are familiar with Makefiles