Thursday, March 24, 2011

O'Reilly Media book: Programming the Perl DBI

Programming the Perl DBI

What a pity: not available as ebook at o'Reilly's, but you can find it on the web, just as I did.

Thursday, March 17, 2011

I started using eRuby to create JasperReport JRXML files

All of a sudden I knew, I would immediately need a template mechanism. During the last "Stuttgart.pm" meet-up Mason got mentioned, but I was already a little familiar with eRuby, so I gave it a try, and it was just the right thing to do. The XML file to handle got smaller and smaller and smaller – really, really nice to see.

Update 2011-03-25:
A few days later I am really rather satisfied with this decision.
Of course: eRuby XML files are no longer clean XML, so they are not supported by any editing mode (apart from "text-mode") in emacs, but then that's not too terrible.

Update 2011-04-20:
Of course (again) being able to deal with eRuby XML files as XML files within nxml-mode would be a charm. There are 2 obstacles to overcome:

In order to interpolate ruby expressions into XML this syntax is used:

y="<%=y0+13%>"

but nxml-mode does not accept that for a legal XML attribute value.

Lines starting with '%' are for ruby code, nxml-mode should / may consider them as comments:

% y0 = 97

an extra blank page on PDF-s created by JasperReport has gone

The JRXML, I am creating programmatically, caused the generated PDF to have an extra blank page.

I didn't care a lot, as long as I had not achieved my main goal. Now, that I am going to deliver (OMG!), I tried to smooth that rough edge. As I had not clue, where the problem source really was, I urgently needed to solve that problem today. Spent some time on it, solved it!

My document has only two bands: the Title and the the Background Band.
The Title Band actually doesn't share the page space with any other band. Therefore I thought it may take all the 842 points of height, that the document has itself. That's apparently not true. Apparently the Title Band must be at least be one point smaller the available height. If I respect that rule, I don't have that extra blank page any more.

Friday, March 11, 2011

The Scala Programming Language – the website

The Scala Programming Language

Programming Scala – the website of the O'Reilly book

Programming Scala

R Cookbook - O'Reilly Media

R Cookbook - O'Reilly Media

O'Reilly Media book: R in a Nutshell

R in a Nutshell - O'Reilly Media

installing the Erlang system

installing the Haskell system

installing the Scala system

Erlang Programming - O'Reilly Media

Erlang Programming - O'Reilly Media

emacs: table editing, rectangle editing, making simple drawings, picture more, artist mode

Emacs has "info mode" documentation on "Picture Mode".

"CUA Bindings" (cf. "info mode" entry by this name) come with enhanced rectangle support.

The O'Reilly book Learning GNU Emacs has a chapter (7) on Simple Text Edition and Specialized Editing with sections Rectangle Editing (subsection on CUA Rectangle Editing) and Making Simple Drawings (on Picture Mode and Artist Mode). Occasionally I actually use Picture Mode for drawing tables.

You will find info mode documentation on table editing in section Text > Text Base Tables. I also like that very much.

the Chromium Browser: the Status Bubble

Status Bubble - The Chromium Projects

The Status Bubble was gone with 11.0.697.0 on the Mac. That's pretty bad. I really like "inspecting" links, before I click them.

Update 2011-03-11:
I just installed "12.0.700.0 (77795)", and the Status Bubble is back again. I am relieved.

Java removed from Linux Standard Base 4.1 - The H Open Source: News and Features

Java removed from Linux Standard Base 4.1 - The H Open Source: News and Features

openSUSE 11.4 final arrives - The H Open Source: News and Features

openSUSE 11.4 final arrives - The H Open Source: News and Features

Kiran Nagarkar: God's Little Soldier

Kiran Nagarkar - Wikipedia, the free encyclopedia

This book on indiaclub.com.

Hans Küng: "Islam: Past, Present and Future"


Thursday, March 10, 2011

today I needed a stack class in bash

It's certainly not hard to do, but then it takes a while, until it's done properly.

square photos in Google Contacts – create them with the help of ImageMagick's convert -splice

I really start appreciating ImageMagick and the transformations it supports, that I come across.

Google Contacts really prefers square photos, and if your photo does not have a square geometry, you have to crop it to a sub-square. Now that I know, how to insert a rectangle to the photo (with the help of ImageMagick's "convert -splice", GraphicsMagic doesn't support "convert -splice"), I will happily upload square photos from now on.

I was long wondering, how I could achieve this.