GNU Make in Detail for Beginners
Have you ever peeked into the source code of any of the applications you run every day? Ever used make install to install some application? You will see make in most projects. It…
Programming Tools for Linux
This article is not so much about the various languages, as the programming tools that can be used to write programs using the languages. When students first start taking programming courses at various…
GDB Logging Function Parameters, Part 2
In this second part on the topic, let us write a GDB script to log the parameters of a desired function, and also see how the application state can be modified by changing…
Modify-function-return-value hack! — Part 2
In my previous article on this topic, we discussed some guidelines on how to write a secure application in C. The article focused on functions defined in the application itself. Now, we will…
The Comprehensive LAMP Guide — Part 3 (PHP)
PHP, the “P” in LAMP, is a recursive acronym for PHP: Hypertext Preprocessor. It is the most widely used programming language for Web applications because of its ease of learning, implementation and wide…
What All’s Possible with the Android Dual-SIM Smartphone — MediaTek MT6516
A dual-SIM smartphone manufactured in China runs Android 2.2.1 Froyo. Geeks always find noteworthy products based on Linux! Today, people are rarely surprised to see a dual-SIM phone. Phone manufacturers have been thinking…
Let’s Hook a Library Function
If you are a developer, and want to change the way a library function works, this article will give you a basic idea of how to get started — just enough knowledge to…
The Comprehensive LAMP Guide — Part 2 (MySQL)
MySQL is the most widely used Relational Database Management System (RDBMS), and is the “M” in the LAMP stack. One of the main uses for MySQL is with Web applications. To avoid the…
Joy of Programming: Calling Virtual Functions from Constructors
Calling virtual functions from constructors is problematic, and this problem can manifest itself in many ways. In this column, we’ll take a look at this problem, with specific examples. Last year, I bought…
Code Profiling in Linux Using Gprof
Today, performance is a pivotal point in the programming world. Programmers constantly strive to make their code run in fewer milliseconds. Performance analysis can be done in various ways, static as well as…




