LPW Slides: Badger Power

2008-12-01 Thread Andy Wardley

The slides for my Badger Power talk are here, complete with extended
footnotes.

  http://badgerpower.com/talks/lpw2008/start.html

This culminates in a bit a rambling rant about how hard it is to write
generic software, why OO is fundamentally broken, and why coder reuse is
more important than code reuse.

  http://badgerpower.com/talks/lpw2008/slide58.html

I only mention this because a) it ties in nicely with something Ovid blogged
about a few days ago (coincidentally on the same day I gave the talk, although
I missed it until this morning, which was probably a good thing for the people
in the audience).  He also mentions Schwern's skimmable code talk of which I'm
a fanboy.

  http://use.perl.org/~Ovid/journal/37975

And b) it's an issue that cropped up in several different talks at LPW,
including something that Matt Trout said (reported via another talk) along
the lines of "This isn't fucking rocket science... so why is it so hard to
write reusable software?".

I don't claim to have any answers, btw.  Nor is Badger the panacea for any|all
of OO's ills.  Far from it.  But I do think skimmable/skimpy code is a Good
Thing.  Pictures of cute animals seems to help, too.

And finally, thanks to everyone for making LPW a most enjoyable day.

A




[ANNOUNCE] December social - Bridge House, SE1 - Thurs 4 Dec

2008-12-01 Thread Kake L Pugh
Hello!  The December social of the London Perlmongers is this Thursday,
4th December.  We're going back to the Bridge House, which is the
Adnams place at the south end of Tower Bridge.  We have the upstairs
function room booked from 6:30pm.

It's a short walk from both London Bridge and Tower Hill stations.  People
who prefer buses have the choice of the RV1, 42, 47, 78, 188, 343, or 381.

Maps, more info, etc:
  http://london.randomness.org.uk/wiki.cgi?Bridge_House,_SE1_2UP

The pub has a full range of well-kept Adnams beers, Aspall cider, and
good food.  The upstairs bar will be staffed for us.

Standard blurb:

Social meets are a chance for the various members of the group to meet
up face to face and chat with each other about things - both Perl and
non-Perl - and newcomers are more than welcome.  The monthly meets tend to
be bigger than the other ad hoc meetings that take place at other times,
and we make sure that they're in easy to get to locations and the pub
serves food (meaning that people can eat in the bar if they want to).
They normally start around 6.30pm (or whenever people get there after
work) and a group tends to be left come closing time.

