VMWare Fusion and perl Bytes::Random::Secure via Apache mod_perl

I recently noticed that on my development machine some http/https requests running to a Debian guest on MacOS VMWare Fusion took muuuuch time and were  extremely slow … some requests took 30 secs. instead of few millisecs. The application on the Debian is written in perl and executed via Apache/mod_perl.

My first thoughts were NAT, networking, IPv6, … but not even close! A couple of print STDERR statements later I realized that calls to Bytes::Random::Secure (or underlying Crypt::Random::Seed) which use /dev/random or /dev/urandom caused it. Using just (unsecure) rand() fixed it.

I wonder why /dev/random or /dev/urandom is that slow on VMWare Fusion … this needs further research.

Offtopic: LOMMEL – a Rocker legend from Berlin

An excerpt from the content: … I was born in Falkensee near Berlin in 1949, and shortly after my birth I was dropped at the children’s home Spandau in Berlin. BookBeing a darling of fortune I was adopted by good adoptive parents a bit later, and grew up in Berlin-Neukölln. I will generously skip further details of my childhood, except the fact that I was educated according to the catholic faith. In other respects, the pictures will tell the story.

As a result of my catholic education, I lost faith in God and finally quit church in the 90ies.

I grew up as an only child which possibly might be the reason why I feel comfortable in groups, mainly in the presence of my brothers who became my family.
School was not really my cup of tea, so consequently I was a bad pupil …

Now available in the USA: http://www.ebay.com/itm/282012549893

Offtopic: Lugaru Epsilon on OSX El Capitan

After install I’ve got:

$ epsilon
dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /Applications/Epsilon.app/Contents/bin/epsilon
Reason: image not found
Trace/BPT trap: 5

A quick workaround is – if „libX11.6.dylib“ could be found in „/opt/X11/lib/“

$ cd /Applications/Epsilon.app/Contents/bin
$ cp epsilon epsilon.sav
$ install_name_tool -change /usr/X11R6/lib/libX11.6.dylib /opt/X11/lib/libX11.6.dylib epsilon


Herzlich Willkommen

Bloggen – wozu soll das gut sein und ich doch nicht

… waren meine ersten Gedanken als ich die zahlreichen Blogs im Web entstehen sah. Tja, und nun probiere ich es doch einmal selbst aus. Ich möchte hier von Zeit zu Zeit Tipps und Notizen hinterlegen – nicht nur für die möglichen Leser sondern auch als privates Nachschlagewerk.