Meditations on programming, startups, and technology
Currently Browsing: Web Development

On the Usability of Codecademy

I asked a friend of mine (who isn’t a coder) if she could try out the amazing Codecademy for me. She is a smart person, but again, she isn’t a programmer. I thought Codecademy would be a great way to introduce her to programming for the web. As a programmer, I thought it was extremely well made and assumed it would work for anyone. She landed on the homepage and read the instructions. She wrote her...

A Big List of Interesting Programming Books Released in 2011

The following is a list of 48 interesting programming books that were released in 2011. While technically some of them are only programming-related and not about coding per se, each one is sure to be of interest to some programmers. As some of you know, I run a service called Any New Books?, which emails you a list of new books that are related to the categories of your choice each week. For the most part I pulled...

Learn Hadoop and Get a Chance to Go to Vegas

This is a heads up for my readers who are interested in Big Data. Follow these steps to learn Hadoop and get a chance to win a trip to Las Vegas: Register with Big Data University. Enroll and complete the free Hadoop Fundamentals I course. You’ll receive a certificate of completion and an invitation to partecipate in the first Hadoop Programming Challenge. On October 3rd, three participants to this...

Speeding up queries by a factor of 100 or more with DB2 Text Search

During a recent Rails project at IBM we had to deal with a large table consisting of customers. The table is made up of legacy enterprise data, and contains close to a million records. Among many other fields, the table Customers includes a column name defined as VARCHAR. name is used to store company names. One of the requirements for the project was to implement a Google Suggest-like feature. That is, when...

The need for good vocational schools for programmers

A rigorous computer science education is certainly beneficial to programmers. It provides you with the ability to see the bigger picture, and a more in-depth understanding of many topics that will ultimately make you a better developer. I would argue however that it is far from actually being necessity. For many programming jobs, a computer science education is akin to having a mechanical engineering degree when...

jQuery Air: An outstanding introduction to jQuery

Code School is a fascinating new provider of video lessons for programmers. In the past I reviewed their Rails Best Practices course and certainly didn’t hide the fact that I’m a fan of their approach. It combines modular video lessons with practical exercises (called challenges), game-like rewards with scores and virtual badges, and also includes a handy support forum in case you get stuck. Recently Code...

Installing Python, Django, and DB2 on Ubuntu 11.04

Note: This is the Python version of the Ruby guide I just published. In this brief tutorial I’ll show you how to create a complete Python and Django setup for DB2 on Ubuntu. By following my step-by-step instructions, you’ll be able to install the following components: Python easy_install Django DB2 Express-C 9.7.4 The official Python driver, dbi module, and Django adapter for DB2 Installing Python and...

Installing Ruby on Rails and DB2 on Ubuntu 11.04

In this tutorial I’ll show you how to create a complete Ruby on Rails setup for DB2 on Ubuntu. Following my step-by-step instructions, you’ll be able to install the following components: Ruby 1.8.7 Rubygems Ruby on Rails DB2 Express-C 9.7.4 The official Ruby driver and Rails adapter for DB2 Installing Ruby We are going to install Ruby 1.8.7 using the Debian packages that are available in the default...

Review of Rails Best Practices

Over the weekend I had a chance to play around a bit with Rails Best Practices, so I thought I’d share a few thoughts I had regarding it. In the startup world we often debate the merit of ideas vs execution. In this particular case, the idea behind this product is pretty straightforward. It’s a video course about common idioms and best practices in Rails, that helps you learn how to refactor bad Rails...

Running Radiant CMS on DB2 in the Cloud

In this article I will show you how to set up and run Radiant CMS on DB2 Express-C in the Cloud. Before getting started, let’s define each of these components: Radiant CMS is a popular, easy to use open source Content Management System (CMS) that’s written in Ruby on Rails. DB2 Express-C is a fully functional, free edition of DB2 which can be used in production for commercial purposes. Cloud, in this particular...

Interview with Michael Hartl, author of the Rails 3 Tutorial

The following is an interview with Michael Hartl, author of the popular Rails 3 Tutorial. I want to thank Michael for his time and answers. Be sure to read until the end; as per Monday’s post, I’m doing a Twitter giveaway for this interview, too. 1. How did you go from Theoretical Physics to Ruby Programming? I have a background in computational physics, and I learned Perl and then Python to avoid the...

The recommended Ruby and Rails book pages have been updated

During the holiday lull I managed to finally update the Ruby and Rails book pages. The Ruby page includes a few new titles and sees a few existing ones get the axe, as I took the major emphasis on Ruby 1.9 into consideration when updating this list of books. The Rails page is a complete rewrite as I’ve removed any trace of Rails 2 books. I outlined a useful path of Rails books to follow based on the few...

StreamSend is looking for a senior (Rails) web developer

This is just a quick heads up for my US readers. Given the tough economy we’re all battling, I thought you might be interested in learning about a great employment opportunity. My friends at StreamSend are looking for a senior web developer (preferably one with Rails experience, however they don’t discriminate as long as you can learn quickly and have enough web development expertise to satisfy their...

The pursuit of excellence in programming

As I write a series of thoughts on the pursuit of excellence in programming, I must preface my essay by asking you to ignore that I wrote these words. I invite you to evaluate the opinions and ideas presented here not ad hominem, but rather on the basis of their own merits. It would be easy to otherwise mistakenly dismiss them with the infamous question posed by Steve Jobs to a blogger: “What have you done...

Padrino: a Ruby framework built upon Sinatra

From the Padrino’s site: Padrino is a ruby framework built upon the excellent Sinatra Microframework. Sinatra is a DSL for creating simple web applications in Ruby with speed and minimal effort. This framework makes it as fun and easy as possible to code increasingly advanced web applications by expanding upon Sinatra while maintaining the spirit that made it great. The Ruby community has plenty of web...

Upgrading to Rails 3

Rails 3 is a major upgrade; using it almost feels like working with an entirely new framework. Porting existing applications and acquiring the skills required to build new ones entails a significant amount of effort. You could scout the net for bits and pieces of information, but that would be time consuming and possibly frustrating. Thankfully there are resources available that have done the work for you, so you...

The most important programming language today

“What programming language should I study next? What framework?” I occasionally receive emails from younger — and not so young — readers alike asking me for guidance about such matters. “Use the right tool for the job” is the correct answer, but it’s cheap advice when there are a plethora of tools seemingly right for the job. For most people these days the job at hand is of course...

IBM_DB 2.5.0 with support for Rails 3 is out

This is a tiny post to let you know that IBM just released version 2.5.0 of the IBM_DB gem with support for the upcoming Rails 3. That’s what I call both proactive and a true testament of IBM’s commitment towards DB2 on Rails. Aside from providing a working adapter and driver before the new framework release is even out, this release has a few improvements and fixes, such as getting rid of a minor...

Rails, DB2 and the Enterprise

Recently Matt Aimonetti wrote an insightful article about Rails and the Enterprise. In it he identifies five core Enterprise application needs: Reliability Support Performance Advantage over the competition Integration and transition path Matt then proceeds to illustrate how Rails does a good job in regards to most of these points, despite a few existing challenges. Among these challenges, I can clearly see the...

DB2 support for Django 1.2 is here

The latest release of the IBM Adapter for Django now supports Django 1.2. Aside from enabling you to use the most recent version of Django, this release adds a few new goodies into the mix, that I’m sure many will appreciate. For example, IBM’s adapter (through the underlying DBI wrapper) now uses persistent connections, which are especially helpful when dealing with Django – as it lacks connection...

« Previous Entries

Copyright © 2005-2011 Antonio Cangiano. All rights reserved.