programming

Book Review: Ruby by Example: Concepts and Code by Kevin C. Baird

Full of examples

Write a full post in response to this!

Ruby is currently one of the most fashionable and modern languages to program in. Ruby is synonymous with the Rails framework, which is a robust and deep framework used to prototype and then build stable and scalable web applications. Of course, Ruby has considerable potential in its own right. The book “Ruby by example, concepts and code” by Kevin C. Baird and published by No Starch Press will help you to learn the Ruby language via small incremental example scripts.

Programming languages and "lock-in"

Write a full post in response to this!

Language and lock-in

One of the favorite arguments for free software is that it avoids lock-in to a particular manufacturer’s products. Something similar happens due to choice of programming language, though, which accounts for the sometimes-baffling project rivalries in the free software world. While this may be a surprising result to end users, it makes a lot of sense if you think about how developers—especially free-software developers—work. Occasionally, you hear complaints about these “divisions” of the free software world, but is this really a bad thing?

Zen and the Art of Computer Programming

Write a full post in response to this!

Is it true that programmers enter a state comparable to deep meditation while they are at work? Some claim that they do, but how do we know what they mean by this? In order to understand, we first need to decide what we mean by meditation, for it has been defined in so many different ways. One is the ability to rest in the here and now and it is usually understood that meditation will lead to a state of increased awareness and undivided attention. Since I run Song Of Life, I often wonder this.

Return of the bespoke database

Write a full post in response to this!

I’ve mentioned before the recent move among UK charities to become more “professional”, which is often translated as “do what the corporates do” (particularly when it comes to IT). One reason for this is the dreaded bespoke friend-of-a-friend database. These “databases” (and I use the term loosely) are often written by a student, with tenuous links to the charity, looking for a final year project and usually in Microsoft Access and they are usually awful to maintain.

Book review: Learning PHP Data Objects by Dennis Poppel

Learn Object Oriented Data management under PHP5

Write a full post in response to this!

Learning PHP Data Objects by Dennis Popel (Packt Publishing, 2007) introduces the PHP5 extension PDO. If you’ve ever worked on a LAMP server, you must know how tedious it is to go through the results of an SQL query, and to manage the connection—even worse, if you happen to change database, your work is pretty much lost: PostgreSQL, MySQL and SQLite don’t have the same driver nor functions! Not so with PDO.

Get your classes and objects ready: PDO will make using a database under PHP5 a snap.

Becoming a Free Software developer, part IV: Putting your interest to good use

Write a full post in response to this!

As we follow the zig-zaggy quest of me trying to learn to program, I discover the next significant step, “Interest”. I started with a goal: to learn to program. Next I came up with a plan: Learn Python by writing a program called PT (period tracker) but I lacked the last bit, interest.

You see, there was very little that period tracker did that a calendar didn’t. Spending hours to make a program to do work that I could do in five minutes with a calendar and a pencil seemed like a waste of effort.

Gaia Ajax Widgets: no-JavaScript Ajax

Tutorial about how to use Gaia Ajax Widgets with ASP.NET - Mono

Write a full post in response to this!

Imagine you need to create an Ajax application, and you’re scratching your head in frustration since you don’t understand prototype.js, you think using ASP.NET Ajax feels like building a car with scissors and paperclips and you don’t know enough Java to use GWT. If this is your problem, Gaia Ajax Widgets could solve your problem: Gaia abstracts away JavaScript, feels like normal ASP.NET, works on both ASP.NET and Mono—and it’s free software.

Fast programming with Rexx

Ease of use and power can co-exist

Write a full post in response to this!

Ever need to code quickly? You can code Rexx like water—yet it’s powerful. Here’s everything you need to start, by studying real-world programming examples.

Book review: Linux Programming by Example by Arnold Robbins

Write a full post in response to this!

One positive example of a book that is ageless when measured against internet time is Linux Programming by Example by Arnold Robbins and published by Prentice Hall. Don’t let the 2004 publishing date fool you, the book is just as useful today as it was all those long, long three years ago. A C biased book on the subject of the fundamental core API’s such as file and memory management within GNU/Linux and based on the explanation of free software core commands, this is a powerful and valid helper for needy learners of the fundamentals.

The book’s cover
The book’s cover

The seven sins of programmers

Write a full post in response to this!

[Click here for an expanded, updated version of this blog entry which hasnow been published in issue 17 of Free Software Magazine!]

