If you fancy Zope, on Ubuntu

If you fancy Zope getting up and running on Ubuntu takes no time. Install in the usual simple and lovely way:

sudo aptitude install zope3

and you’ll get Zope 3.3.1, and of course, all the dependencies. To create an instance run:

Continue reading “If you fancy Zope, on Ubuntu”

Advertisements

Installing Rails 2 on Ubuntu

Ubuntu, like many other free operating systems, have a beautiful package management system that will track what depends on what, what is installed, what is not, what is not longer needed, which versions of each. If you tamper with it, you are asking for trouble. If you do a manual upgrade, from sources, eventually a package upgrade will downgrade your version or some other application being incompatible will not work. And once you start throwing files in /usr, you start to ask for trouble. I’ve been using this type of operating systems for years and I’ve learned this by experience.

Nevertheless you, as I, want to try and code with Rails 2, right? Well, this is how I installed it in my Kubuntu box (should work the same for any Ubuntu and Debian derivate as well as others). I’ve decided to install everything on /opt/rails. I like to keep more-or-less self-contained directories in /opt. So I started with:

Continue reading “Installing Rails 2 on Ubuntu”

Quick and dirty continuous testing with Ruby on Rails

I like the idea of continuous testing: seeing that you broke it, the moment you broke it and the same for fixing. There are some tools to do it, but since they are not packaged, yet, for my operating system of choice I went through the quick and dirty route:

watch -n 5 rake test 2> /dev/null

Continue reading “Quick and dirty continuous testing with Ruby on Rails”

Linux is not an operating system

For the purpose of writing this article I’m going to use the following definition of “operating system”. There are other definitions and I’m not claiming this is the right one. An operating system is a unit of software that you can install in a computer and will let you use the computer, thought a set of utilities or program in one way or another. Continue reading “Linux is not an operating system”

Being a prolific blogger

Recently my friend Juanjo pointed out how much activity my blog has been having recently. Thinking about it, he is right and there are two reasons why this may be the case:

  • I’m more inspired than usual. I’m not sure if this is the case, and even if it is, it’s not helpful for me to communicate it unless I’ve found a way to find inspiration easily.
  • I’m writing in parallel. Now this is something to talk about, because it is a technique that can be applied by everyone and I recommend to any blogger.

Continue reading “Being a prolific blogger”

Freeing Squeak, freeing Smalltalk

Squeak is by far the best and most complex Smalltalk implementation out there. It may not play well with other operating systems because it is an operating system by itself. It is also one of the most impressive development environments I ever seen. OK, the most impressive.

The only thing that bothers me is that Squeak is not really free software (search for Squeak in that page). Fortunately, some people are working on making it proper free software. Hurrah! I hope the succeed soon!

Joining the OpenID revolution

After watching the OpenID community grow for years, I finally joined them. I’ve liked the idea from the first day I’ve read about it; aren’t we all tired, after all, of having to remember hundreds of usernames, passwords (sometimes with conflicting constraints: a password must have numbers, a password can’t have numbers)?

From OpenID’s web site:

OpenID means the elimination of multiple user names and passwords and a smoother, more secure, online experience. For businesses, this means a lower cost of password or account management, the opportunity for easier and higher numbers of new user registrations and the elimination of missed transactions because of user frustration with lost and forgotten passwords. OpenID allows for innovation in the authentication space beyond just using a password to “unlock” your OpenID identity, but the ability to strongly protect your OpenID and have that benefit move with you everywhere you go online.

For me, joining the revolution was very easy. First I open an account on MyOpenID, then I installed the OpenID Delegate WordPress Plugin in my wordpress blog so my OpenID address is, actually, pupeno.com. So even thought I’m using a third party service, if they disappear I just pick another one (or become my own OpenID provider) and go on using the same address, pupeno.com. Isn’t it great? There are many other OpenID providers and many sites already supporting OpenID.