Re: google spreadsheet API login woes

2014-10-17 Thread Bob MacCallum
an hour to write! On Thu, Oct 16, 2014 at 6:28 PM, Steve Mynott steve.myn...@gmail.com wrote: On 16 October 2014 16:59, Simon Wistow si...@thegestalt.org wrote: On Thu, Oct 16, 2014 at 12:35:18PM +0100, Bob MacCallum said: It's stopped working recently (can't say exactly when) - and I don't know

google spreadsheet API login woes

2014-10-16 Thread Bob MacCallum
Please could some kind soul fork and fix this for me while I go to lunch? https://github.com/bobular/google-spreadsheet-to-textfiles It's stopped working recently (can't say exactly when) - and I don't know my AuthSub from my OAuth from my elbow. I've tried my $auth =

Re: google spreadsheet API login woes

2014-10-16 Thread Bob MacCallum
an app specific username and password to have it work. On 16 Oct 02014, at 12:35, Bob MacCallum uncool...@gmail.com wrote: Please could some kind soul fork and fix this for me while I go to lunch? https://github.com/bobular/google-spreadsheet-to-textfiles It's stopped working recently

wide character issue with dancer/plack etc

2014-04-03 Thread Bob MacCallum
Hello, Does anyone know why I suddenly need charset: UTF-8 in my Dancer (v1) config.yml to avoid wide character warnings/errors in my Pg-DBIC-Dancer-JSON web service/app? I have previously deployed this code on SUSE, Centos and RHEL and have now run into problems with the latest RHEL

Re: Perl Website Survey

2013-11-22 Thread Bob MacCallum
Hi Andrew, Do you want non-profit entries too? Seems company-centric... cheers, Bob. On Fri, Nov 22, 2013 at 12:42 AM, Andrew Solomon and...@illywhacker.netwrote: Hello London Perl Mongers For the third year running I'll be giving the Dancer class at LPW

Evolving music (Perl back end!)

2013-09-27 Thread Bob MacCallum
Hi guys, At an event in Holland - we tested our new DarwinTunes game interface on real live people with tablets and headphones but now it's time to let the internets have a go http://df2013.darwintunes.org/ Perl Dancer DBIC back end will be on a big EC2 server for the next 12 hours or so! hope

Re: Robot Turtles — Let's Do This

2013-09-24 Thread Bob MacCallum
this also applies to me. On 23 September 2013 15:41, Smylers smyl...@stripey.com wrote: Bob MacCallum writes: Interested at the ~£30 level but can't organise anything right now, sorry. I'm happy to place a group order. Dinis Rebolo writes: I also want one those for my son, would

Re: Robot turtles

2013-09-23 Thread Bob MacCallum
On Mon, Sep 23, 2013 at 1:22 PM, Joel Bernstein j...@fysh.org wrote: On 23 September 2013 13:39, Nicholas Clark n...@ccl4.org wrote: Robot Turtles is a board game you play with your favorite 3-8 year old. It sneakily teaches programming fundamentals. I'm not aware of any 3-8 year

Re: Happy 15th Birthday

2013-08-06 Thread Bob MacCallum
On Tue, Aug 6, 2013 at 9:33 AM, Dave Cross d...@dave.org.uk wrote: Quoting Dave Cross d...@dave.org.uk: On the 6th August 1998 twelve Perl programmers met in the cellar bar of the Cittie of Yorke. Trying to remember the twelve people who came. I'm struggling at nine. Dave Cross Richard

Re: isolating thread-unsafe modules

2013-07-29 Thread Bob MacCallum
2013 20:07:59 +0100 From: Bob MacCallum uncool...@gmail.com Subject: isolating thread-unsafe modules To: London.pm Perl M[ou]ngers london.pm@london.pm.org Message-ID: cafliikdbkm62+wr79hyrs8h-ser0e+qgivj1nahx48stky0...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1

isolating thread-unsafe modules

