Dave Hodgkinson Music Photography, London: slideshow image 1
Dave Hodgkinson Music Photography, London: slideshow image 2
Dave Hodgkinson Music Photography, London: slideshow image 3
Dave Hodgkinson Music Photography, London: slideshow image 4
Dave Hodgkinson Music Photography, London: slideshow image 5

Blog

Emacs as a perl IDE II

Having polled the assorted perlish hiveminds of the BBC, the London perlmongers and Reddit, I got a really good selection of responses. So, from Reddit:

  • Put “perl -cw” into flymake so you can see syntax errors right away. Even more immediately than trying to compile? Could be useful.

From London.pm:

  • Dot mode attempts to emulate the dot command in vim. Doesn’t appeal to me. Macros all the way, baby.
  • M-/ completion. >20 years of emacs and I had no idea about this. OK, it’s “dabbrev”. And it’s not bound to that by default in Aquamacs. Never mind.
  • cperl win.
  • fic-mode.el to highlight FIXME/TODO/BUG/KLUDGE in special face only in comments and strings.
  • magit for version control

And from the BBC:

  • Some unresolved bikeshedding about sharing editors to facilitate pair programming
  • TinyTools for managing POD
  • Allegedly vc-mode works fine with svn 1.5+ (yes, seems to. I had no idea).

And that’s it. I’ve certainly got a few things to add to my emacs world now!

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Using emacs as a perl IDE

I admit, I’m an emacs philistine. I use it as a text editor and when I’ve got a machine or linux VM that I’m going to be using, I’ll set up “cperl-mode” with syntax colouring. I don’t even bother even creating a tags file to be able to bounce around files from the use of a function.method to its definition.

At an interview yesterday, I mentioned this and asked If my interviewers had ever used eclipse for development and their snorts said it all. So, this girded my loins to look at setting up a more productive emacs environment. So, a quick google gives us:

For a top hit in Google, that’s a bit rubbish.

  • http://stackoverflow.com/questions/63421/using-emacs-as-an-ide suggests than an IDE should fulfil:
    • Source code editor – OK, we have this, with shiny cperl mode. But I’m not entirely sure I’m making the most of the go-faster striped there. I shall dig more later.
    • Compiler – I tend to get M-x compile to run my tests for me.
    • Debugging – I cant’t remember the last time I used the perl debugger.
    • Documentation Lookup – see below!
    • Version Control – see below!
    • OO features like class lookup and object inspector – is this just ETAGS?

Cperl’s documentation is here: http://www.emacswiki.org/emacs/CPerlMode. Suggestions that jump out at me from this are:

Using perltidy:

“For the emacs editor, first mark a region and then pipe it through perltidy. For example, to format an entire file, select it with C-x h and then pipe it with M-1 M-| and then perltidy. The numeric argument, M-1 causes the output from perltidy to replace the marked text. See “GNU Emacs Manual for more information, http://www.gnu.org/manual/emacs-20.3/html_node/emacs_toc.html

Yuk. That’s clunky.

You can access perldoc from within emacs:

In order to use perldoc from Emacs, type ‘M-x cperl-perldoc’, hit Return and type the keyword to look up.

Not sure what that gains. I usually run perldoc in an xterm!

The comments on this go on to suggest:

  • vc.el – I had no luck in the early days getting svn integrated. I should probably take another look. This also attempts to gather together info on version control in emacs: http://alexott.net/en/writings/emacs-vcs/index.html. psvn looks powerful and might well have saved me time.
  • http://ecb.sourceforge.net/ – the emacs code browser for zapping round file trees. Again, I just tend to end up having the modules I care about loaded and just switching between them in Dired. Maybe on a huge project with libraries?

Ah, perlnow looks interesting:

  • Templates for starting off modules
  • Syntax checking with going to errors
  • Test script templates

I know Piers Cawley has done work on refactoctoring code with emacs, but I can’t find recent references to his work.

Finally, a big shout out to Aquamacs on the Mac. I find this to blend well with the Mac environment. GNU emacs on Linux. Don’t even think about Xemacs.

Still not entirely sure there’s anything in here I’ll make use of! Got any suggestions?

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Home Made Lo Bak Gao

I first had this sometime around 2000 in the Dynasty restaurant in Bristol where we misheard it as “lob a goo”. Given the texture, we weren’t too far off the mark! However, it became a staple of various London Perlmongers dim sum meetups. over the coming decade. Finally, while living in Taipei, various forms of Lo Bak Gao were available in brick-like blocks in the supermarket and became a fixture in our fridge. Finally, in celebration of my third or fourth Chinese New Year (新年快樂!) I decied to make it and settled on this recipe which seemed reasonably simple. And the results were lush! Highly recommended!

