Poll: Your Favorite Scripting Language?

Posted on in Categories Ask nixCraft, C Programming, Linux, Perl, php, Poll, programming, python, Shell scripting, Sys admin, UNIX last updated March 17, 2009

Like most sys admin, I’m lazy. I try to automate almost all things in order to save time. Inexperienced sys admin and help desk staff working under me finds all these tools useful. It saves their time and avoids security issues. Automation allows help desk staff to do things that they don’t have enough direct system knowledge to do themselves. However, selecting correct tool and applying correct methodology is very important.

Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll.

GNU/GCC Compiler Techniques Used in Linux Kernel

Posted on in Categories C Programming, GNU/Open source, Howto, Linux last updated November 21, 2008

Excellent article – you can find information about GCC extensions for the C language. The Linux kernel uses several special capabilities of the GNU Compiler Collection (GCC) suite. These capabilities range from giving you shortcuts and simplifications to providing the compiler with hints for optimization.

This article provides a glimpse of the techniques made available by GCC in the Linux kernel. You can read more about all the available extensions for both C and C++ in the GNU GCC manual.

Why Does The Segmentation Fault Occur on Linux / UNIX Systems?

Posted on in Categories C Programming, CentOS, Debian Linux, fedora linux, GNU/Open source, Hardware, Linux, Linux distribution, RedHat/Fedora Linux, Sys admin, Troubleshooting, Ubuntu Linux, UNIX last updated September 12, 2008

An error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. Here are few tips to track down “Segmentation Fault” error under UNIX / Linux.

Debugging Book: The Art of Debugging with GDB, DDD, and Eclipse

Posted on in Categories Book Review, C Programming, GNU/Open source, Howto, Linux, UNIX last updated September 10, 2008

Debugging, the demanding process of finding and fixing programming errors, is fundamental to successful software development. But even many experienced programmers find debugging a challenge.

The Art of Debugging with GDB, DDD, and Eclipse from No Starch Press teaches readers how to effectively use the three most popular open source debugging tools: GDB, DDD, and Eclipse.

Linux / UNIX: Geany Lightweight Integrated Development Environment

Posted on in Categories C Programming, CentOS, Debian Linux, Gentoo Linux, Gnome, Linux desktop, Open source coding, RedHat/Fedora Linux last updated July 9, 2008

Geany is cross platform (UNIX/Windows/BSD) fast, powerful, easy to use integrated development environment for PHP, Java, C and much more. If you wanted to quickly edit source code, Geany is for you. Here’s an introduction to using Geany’s built-in features, including the IDE and built-in development capabilities.

History and Culture of Unix Programming – The Art of Unix Programming

Posted on in Categories C Programming, Download of the day, FreeBSD, Linux, UNIX last updated March 27, 2008

The Art of Unix Programming by Eric Raymond is a book about the history and culture of Unix programming from its earliest days in 1969 to now, covering both genetic derivations such as BSD and conceptual ones such as Linux.

You should read this book if you are an experienced Unix programmer who is often in the position of either educating novice programmers or debating partisans of other operating systems, and you find it hard to articulate the benefits of the Unix approach.

You should read this book if you are a C, C++, or Java programmer with experience on other operating systems and you are about to start a Unix-based project.

You should read this book if you are a Unix user with novice-level up to middle-level skills in the operating system, but little development experience, and want to learn how to design software effectively under Unix.

You can read HTML version of “The Art of Unix Programming” online at Eric’s website.

Google Code University: Learn How To Code / Program

Posted on in Categories C Programming, Howto, News, Open source coding last updated March 19, 2008

Good learning stuff – at no cost!

From the page:

This website provides tutorials and sample course content so CS students and educators can learn more about current computing technologies and paradigms. In particular, this content is Creative Commons licensed which makes it easy for CS educators to use in their own classes.

The Courses section contains tutorials, lecture slides, and problem sets for a variety of topic areas:

* AJAX Programming
* Distributed Systems
* Web Security
* Languages

In the Tools 101 section, you will find a set of introductions to some common tools used in Computer Science such as version control systems and databases.

The CS Curriculum Search will help you find teaching materials that have been published to the web by faculty from CS departments around the world. You can refine your search to display just lectures, assignments or reference materials for a set of courses.

=> Google Code University (via Digg)

Open Source Software Developers Make More Money

Posted on in Categories Business, C Programming, GNU/Open source, Links, Linux, Make money with Linux last updated March 3, 2008

If you know open source based application development, you can make more money. A report from New York City-based consulting company Bluewolf says IT salaries across the board will continue to rise in 2008:

The rise of open source software in application development puts developers with a specialization in those technologies in a position to ask for a 30 or 40 percent pay increase, Kirven says. “We’ve gotten more requests from our permanent placement division for open source developers in the last six months than in the last five or six years combined,” he says. “It’s not as easy as getting free software, someone has to get it up and running. LAMP is everywhere now — these types of technologies no one heard of 18 months ago are all the sudden becoming a hot commodity.”

VIM as an IDE for writing programs under Linux / UNIX

Posted on in Categories C Programming, Gentoo Linux, Howto, Linux, Tips, Ubuntu Linux, UNIX last updated October 12, 2007

I’m already using few tips described here. From the article:

So I like vim a lot, and I’ve been using it on and off for a few years, but recently I’ve been using it full-time to code in Python. I learned a few things along the way and I made vim a better IDE for myself. Here’s how.

You can follow along or go straight to author’s .vimrc file. Place the .vimrc file in your home folder and enjoy the goodies.

The first step is to make sure you have the equivalent power of jedit, textpad, gedit and the like.