Gearman is a great tool for farmed or distributed work. It's some kind of basic cloud handling: Many Worker processes (usually running on many different servers) are waiting for jobs to process and there's (hopefully) always another worker taking over if one worker (server) should ever die. But what happens, if a single job dies and should be repeated?
A MovableType installation isn't that easy like a WordPress upload, but it has many advantages. This is a little tutorial for setting up MovableType on a basic webspace without SSH access.
JSON is a commonly used format for data transmission, especially with Ajax calls. It's more structured and easier to process then XML, but could be just a wall of text depending on the creator. This oneliner reformats JSON to look pretty and human-readable.
I tried MovableType just before setting up WordPress for this blog. It didn't offer the features I wanted (okay, WordPress still doesn't have them, but it promised to have them and so it won). After trying out MT again, I want to have it. But what about my existing articles, comments, settings? That's (the only reason) why I'm still using WordPress.
Recently, I discovered strange messages in a servers system log. The cron daemon was complaining about an expired user account, but there are no user accounts on this server, which should ever expire.
I'm working on one Moose-based project and ran into bad difficulties yesterday. Suspicious compile time errors, default value subroutines being called way too early and with an empty hash reference as argument instead of an object. It took me hours and some hints from #moose on irc.perl.org to find a workaround and finally today, I was able to reproduce the problem.
I don't like Moose. It has a lot of disadvantages and tries to create a new language based on Perl - without any need. But I'm forced to use it within a project and working myself into all that stuff, the documentation turned out to be as bad as the one of DBIx::Class. This post is my attempt to merge the most important documentation parts.
CPAN has everything. Nearly everything and one of the modules is DBD::Sybase which connects to Microsoft SQL servers as well as Sybase ASE and iAnywhere servers, but there's a trick.
Why should I write about sessioning at all? A session is something which exists and should be as easy usable as possible. Is this the end of my blog post about sessioning?
MS-DOS basic variants had fixed default values for variables, "empty" for string variables and "0" for numbers. DATABUS (now DB/C) variables used to have unpredictable content unless initialized with an empty value and Pascal - as far as I remember - also had default values. Perl doesn't distinguish between text and numbers but it has a default value for all scalars: undef.
The Ubuntu NetworkManager (NM) is great (exept for servers), it's taking care of all network issues up to VPN. NM supports using multiple network connections with multiple DNS servers and probably multiple private domains by running a local DNSmasq process which will forward all lookup requests to the proper nameserver. But the NM is new and still missing some feature - like additional or custom configuration lines for DNSmasq.
I like Google Docs (which is now Google Drive, but I rarely use it as a cloud drive), but Opera and Google Docs aren't good friends and Chrome seems to be the
only best browser to use Google's "online office". I like Opera and have no reason switching to Chrome except docs.
How to concat an array into a string? Perl is TIMTOWTDI and I could imagine two common ways - but which one is the best?
Kids are discriminated for being kids. They're not allowed to smoke, drink alcohol and use various internet offers. but writing "not for kids" on a homepage barely fulfills legal and real life requirements, software has to calculate the age based on a known date of birth.