check them all out here: http://www.flickr.com/photos/davehodg/
[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Lola Colt – Awkward promo shoot

DSC_6866Got a last minute call to do a promo shoot of a band. There were constraints: it had to be done tonight for a deadline tomorrow, it had to be done in the dark and they wanted to use a projector for some interesting light.

While they were running around setting things up, I played with the flash I’d brought and found it impossible to balance the flash with the ambient of the projector, even at low power or “rear curtain”, it still washed out the colours. So that was out.

Then we had many attempts with the projections that wanted. None of them worked, they all had extremes of light and dark that put some people in the dark and blew others out. In the end, we went with the lovely colours of a shot from the Hubble space telescope.

I had my tripod with me, so in the end we went with exposing for the projector, and a couple of 60 watt bulbs that were subtracting some of the harsh shadows. Higher ISO wasn’t too much of an issue as the pic is to be used for the web.

Thus, the final score: 20mm, f/2.8, ISO800, 1/13s. Glad I had my tripod.

What’s that about constraints adding to the end result?

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Kenwood House – another London Tourist thing

We ticked off another London tourist stuff today: Kenwood house. It’s easy to get to, the 210 bus up to the Heath from Golders Green or Archway and a wander down the drive.

Thereafter the house, which was free, is lovely. It has lots of paintings with some Rembrandts, Vermeers and others particularly of the old Dutch masters.

There’s also a nice café.

Obviously, there are are concerts in the grounds in the summer but for now, there are literary events indoors at the weekend.

It’s nice. We’ll be back in the summer. Also, avoid the Spaniard’s pub. Got dicked around by the manager there last year.

Update: No concerts in 2012! The contract ran out and they’re re-thinking it.

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

From the road, a shout out to Arkan!

Sarah Layssac, ArkanI’d fully intended keeping a daily diary of six weeks of touring mayhem with Chthonic and despite pretty consistent internet availability, this has failed to transpire. Lots of stories though if we get together for a beer.

BUT!

I have to give a HUGE shout out to the band who opened for four gigs in France: Arkan. If Chthonic are “Taiwanese Black Metal”, then I would describe these guys as “Arabic Black Metal”. Good rock with an Algerian lilt. They were also a joy to tour with and lovely, lovely people. And we’re only a Eurostar away!

Also, aside from the fact we had no idea who they were, we missed their sold-out gig at the Borderline what with being on tour in the UK. But really, Dave says check them out and they’ll be back in the UK soon. I will be strong-arming you all into coming!

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Camden – a little history

Camden LockThanks to Paulo Rodrigues in the Camden flickr group for unearthing the information here.

I’ve been in Camden about four years now firstly down on Delancey Street but now in the heart of what used to be the main interchange for wine, beer, gin and whisky. The two big names locally being “Gilbeys” and “Pickfords”: booze and shipping. I knew that Morrisons and its car park used to be sidings and warehouses but never knew to what extent. It’s nice to know the historic meaning of the “Ice Wharf” and why there are “Dublin”, “Pembroke” and “Edinboro” castles. I’d love to be able to explore the remaining tunnels and catacombs.

Anyhow, Paulo has found some really nice links:

I really ought to go through all my Camden photos and edit them into coherent sets.

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Wedding as a second shooter

The bride and the bridesmaidsWell, that was an experience. I’d never shot a “proper” English wedding before, only my brother-in-law’s engagement and wedding feasts in Taipei, so when I offhandedly offered to second-shoot and some fool (thank you Linda) took me up on it, I was off!

My day comprised:

Shooting the rings and the groom and his team
Papping folks as they approached the church. This was nice
A few shots from the gallery at the back. Mood shots at best. 200mm in low light is not the best thing in the world
Filling in for Linda from different angles at crucial wedding moments including the kiss (aaah!)
Getting a few sneaky black and white shots of a couple of choristers and the organist
Shooting the group shots and using my trained trader’s voice to get people into line
Getting some shots of the groom team while Linda was shooting the bridal posse

It was actually really nice to be able to play a holding position in midfield while the captain took the bulk of the responsibility. From a technical point of view, the light outside was occasionally horrid: sunny but dappled under the trees. BUT! My SB-900 flash appeared to fill this in really well. Also my fleece acted as a shade for a couple of shots. Oh, and be warned: photographers don’t get fed!

Would I do it again? Probably. Would I do anything differently? Probably try to get more pap shots of people relaxing and laughing in the moments when they weren’t required to be part of the service. Can’t wait to get some of my shots back to look at in detail and have a good old post-mortem.

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

She Makes War – this is the future

She Makes WarToday I saw the future of live music photography. Yesterday, I shot a friend’s band Lola Colt at the Barfly on my trusty D300 often at ISO3200 and higher. I also for fun took at shot with the iPhone and uploaded it there and then. Tonight, a gig in the salubrious Hospital Club by She Makes War and I went armed only with the iPhone, aiming to enjoy the music for a change, and snuck to the front to take a shot. I cropped it a little, applied some Camera+ effects and again, uploaded it.

Given the rate of improvement in sensors and lenses, we’re only a couple of years shy of an ISO1600 f/2.8 capable mobile phone and this will become the norm. People unable to get to gigs will be reading about and looking at pics of them as they happen. Sure, someone will still need to sling a DSLR for large art prints of popular bands but for the rest of us in our ephemeral, live-in-the-moment world, THIS is the future.

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts:

Florida Room, Water Rats

Bit late to the party on this one, but got to see FOAFs Florida Room at the Water Rats (possibly again, or they might have been “Work” last time) and as usual a nice set of rocky numbers. Mike gets a bit busy swapping keyboards and guitars though! Good stuff. You should come next time.

[Bloglines] [del.icio.us] [Digg] [Facebook] [Google] [Reddit] [Windows Live] [Yahoo!] [Email]

Related Posts: