About Romanofski

My name is Roman Joost and I'm a professional software developer. I'm contributing and working with Zope and Gimp professionally.

Find me on the web under romanofski or checkout more details under Myself

My flickr stream:

Just 2 cents ...

  • romanofski: Awesome: Chillax with free nature sounds: http://ping.fm/RhAwK
  • romanofski: @BrendelConsult: you may want to have a look at zsh too if you haven't already.
  • romanofski: @esteele: and it has to be a windows bug. That seems to be literally a blocker bug ;)
  • romanofski: @emergetec: holy moly - I totally forgot about that. Sounds awesome. I'll try to come. Fingers crossed about cheap flights.

You can follow me on twitter or identica.

Upgrading Ghostscript and CentOS

2010 22 July

The installed Ghostscript version on CentOS is usually too old if you compare it to installations like Ubuntu. Upgrading ghostscript without compiling the whole package is a challenge, but I found via Chris Schuld’s Blog a link to the http://blackopsoft.com/ repository which provides a recent ghoscript version.

The Problem

Nevertheless, I still had troubles with ImageMagick. If you want to convert PDFs to images for example, the installed ghostscript version was unable to lookup certain font files resulting in an error similar to this one:

Error: /invalidfont in findfont
Operand stack:
   Arial-ISO   Arial-ISO   Arial   Font   Arial
Execution stack:
   [...]
Dictionary stack:
  [...]
Current allocation mode is local
Last OS error: 2
Current file position is 279
GNU Ghostscript 7.05: Unrecoverable error, exit code 1

The Solution

I hunted around in the system. Apparently ghostscript still uses a fontmap to lookup fonts. The question is which fontmap was in use. I tried to change the fontmap in /etc/ghostscript which had no affect.

I finally found a bogus fontmap under

/usr/share/ghostscript/8.70/Resource/Init

which provided all font entries and aliases, but none of the aliases had a font file associated with it. For example, Helvetica-Bold pointed to NimbusSanL-BoldCond, but NimbusSanL-BoldCond had no pointer to an existing font file in the file system. It was simply missing.

The Fix

I got it now working with this in /usr/share/ghostscript/8.70/Resource/Init:

%!
% See Fontmap.GS for the syntax of real Fontmap files.
%% Replace 1 (Fontmap.GS)
/NimbusSanL-Regu        (n019003l.pfb)  ;
/NimbusSanL-ReguItal    (n019023l.pfb)  ;
/NimbusSanL-Bold        (n019004l.pfb)  ;
/NimbusSanL-BoldItal    (n019024l.pfb)  ;

/NimbusSanL-ReguCond    (n019043l.pfb)  ;
/NimbusSanL-ReguCondItal        (n019063l.pfb)  ;
/NimbusSanL-BoldCond    (n019044l.pfb)  ;
/NimbusSanL-BoldCondItal        (n019064l.pfb)  ;

(Fontmap.GS) .runlibfile

References:


posted at Romanofskis Blog (RSS)

If cookies come in the way…

2010 23 June

I really had a strange error when I was recently browsing to my web site. The nginx web server returned a 400, which only happened to me with my main browser: Mozilla Firefox.

400 bad request

The error message I saw, although I knew that my site was fine.

After investigating, I figured, that it was a cookie which was sent by my browser and apparently set by Kupu during editing. If you find this weird behaviour for your site as well, check the cookies. The cookie name which led to my problem was: initial_state. Delete it and you should be able to browse to wherever you run into this error first.


posted at Romanofskis Blog (RSS)

Deutschland Tourismus

2010 06 April

Es geht um den Tourismus, der wie ich feststellen muss, doch immer noch sehr Westeuropa-lastig ist. Deutschland betreffend, verirren sich die meisten Touristen kaum in die ostdeutschen Landen (Berlin als Hauptstadt ist m.E. die Ausnahme).

IMG_6106

Eine kurze Google-Suche (hier, hier und hier) nach den Top-Zielen in Deutschland zeigt die Problematik. Jetzt geht's mir hier nicht darum welche Seite von Deutschland den Längeren hat. Ich glaube, dass dieses Ungleichgewicht zwei Gründe hat:
  1. Der westliche Teil Deutschlands konnte sich nach dem Krieg für 40 Jahre besser in der Welt positionieren als der östliche Teil.

  2. Im Ausland wird Deutschland immer als gesamtes Land mit einem Kulturkreis wahrgenommen. Das ist aber meines Erachtens nach falsch, da es viele verschiedene Kulturen gibt.

Im speziellen mal von meiner Heimatstadt Dessau zu sprechen: Da wird leider noch zu wenig für den Tourismus getan. Sicherlich - kein Geld da, Abwanderung, bla, bla. Aber hier wird leider auch das Einkommen durch den Tourismus unterschätzt. Schon allein in Dessau und Umgebung gibt's nen Sack voll von Sehenswürdigkeiten die internationales Ansehen erlangt haben (Bauhaus). Hinzu kommt die Sprachbarriere. An den meisten Stellen ist Englisch Fehlanzeige. Bücher über die Stadt und Umgebung in Dessau in English? "Ham wa nich".

dsc00168.jpg

Zu guter letzt kommt dann noch die blendende Verkehrsanbindung zum tragen. Da fährt der Tourist lieber nach München in sechs Stunden im ICE, als mit nem Bummelzug in zwei bis drei Stunden nach Dessau zu fahren. Touristisch hat Deutschland vieles zu bieten. Vor allem nicht nur im westlichen Teil!

posted at Project Vegemite (RSS)

Samstag geht's zum Markt

2010 29 March

Wir (meine Freundin und ich) sind jetzt immer Samstags Frühaufsteher um so früh wie möglich auf den Markt zu sein. Ich kann mich persönlich nicht erinnern, dass mich der Markt in Deutschland gegen 7 Uhr morgens aus den Bett geholt hätte. In Australien ist das etwas anders.

Shopping Spree

Grund eins ist, dass der Lebensmittelmarkt in Australien durch Coles und Woolworth dominiert wird. Das schlägt sich dann auch beim Preis nieder. Die meisten Lebensmittel wie Gemüse und Obst gibt's auf dem Markt entweder zum gleichen, oder aber zum günstigeren Preis.

Monstera deliciosa

Zudem kommt noch hinzu, dass Coles und Woolworth nicht gerade eine breite Palette haben. Nun wird mir jeder widersprechen, der schon mal in einem Supermarkt der Ketten war. Natürlich sind die Dinger groß, aber die Auswahl zwischen zwei, drei Kartoffelsorten ist ja nun nicht gerade der Hammer.

Dann ist die Qualität genauso wie man es von einem Supermarkt kennt. Die meisten Früchte werden unreif geerntet um Geschmack zu entwickeln. Die Palette an Früchten ist zum Großteil die gleiche wie in Deutschland und nehmen wir z.B. mal das Wurstangebot (ausgenommen die Theke), dann ist das meiste grausig zusammengefriemelt.

Jackfruit

Dann doch lieber auf zum Markt und früh aufstehen. Da gibt's exotische Früchte die auch schmecken, Delikatessen, die den Namen auch verdienen und frisch gebackenes Brot.

posted at Project Vegemite (RSS)