May 7, 2009

New CodedDebugPrint Release

I am proud to announce first usable version of Coded Debug Print. It allows multiple files and an example makefile is included.

This may be a small utility but people working on low resource systems (Ex. low ram or flash memory) will get the most benefit.

By using Coded Debug Print, you can get the same trace prints but your software size will be much smaller. Because, all strings are stored on host PC and translated into what is expected on runtime. Trace prints may come from serial port or command console. It does not matter.

Next version will handle %d style variables. Stay connected.

May 6, 2009

Block Selection Mode In Eclipse Text Editors

It seems, eclipse editors have column selection support after 3.5M5. That means, block selection is now possible. You can copy, cut and paste columns. This is what I looked for a couple of times before. You can get the details from here.

At Last... A Mobile Phone Manager for Me

I have been using a nice but not commonly used mobile phone, Toshiba TS608. I had lost my contact list before so I decided to backup the contact list as soon as possible. I've searched for a PC synchronization utility but I was not able to find any until now.

Wammu, is the one I was searching for. I can now backup and import my contact list easily. It is very useful if your phone does not have a PC utility (Ex. Samsung PC Suite).

All I needed to do is buying a USB Bluetooth dongle and installing Wammu on my openSuse 11. Installation was not so difficult. It is working quite good. Thanks Wammu. Thanks a lot.

May 5, 2009

Instant Messaging Everywhere

Meebo is a very useful service that lets you connect to your IM account without installing anything on a PC. It works great. If you have to use your friend's PC and he does not let you install anything, that is a perfect way of using any IM.

MSN, GTalk, Yahoo, Facebook or others. Everything is in here.

March 13, 2009

Coded Debug Print

I've created a simple project in sourceforge.net. It is called Coded Debug Print and available at http://codeddebugprint.sourceforge.net. This helped me a lot when I was working on embedded systems which you get debug prints from serial port (Ex: com1) and I thought there might be some other developers, especially working on embedded systems who can get help from this project.

On some systems debugging may not be possible or preferred according to a case. Debug prints are very helpful if you need to get some information and do not want to interfere the running code too much. However, when the number of characters you want to print increase, the software gets slower and bigger in size. For example:

printf("Function X is completed\n");

Coded Debug Print gives a number to each print statement and replaces it with that number. For example, print statement above becomes

printf("1\n");

This means, it changes the source file and you need to compile changed source. It also creates a database table to match strings to each number.

After you compile your code, you see that you'll have a smaller debug builds. That also means that it is safer to give your build to 3rd party people (Ex: Testers) because, without database file, those information is not valuable.

There are 2 python files. These are code.py and decode.py. code.py codes print statements and builds database using a regular expression to find print statement. An example regular expression is shown below.

([puts|printf]\s*\(\s*\")(.*)(\"\s*\)\s*;)

decoder.py is like a tail utility and uses database file to print original strings.

CodedDebugPrint is in early stages and will be evolved. All comments are welcome.

January 17, 2009

My Hobby Pictures Album

I've started to upload my hobby pictures to a picasa web album. I hope you like them.

Rookie Photographer :)

December 3, 2008

Software Engineering Radio

Aslında bu yazıyı İngilizce mi yazsam Türkçe mi yazsam diye düşündüm ama sonra Türkçe yazmak daha kolay geldi :) Geçenlerde rastladığım bu güzel siteyi sizlerle paylaşmak istedim.

Software Engineering Radio

Podcast, yani sesli olarak (mp3 indirebiliryorsunuz) yayın yapan bu sitede gerçekten kaliteli söyleşiler ve anlatımlar bulunuyor. Gerçi, hepsini inceleme fırsatım daha olmadı ama ticari bir yönü de yok gibi bu sitenin. Yazılım işiyle uğraşanlar için önemli bir kaynak olarak görünüyor. Bir gözatmanızı tavsiye ederim.

October 29, 2008

Addicted To Eclipse

Sometimes I ask this interesting question to myself.

"Am I addicted to use Eclipse?"

There are only a few developers in the software house I have been working and most of the people just don't even try to use it. I am the only one doing his C/C++ work on Eclipse for nearly 3 years on Windows XP. Also, I do my Python development on it at the office. That's not all. I do all my CVS works, Remote connections and debugging, Task management etc. using Eclipse.

When I come to home, after a rest, I start to work on my M. Sc. thesis. There is a software implementation side which I need to write some TCL scripts and do some C++ implementation on a Linux machine. Again, Eclipse is there and I use it to implement my simulation (I implement a WSN simulation on ns2 by the way). Then I need to write the thesis document. There it is. I can even write a latex code in Eclipse.

Now, you tell. Am I addicted to Eclipse or it is just too good?