2013-07-28 Thread Bob MacCallum
Sorry for the Perl question, but I'm a bit out of my depth... I have a Dancer app providing a web service, and I have another script using the same Dancer config file and db schema (e.g. use Dancer qw/:script/). This script watches the database (for changes made by the web app) and does the

Re: isolating thread-unsafe modules

2013-07-28 Thread Bob MacCallum
-child_example (thanks also to Dominic for the same warning re: threads) On Sun, Jul 28, 2013 at 9:13 PM, Dave Hodgkinson daveh...@gmail.com wrote: Threads? Now you have two problems. Why not processes? Sent from my iPhone On 28 Jul 2013, at 20:07, Bob MacCallum uncool...@gmail.com wrote: Sorry

Re: isolating thread-unsafe modules

2013-07-28 Thread Bob MacCallum
Parallel::ForkManager seems to do the trick. On Sun, Jul 28, 2013 at 10:02 PM, Bob MacCallum uncool...@gmail.com wrote: Good question - I have always hacked something with fork in the past but it just seemed so simple with Thread::Queue and threads. I've never needed much IPC in the past

Re: new Perl project / startup - Need advice

2013-07-22 Thread Bob MacCallum
I'm doing a kind of moonlighty startup thingy - my collaborators are not Perl people and I decided to make a (Dancer/DBIx::Class:Schema powered) web API to do all the heavy lifting - they will do all the user interface and production scalability stuff. Fingers crossed it works - has to be done by

Re: Regex lookahead example not as stated in Camel 4th

2013-06-19 Thread Bob MacCallum
so, forgetting the typo for a moment, why doesn't it output 012 012 012 012 ... ? From my reading of the 5.12 perlre docs, there is no mention of moving the cursor along by one position after each match. Maybe that is a more general thing I wasn't aware of. On Wed, Jun 19, 2013 at 3:02 PM,

Re: Regex lookahead example not as stated in Camel 4th

2013-06-19 Thread Bob MacCallum
I was thinking you'd have to use something like this perl -wE 'say for 0123456789 =~ /(\d(?=(\d{2})))/g' 0 12 1 23 2 34 3 45 4 56 5 67 6 78 7 89 obviously with some post-processing required. On Wed, Jun 19, 2013 at 3:28 PM, Bob MacCallum uncool...@gmail.com wrote: so, forgetting the typo

Re: Regex lookahead example not as stated in Camel 4th

2013-06-19 Thread Bob MacCallum
thanks everyone for pointing out what I hadn't seen in the docs. On Wed, Jun 19, 2013 at 4:00 PM, Yitzchak Scott-Thoennes sthoe...@gmail.com wrote: On Wed, Jun 19, 2013 at 7:28 AM, Bob MacCallum uncool...@gmail.com wrote: so, forgetting the typo for a moment, why doesn't it output 012

error/exception aggregation during a big dbic load

2012-05-08 Thread Bob MacCallum
Hello - I would greatly appreciate any suggestions for how to keep track of errors while loading a big chunk of data into a dbic schema (in a txn_do(...), from a file). The problem is that I don't want to throw an exception as soon as I encounter the first error (for example a user record missing

Re: error/exception aggregation during a big dbic load

2012-05-08 Thread Bob MacCallum
, Bob MacCallum uncool...@gmail.com wrote: Hello - I would greatly appreciate any suggestions for how to keep track of errors while loading a big chunk of data into a dbic schema (in a txn_do(...), from a file). The problem is that I don't want to throw an exception as soon as I

Re: CRUDdy DBIC question

2012-01-23 Thread Bob MacCallum
Thanks everyone for the replies - for some reason I only saw them today. On Mon, Jan 23, 2012 at 5:41 PM, Chris Jack chris_j...@msn.com wrote: You could use something like DBM and there's a section in the Perl Cookbook on using tie with objects but... I really question the desirability of

CRUDdy DBIC question

