Friday, March 25, 2011
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.
What a pity: not available as ebook at o'Reilly's, but you can find it on the web, just as I did.
Labels:
OReilly,
Perl DBI,
RDBMS,
SQL,
The Perl Programming Language
Sunday, March 20, 2011
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:
but nxml-mode does not accept that for a legal XML attribute value.
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:
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.
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.
Labels:
JasperReports,
JasperSoftForge
Monday, March 14, 2011
Sunday, March 13, 2011
Saludos Amigos (1942) - IMDb
Saludos Amigos (1942) - IMDb
German title: "Drei Caballeros im Sambafieber".
Wikipedia entry.
Looks like you can watch a part of it here at wisevid.
German title: "Drei Caballeros im Sambafieber".
Wikipedia entry.
Looks like you can watch a part of it here at wisevid.
Labels:
films,
IMDb,
Latin America,
Walt Disney,
wishlist
Saturday, March 12, 2011
Friday, March 11, 2011
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.
"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.
Labels:
emacs
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.
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.
Labels:
Chromium,
Google Chrome
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.
Labels:
bash
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.
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.
Labels:
image processing,
ImageMagick,
imaging
Subscribe to:
Posts (Atom)