Everything related to software development that every developer could find useful

Portability: stories of what can go wrong when run your code on another machine

Things that Can Go Wrong when Running Code on Another Machine

In the last year I faced many surprises when running some well tested code on my dev-servers or my laptops. It is curious (and scaring) how code that has been widely used in production (sometimes for years) can still hide portability issues so that the first time you try that piece of software in slightly different conditions […]

Resurrect a C++ codebase and create a proper open-source project out of it

How to Resurrect a C++ Codebase and Make it Open-source

Our interests often are the sparkle to start a pet project. For example, I am interested in world generators and because of that I created Lands: an application which simulate different physical phenomena and produce as outputs different maps (for elevation, rivers, biomes, etc.). After many experiments I finally understood that a critical component of […]

Getting started with Frege: Hello World and basic setup using Maven

Getting started with Frege

I spent a couple of hours playing with Frege (Haskell on the JVM) and not much documentation tutorials seems available. I am trying to help writing this simple Hello World tutorial. The code is available on Github: https://github.com/ftomassetti/frege-tutorial/tree/01_HelloWorld Update: Frege has some very useful documentation at http://www.frege-lang.org/doc/… where … represents the package, or module, name. […]

Exploring frege Haskell for the JVM

Exploring frege: Haskell for the JVM

Recently I played a lot with Clojure while building a civilizations simulator named civs. I really love building applications at the REPL and my Clojure code is much clearer and easier to read than the Java code I could have written for it but… when you need to refactor significantly your code it is going […]

Machine Learning: a nice introduction with TripAdvisor examples

Machine Learning: a nice introduction with TripAdvisor examples

This afternoon I attended a seminar from Prof. Padraig Cunningham. The seminar was organized by Gilt (thanks!). The seminar was about Machine Learning. First we discussed about linear and logistic regressions, while at the end we focused on recommenders. I really like the part about Weka: it is a nice tool to play with data […]

The code as a source for models

The Code as a Source for Models

I am taking a rest after some hours of work. I used the javassist library to extract information from the code of a layer in an enterprise application and use it to build a model to generate the successive layer. I wish I could extract some of the information using generics but the infamous “Java […]