2012-01-19 Thread Bob MacCallum
Sorry about the Perl question. We have a database model where the master copy of the data is file based. Is there some DBIx::Class magic which does some kind of nested update_or_create_or_delete? For example, an object might initially be written to the db along with its three children, but then

Apache Perl/PHP/proxy DNS lookup failures

2010-12-20 Thread Bob MacCallum
Hi, I know the cool cats don't use Apache httpd any more, but maybe someone can help anyway..? We (non-profit bioinformatics site maintainers) are seeing regular intermittent DNS lookup failures from mod_perl, php and mod_proxy. Once the error appears it keeps occurring until you restart

Re: Apache Perl/PHP/proxy DNS lookup failures

2010-12-20 Thread Bob MacCallum
On Mon, Dec 20, 2010 at 7:32 PM, Brian Manning elspicyj...@gmail.comwrote: On Mon, Dec 20, 2010 at 6:52 AM, Bob MacCallum uncool...@gmail.com wrote: We (non-profit bioinformatics site maintainers) are seeing regular intermittent DNS lookup failures from mod_perl, php and mod_proxy. Once

Re: YAPC Pisa

2010-07-09 Thread Bob MacCallum
On Fri, Jul 9, 2010 at 6:29 AM, Ruud H.G. van Tol rv...@isolution.nl wrote: Chris Jack wrote: It's a long time since I sent credit card details by email and whilst I think it is obviously a very bad thing... It is not even allowed by the industry. By fax is still OK, by email never was.

Re: a good tool for planning projects/resources/holidays at high level rather than per task?

2010-06-17 Thread Bob MacCallum
You could roll your own in Semantic Mediawiki...? On Thu, Jun 17, 2010 at 9:19 AM, Aaron Trevena aaron.trev...@gmail.com wrote: Help? Anybody know a good tool for planning projects/resources/holidays at high level rather than per task? we're using basecamp for tasks, and as Rallydev or any

Re: Appeal for CDs and DVDs

2010-05-07 Thread Bob MacCallum
Could be the global warming geoengineering solution we were waiting for...

Re: Broadband (probably again...)

2010-04-11 Thread Bob MacCallum
On Mon, Apr 5, 2010 at 4:00 PM, Simon Cozens si...@simon-cozens.org wrote: ... Andrew Ford was saying nice things about http://www.thephone.coop/ the other day as well. I used to be with the phone coop - they are a small outfit so they are easy to contact, although I never got lightening fast

Re: Broadband (probably again...)

2010-04-02 Thread Bob MacCallum
I switched to WebTapestry from Phone Coop after the last london.pm thread on this topic about 6 months ago. Technically they seem competent (but haven't had to make any support requests yet). Their billing department on the other hand don't seem to know what they are doing. I had to remind them

Re: London Perl Mongers Technical Meeting 18th March 2010

2010-03-19 Thread Bob MacCallum
For those of us hoping to dine out on I was actually in the Top Gear office for the next few months: http://www.theregister.co.uk/2010/03/19/loch_ness_stig/ PS. Thanks to the organisers and speakers!

Re: Working in London

2010-02-18 Thread Bob MacCallum
Full time under-5s childcare could set you back as much as £1400 a month. My employer subsidises so it's only around £750. You might get some vouchers from the government from age 3+ (I think it's equivalent to a few hours a day). As for availability, it seems there are waiting lists but it's

Re: On-topic: HTML/JS help please

2010-02-12 Thread Bob MacCallum
Simon, Just to let you know that if you collapse A::B before collapsing A, you get (I think) unexpected results. But thanks for posting a nice simple template and jquery example, I haven't used it before and may need/want to soon. cheers, Bob. On Thu, Feb 11, 2010 at 10:18 PM, Simon Wistow

Re: On-topic: HTML/JS help please

2010-02-05 Thread Bob MacCallum
tr style=display: none id=xyz has worked for me in the past. why do you need to wrap it in a div? is it not standards compliant? On Fri, Feb 5, 2010 at 3:01 PM, James Laver james.la...@gmail.com wrote: On Fri, Feb 5, 2010 at 2:56 PM, David Cantrell da...@cantrell.org.uk wrote: On Fri, Feb

