Re: Getting the schema for a DB table

2014-05-25 Thread Ash Berlin
`sqlt` from SQL::Translator can also give this ISTR http://search.cpan.org/~frew/SQL-Translator-0.11018/script/sqlt: sqlt -d -f DBI-PostgreSQL -t PostgreSQL --dsn dbi:Pg:dbname=CMS Might be a bit flakey with some more advanced Pg features - my version is quite out of date though. Thomas' solut

Re: [ANNOUNCE] London Perl Mongers March Social - 2014-03-06 - The Antelope SW1W 8EZ

2014-02-19 Thread Ash Berlin
On 19 Feb 2014, at 17:22, Andrew Beverley wrote: > Dear all, > > The March London.pm Social will be on Thursday 6th March, at The > Antelope, just off Sloane Square. The pub was previously used by another > group that I'm a member of; at that event the beer scored 8.5/10 (a > strong score for

Re: Which modules do you "allow" yourself to use for production?

2013-07-23 Thread Ash Berlin
On 23 Jul 2013, at 11:03, Abigail wrote: > Doing extra work now in order to save costs later is a luxury problem. > Your first worry should go to actually being alive later on. When you're > starting up, your resources are limited, the work that needs to be done > ASAP is huge, and your income i

Re: I love git

2012-10-27 Thread Ash Berlin
On 28 Oct 2012, at 00:18, David Cantrell wrote: > I needed to do a quick update to Number::Phone 2.0. But master in my git > repo is currently full of unfinished work. > > I love git, because it was just so damned easy to checkout the > release-2.0 tag, create a branch off that, patch, release,

Re: Who made the law?

2012-08-30 Thread Ash Berlin
On 30 Aug 2012, at 18:47, Dave Hodgkinson wrote: > > Where is the usage policy of #london.pm IRC channel. > > At least two people got kicked today, one for what has been traditional > banter for the last ten years, and another for questioning that kick. > > Without agreed guidelines this is ar

Re: Setting Up PCs For Training

2012-06-25 Thread Ash Berlin
On 25 Jun 2012, at 13:53, Dave Cross wrote: > > Is there an easy way to clone a Strawberry Perl installation (including any > installed CPAN modules) across multiple PCs? > > I'm going to run some training for a client next month and they are going to > supply nine or ten PCs for the students.

Re: Blog Spam (Was: Telecommuting)

2011-12-13 Thread Ash Berlin
On 13 Dec 2011, at 14:10, Paul Makepeace wrote: > On Tue, Dec 13, 2011 at 13:50, Smylers wrote: >> >> Nicholas Clark writes: >> >>> I was also amused by the (current) second comment, which is actually >>> spam: >>> >>> Thanks for taking the time to discuss about this, I feel strongly >>>

Re: Perl-friendly message queue-like system

2011-09-22 Thread Ash Berlin
On 22 Sep 2011, at 10:22, Dirk Koopman wrote: > On 22/09/11 09:15, Martin A. Brooks wrote: >> Mongers of Perl, >> >> I have a bunch of servers doing mail ilftering. I would like them to send >> tiny messages about the results of said filtering to a central point. I >> would then like somethi

Re: Gatwick

2011-07-25 Thread Ash Berlin
On 25 Jul 2011, at 15:49, Andy Wardley wrote: > On 25/07/2011 14:53, Ash Berlin wrote: >> Curiously I've arrived at gatwick far more often than I've left from there > > OK, I'll bite. My curiosity is piqued. How can this be? > > A Fly out via Heathrow b

Re: Gatwick

2011-07-25 Thread Ash Berlin
On 25 Jul 2011, at 14:34, Smylers wrote: > Hello. How big is Gatwick Airport? More specifically, about how long do > I need to allow for walking from its railway station to the check-in > hall ('Terminal S', according to my ticket)? 5-10 mins should cut it. From clearing customs to the train sta

Re: Smoking your own modules: What do you use?

2011-07-18 Thread Ash Berlin
One simple solution might be to use cpanm's --local-lib-contained option: -L, --local-lib-contained Same with --local-lib but when examining the dependencies, it assumes no non-core modules are installed on the system. and then something like this: make dist && cpanm -L $PWD/smoke_deps

Re: Jobs in London

