Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

singingfish (7494)

singingfish
  (email not shown publicly)

Journal of singingfish (7494)

Tuesday July 28, 2009
06:04 AM

Marketing rumbling in the perl community.

To all you people making rumblings about marketing effort in the Perl community (I know who you are). I have a Perl Foundation grant outstanding that I intend to complete by the end of this year.

Anyway, I'm keeping an eye on the discussion, archiving it, and will be responsive to feedback. At some point in the not too distant future (probably late August, maybe sooner) I will rustle up a focus group on IRC so that I can attempt to work where to go with some of the more subjective bits of the survey I end up running.

Monday July 13, 2009
06:20 AM

Perl Survey Progress

I haven't committed much to the github repository for this project since my last update, because a lot of what I've been doing is fairly exploratory stuff. Essentially I've been through the original report with a view to replicating the findings of the original survey, and trying to segment out some more interesting analyses.

Unfortunately this has proven to be a pain. I could sit down and mung the data some more, but I don't think that would be a good use of my time. It's much better to thoroughly ensure that the next set of collected data is clean and easy to use from the word go.

Don't get me wrong, there's a lot of useful stuff here, but there's a lot of detailed unpicking of the data structure to do to ensure consistency for cross-tabulation and other analysis. Unfortunately I don't think the benefits of doing this would exceed the costs, particularly because the 2007 dataset is getting a bit old now. However, I can still use the 2007 data to ensure a properly structured 2009 survey that's structured in a way that is easily sliced and diced.

So my next steps are as follows:

  • Organise DNS and hosting for survey.perl.org
  • Consolidate and publish my notes on what I found out playing with the data and presentation of the original survey report

When this is done I can start drafting new questions, and rigging up the basics of the web application for collecting the data. Provisionally we'll try to get this happening for late autumn in the Northern Hemisphere, when everyone is back home from the beach.

Monday June 29, 2009
07:51 AM

Return to the Perl Survey

Back in January, I started doing work on the Perl Foundation grant for the perl survey. I'd gathered all the data together, and done a fairly sizable job of cleaning it up, when along came a new job and a horrendous set of deadlines for the now imminent Catalyst book. Meanwhile I was waiting for Skud to give me the original Perl Survey 2007 report which had fallen off the net.

So for now, I'm going to go through the survey report fairly slowly, replicating the previously presented analysis in R code and writing notes about what extra things can be done with the extant data. Once this is done, I'll look at things that can be dropped from the old survey, and think about enhancing the next iteration of the survey with more questions.

Thursday January 08, 2009
06:17 PM

Perl Survey 2009

I've finally started working on the Perl Survey grant. The first thing I've done is taken Data::PerlSurvey2007 and merged it with the work that I did in late November 2007. Generally the best practice with survey data is to make the data file as two dimensional as possible. So to achieve this, I'm converting the nested data structures in the PerlSurvey2007 module into dummy variables. This, and another couple of tweaks should get me to the position where I can do a comprehensive review of the existing analysis. For those of you who want to sing along at home, I'm hosting it on Github, and you can browse or grab it from here.
Monday September 24, 2007
05:22 PM

Catalyst::Controller::reCAPTCHA

Just a quick note to let you all know that I made a Catalyst extension to interact with the reCAPTCHA service.

It's Catalyst::Controller::reCAPTCHA on cpan and comes with documentation and a simple example application. If anyone wants to add patches for Captcha::reCAPTCHA::Mailhide api, feel free :-)

By the way, watch out for testing this on your dev box - I got myself banned from reCaptcha for several hours by posting continually failing recaptchas.

Sunday September 16, 2007
11:40 PM

WIAB hits version 0.02

WIAB - Website in a box, my simple Catalyst CMS has hit version 0.02. The main change here is that we're using some Jquery code to make editing pages easier. The plugin in question is JTagEditor. You can download the new version from here.
Friday June 01, 2007
06:36 AM

Catalyst Javascript Testbed

Quick way to get a javascript testbed going:

$ catalyst.pl MyApp
$ cd MyApp

# put this in MyApp::Controller::Root

sub default : Path {
        my ( $self, $c, $arg ) = @_;

        unless ($arg =~ /boo|hoo|snoo/) {
                $c->res->status('404');
                $c->res->body('404 not found');
        }
        else {
                $c->config->{$arg}++;
                $c->res->header('Content-Type', 'text/plain');
                $c->res->body($c->config->{$arg});
        }
}

sub index : Private {
        my ($self, $c) = @_;
        $c->res->redirect($c->uri_for('/static/index.htm'));
}

# download your js libraries of choice (jquery here) to root/static/js (create dir as nescessary)
# And in /static/index.htm <-- NOTE the lack of 'l' at the end - there is a reason for this!

<html><head></head><body>
<script src="/static/js/jquery-1.1.2.pack.js"></script>
<script type="text/javascript">
    jq = jQuery.noConflict(); // your stuff here :-)
<script>
# your html here pre-written or inserted with js debugger
</body></html>

Woosh, off we go...
Monday May 07, 2007
07:56 AM

WIAB templates

I'm uncrufting WIAB's templates based on the list apart three column layout. I've removed a column and glued on a simple css layer for the breadcrumbs to present a tab like interface. Once I've styled the left menu, and the footer, I can think about providing drop down menus. Then I make the colour scheme sane and we have a new release!
Monday April 23, 2007
11:49 PM

Javascript n00b part 1

Unfortunately, javascript is a pain, but getting better. Unfortunately there seem to be a few good books out there, and none of them in my local library. Time to create my own resource for learning javascript! WTFM indeed. So following the advice of people who know, I downloaded the Core Javascript Guide. To give myself an interactive environment for learning Javascript I downloaded Firebug and off we go.

First up is the chapter on variables. Open up the Firebug inspector (a green tick in the lower rhs of my browser here) and declare a string in the interaction line (right at the bottom of the window with three blue angle brackets (>>>) like so:

a = "Hi";

Then: window.alert(a);

There we go, scalar variable naming and browser interactivity all in one go. Next up the rest of the chapter.

BTW while this isn't directly relevant to Catalyst, people do pop up on IRC asking for the "best javascript book" and the approach above seems a reasonable substitute.

Update: I found the little gray V at the far right hand side of the firebug eval area in firebug. Turns out you can eval blocks of code too :) :

a = 'foo'; b= 'bar'; if (a == 'foo' && b != 'bar') { window.alert(a)} else { window.alert(b) }

Update: (again). A little birdie tells me that I should declare my variables with var a = 'Hi'. Something to do with scoping issues. I guess once I understand how to do data structures in javascript I'll be working out scope and how to do something "use strict" like.

Wednesday March 28, 2007
02:33 AM

WIAB Updates

I've been poking Website in a box a little since it's public release. I added reasonable documentation for deployment administration and editing. I also updated the TODO realising I forgot to do that before. Here it is in aproximate order at subversion revision 103:
  1. Clean templates add styled to forms and release non js stable version
  2. Wysywig dojo editor
  3. Par deployment
  4. Orderable menus (javascript only)
  5. Internal links and image addresses via textile/dojo plugin
  6. Make images slightly easier to deal with.
  7. Provide image upload area (with auto-resize?)
  8. Sensible cacheing (pref a static file cache so pages only need to be generated once).
  9. Remove remaining warnings (also ongoing)

Along the way to getting Dojo into WIAB, I found an "interesting" interaction bug between Template::Plugin::CGI and the built in Catalyst test server... Must report that problem. Something to do with CGI expecting stuff from STDIN at inappropriate times.

Naturally if I have any volunteers for any of the above jobs ...