Subscribe to RSS Feed

Categories

Archives

Archive for the 'Code' category

Announcing Osgood: An Event Repository

Yesterday I released Osgood::Client and today, after realizing I had botched the upload, Osgood::Server. Unfortunately the documentation is a little thin, so I’ll take this opportunity to both inform the world and the module of it’s purpose.

Osgood is a passive, persistent, stateless event repository. The current docs say queue rather than repository but [...]

Read the article

Hanging Antlers On Your ResultSets

At some point in the not too distant future, the intarweb’s magazine consumers will be perusing a new magazines.com. I’ve got the responsibility of building it. One of the requirements is to allow our Merchandising and Marketing folk to get their jobs done without too much fuss. The system they use will [...]

Read the article

Festina Lente

Hasten Slowly, in the Latin.

A conversation with Jaxn tonight got me thinking: How ‘fast’ are the sites of the top 10 ’shopping’ sites (per Alexa)?

So I measured them. At first, it was a simple matter of emptying my cache and loading each site. But many sites, understanding how important it is to get [...]

Read the article

Ayalike: Content Management using Catalyst

UPDATE: The demo and trac links are down atm, as Ayalike is being moved to new hosting.

I’ve been hacking away for the last week or so on a content management system (henceforth CMS). We are going to need a CMS for some future $work projects and I’m generally unhappy with all that I’ve reviewed. [...]

Read the article

Weekend of Labour

Friday night I released new version of my 2 Perl modules. I followed that up with more hacking over the last few days. Eventually I’ll release a new version of Clicker with some new features, but I got perturbed at it today and played the Xbox.

Speaking of XBox, Connect360 kicks ass. [...]

Read the article

DBIx-Class-QueryLog 1.0.0 Released

I just uploaded the 1.0.0 release of DBIx::Class::QueryLog to the CPAN.

The 1.0.0 label is mostly just a not to it’s maturity. I’ve been using QueryLog extensively at $job — most recently to tune a multi-million order conversion script — and a 1.0 is in order.

The only new feature is a [...]

Read the article

Programming Digs

Learned markdown and used it for this post.

My gig at magazines.com began as a member of a two person team. Luck would have it that we were very compatible office mates as we shared similar interests, hours and working habits. Even our music taste was similar. We moved from a shared [...]

Read the article

Adding Action Timings To Your Output

UPDATE: Jon Schutz recently posted an update to this idea. Please use his!

When handing a request Catalyst politely outputs each action executed (in order) along with it’s timings, like so:

2007/05/17 13:52:18 INFO [Catalyst : 1506] Request took 0.429198s (2.330/s) .—————————————————————-+———–. | Action [...]

Read the article

Come Work With Us!

We are hiring at the office. It’s in Franklin, non-telecommute and LAMP.

The linked description basically sums it all up, but I’ll divulge a little more. We are looking for a mid-to-junior person: anywhere in that range. While being a Perl junkie would be cool, we are open to all types of experience. [...]

Read the article

Harnessing Opportunity

There’s a saying that’s floated around at my last two jobs. It was started by my one-time boss and continued by my current one. Difficult or irritating problems are often introducted by saying this:

I have an opportunity for you…

The idea, of course, is to frame a problem in it’s rosiest light. It’s become [...]

Read the article

Profile Your Catalyst/DBIC App with QueryLog

Months ago I implemented DBIx::Class::Storage::Statistics with the intent of making some sort of profiling tool. I finally got off my ass and did it. DBIx::Class::QueryLog should be on CPAN this weekend.

At $work we are replacing a legacy system with one based on Catalyst. One of the deliverables for this year is a [...]

Read the article

Reductio ad speedum

It is pretentious for me suggest my own name be attached to something. Therefore I will not request that this be named in my honor, but I would like to release this law to the world.

As a discussion related to speed, efficiency or convenience of a ‘program’ grows longer, the probabilty of someone telling [...]

Read the article

The Matinee Display

Apple’s displays are some of the most lusted after items in all of geekdom. Very few people are probably willing to pay the premium to have them but no one denies their beauty.

Today Mike commented how he loved his busted third LCD (with water damage) that he dedicates to viewing his Apache logs [...]

Read the article

My Little Side Project: Telemetry

A few years back I wrote an app for tracking the various numbers and values that are prevalent in a datacenter. This app tracked the vitals of all kinds of doodads. It was a glorified visualization tool. I used various bits from CPAN but eventually got fed up and decided that I [...]

Read the article

Chained Searches: The Beauty of DBIx::Class And Catalyst

DBIx::Class and Catalyst have made my life much easier since I adopted them. I originally began my $work project with Class::DBI. The transition took some work but I’ve been happy as a moose in a brothel ever since. Aside from the occasional hairy query I don’t think I push the limits of either [...]

Read the article

Catalyst URI and Cookie Sessions: DWIM!

nothingmuch++ released new versions of the various Catalyst::Plugin::Session::* plugins a few days ago. The killer feature being that Session::State::URI and Session::State::Cookie now Do What I Mean out of the box!

After a little prodding nothing was nice enough to add a feature I needed: not rewriting the links if State::Cookie successfully acquires a session. To enable [...]

Read the article

Vim 7 .vimrc

Vim 7 is out and it’s got a few new features. I turned spellchecking on but turned the paren/brace highlighting off. So now I have a new .vimrc:

syntax on set et set background=dark set bs=2 set ts=4 set sw=4 set ruler set nowrap set nohlsearch

let loadedmatchparen=1 set spell spelllang=enus set spellfile=~/.spell.utf8.add

hi Normal guifg=gray guibg=black set guifont=Lucida_Console:h14:cDEFAULT

set smarttab

set foldmethod=indent set foldlevel=1000

set list listchars=tab:>-,trail:.,extends:>

Read the article

Chart::Clicker’s New Home

Rather than clutter up my personal blog with dribble about charts, I’ve created a new home for Chart::Clicker. I’ve also puncuated this with the release of 0.2.3.

Now I can’t use Clicker as a crutch for posting here…

Read the article

Clicker Gets Talkative

I’ve been avoiding writing two pieces of Chart::Clicker: the legend and the axis and it’s labels. I don’t know why. Perhaps they just aren’t as fun as the renderers.

Tonight I took a crack at it. The above example admittedly doesn’t look like much but it’s actually a lot of progress. There [...]

Read the article

Chart::Clicker 0.2.2

I have now exposed opacity of the Area renderer, plus added the ‘fade’ option as well. I only exposed these new hooks (as well as an option to pass a Stroke) in Area. The other renderers, being red-headed step-children, will have to wait. You can now generate things like this:

chart-clicker-0.2.2 The example charts [...]

Read the article