2011-02-28 Thread Ash Berlin
On 28 Feb 2011, at 17:12, marcos rebelo wrote: > On Mon, Feb 28, 2011 at 17:40, David Cantrell wrote: >> On Mon, Feb 28, 2011 at 02:04:13PM +, Dave Mitchell wrote: >> >>> Then there's 20% VAT on most things you buy. >> >> No there isn't. VAT is not charged on rent and mortgages, which is mo

Re: Shell-fu

2011-02-23 Thread Ash Berlin
On 23 Feb 2011, at 17:32, Marco Fontani wrote: >> $ svn add lib/Hlagh/Blagh.pm >> ... >> $ svn commit >> ... >> $ vi !($^*%*$ >> >> What line-noise should I type to get the last argument to the command >> two steps back in my history? Obviously I only care about bash. > > vi !-2$ > > $ vi test.

Re: Security of HTTP based authentication

2011-01-14 Thread Ash Berlin
On 14 Jan 2011, at 13:04, David Precious wrote: > On Thu, 2011-01-13 at 14:09 +, Andrew Black wrote: >> I have often wondered about that - what is the risk in mixing HTTP >> images and HTTPS text? > > One reason could be that if the web app didn't include 'secure' in the > Set-Cookie header,

Re: Leadership Election Results

2010-11-01 Thread Ash Berlin
On 1 Nov 2010, at 07:37, Léon Brocard wrote: > On 1 November 2010 06:17, Dave Cross wrote: >> >> I closed the leadership poll last night. I'm happy to announce the the >> winner of the election and our new leader is: >> >> Leo Lapworth >> >> Congratulations to Leo and thanks to all the other c

Re: PerlMagick

2010-10-28 Thread Ash Berlin
On 28 Oct 2010, at 14:17, Leo Lapworth wrote: > On 28 October 2010 14:04, Christopher Jones wrote: > >> I have several thousand scan images that contain a barcode, and I'd like to >> extract the barcode from each one - and after a bit of digging around I >> figured PerlMagick might be the solutio

Re: Manifesto for London.pm election

2010-10-04 Thread Ash Berlin
On 4 Oct 2010, at 16:27, Leo Lapworth wrote: > I was going to say 'may the best person win' - but that's not > really appropriate :) That's speciesist, that is.

Re: 2 depend or not 2 depend

2010-02-04 Thread Ash Berlin
On 4 Feb 2010, at 18:04, Matt Sergeant wrote: > Paulo Edgar Castro wrote: >> It's very likely that I might be missing some obvious knowledge/tricks here. >> Would there be a cleverer way to accomplish this ? > Use your OS's package management system. Which is pretty much guaranteed to not have

Re: TT and UTF8?

2010-01-29 Thread Ash Berlin
On 29 Jan 2010, at 14:30, Dave Hodgkinson wrote: > > Anyone had issues with TT and UTF8? > > sheriff and theorbtwo have got me a long way down the line but... > > I have a string which is_utf8() and contains weird characters. I > restart apache and Mötorhead displays fine. Next time through i

Re: Old website tech_talks content

2010-01-10 Thread Ash Berlin
On 10 Jan 2010, at 18:26, Nigel Metheringham wrote: > On 10 Jan 2010, at 16:59, Leo Lapworth wrote: >> >> 2010/1/10 Nigel Metheringham >> >>> The http://london.pm.org/tech_talks/ content went AWOL in the website >>> makeover. >> >> http://web.archive.org/web/2007020059/http://london.pm.or

Re: Monads are like burritos

2009-12-15 Thread Ash Berlin
On 15 Dec 2009, at 12:36, Dagfinn Ilmari Mannsåker wrote: > Martin Robertson writes: > >> 2009/12/15 Paul Makepeace : >>> >>> * Seriously, where in London sells decent burritos?! >>> >> >> http://www.missionburritos.co.uk/ in Oxford are plenty tasty, > > Seconded! Not tried the one of thes

Re: Merging Bash sources

2009-11-10 Thread Ash Berlin
On 11 Nov 2009, at 01:03, Simon Wistow wrote: I have a small problem in that I'm trying to modify a bash script so that currently does this . config # then inspect command line args getArgs so that you can specify the config file on the command line. Which necessarily requires do

Re: git vs mercurial

2009-11-09 Thread Ash Berlin
On 9 Nov 2009, at 20:59, Edmund von der Burg wrote: So I'm planning to move away from svk. Should I go with git or mercurial - I hear good things about both. Cheers, Edmund. My understanding is both are excellent choices: git has more mind share in perl and other OSS communities, and is

Re: domain registrars

2009-10-24 Thread Ash Berlin
On 24 Oct 2009, at 14:40, James Laver wrote: Today, namecheap had some scheduled site downtime (dns still operational) without notifying their customers (at least neither myself nor my flatmate were informed) but customer service insists an email was sent out to everybody. They also can't tell

Re: Anyone know of a ...

2009-10-23 Thread Ash Berlin
On 23 Oct 2009, at 12:15, Chris Jack wrote: Don't take this as legal advise, so without prejudice, and all that... The one time I have had to sue someone for non-payment, what I recall happening is: 1) I sent the person a few letters/invoices requesting payment, getting no response. 2

Anyone know of a ...

2009-10-22 Thread Ash Berlin
...decent laywer? A friend of mine is dealing with a bad debt from a company should have started insolvency proceedings, but hasn't. Largely because the directors are cocks and have basically broken every one of items on this list of things you shouldn't do as a director: http://www.businessrecove

Re: [OT] Encode woes

2009-09-25 Thread Ash Berlin
On 25 Sep 2009, at 10:09, Philip Newton wrote: On Fri, Sep 25, 2009 at 09:54, Dirk Koopman wrote: Dirk Koopman wrote: Now, is there a reasonably reliable way of determining what we have, on a string by string basis, to at least tell whether we are dealing with utf8 or iso-8859 (not cari

Re: [OT [OT]] - assering database query results

2009-09-17 Thread Ash Berlin
On Thu, 17 Sep 2009 13:34:56 +0100, Nicholas Clark wrote: > Off topicly off topic, as it's not even about that 4 letter P word. > > So, we have quite a lot of our database queries in config files, with > placeholders, etc > > Some of them are only supposed to return 1 row. > However, if our as

London.pm Dim Sum Thursday 1pm Teachi (Was: London.pm Dim Sum Thursday 1pm Royal China)

2009-07-22 Thread Ash Berlin
On 22 Jul 2009, at 17:40, Dave Hodgkinson wrote: By default, I've been anointed temporary dim sum tasr. Until 2pm Thursday. London.pm dim sum is a social event where we meet up every Thursday at 1pm at a different Chinese restaurant, spend about an hour (and about 10 quid cash) eating tasty di

Re: Emergency Pub Crawl, Tonight, Paddington

2009-06-17 Thread Ash Berlin
On 17 Jun 2009, at 11:22, James Laver wrote: In the spirit of organising the next social, I want to try pubs around paddington and thus I'm inviting perlmongers along Lets start at the Mad Bishop and Bear, Paddington station, and work our way along. I'll be there from about 5:30 http://london

Re: SQL: merging tables & preserving FKs

2009-06-16 Thread Ash Berlin
On 16 Jun 2009, at 16:17, Richard Huxton wrote: PostgreSQL has the useful but non-standard FROM clause for updates: UPDATE info SET uid = newuid FROM xfer WHERE uid = xfer.olduid; MySQL has this in a different form. Search the docs for UPDATE syntax

Re: setting up a file hierarchy

2009-05-19 Thread Ash Berlin
On 19 May 2009, at 17:19, David Cantrell wrote: On Tue, May 19, 2009 at 04:50:06PM +0100, Chisel Wright wrote: On Tue, May 19, 2009 at 04:33:06PM +0100, David Cantrell wrote: I'll pay attention when it doesn't rely on Module::Install. Should I ask why? Would you like to install mandatory p

Re: setting up a file hierarchy

2009-05-19 Thread Ash Berlin
On Tue, 19 May 2009 16:12:08 +0100, Dave Cross wrote: > David Cantrell wrote: >> On Tue, May 19, 2009 at 04:02:19PM +0200, Jurgen Pletinckx wrote: >> >>> So. Any prior art? How should one treat non-code dependencies? >> >> In a __DATA__ segment. If you need more than one file, bundle them up

Re: File permission vulnerabilities and Module::Pluggable

2009-01-21 Thread Ash Berlin
On 21 Jan 2009, at 12:12, David Cantrell wrote: On Wed, Jan 21, 2009 at 12:46:45AM +, Johan Lindstr?m wrote: At 23:47 2009-01-20, Simon Wistow wrote: Thoughts? Make it optional. But feature both the dependency and the config parameter prominently in the docs. Especially in the SYNOPSIS.

Re: ANNOUNCE: Dim Sum Thursday 1pm Chiswick

2009-01-07 Thread Ash Berlin
On 7 Jan 2009, at 15:08, Tony Kennick wrote: On Wed, Jan 07, 2009 at 01:28:49PM +, the following was promulgated by Bob Walker: Since leon is away the likelyhood of dim sum being arranged was quite small so I took it upon my self to do so. I pick Oriental Brasserie in Chiswick http://lon

Re: Perl Christmas Quiz

2008-12-16 Thread Ash Berlin
On 16 Dec 2008, at 21:48, Philippe Bruhat (BooK) wrote: On Tue, Dec 16, 2008 at 08:33:09PM +0100, Gianni Ceccarelli wrote: On 2008-12-16 Nicholas Clark wrote: Cheap joke I know, but isn't the canonical example of this simply to write it in Java? What does the most golfed down Java implement

Re: Perl Christmas Quiz

2008-12-16 Thread Ash Berlin
On 16 Dec 2008, at 19:26, Greg McCarroll wrote: On 16 Dec 2008, at 19:17, Nicholas Clark wrote: On Tue, Dec 16, 2008 at 07:08:18PM +, James Laver wrote: With all of these code-based things going on, I'm inclined to suggest a more disturbing challenge - overcomplicating "hello world"

Re: On a bus

2008-12-05 Thread Ash Berlin
On 5 Dec 2008, at 18:01, Ash Berlin wrote: On 5 Dec 2008, at 17:06, Kake L Pugh wrote: Hello Perlmongers! You know everything, so I thought you might know this. Who's behind http://onabus.com/ ? I'm failing to find any contact info for them. Kake Whois info a bit of goog

Re: On a bus

2008-12-05 Thread Ash Berlin
On 5 Dec 2008, at 17:06, Kake L Pugh wrote: Hello Perlmongers! You know everything, so I thought you might know this. Who's behind http://onabus.com/ ? I'm failing to find any contact info for them. Kake Whois info a bit of googling would imply is one Alf Eaton: http://hublog.hubmed.or

Re: Friday Fun Problem: Floor Plans With Perl

2008-12-05 Thread Ash Berlin
On 5 Dec 2008, at 08:26, Greg McCarroll wrote: However my problem comes when you think of fire places A-B | | | | | F-E | | | | | H-G D-C If I could indicate that CDE was a right turn, could this then be solved easily? G. Fire places. Right angles. Square walls. Ha!

Re: London.pm Dim sum Thursday 1pm: Pearl Liang

2008-11-06 Thread Ash Berlin
On 6 Nov 2008, at 09:19, Léon Brocard wrote: 2008/11/4 Léon Brocard <[EMAIL PROTECTED]>: Thursday 1pm Pearl Liang 8 Sheldon Square London W2 6EZ Paddington Station Tube Station http://maps.google.co.uk/maps?q=W26EZ http://london.randomness.org.uk/wiki.cgi?Pearl_Liang%2C_W2_6EZ http://www.pear

Re: Invitation to connect on LinkedIn

2008-10-15 Thread Ash Berlin
On 15 Oct 2008, at 15:51, Emmanuele Bassi wrote: On Wed, 2008-10-15 at 15:24 +0100, Ash Berlin wrote: Ah well, I suppose it was useful to some people while it lasted. Now I guess it's gone the way of Plaxo. it's still somewhat useful to identify professionals asking questio

Re: Invitation to connect on LinkedIn

2008-10-15 Thread Ash Berlin
On 15 Oct 2008, at 15:09, Emmanuele Bassi wrote: On Wed, 2008-10-15 at 14:33 +0100, Roger Burton West wrote: I'd like to add you to my professional network on LinkedIn. Ah well, I suppose it was useful to some people while it lasted. Now I guess it's gone the way of Plaxo. it's still some

Re: Apple service providers

2008-10-07 Thread Ash Berlin
On 7 Oct 2008, at 16:45, Dave Hodgkinson wrote: On 7 Oct 2008, at 16:17, Simon Wilcox wrote: So my macbook died[1] and I need to get it fixed under applecare. Seems I can't just send it off, I have to choose an Authorised Service Provider in London to take/send it to. Now supposedly the

Re: DBIx::Class - Related Tables

2008-10-07 Thread Ash Berlin
On 7 Oct 2008, at 12:34, Chisel Wright wrote: On Tue, Oct 07, 2008 at 12:08:03PM +0100, Raphael Mankin wrote: The problem here is not with the ORM but rather that you are breaking the MVC separation and putting controller logic in the view. A good ORM would have its data cached so that your