If you're a newcomer or other first timer (even if you've been lurking
on the mailing list or on IRC) then please seek Leon out - we have a
tradition that the leader of this motley crew buys the new people a
drink (orange or not, either's fine) and introduces them to people.


Re: Arbyte Slides

2008-12-01 Thread Simon Wistow
On Mon, Dec 01, 2008 at 12:16:45PM +, Alistair MacLeod said:
> Work continues on making it CPAN ready.

Some comments on Gearman and TheSchwartz which (kind of obviously) used 
quite a lot here at 6A.

You're right about Gearman in that it's "Not Reliable" but potentially 
that's a poor choice of words - "Not Guaranteed" is probably a better 
way of putting it and it's deliberately designed that way - it's for use 
as a one shot tasks that you don't mind if they fail. For example I use 
it for firing off $n web request jobs simultaneously which update a 
cache. If after a timeout they've updated the cache then fine, otherwise 
I just use the old cache version.

As for it not working - ping me off list or add an RT ticket (if you 
haven't already) and I'll take a look.

As for the TheSchwartz you say it's not easily scalable - it uses 
Data::ObjectDriver and hence has inbuilt support for sharding. And trust 
me - it's scalable. We use it for everything here which, until fairly 
recently, included all of TypePad and LiveJournal simultaneously 
(including sending out all the email) :)

Also, you say it doesn't have batching after submission - unless I'm 
misunderstanding you that's not actually true. If you look in the docs 
for TheSchwartz::Job you'll find the coalesce param to new()

http://search.cpan.org/~bradfitz/TheSchwartz-1.07/lib/TheSchwartz/Job.pm#coalesce

Which allows batching.

Anyway, I've been thinking of writing something very similar to Arbyte 
so I'm looking forward to it. I notice you mentioned something about Jo 
bRunner::Simple that fork()s - one of the things I wnated was something 
that ran The various parts of Gearman (the injector, the Geamand and a 
number of workers) or TheSchwartz (the ibjector, the DB and a number of 
workers) all within the same process for testing purposes - is that the 
same kind of functionality that you're looking at providing?

Thanks!

Simon



Re: Pub for tomorrow?

2008-12-01 Thread Dirk Koopman

Martin A. Brooks wrote:

James Laver wrote:

I don't believe I've ever seen you drink beer, Martin.

Beer is dark and foamy and good, not light, fizzy and 'superchilled'.
Unless you think conditions outside count as 'summer', and looking out
of a window in the City, I can't agree...


That's because I mostly don't drink beer.  If I wanted to toss sour, 
astringic liquid down my throat, I'd do it properly and suck on a 
lemon.  There's a few exceptions, like double chocolate stout, and 
banana bread beer, and waggle dance, but mostly it just tastes like what 
you get if you pour warm water and a dash of fairy liquid into a 
recently used and, not yet washed, roasting tin, then swill it around, 
sieve, pour and serve.




Sadly any of these beers give me gout. So it is either red wine or 
decent (genuine) german lager for me these days.


Sigh...

Dirk


Arbyte Slides

2008-12-01 Thread Alistair MacLeod
Hi,

Slides used for my talk now at 
http://www.slideshare.net/lokku/arbyte-a-modular-flexible-scalable-job-queing-and-execution-system-presentation/

(Arg, long URL)

Work continues on making it CPAN ready.

-- 
Alistair MacLeod
PGP Key: http://www.biscuitsfruit.org.uk/~alistair/pubkey.asc


London.pm Dim sum Thursday 1pm: Bamboo Basket

2008-12-01 Thread Léon Brocard
There are many Perl hackers at the BBC, but all the dim sum
restaurants in London used to be quite far for them - until now!
Westfield London has just opened in Shepherd's Bush. It's a large
shopping centre and it has a dim sum restaurant.

London.pm dim sum is a social event where we meet up every Thursday at
a different Chinese restaurant, spend about an hour (and about £10
cash) eating tasty dim sum (steamed and fried dumplings), then go our
separate ways.

Bamboo Basket
Westfield London
Shephard's Bush Tube Station
http://maps.google.co.uk/maps?q=W127SL
http://uk.westfield.com/london/find/detail/dining?category=2020&retailer=35482
http://uk.westfield.com/london/find/map/dining?category=2020&retailer=35482

See you there!

Léon, London.pm Dim Sum Mandarin



Re: Pub next year (was Re: Pub for tomorrow?)

2008-12-01 Thread David Cantrell
On Fri, Nov 28, 2008 at 05:16:10PM +, Nicholas Clark wrote:

> The range "1st December - February" encompasses Thursday, 1st January, which
> as any heretic knows is not the date for the original orthodox meeting.
> 
> Or something like that.
> 
> But we're looking for a pub for the hardy souls who will be out on the 1st,
> rather than waiting for Thursday 8th?
> 
> (Or is this nothing to do with our wonderful pub minion, and instead something
> for our official bad influence to, um, "influence")

I suppose I'd better announce my Plan then, hadn't I.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

There is no one true indentation style,
But if there were K&R would be Its Prophets.
Peace be upon Their Holy Beards.


Re: LPW: Slides... DBIC and new recommendations!

2008-12-01 Thread Joel Bernstein
2008/11/30 Leo Lapworth <[EMAIL PROTECTED]>:
> Hi,
>
> I've put the slides from my talk (the 20 min version) online:
>
> http://www.slideshare.net/ranguard/dbixclass-beginners-presentation/

That looks handy. I have put the slides up for my talk, too, which was
probably too long before the previous speaker overran by a while.

So if anybody feels they missed out by not seeing all of it (or any of
it) you can feast your eyes on:

http://www.slideshare.net/joelbernstein/painless-oo-xml-with-xmlpastorq-presentation/

Personally I was disappointed to be scheduled alongside two talks that
I really wanted to see. So I'm hoping others follow suit and put their
talk slides online, and link them off their talk pages on the LPW
website..

> Anyway thanks to everyone that made is such a great day.

Agreed, I had a great time. Thanks to everyone.

/joel


Re: Pub for tomorrow?

2008-12-01 Thread David Cantrell
On Fri, Nov 28, 2008 at 11:46:55PM +, Martin A. Brooks wrote:

> That's because I mostly don't drink beer.  If I wanted to toss sour, 
> astringic liquid down my throat, I'd do it properly and suck on a 
> lemon.  There's a few exceptions, like double chocolate stout, and 
> banana bread beer, and waggle dance, but mostly it just tastes like what 
> you get if you pour warm water and a dash of fairy liquid into a 
> recently used and, not yet washed, roasting tin, then swill it around, 
> sieve, pour and serve.

Sieve?

SIEVE?

But you're missing out on the Burnt And Crunchy Bits!

Philistine.

-- 
David Cantrell | Nth greatest programmer in the world

Guns aren't the problem.  People who deserve to die are the problem.


Re: London.pm Leader

2008-12-01 Thread Aaron Trevena
2008/12/1 Jonathan Stowe <[EMAIL PROTECTED]>:
>> If there is anyone out there who still doubts that London.pm is a
>> place where all things are possible; who still wonders if the dream of
>> our founders is alive in our time; who still questions the power of
>> our democracy, tonight is your answer. It's the answer spoken by young
>> and old, rich and poor, CPAN authors and CPAN users, developers,
>> hackers, creators, designers, Londoners and out-of-Londoners - mongers
>> who sent a message to the world that we have never been a collection
>> of object-oriented programmers and procedural programmers: we are, and
>> always will be, London Perl Mongers.
>>
> Nothing in the above should be taken as meaning that London.pm is infact
> a democracy of course ...

I've only just realised the origin of that ... which is especially bad
as I watched him say it live on TV at 4am.

For a while there I just thought leon was especially good at writing prose :)

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting