• Generate PDFs with Flying Saucer + Handlebars.java

    When it comes to generate PDFs using Java the de facto solution is Jasper Reports. Even though it provides a bunch of features and a great set of tools, such as iReport and JasperSoft Studio, the developer might want a simpler and flexible alternative. Recently I was involved in a project where I had to craft reports but I felt that using iReport was getting more and more kludgy and messy with lots of subreports. Then I gave Flying Saucer a try and never looked back. For the template engine Handlebars.java was chosen due to its simplicity and my previous experience with Handlebars.js. The combination proved to be awesome!

    Read more »

  • Replacing FLTK Callbacks with Lambdas and Signals

    FLTK is a lightweight GUI toolkit which I use for my music player. It’s great due to its simplicity and it can also be statically linked. Unfortunately the project development is mostly stalled after two failed attempts to rewrite/redesign it (FLTK 2.x and FLTK 3.x). Nevertheless, the library is still useful, somewhat maintained and the community is also active, so I can still rely on it.

    Read more »

  • Hello World

    This is my first post (seriously?). I hope to write many more about my experiments and hacks(kludges) while playing with technologies such as programming tricks (mostly JavaScript and Java…), Libraries & Frameworks, software design & architecture, Tools, Linux related things and anything else I find meaningful and useful to share. This is it, I’ll be spend some time tweaking, breaking and improving this Jekyll-based blog until some posts come up.

    Read more »