Eclipse

Strategies for rapid development

The challenge A client came to us recently with a challenge. They wanted a working piece of software that could demonstrate modelling the year-on-year outcomes of complex financial contracts. Each contract contained various inter-related elements. There were various types of contract – the included elements varied from one to the other – but they all fell within the domain of oil exploration and production. As the client revealed the nature of the contracts, the work started to look quite complex.

Continue reading

Debugging Ruby 1.9.3 applications in Eclipse

Debugging Ruby code in Eclipse should be easy. After all, there is Aptana Studio which integrates the Ruby debugger, and RVM to manage the Ruby installations. Or so I thought. The problem is that I cannot work without a debugger. Using print statements to trace program flow makes me loose hair, and trial-and-error F5ing in  the web browser can hardly be called systematic solving of a programming problem. So I had to make it work. After several hours of setup and configuration, running into the next problem, searching the web again, retrying, and consuming caffeine overdoses in the process, debugging eventually  worked. To save those trying after me from running into the same trouble, the steps that finally succeeded are documented below. The following instructions have been verified on Ubuntu 12.04 32bit.

Continue reading