This is part of a series on the Erlang Exercises which is a great set of programming problems that challenge you to implement solutions to some common Erlang problems. I’m going to share some of my solutions to these problems.
Simple recursive programs
1. Write a function lists1:min(L) which returns the mini- mum element of the list [...]
Archives for the ‘Code’ Category
Erlang Example: Min and Max Element of a List
Wednesday, 28 May 2008
Erlang Exercises: Ring Messages
Wednesday, 28 May 2008
Erlang Exercises has a great little series of programming problems that challenge you to implement solutions to some common Erlang problems. It’s a great way to learn the language. I’m going to share some of my solutions to these problems. Maybe for some discussion, maybe for some feedback from some people more experienced with Erlang, [...]
Erlang First Post
Tuesday, 27 May 2008
Some linguists and philosophers posit the idea that you can not have a thought for which you do not have language.
“The limits of my language mean the limits of my world.”
– Ludwig Wittgenstein
The Best Reason for REST
Friday, 2 May 2008
REST is a popular means of implementing Service Oriented Architectures (SOA) as well as merely providing simple remote APIs for interacting with systems. REST is a constraint based architecture built on HTTP, the foundational protocol of the Web. That foundation, its simplicity and the constraints it is built upon are its biggest strengths.
1. Simple Foundation
URLs [...]
Grails Philosophy
Thursday, 1 May 2008
There was a post on the Grails Mailing list today asking about the philosophy of Grails. This is my response:
I think I might have ripped this off from somewhere, but fundamentally there are 4 questions to answer for a basic application like this:
How do you display data to a User?
How do you implement business logic?
How [...]
Database Migrations for .NET
Sunday, 20 April 2008
One of the more difficult things to manage in software projects is often changing a database schema over time. On the projects that I work on, we don’t usually have DBAs who manage the schema so it is left up to the developers to figure out. The other thing you have to manage is applying [...]
Start a New Branch on your Remote Git Repository
Monday, 14 April 2008
Git is a distributed version control system so it allows you to create branches locally and commit against them. It also supports a more centralized repository model. When using a centralized repository you can push changes to it so that others can pull them more easily. I have a tendency to work on multiple computers. [...]
CruiseControl With a Specific Version of Grails
Thursday, 27 March 2008
Continuous Integration is a good practice in software development. It helps catch problems early to prevent them from becoming bigger problems later. It helps to reinforce other practices like frequent checkins and unit testing as well. I’m using CruiseControl (CC) for Continuous Integration at the moment.
One of the things about Grails is that it is [...]
Encryption, Codecs and Unit Tests in Grails
Sunday, 3 February 2008
Certain data stored as plain text in a database is just asking for trouble these days. We hear too often about misplaced and stolen computers that contain databases full of Social Security numbers and other information that can lead to identity theft. We can help avoid these situations by encrypting those fields in a database [...]
ALT.NET in Milwaukee
Friday, 1 February 2008
I am a generalist. I like Ruby and Groovy, Rails and Grails, Objective C and Python sometimes. I use bash scripts and I use Java and .NET too. I work on a MacBook Pro running OS X and a Thinkpad running Windows XP. I run my server on Ubuntu Linux. I use to run Linux [...]