Thursday 11. March, 2010

Top 10 useless professions

  • Healer
  • Astrologer
  • Homeopath
  • Social Media Expert
  • Politician
  • Search Engine Optimization specialist
  • Patent Lawyer
  • Life Coach
  • Personal Shopper
  • Human Resources Manager

Did I miss any important ones? Help out by posting on twitter with the #uselessprofessions tag.

Tags: ,
Sunday 7. March, 2010

Slides from my Mojolicious presentation

I recently held a introduction to the Mojolicious web framework for Oslo.pm. Here are the slides:

Ad blockers hurt the sites you love (source)

Good point from Ars Technica on ad blockers. This is defintively a problem we have with iusethis.com as well, reducing the total number of ad views reduces our revenue. I much prefer people to use a normal flash blocker. I can understand not wanting cpu consuming ads running in every tab of your browser.

Tags: , ,
Sunday 21. February, 2010

cpanminus – The new CPAN superstar

Like most serious Perl people, CPAN is the main reason I still use Perl after all this time. This huge, wonderful library of Perl code usually helps me avoid reinventing any wheels. On the other hand, the standard CPAN client is one of my most regular hate objects when coding Perl.

It’s not that it lacks any features I need, rather the opposite, the damn thing has a million options, and no good defaults. CPANPLUS is only adding to this mess with even more options. However, now there’s a better solution. 

Check out miyagawa’s new CPAN client cpanminus. And when I say check out, I mean it literally. Get it from github so you won’t have to bother configuring the default cpan shell again:

 $ git clone git://github.com/miyagawa/cpanminus.git

You might want to use one of the tagged releases rather than master tho. Install it in the regular way (perl Makefile.PL && make install) and you’re good to go. Using it is a breeze:

Command-Central:cpanminus marcus$ cpanm Mojo

Fetching http://search.cpan.org/CPAN/authors/id/K/KR/KRAIH/Mojolicious-0.999921.tar.gz

Building and testing Mojolicious-0.999921 for Mojo…

Mojo installed successfully.

cpanminus gives you all the information you want and nothing more, and it asks no questions. If you want to see the full build output, you can check out ~/.cpanm/build.log

Thursday 4. February, 2010

Android app?

Nordaaker just got an Android device. <a href=”http://arne.nordaaker.com/”>Arne</a> is currently fondling a Google Nexus One. Sleek piece of hardware. I’ve been thinking we should do an Android app. Question number one is which language?

21:11 <@sri> java?

21:11 <@marcus> hmm?

21:11 <@marcus> No, I don’t think so

21:11 <@marcus> Scala maybe

21:11 <@sri> mhm, scala seems bearable

21:11 <@marcus> my thoughts precicely

 

Friday 15. January, 2010

Samsung, please let me redesign the ST1000 OS

I just bought a new compact camera, a Samsung ST1000 (or CL65 in the US). It’s a lovely piece of hardware, a 12 mpixel camera with a 28-135 lens and image stabilization, GPS, Wifi all in a small sleek package. However, it has some issues. Here’s my reaction as captured on IRC after trying to use the internet sharing features:

21:13 < @marcus> my camera's firmware was written by idiots.
21:14 < @marcus> samsung--
21:14 < @marcus> it "supports" picasa and youtube and facebook
21:14 < @marcus> but can only upload 320x200 videos of less than 30 seconds
                to youtube
21:14 < @marcus> and only pics to facebook
21:15 < @marcus> awesome!
21:15 < @marcus> it's a 12mpixel camera tho
21:15 < @marcus> with 5x optic zoom
21:15 < @marcus> heh, this thing has face recognition
21:15 < @marcus> and a decent flash
21:15 < @marcus> and 720p video
21:16 < @marcus> if the software wasn't so horrible, it'd be awesome
21:16 < @marcus> 3.5" touch screen
21:17 < @marcus> it's got a gps and wifi
21:17 < @marcus> WTF
21:18 < @marcus> and it can't email video
21:18 < @marcus> this is bullshit
Saturday 28. November, 2009

Burning the candle at both ends part II (source)

In addition to recent fatherhood and doing my own startup and taking over the leadership of the Oslo Perl Mongers, I’ve started a project to get a hacker space set up in Oslo. Actually, this ties in to my Oslo Perl Mongers interests as well, so it’s not a completely new project. I got very inspired by @kyrah’s talk about metalab.at in Wien at FSCons in Gothenburg a couple of weeks ago.

I’d like to see something like this in Oslo, so I’ve set up a Wiki and started talking to various other interested parties. If this is something you would be interested in happening, please sign up at the Wiki and the Google Group and join the discussion.

Burning the candle at both ends. (source)

In addition to recent fatherhood and doing my own startup, I am now the leader of the Oslo Perl Mongers. Look forward to tech talks from Oslo.pm in the months to come. :)

Friday 6. November, 2009

Testing JavaScript from Perl

If you want to write tests for your JavaScript code from Perl, Claes’ module Test::JavaScript::More comes in handy. This module works by evaling everything from the use line as JavaScript. Of course, now you’re mixing two languages in one file, which is not going to make any of your syntax validators happy. However, loading it like this will please both perl and jslint:

m| /* |; # Comment out JavaScript
use Test::JavaScript::More;
__END__ = '';  // It's is all JS from here. */
ok(1,'Success!');

One final note. I had some problems building the cpan module of JavaScript on OSX with Spidermonkey from ports. If you have the same problem, get the latest and greatest version from GitHub, which fixes this issue.

Sunday 1. November, 2009

(source)

Jim Wesson aka @hotdogsladies aka Merlin Mann is the customer from hell:

First, and most important, can we do something to make the logo BIGGER and more prominent? I’ve done a quick sketch using the circumference of my coffee cup as a reference guide (see attached) and I’m sure we all agree that the new eagle is much easier to see at about three times the current size (I’m not sure what that is in computer picas). Everyone agrees that the new eagle logo my daughter drew is GORGEOUS, so I really want those feathers to stand out over the “Stool” info scrolling through the eagle’s mouth (beak? bill? not important).

Great fun.