18 September 2013

Admiral General Aladeen's Rationale For a Dictatorship

I was watching the movie 'The Dictator' again on the plane a couple weeks ago. Although I had seen it before and knew it was funny, I was reminded all over again how hilarious it is to watch Sacha Baron Cohen poke fun at life. Here is Admiral General Aladeen's final speech in the movie on dictatorship vs. democracy, too damn funny:


Imagine if North America was a dictatorship:
  • You could let 1% of the people have all the nation's wealth
  • You could help your rich friends get richer by cutting their taxes and bailing them out when they gamble and lose
  • You could ignore the needs of the poor for healthcare and education
  • Your media would appear free but would secretly be controlled by one person and his family
  • You could wiretap phones
  • You could torture foreign prisoners
  • You could have rigged elections
  • You could lie about why you go to war
  • You could fill your prisons with one particular racial group and no one would complain
  • You could use the media to scare the people into supporting policies that are against their interests
Ahhh, the irony! 

04 September 2013

FizzBuzz in Perl One-Liner

Last week something caused me to remember the Obfuscated Perl Contest that used to take place back in the 1990s in The Perl Journal (all issues available here.

Here is FizzBuzz in a Perl one-liner. Why? Because I can.

perl -e 'for (my $i=1; $i<100; ++$i) {($i%3==0 and $i%5==0) ? print "FizzBuzz\n" : (($i%3==0) ? print "Fizz\n" : (($i%5==0) ? print "Buzz\n" : print "$i\n"))}'