Archive for the ‘Programming’ Category
30+ Free Online Books
C, Numerical Methods, Programming, reference
Posted: April 20th, 2008
Reading this post over at Scientific Blogging gave me the idea to see how big of an online library one could build just by using free and legal resources one can find online.
There are, of course, several well known resources that provide vast amounts of books for your perusal, such as:
Google Books
Project Gutenberg
MIT’s OpenCourse […]
17 Comments »
Bringing try catch blocks to C
C, How-to, Programming
Posted: October 19th, 2007
Error handling in C is never an easy task. Pretty much any function can return an error, and if you really want to have stable and bug free code, you must be able to handle them. The problem, of course, is that having to always check for errors quickly leads to bloated ugly code.
C++, Java […]
3 Comments »
Setting up your very own Subversion repository
Programming, Tools
Posted: October 3rd, 2007
Recently, a network outage at the office kept me from accessing my remote Subversion repository, which in turn prevented me from finishing a relatively small project in the deadline I had set for it. This led me to consider the problems with depending on connectivity to the outside world, specially in a university campus where […]
No Comments »
Visits, PageViews and Links
Programming, Python, Tools, analytics
Posted: June 13th, 2007
“How many people are visiting my site” and “how many people are linking to it”, are possibly the two most basic questions webmasters (and bloggers in particular) are interested in answering. The first defines the audience you are able to reach and the second defines how relevant your content is to other people, and has […]
No Comments »
Understanding webserver logs
Programming, Python, Tools, analytics
Posted: June 4th, 2007
With the ever growing preponderance of the online world over “First Life”, specially in the realm of business, the problem of quantifying growth and identifying trends in the way an online service is used becomes also increasingly important. This post is the first of a (probably) long series of post about the techniques and principles […]
No Comments »
Writting your first WordPress plugin
How-to, Programming, php, wordpress
Posted: May 25th, 2007
Wordpress is a highly used and easily customizable platform for content creation and management. In this post I’ll guide you through the basic structure and steps required to create a simple and useful wordpress plugin.
The first step is to define the plugin header that wordpres uses to determine which files it should include in the […]
12 Comments »
Gawk for dummies - Part III
Gawk, Programming
Posted: May 3rd, 2007
Deep in the bowels of most UNIX based systems lies “gawk“, a little known command line application that can make your dealings with the ever pervasive text files much easier. We saw in Part I that Gawk looks at each file as if it were a flat database, divided in to several records, each subdivided […]
No Comments »
Gawk for dummies - Part II
Gawk, Programming
Posted: April 23rd, 2007
Deep in the bowels of most UNIX based systems lies “gawk“, a little known command line application that can make your dealings with the ever pervasive text files much easier. In the second post of the series (you can find the first here) I look in to how we can tell gawk to split […]
No Comments »
Gawk for dummies - Part I
Gawk, Programming
Posted: April 16th, 2007
Deep in the bowels of most UNIX based systems lies “gawk“, a little known command line application that can make your dealings with the ever pervasive text files much easier. This is the first of a series of posts that introduces the basics of this powerful tool.
Gawk can receive commands straight from the command line, […]
2 Comments »
Writing a generic Makefile
How-to, Programming
Posted: March 20th, 2007
Building custom make files for relatively small projects which result in just one executable is rather tedious. Luckily, Makefile itself provides us with a way to create one single Makefile that works for most cases.
The “trick” lies in two make macros, $<, $* and in wildcard matching. The first macro is simply the […]
3 Comments »
© Copyright 2004 Bruno Goncalves - All rights reserved
 
|