Unleashing the power of GDB (part 2) 2

WP Upload Directory not writable! Check file and directory permissions
The GNU Debugger[1] is my favorite debugging tool and I personally think it’s essential for any *nix developer to know how to use it properly if you’re working with C/C++, D, Go, Obj-C, Fortran, Pascal, Modula-2 or Ada[2]. This is the second part of Unleashing the power of GDB. It is recommended reading the first ...

Unleashing the power of GDB 1

WP Upload Directory not writable! Check file and directory permissions
The GNU Debugger[1] is my favorite debugging tool and I personally think it’s essential for any *nix developer to know how to use it properly if you’re working with C/C++, D, Go, Obj-C, Fortran, Pascal, Modula-2 or Ada[2]. This is the first in a series of entries about utilising GDB to its fullest. First a ...

sed tricks

WP Upload Directory not writable! Check file and directory permissions
The stream editor, most commonly know as sed, is a wonderful tool for modifying data from files and stdin. In this article I will be using the BSD variant of sed which is a little bit different from the GNU variant of sed but I will try to point out where the differences are in ...

Shodan achieved

WP Upload Directory not writable! Check file and directory permissions
Tonight I was awarded the Shodan (or first black belt) in the martial art Bujinkan Budo Taijutsu. I’m extremely thrilled and physically exhausted from the tests but it is always worth it! Now begins the real training..

Upgrading to Xcode 4.4 or later

WP Upload Directory not writable! Check file and directory permissions
Xcode moved to the App Store as of version 4.4 and it had certain consequences to the common programmer. First of all, the SDKs are no longer located at /Developer/SDKs like they were before. The app is located at /Applications/Xcode.app on a default install and it contains the SDKs in the directory: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs All command-line ...

Profiling with Instruments.app

WP Upload Directory not writable! Check file and directory permissions
Profiling binaries is essential in any serious development process. Unfortunately not very many good profilers exist out there. I usually employ Valgrind to detect memory leaks and the front-end KCachegrind to inspect call stacks. But KCachegrind requires both X11 and KDE3 libs which I want to avoid. However, last week I discovered Instruments.app that comes with Xcode. It’s ...

Reincarnation

WP Upload Directory not writable! Check file and directory permissions
..And thus it was time to try something new again. Again. This site will be used as a personal maelstrom of programming and other nerdy endeavours that interests and engages me. As per enumeration here are some of the topics: C++, Python, Mac OS X, GNU Linux, Security, Cryptology and much more. Stay tuned!