Re: Looking for a Perl development position in London

2010-02-04 Thread Bob MacCallum
Under the 1975 Sex Discrimination Act it's unlawful for an employer to discriminate against you because you are married. This means that they cannot ask you about this during interviews, etc. Your voluntary disclosure of this information makes me slightly uncomfortable but I doubt there is a law

Re: London Perlm[ou]ngers January 2010 social - The Gunmakers, Clerkenwell EC1R 5ET

2010-01-08 Thread Bob MacCallum
The back room was a bit chilly, but the steak sandwich was excellent. I hope you guys were able to move into the main bit later on (I left at around 9 to catch a train that had ceased to exist). By the way, the DarwinTunes project (that I mentioned on this list in November) worked out really

Perl-powered DarwinTunes experiment starts tomorrow

2009-11-22 Thread Bob MacCallum
Quick plug for our evolutionary music experiment, starting tomorrow (for 120 Imperial students) at http://darwintunes.org There's also a public channel for everyone to play with, and if we go viral with our super-smooth youtube video, we'll get interesting results there too. Of course, it might

proxypass-like behaviour of CMS content block

2009-11-14 Thread Bob MacCallum
It seems nothing is off-topic here, so here goes... At work (bioinformatics web site) we have several different web applications running on different platforms Java/Tomcat, vanilla Perl, mod_perl, PHP, and static content. Many of these are glued together with a front end Apache with ProxyPass

Re: proxypass-like behaviour of CMS content block

2009-11-14 Thread Bob MacCallum
Thanks Mike, that looks like exactly what we need. I would never have found that in a million years. I'll have a play around with varnish, drupal and one of our tomcat back-ends. I think the page title could be tricky, but we could pull the relevant info out of the request_uri in the CMS (we

Re: Every other

2009-10-30 Thread Bob MacCallum
If your array is numeric: use PDL; my @old = (1..10); my @new = pdl(@old)-slice(0:-1:2)-list; although this is unlikely to be the most efficient way either (due to the conversion between arrays and piddles). On Fri, Oct 30, 2009 at 9:05 AM, Mark Fowler m...@twoshortplanks.com wrote: Hello,

Re: Every other

