Logically And Yourself (&&=)

I ran into a situation today where I was trying to see whether any exceptions were thrown when evaluating a list of objects. In this particular case I didn’t want the exceptions to short circuit the loop, I just needed to know if any were thrown as we iterated over the list. So I wrote this benchmark to see which of two approaches would be faster.

use strict; use Ouch; use Benchmark qw(:all); my @list = (1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,1,1,1); timethese(10000, { '&&=' => sub { my $is_proofed = 1; fo…

Platform as a Service Shootout

Tonight we are having a Platform as a Service shootout at MadMongers. The contenders are Docker, Heroku, Stakato, dotCloud, and OpenShift. Hope to see you there.

[From my blog.]


I’m pleased to announce the release of USPS::RateRequest 0.0100. We’ve been developing this module in-house at The Game Crafter for a couple years now. It’s much faster than Business::Shipping, because it submits multiple simultaneous requests to USPS rather than doing them in series. And it’s more accurate than your typical request because it uses the result of Box::Calc to determine the exact dimensions and weight of…

PaaS Anti-Patterns

PaaS Anti-Patterns:

As we prepare to do a series of talks on Platform as a Service (PaaS) at the next MadMongers, I felt this article on Anti-Paterns for PaaS would be a nice share.

[From my blog.]

Firebase - Build Realtime Apps

Firebase - Build Realtime Apps:

I’ve been using Firebase a lot lately to build real-time web apps both in Perl and in Javascript. I figured it was high-time I give them a shout. If you are looking for an easy way to build real-time web apps, have a look at Firebase

[From my blog.]