Programmers. The system administrators worship their bit twiddling capabilities. The users exchange vast quantities of beer for new features and tools. And the project managers sell their soul when they make the magic work. But inside the average programmer’s psyche are several demons that need exorcising.

Pride

A killer idea for code

Write a full post in response to this!

You know what I’d like to see? I’d like the various Free software groups (whether they use “open source” or “free software” doesn’t matter) get together to produce the greatest educational tool the world has ever seen:

A website dedicated to Free / Open Source code. Not programs. Code.

Why Johnny can code

Write a full post in response to this!

I recently re-read David Brin’s essay, “Why Johnny Can’t Code”. He posits an interesting idea, one I’ve had for a while—we are raising a generation of techno-illiterates through our focus on high-level languages, rather than on the simple languages like BASIC, on which many of us cut our geekteeth.

What I observed had nothing to do with programming, and everything to do with Mr. Brin’s approach to computers. His point may be valid, but his sight is limited by his own understandable ignorance.

He forgot there are other options.

Book review: Core Python Programming by Wesley J. Chun

Write a full post in response to this!

Programmers and system administrators have many options when it comes to choosing a language to write scripts. One excellent choice is Python, a programming language designed to be easy to learn yet powerful enough to complete real-world tasks and requirements. Core Python Programming, 2nd Ed. by Wesley Chun and published by Prentice Hall is the text that will guide you through the Python language and integration with other applications and programming languages. Mr. Chun presents both basic and advanced Python topics in an excellent manner. If you are looking to brush up on or learn Python, Core Python Programming, 2nd Ed. is the one book you need.

For love or money?

Write a full post in response to this!

There are really two bazaars that fire the boilers for free software: one dominated by talented amateurs who create for love; the other, by professionals who create for money. This creates a curious bi-modal nature to the free software/open source community: there’s always a certain amount of tension between the schedule-driven bottom-line interest of commercial entities like Novell, Red Hat, or even Canonical and individual hobbyist developers.

Becoming a free software developer, part III: Programming for the impatient

Write a full post in response to this!

I finally began learning python. I wrote my last program in the 80s in Apple Basic, and here I am again starting to learn a new language. I can already guess what my biggest problem will be. I am incredibly impatient. How can I learn to program when I refuse to read the documentation all the way through? Will I succeed in writing a program or am I doomed to give up? No need worrying about it. I type python on the command-line, and start.

The programmer's mistress

Write a full post in response to this!

Last week I mentioned my decision to learn Python and write a free software program. I found some cool online tutorials. I found my Learning Python book, and I was ready to begin. So like many a programmer I sat down in my chair, opened my books… and watched “Buffy the Vampire Slayer” instead.

Becoming a free software developer, part II: Free software developer, female

Write a full post in response to this!

Why aren’t there more female free software developers out there. In my attempt to find out, I decided to write a program and see what barriers got in my way.

Most free software developers are men. Women are vastly under-represented in the world of free software. Being a woman, I wanted to know why, so I tried to do it myself. The first barrier was my inability to program in any modern computer language, so my first step was to learn a new one.

First I had to pick a language to program in.

Python.

Becoming a free software developer, part I: Why am I not a free software developer?

Write a full post in response to this!

With all of the recent argument over the lack of women in the free software community, especially as relates to the reports from the Free/Libre/Open Source Software Group, which state that only 1.5% of the free software development community is female, and that women are actively discouraged from becoming free software developers. I decided to take a new approach and ask myself, “Why am I not a free software developer?”

Free your mind — write some free software

Write a full post in response to this!

Back when I got my first computer (a TRS-80 “Color Computer” with a whopping 32 kilobytes of RAM and Microsoft’s “MS-BASIC” in ROM), programming was something that computer users took for granted they’d have to do. That’s what you got a computer for! But something dark and sinister happened after that: a great divide opened up between the ‘developer’ lords and the ‘user’ serfs.

Fortunately, free software has liberated us from this digital feudalism, and revived a new middle class of ‘user-developers’.

What do we know?

Write a full post in response to this!

I’ve always been interested in how our brains work. The brain is a very powerful computer, and we still don’t really know just how it really works.

As a writer and a programmer, I sometimes experience a “wow” moment. Today, I had one of them.

I am a proud Ruby programmer; Ruby saved me from Perl, and I can only be extremely grateful to Matz for creating it. I can say now that I “know” Ruby (even though I don’t really know it as well as I would like). And yet…

And yet, I don’t. At all.

Don't miss out on the other pages!
12next ›last »