2009-10-30 Thread Bob MacCallum
I clearly have more urgent things to do... @new = @old[map $_*2, 0..$#old/2]; On Fri, Oct 30, 2009 at 9:21 AM, Bob MacCallum uncool...@gmail.com wrote: If your array is numeric: use PDL; my @old = (1..10); my @new = pdl(@old)-slice(0:-1:2)-list; although this is unlikely to be the most

Algorithm::Evolutionary (journal article)

2009-10-05 Thread Bob MacCallum
Just saw this on the GP list... Algorithm::Evolutionary, a flexible Perl module for evolutionary computation Journal: Soft Computing - A Fusion of Foundations, Methodologies and Applications Abstract: This paper describes Algorithm::Evolutionary ( A::E ), a Perl module released under an open

Re: Last Straw. Camel's Back. Etc.

2009-10-01 Thread Bob MacCallum
I would love to recommend the Phone Co-op for their no-nonsense, no contract, get-your-own-equipment service. However, their customer service often takes weeks to reply (by email at least) and I think they may be messing with my packets (just started to use bit torrent and now connections over

Re: Last Straw. Camel's Back. Etc.

2009-10-01 Thread Bob MacCallum
Sorry for the misleading info... Just been looking at Phone Coop site - they don't offer service without a contract any more. minimum is 18 months. So I will be requesting a no contract upgrade from them or I will try WebTapestry. On Thu, Oct 1, 2009 at 1:48 PM, Anthony Fisher li...@2799.org

Re: London Perl Mongers Technical Meeting 24th September 2009

2009-09-24 Thread Bob MacCallum
OK, thanks for having a look. Maybe I had a brain fart or it's a google calendar bug. On Thu, Sep 24, 2009 at 7:29 AM, Léon Brocard a...@astray.com wrote: 2009/9/23 Bob MacCallum uncool...@gmail.com: The iCal link at http://london.pm.org/meetings/ might not be working. This meeting didn't

Re: London Perl Mongers Technical Meeting 24th September 2009

2009-09-23 Thread Bob MacCallum
Hi, The iCal link at http://london.pm.org/meetings/ might not be working. This meeting didn't show up on my google calendar subscribed to that URL, whereas the google calendar + button (on the same page) did sub me to a working calendar. Maybe someone could take a look at it? Good thing someone

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

2009-09-17 Thread Bob MacCallum
My initial thought was that SELECT ($your_select) IS NOT NULL; would complain if more than one row is returned. It does, but it also complains when more than one column returned, so probably isn't useful. On Thu, Sep 17, 2009 at 2:32 PM, Joel Bernstein j...@fysh.org wrote: 2009/9/17 Nicholas

Re: Skype

2009-09-17 Thread Bob MacCallum
I thought Skype tried to set up a direct end to end UDP connection if possible? Fallback is through some central servers. That's what it says when you display the technical info. I am not a network expert though (don't know what UDP is for example!) On Thu, Sep 17, 2009 at 3:57 PM, Dirk Koopman

Re: Anniversary Beer - Shovels needed

2009-06-26 Thread Bob MacCallum
That's near my folks' place, but alas I have no car and they have no immediate plans to drive to London, nor any storage space to spare. Otherwise, I would have been happy to help. Anyone have connections to Eddie Stobart? The brewery is in the arse end of essex, Mersea Island, which is not

Re: [ANNOUNCE] Technical meeting: An evening of dynamic languages

2009-06-12 Thread Bob MacCallum
Here's mine on Evolving Perl (and other code) in Perl: http://docs.google.com/Presentation?id=dj682rv_80d66v6tg6 Thanks again for a great event. On Thu, Jun 11, 2009 at 3:58 PM, Tomas Doranbobtf...@bobtfish.net wrote: Joel Bernstein wrote: On 11 Jun 2009, at 14:34, Ben Evans wrote: I just

Re: [ANNOUNCE] Technical meeting: An evening of dynamic languages

2009-05-19 Thread Bob MacCallum
i agree that they are asking too much info, but i registered anyway... On Tue, May 19, 2009 at 7:50 PM, James Laver james.la...@gmail.com wrote: On 19 May 2009, at 18:25, Graham Seaman wrote: I follow the 'contact us' link to report a web problem, and ended up with a reply from a lady in BCS

Re: [ANNOUNCE] London.pm Social - Edgar Wallace WC2R, 7th May 2009

2009-05-07 Thread Bob MacCallum
Hello everyone, I'm new to London.pm but not to Perl. I'll be coming along to the social tonight and just thought I'd introduce myself. In the last ten or so years I have been mostly into evolving Perl (genetic programming, see http://perlgp.org), bioinformatics and evolutionary music

Re: [ANNOUNCE] London.pm Social - Edgar Wallace WC2R, 7th May 2009

2009-05-07 Thread Bob MacCallum
is it more efficient? I'm running into speed problems right now as it happens... (and to make it worse DProf/dprofpp is not reporting anything useful at all) On Thu, May 7, 2009 at 3:43 PM, Dave Cross d...@dave.org.uk wrote: Bob MacCallum wrote: The most recent thing I've been playing

Re: DBIx::Class (was Re: [ANNOUNCE] London.pm Social - Edgar Wallace WC2R, 7th May 2009)

2009-05-07 Thread Bob MacCallum
discussed elsewhere so I'll start reading around. thanks for the nudge in the right direction! cheers, Bob. On Thu, May 7, 2009 at 4:22 PM, Joel Bernstein j...@fysh.org wrote: On 7 May 2009, at 16:16, Bob MacCallum wrote: is it more efficient?  I'm running into speed problems right now