Perl

TOP

Never trust your data

Warnings aren't useless, they may be hints to invisible problems - which could become "big trouble" lateron. Recently, I was trying to track down a warning which didn't make any sense.
Weiterlesen
TOP

Einfach erklärt: MapReduct Tutorial

Ich nutze MongoDB schon seit über einem Jahr, bisher aber nur für kleinere Sachen - und ohne MapReduce. Dabei ist es genau diese Funktion, die viel zur Macht dieser ungewöhnlichen Datenbank beiträgt.

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

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
TOP

git und github für SVN-Umsteiger

Ich bin svn-User und alle meine Begegnungen mit github endeten in Frust, denn die Useability ist mies, auch wenn sich in den letzten Jahren einiges getan hat. Git ist das gleiche wie github, oder? Dennoch, ich möchte ein OpenSource-Projekt unterstützen und dieses nutzt nunmal github, also bleibt mir keine andere Wahl.
Weiterlesen
TOP

Perl bits: Passing @_ to a subroutine

Perl subroutines may be called with or without leading & and with or without () at the end. Either one is strongly recommended - the command might end up as something else than a function call if both are missing.
Weiterlesen