English

TOP

First steps with MongoDB MapReduce

I recently decided to prefer MongoDB for new projects and it turned out that I still need to learn a lot of things about it. One of them is MapReduce which is more powerful than (most) SQL SELECT options.

Weiterlesen
TOP

AVM Fritz!Card, Asterisk and Ubuntu - a link collection

I'm running a small server at home which does storage services, telephone and MythTV in one box. The VoIP part is served by Asterisk (what else?) and a AVM FritzCard PCI.

Weiterlesen
TOP

CRC32 vs. CRC32B

Someone asked me about a CRC32B checksum today. No problem, there is CPAN and a common checksum like CRC should be very easy, there must be a module (or two or three or so) on CPAN, task done, next one. Stop. There are two modules for CRC32: Digest::CRC32 and String::CRC32 but really nothing for CRC32B.

Weiterlesen
TOP

GoogleTalk with Perl

I tried to set up a little notification daemon in one of my projects: It should send a message to my GoogleTalk account for special events and that should be easy using one of the huge amount of Jabber/XMPP modules on CPAN.
Weiterlesen
TOP

Getting started with Gearman

I wrote about Gearman some time ago and didn't get the tuits to write the next posts, but here we go: How to start working with Gearman.

I strongly suggest that you don't start by adding Gearman to your productional systems because there are many things to consider and you probably don't want to rewrite everything once it's running.

Weiterlesen
TOP

mySQL mysql_auto_reconnect: Timezone issues

mySQL clients tend to loose their connections from time to time and DBD::mysql could reestablish the connection automatically if it's lost using the mysql_auto_reconnect DSN connection string parameter - creating other problems.
Weiterlesen
TOP

Farabi - a web based Perl editor

Azawawi introduced his newest tool to the #Padre channel today: Farabi, a web-based Perl editor/interpreter/everything.
Weiterlesen
TOP

DBD::mysql UTF-8 fallacy

Todays world is UTF-8, I'm very sure that most software worldwide is UTF-8 today but mySQL on Perl?
Weiterlesen
TOP

Frustating search disability

Encoding is fun. A shirt stating "Schei? encoding" is very popular among German developers. My boss discovered a bad encoding problem yesterday and we've been spending hours searching for the reasons and a solution.

I need to encode and decode a complete hash tree (a value which might be a reference which might contain other references which might contain other references which...) and there is no "Encode::Tree" or "Hash::Encode" module on CPAN.

Weiterlesen
TOP

Better source: svn client-side precommit hooks

Every single line of source code is being tested very deeply before being committed, isn't it? Well, maybe in a perfect world but reality has very little space for testing your source and simple typos often break stuff unnecessarily. Developers usually don't like testing at all, they want to develop new stuff and finish annoying tasks as fast as possible.
Weiterlesen
TOP

YAPC::EU 2012 day 3 notes

Last day of YAPC::EU 2012 (for Max, it's Friday today) and time for the last YAPC day report.

Weiterlesen
TOP

YAPC::EU 2012 heat wave two

I wrote about the first day of YAPC::EU 2012 yesterday and told you that the weather was really hot. Today is much cooler, only slightly above 30°C outside but in a building... without air conditioning... but with >400 people... you don't wanna know now.

Weiterlesen
TOP

YAPC::EU 2012 - hot like hell

There has been no summer in Germany. Few warm days, but not real hot - until last weekend. Today is very, very hot in Frankfurt, over 35°C and only one YAPC room has a slight touch of air conditioning and everybody is melting.

Weiterlesen
TOP

Upcoming: YAPC::EU

How to get 400 Perl-geeks in one building? It's easy: Run the next YAPC::EU! Frankfurt.pm did that and will start suffering tomorrow: Participants from all over the work will come to the German capital of the Internet and money to talk about Perl and meet other Perl guys.

Weiterlesen
TOP

Hash to string race

How to convert a hash to a string? Perl is TIMTOWTDY but which way is the fastest? I need a checksum (hash, digest) for the hash, so the string must be the same for the same hash every time. Hash keys are not sorted, even a simple join('', keys(%hash)) may be different for each call (if the hash has at least two keys).
Weiterlesen