Re: Geolocation services: what's good, what's not?

2014-12-03 Thread Simon Wistow
On Wed, Dec 03, 2014 at 08:18:06AM +0700, Peter Sergeant said: The first question I'd ask anyone considering using anything other than MaxMind's Geo2IP product is Why aren't you using MaxMind's Geo2IP product? I like and use MaxMind but, by all accounts, they're not as accurate as Digital

Re: google spreadsheet API login woes

2014-10-16 Thread Simon Wistow
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 my AuthSub from my OAuth from my elbow. I've tried my $auth = Net::Google::AuthSub-new; my $res = $auth-login($user, $pass); I wrote

Re: Getting the schema for a DB table

2014-05-27 Thread Simon Wistow
On Tue, May 27, 2014 at 02:42:21PM +0100, Sam Kington said: What's wrong with dependencies? It just takes a few minutes to install, disc is cheap, and it's not like any of the rest of your code is going to magically start loading these new modules and being all bloaty and insecure or

Re: Getting the schema for a DB table

2014-05-27 Thread Simon Wistow
On Mon, May 26, 2014 at 05:45:26PM +0100, me said: If you're already using Moose I'm sure it's fantastic but adding ~120 dependencies (of which ~30 are core admittedly) for something I could probably write in nearly as many lines of code[*] probably isn't going to fly unfortunately.

Re: Getting the schema for a DB table

2014-05-27 Thread Simon Wistow
On Tue, May 27, 2014 at 08:20:02PM +0200, Thomas Klausner said: Hi! Wotcha! Well, we use DBIx::SchemaChecksum in some utility scripts that are invoked maybe once a day per hand (and quite often less than that). So neither process size nor start up time was an issue when writing it.

Re: Getting the schema for a DB table

2014-05-26 Thread Simon Wistow
On Sun, May 25, 2014 at 07:38:54PM +0200, Thomas Klausner said: If you want a hash of the current DB schema, take a look at DBIx::SchemaChecksum Not sure if this is what you're after, but I hope it helps.. It would be perfect ... except for that fact that it uses Moose (and also doesn't

Re: Getting the schema for a DB table

2014-05-26 Thread Simon Wistow
On Sun, May 25, 2014 at 08:11:20PM +0100, Ash Berlin said: `sqlt` from SQL::Translator can also give this ISTR http://search.cpan.org/~frew/SQL-Translator-0.11018/script/sqlt: Ahah! That looks great my $translator = SQL::Translator-new( no_comments = 1, parser=

Getting the schema for a DB table

2014-05-25 Thread Simon Wistow
[ Continuing the series of Simon doesn't really do Perl (or programming) that much anymore and therefore asks dumb questions ] I'm looking for something that can be pointed at a DB table and can give the schema for the table back - preferably in the form of an SQL CREATE TABLE statement but I

Finding the packages in a required file

2014-05-24 Thread Simon Wistow
I have a directory which looks like tmp/ 1.pl 2.pl 1.pl looks like package Foo; sub hello { ... } 1; and 2.pl looks similar with a different (unique) package name. Foo may be a subclass of a common class. I'm trying to figure out a way to iterate through that directory

Re: Finding the packages in a required file

2014-05-24 Thread Simon Wistow
On Sun, May 25, 2014 at 02:31:19AM +1200, Kent Fredric said: There's an established and recognised way to get package names out of arbitrary files. Ahah! That is precisely what I was looking for. Thank you.

Re: Best practices for database migrations

2013-11-18 Thread Simon Wistow
On Mon, Nov 18, 2013 at 08:17:32AM +, Richard Huxton said: Never needed anything as heavy as this, but I trust the author (David Wheeler) to have thought it through: Thanks for the suggestion but that looks a little like using a Tzar bomb to crack a nut for my purposes.

Best practices for database migrations

2013-11-17 Thread Simon Wistow
Is there a current favourite for doing database migrations (i.e having a programatic way for a database to upgraded to a new version by having a series of sql commands run on it)? Some notes: - We're not using DBIx::Class - Anything that relies on Moose is almost certainly out unless there's a

Re: You! Yes, you! Are you ready for exciting world of global networking?

2013-08-06 Thread Simon Wistow
On Tue, Aug 06, 2013 at 12:09:48AM -0500, Avleen Vig said: Speaking of shifty things, Fastly CDN's for Pypi but not CPAN? H!! simon@pax ~ $ dig perldoc.perl.org ; DiG 9.6-ESV-R4-P3 perldoc.perl.org ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id:

You! Yes, you! Are you ready for exciting world of global networking?

2013-08-05 Thread Simon Wistow
Hello people who know me from London.pm of yore! And also hello people who have no idea who I am. Don't worry, I don't hold it against you - hell, half the time I have no idea either. A little bit of history - many years ago I left the blessed shores of Albion, leaving the Seat of the Empire

Re: You! Yes, you! Are you ready for exciting world of global networking?

2013-08-05 Thread Simon Wistow
On Mon, Aug 05, 2013 at 10:11:25PM +0100, me said: Hello people who know me from London.pm of yore! Crap, that was supposed to go to jobs@ Apologies for the noise.

Re: You! Yes, you! Are you ready for exciting world of global networking?

2013-08-05 Thread Simon Wistow
On Mon, Aug 05, 2013 at 06:07:22PM -0400, Chris Devers said: So by “you, yes you”, you meant “well… not actually YOU…” ? Especially not YOU, Devers *narrows eyes*

[TESTING] Please ignore

2013-07-02 Thread Simon Wistow
I'm trying to diagnose a potential issue in my mail set up which seems to mostly manifest itself by silencing you rowdy group of degenerates, miscreants and ne'r-do-wells.

Re: Best Practices for passing option hashes into XS

2013-04-29 Thread Simon Wistow
On Sun, Apr 28, 2013 at 04:55:54PM +0100, James Laver said: That sounds awfully like a compatibility shim for perl. Where using Perl datatypes would be appropriate. Yeah - the shim stuff is now all in the .XS file mentioned in the original mail. For what it's worth you can see the code I'm

Re: Best Practices for passing option hashes into XS

2013-04-28 Thread Simon Wistow
On Sun, Apr 28, 2013 at 08:32:47AM +0100, Dave Hodgkinson said: Look at anything by Zefram... Useful, cheers.

Re: Best Practices for passing option hashes into XS

2013-04-28 Thread Simon Wistow
On Sun, Apr 28, 2013 at 11:45:04AM +0100, James Laver said: I think you've basically got a first question you haven't asked. Are you writing a C library that you want to interface with in perl or are you writing an XS library? If the former, you should probably translate them into a broader

Best Practices for passing option hashes into XS

2013-04-27 Thread Simon Wistow
I have a method sub foo { my ($arg1, %opts) = @_; } which I want to translate to XS - what's the best practices for this? Both my C and my XS are incredibly rusty. My first thought is something like (modulo memory leaks): In Foo.xs void foo(arg1, ...) char* arg1

Re: Best Practices for passing option hashes into XS

2013-04-27 Thread Simon Wistow
On Sun, Apr 28, 2013 at 01:55:21AM +0100, me said: So my second thought is to have a struct This seems to basically be what PHP::Serialization::XS does http://cpansearch.perl.org/src/KULP/PHP-Serialization-XS-0.06/XS.xs

Re: PHP community

2013-01-17 Thread Simon Wistow
On Thu, Jan 17, 2013 at 10:35:28AM +, Greg McCarroll said: And that tradition has stuck and influenced LPW, and it isn't just for moral reasons alone - if you run an event where nobody is profiting you tend to get the goodwill of groups and people like Westminster University (who have

Re: PHP community

2013-01-16 Thread Simon Wistow
On Wed, Jan 16, 2013 at 02:59:50PM -0200, Daniel de Oliveira Mantovani said: PHP : training wheels without the bike. - Randal Schwartz when I said PHP devs, I meant 'people who choose to use PHP because they think it's the _best_thing_in_the_world_.'. Most of the PHP devs (like the guys

Re: LPW2012 slides and videos ?

2012-12-13 Thread Simon Wistow
On Thu, Dec 13, 2012 at 06:30:28PM +0100, Roland Schmitz said: no, see: http://perlmonks.org/index.pl?node_id=1000703 I think he was thinking of YAPC::EU 2001 :)

Re: LPW2012 slides and videos ?

2012-12-13 Thread Simon Wistow
On Thu, Dec 13, 2012 at 10:32:22PM +, me said: I think he was thinking of YAPC::EU 2001 :) Err, 2000. Or 19100 as the tshirts said.

Re: Calendar web apps

2012-10-03 Thread Simon Wistow
On Tue, Oct 02, 2012 at 02:54:37PM +0100, Dirk Koopman said: It seems a good idea to ask if there is a recommended Mojo/Dancer/whatever perl Calendar web app out there, just before I write one. Any suggestions? I wrote this, many many years ago and still use it.

Re: Calendar web apps

2012-10-03 Thread Simon Wistow
On Wed, Oct 03, 2012 at 10:44:18AM +0100, Dave Cross said: The svn address in the docs no longer works. Could you stick it on github so we can start playing with it? Whoops! https://github.com/simonwistow/OurCal If you want to chat to me about it I'll be at the Social tomorrow.

Current State of Auntie Beeb

2012-09-25 Thread Simon Wistow
Out of interest which bits of the Beeb are still Perl? Are l.pm-ers still there? And where does http://news.bbc.co.uk fit into everything these days?

[ADMIN] Testing the Silence

2012-09-24 Thread Simon Wistow
List has been unusually quiet for the last 3 days ... just seeing if anything's broken.

Re: [OT] benchmarking typical programs

2012-09-21 Thread Simon Wistow
On Thu, Sep 20, 2012 at 12:35:18PM +0100, Nicholas Clark said: Lots of one trick pony type benchmarks exist, but very few that actually try to look like they are doing typical things typical programs do, at the typical scales real programs work out, so As a search engineer (recovering) I'm

Re: [OT] benchmarking typical programs

2012-09-21 Thread Simon Wistow
On Fri, Sep 21, 2012 at 10:22:44AM +0100, Nicholas Clark said: I'm not a search engineer (recovering or otherwise), so this represents rather more work that I wanted to do. I'll try and know something together but really it's fairly simple algorithm. Warning untested: my %index; foreach my

Re: [ADMIN] Re: London Perl Workshop: 10th September Announcement

2012-09-12 Thread Simon Wistow
On Wed, Sep 12, 2012 at 09:54:56AM +0100, Mark Keating said: Ah, okay thanks. I will attempt to not be so dim the next time around - thanks for the heads up Simon. Nah, it's non-intuitive and was set up a long time ago so I don't really expect anyone to know about it :)

[ADMIN] Re: London Perl Workshop: 10th September Announcement

2012-09-11 Thread Simon Wistow
Just as an FYI to anyone who sends out announce emails - the london.pm is subscribed to london.pm-announce list so you only ever need to send a mail to -announce and it will automatically show up in the regular list (prefixed with [ANNOUNCE] since historically some people filter off that)

Re: Brainbench perl test?

2012-09-05 Thread Simon Wistow
On Tue, Sep 04, 2012 at 01:03:22PM +0100, Mr I said: IMHO this is a typical example of an awful question! It requires additional knowledge of the problem domain NOT asked by the interviewer.Your assumption is that the candidiate knows: a) the fibonacci sequence b) mathematically how to

Re: Interview Questions (was: Brainbench)

2012-09-05 Thread Simon Wistow
On Thu, Sep 06, 2012 at 12:12:16AM +0200, Joel Bernstein said: Really I find interviews are less about individual questions or tasks, and more about where the conversation goes based on them and the interviewer's abilities to steer the conversation and to assess the candidate based on those

Re: Odd problem with SSL under OSX

2012-08-28 Thread Simon Wistow
On Tue, Aug 28, 2012 at 09:29:19AM +0100, Roger Burton West said: Trying IPv6 perhaps? It did actually end up being something around this - what was happening was that along the line there's a various attempts to use various different modules which look like or @ISA IO::Socket::INET. Writing

Re: Puzzle

2012-08-28 Thread Simon Wistow
On Tue, Aug 28, 2012 at 07:13:53PM +0100, Smylers said: For the rest of the points we still need to state what the connections are for t'other 3 groups. woolfy, book, ash, cog- use.perl/irc nicks Acme, Email, Getopt, Date - top level namespaces on CPAN comm, clang, ping, bash - Unix

Re: Brainbench perl test?

2012-08-28 Thread Simon Wistow
On Tue, Aug 28, 2012 at 08:41:14PM +0200, Joel Bernstein said: It's a red flag of lack of clue if a prospective employer tries to use this to weed out candidates. It's very possible that you're right but I'm going to wade in anyway and put forward a contrary view. Hiring is really expensive.

Re: Brainbench perl test?

2012-08-28 Thread Simon Wistow
On Tue, Aug 28, 2012 at 10:15:27PM +0100, Dave Cantrell said: For perl hiring, we had what I think was a great test. And now that they no longer exist, I can tell you what it was! Yahoo! Europe's was variations on this http://thegestalt.org/simon/yahoo_questions.txt my response for this

Odd problem with SSL under OSX

2012-08-27 Thread Simon Wistow
If I try and install LWP::Protocol::https under OSX (10.6.8) I get a failure in its test saying Can't connect to www.apache.org:443 (No route to host) This is not an Apache only problem - I've tried changing the host. Installing it on Linux (including a VMWare Ubuntu instance on my laptop)

Re: Odd problem with SSL under OSX

2012-08-27 Thread Simon Wistow
On Mon, Aug 27, 2012 at 10:39:18PM -0500, Avleen Vig said: No route to host means the IP it was resolved to isn't routable (duh, you knew this ;) The one thing I did wonder is if it was a mismatched error code. On Solaris this perl -e'warn $/, $! = 65' prints Package not installed under

Re: OT? Perl Question, iCal

2012-06-01 Thread Simon Wistow
On Tue, May 22, 2012 at 02:48:05PM +0100, Roger Burton West said: On Tue, May 22, 2012 at 03:35:51PM +0200, Nic Gibson wrote: search.cpan.org gives me far too many results for iCal. I need to parse iCalendar (rfc 5545) files and then write them out as xCal (rfc 6321) files. Does anyone have

Regex help

2012-04-20 Thread Simon Wistow
My Regex-fu has failed me ... I don't do much heavy duty data munging any more and apparently the skills of The Old Ways[tm] have forsaken me. Or at least - I'm now lazy. After spending 5 minutes trying to figure it out I just mailed the list. Plus my copy of Mr Friedl's book is currently

Re: Regex help

2012-04-20 Thread Simon Wistow
On Fri, Apr 20, 2012 at 08:37:42PM +, Anthony Lucas said: How about a parser using Regexp? Parser::MGC? You can implement a proper parser, or just a few staged regexp, or anything in-between. I ended up just doing this my ($label, $op, $operands) = $line =~ m! ^

Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Tue, Dec 13, 2011 at 10:25:58AM -0500, Uri Guttman said: and that is only the tip of the iceberg. there are visa issues, where to live, where to send your optional kids to school, cultural differences, moving expenses (one client of mine does help with that), etc. So, I'll bite. This is

Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Tue, Dec 13, 2011 at 11:17:23PM +, Travis Basevi said: One thing that I'd suggest should be added to Simon's list, is that if you're ever lucky enough to have the opportunity to work away from your home country, and you're wondering whether to do it, then just do it. You can always

Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Wed, Dec 14, 2011 at 12:07:12PM +1100, Toby Wintermute said: Just wanted to chip in and say -- why are you only considering the US or the UK? If you're looking for a nice English-speaking city which employs Perlmongers, have you considered Melbourne or Sydney in Australia? Well, the

Re: Beware: NET-A-PORTER

2011-12-12 Thread Simon Wistow
On Fri, Dec 09, 2011 at 08:49:16AM +0100, Richard Foley said: UK programmers are half the cost of US programmer? Wow, and I thought all the IT jobs were moving to India! Maybe it's time to move back to the UK, where the beer is warm and the girls are... That's not implausible. A good but

Re: Beware: NET-A-PORTER

2011-12-12 Thread Simon Wistow
On Mon, Dec 12, 2011 at 10:30:28PM +, James Laver said: Minus health insurance premiums (and you'd want good cover, wouldn't you) for a start. And all of the other things you don't get included over there. My health insurance premiums aren't much more than what I paid in NI back in the

Re: ActiveMQ (was Re: Devel::Cover with Moose?)

2011-05-26 Thread Simon Wistow
On Tue, May 24, 2011 at 03:18:27PM +1000, Toby Wintermute said: By the way.. how are you finding ActiveMQ, especially when interacting with it from Perl? My experience is a few years old and it's very possible things have changed now but, given a choice between working with ActiveMQ again and

Re: ActiveMQ (was Re: Devel::Cover with Moose?)

2011-05-26 Thread Simon Wistow
On Thu, May 26, 2011 at 05:25:01PM +0100, me said: My experience is a few years old and it's very possible things have changed now Apparently not http://goodstuff.im/activemq-not-ready-for-prime-time Money quote: I recommended ActiveMQ to a client [...] (and) I am quite frankly

Like Moose attributes, but not

2011-05-22 Thread Simon Wistow
Is there anything out there that gives Moose style 'has' with type constraints but without needing all the other functionality that Moose provides? Class::Accessor and family are relatively lightweight and have a 'antlers' option that emulates the Moose syntax but don't have the constraints

Re: Like Moose attributes, but not

2011-05-22 Thread Simon Wistow
On Sun, May 22, 2011 at 06:20:35PM +0100, me said: There seems to be quite a few on CPAN - David Wheeler's Class::Meta seems to be the closest I've seen so far but I rather like the declarative 'has' syntax of Moose although that would be relatively simple to emulate. ... for which there's

Re: Xcode 4.0.2 and XS modules

2011-04-25 Thread Simon Wistow
On Sat, Apr 23, 2011 at 02:10:57AM +0100, me said: That said - it's still highly ... let's call it suboptimal that if you install the latest versions of the tools you can't install XS modules on OSX. FWIW I wrote something up here http://deflatermouse.livejournal.com/149721.html so that

Xcode 4.0.2 and XS modules

2011-04-22 Thread Simon Wistow
Apple, evil bastards that they are, don't ship with GCC installed. You have to install Xcode to get it. And now, because apparently raping puppies to death with nuns or whatever it is they do for fun, isn't sufficiently evil you have to buy Xcode. True it's only $4 but it's still a giant fuck

Re: Xcode 4.0.2 and XS modules

2011-04-22 Thread Simon Wistow
On Fri, Apr 22, 2011 at 11:43:23PM +0100, Dave Cantrell said: Paying for compilers is so 1980s. Please at least tell me that they ship an XCode DVD along with the OS. I did actually find the previous version on one of the DVDs, and as Mike points out it's actually findable on the Apple site.

Delete *really* means delete

2011-02-24 Thread Simon Wistow
I'm idly playing around with some Model type code yesterday wondering if I could make the delete method *really* delete itself. The use case I'm worried about is something like my $foo = Foo-new; ... do some stuff ... $foo-delete; # it's now gone from the database ... time passes ...

Re: Delete *really* means delete

2011-02-24 Thread Simon Wistow
On Thu, Feb 24, 2011 at 11:26:53AM -0800, Yitzchak Scott-Thoennes said: rebless to a class that has an AUTOLOAD that croaks (or confesses)? *cough* From the original mail Other suggestions were reblessing $self into 'DEAD' and then having

Re: Delete *really* means delete

2011-02-24 Thread Simon Wistow
On Thu, Feb 24, 2011 at 09:17:41PM +, Matt Lawrence said: This will remove the caller's reference to the invocant, There's no way of knowing if that's the last reference, copying will keep it alive. Yeah, that's what I think I was triggering last night. Neither of these approaches are

Re: Recommendation for simple Web Frameworks

2011-01-10 Thread Simon Wistow
On Mon, Jan 10, 2011 at 08:25:37AM -0200, Eden Cardim said: Simon == Simon Wistow si...@thegestalt.org writes: You got the wrong impression, Catalyst isn't tied to anything, it's just a plugglable/configurable http dispatcher, it's as simple as any of the other perl web frameworks

Recommendation for simple Web Frameworks

2011-01-06 Thread Simon Wistow
So, it's been a while since I've done any kind of web stuff in Perl (although I was sitting behind Tatsuhiko when he was building the first Plack stuff so I'm at least aware of that). I want to build a web site. In Perl. It needs to be dynamic but it's unlikely to need a database - it will

Re: Recommendation for simple Web Frameworks

2011-01-06 Thread Simon Wistow
On Thu, Jan 06, 2011 at 07:04:13PM +, me said: Before I write my own (or repurpose one of the hundred previosu ones I've written) does anyone have any recommendations? Thanks, Dancer looks perfect. Is there a good rule of thumb with these things as to whether something should go in the

Re: Recommendation for simple Web Frameworks

2011-01-06 Thread Simon Wistow
On Thu, Jan 06, 2011 at 08:39:06PM +, me said: with any blurry lines (OAuth support for example) handled using callbacks. Actually, since I'm being lazy - is there a good guide or an example for doing OAuth under Plack / Dancer / Plack+Dancer? I note that there's

Re: web hosting

2011-01-02 Thread Simon Wistow
On Fri, Dec 31, 2010 at 02:40:05PM +, Ian Knopke said: I'm looking for a place to host a couple of websites. One is personal, the other is for a small business and needs some forms. I haven't had to do this outside of a business or institution in quite a while so I'm looking for

Anybody know someone who might be looking for remote work?

2010-12-16 Thread Simon Wistow
I ummed and ahhhed about whether to send this to the jobs list but figured it might be better here. My company, Zendesk, makes hosted help desk software. We also have a number of support people who work remotely all over the world to provide 24hr coverage. We're Danish but based in San

Re: Hash to disc: what's good and fast these days?

2010-12-16 Thread Simon Wistow
On Thu, Dec 16, 2010 at 09:50:18PM +, Roger Burton West said: There are lots of modules that let me tie a hash to some sort of database: BerkeleyDB, TokyoCabinet, CDB, and so on. Is there anything that's aware of Perl data structures and will let me tie a _multi-level_ hash to a disc file?

Re: Hash to disc: what's good and fast these days?

2010-12-16 Thread Simon Wistow
On Thu, Dec 16, 2010 at 10:17:12PM +, me said: DBM::Deep? Although Sam Vilain has some harsh things to say on CPAN ratings and MLDBM qw(BerkeleyDB::Hash Storable) is suggested instead.

Re: Best practice for variables shared between processes?

2010-09-25 Thread Simon Wistow
On Sat, Sep 25, 2010 at 10:16:40PM +0100, Mark Fowler said: On Wed, Sep 22, 2010 at 5:51 PM, Simon Wistow si...@thegestalt.org wrote: Redis doesn't have queues (i.e deliver to only one subscriber), it only has topics (deliver to all subscribers). Can't I just BLPOP? http

Re: Best practice for variables shared between processes?

2010-09-22 Thread Simon Wistow
On Wed, Sep 22, 2010 at 07:49:07AM +0100, Leon Brocard said: Use a queue? ... instead of writing yet more software. A couple are: ApacheMQ | RabbitMQ | Beanstalkd And probably also Redis. I've used all of them and would probably recommend Redis for something lightweight and RabbitMQ

Re: Best practice for variables shared between processes?

2010-09-20 Thread Simon Wistow
On Mon, Sep 20, 2010 at 10:17:28AM -0700, Randal L. Schwartz said: Peter == Peter Edwards pe...@dragonstaff.co.uk writes: Peter http://search.cpan.org/perldoc?TheSchwartz I always do a doubletake when I see that module mentioned. I don't dare use it for any of my clients... they'll

Uploading multiple files using LWP

2010-08-10 Thread Simon Wistow
I want to POST multiple files to an API endpoint. HTTP::Request::Common says POST 'http://www.perl.org/survey.cgi', [ name = 'Gisle Aas', email = 'gi...@aas.no', gender = 'M', born = '1964', perc = '3%', ]; Multivalued form fields

Re: Uploading multiple files using LWP

2010-08-10 Thread Simon Wistow
On Tue, Aug 10, 2010 at 07:38:33AM +0100, me said: I want to POST multiple files to an API endpoint. Once again proving that debugging to teddy^W mailing list works ... Instead of $req = POST($url, Content_Type = 'form-data', Content = [%opts]); I had to do my @content; foreach my

Re: Facebook apps

2010-05-25 Thread Simon Wistow
On Fri, May 21, 2010 at 11:53:46PM +0200, Zbigniew Lukasiak said: It seems that there is a huge demand for Facebook applications. At least this is what my colleague is trying to convince me about, but since I have already been approached by a guy interested in this and I have already written

Re: [Fwd: Betonmarkets CTO position]

2010-02-11 Thread Simon Wistow
On Thu, Feb 11, 2010 at 10:13:39PM +, Tom Hukins said: Has anyone made a self referential TV show yet where they follow a group of people trying to make a TV show? Sports Night ('98-'00) and Studio 60 On The Sunset Strip ('06-'07) both from Aaron West Wing Sorkin. In a similar vein to the

Re: On-topic: HTML/JS help please

2010-02-10 Thread Simon Wistow
On Wed, Feb 10, 2010 at 10:04:01AM +, Piers Cawley said: That sounds to me like you don't have a table. You have a tree with tabular data at each node. Consider using nested divs to represent your hierarchy and then either cunning styling or one row tables to display the tabular data. Sure

Re: Monads are like burritos

2009-12-17 Thread Simon Wistow
On Fri, Dec 18, 2009 at 01:28:10AM +0100, Dagfinn Ilmari Mannsåker said: Out of curiosity, where's the best and third best? Also: have you tried the whole baby jerk chicken at Cotton's on Chalk Farm Road? Just as a point of reference the Jerk chicken from the market stall on Berwick Street was

Re: Perl Christmas Quiz 2009

2009-11-30 Thread Simon Wistow
On Mon, Nov 30, 2009 at 06:24:12PM +, Chris Jack said: 6) What is the name of the official Soft Toy Camel of the London Perl Mongers? Bonus mark if you own one. I bet only 2 people get this correct although I suspect several people will get the answer the OP was thinking of.

Re: Perl Christmas Quiz 2009

2009-11-30 Thread Simon Wistow
On Mon, Nov 30, 2009 at 07:38:31PM +, Dave Cross said: According to the Beanie Baby people, he's called Niles. According to us (and the 2001 leadership election ballot papers) she's called Amelia. [ SPOILER SPACE ] Actually - there are two

Dear LazyWeb - FreeBSD makefiles

2009-11-19 Thread Simon Wistow
I have a Makefile (actually a Makefile.am from autoconf but that's not important, I think( and it has the rule %.1: -rm -f $@ pod2man --center=TimeSpliceDB Documentation --lax \ --release='$(VERSION)' $(@).pod $@ Which takes everything of the form name.1.pod and truns it into

Re: Dear LazyWeb - FreeBSD makefiles

2009-11-19 Thread Simon Wistow
On Thu, Nov 19, 2009 at 11:24:59AM +, Mark Blackman said: And that example unintentionally reversed the dependency order as well as leaving out the 'do all such files' bit. It should have been '.pod.l' and needs a pseudo target like 'all' to trigger the transformation rules. I was

Re: Dear LazyWeb - FreeBSD makefiles

2009-11-19 Thread Simon Wistow
On Thu, Nov 19, 2009 at 09:46:28PM +, Mark Blackman said: Your requirement is slightly more complex because you want a variety of suffixes (corresponding to man page sections). So you'll want to find a way to deal with that requirement using some kind of further substitution, probably a

Re: Merging Bash sources

2009-11-11 Thread Simon Wistow
On Wed, Nov 11, 2009 at 01:19:30AM +, James Laver said: Perhaps I'm overlooking something obvious, but why don't you just parse twice? Because I don't know where the config file is until I parse the command line options. I could getArgs . ${config_file} getArgs but I think Bash getopts

Merging Bash sources

2009-11-10 Thread Simon Wistow
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 config_file=config # inspect command

Re: Merging Bash sources

2009-11-10 Thread Simon Wistow
On Wed, Nov 11, 2009 at 01:03:08AM +, me said: Is there an easy way to say source this config file but don't override any variable already set? or some sort of standard recipe? Or amy I going to have to write something that reads the config file line by line, splits out any variable

Re: London Perl Workshop 2009: Update #3

2009-11-05 Thread Simon Wistow
On Thu, Nov 05, 2009 at 02:14:49PM +, Mark Keating said: Greetings one and all(1) Just as a point of order and only because I've noticed several people doing this - there's no need to send a mail to both london.pm and london.pm-announce. london.pm is actually subscribed to

Re: Anyone hiring at the moment?

2009-09-30 Thread Simon Wistow
On Wed, Sep 30, 2009 at 10:40:30AM -0700, Simon Batistoni said: This coming from someone who was convinced that he'd never have a decent beer again when he first moved Stateside. Mr Batistoni had done much of the pioneering, trail blazing work for me when I moved out to SF including

Re: Cheap perl e-books

2009-08-26 Thread Simon Wistow
On Wed, Aug 26, 2009 at 09:39:20AM +0100, Nicholas Clark said: Don't assume that anyone in particular isn't subscribed to this list already. Last I knew there were about 600 subscribers, in zones 1 to Inf. (Although probably no longer anyone Antarctica) 851 on the regular list and 160 on

Re: [OT] finding memory hungry bits of my code

2009-04-09 Thread Simon Wistow
On Thu, Apr 09, 2009 at 10:27:57AM +0100, Edmund von der Burg said: What is the equivalent for memory usage? Devel::Gladiator?

Re: http://www.xkcd.com/519/

2009-03-09 Thread Simon Wistow
On Mon, Mar 09, 2009 at 09:16:48PM +, Nicholas Clark said: But we don't talk about http://xkcd.com/353/ ? A guy is in a plane crash and wakes up on the beach of a desert island. Stumbling round the corner he runs into a group of castaways sitting round a camp fire. They rush to meet him,

Re: Optimisation

2009-03-02 Thread Simon Wistow
On Mon, Mar 02, 2009 at 09:11:29PM +, Andy Armstrong said: Benchmark it - but I bet there's not much difference - and the second version will be faster in the non-empty case. With 1,000,000 iterations Rate no_ifif no_if 501961/s-- -2% if514056/s2%-- With

Extracting information back out of a DBH

2009-02-09 Thread Simon Wistow
I'm dealing with some code that currently uses a lookup table for dbh handles with the hash key being based on the dsn, username and password passed in. I'm adapting it to be able to take in a random DB handle and therefore I'd really like to be able to extract the dsn and username back out

Re: Extracting information back out of a DBH

2009-02-09 Thread Simon Wistow
On Mon, Feb 09, 2009 at 10:24:03PM +, pe...@dragonstaff.com said: use DBI; my $dbh = DBI-connect('dbi:mysql:dbname', 'user', 'pass'); print Dumper( tied(%$dbh) ); Ahah, the tied was just the ticket. Cheers.

Re: [REVIEW] Drobo

2009-01-30 Thread Simon Wistow
On Fri, Jan 30, 2009 at 09:50:07AM +, Adrian Lai said: It looks pretty cool, but surely this is still a potential problem? Lack of ethernet port is quite disappointing, too. Ah, that's a whole other post but, in short. I tried plugging it into both a Airport Extreme and a Mac Mini but

Re: [REVIEW] Drobo

2009-01-30 Thread Simon Wistow
On Fri, Jan 30, 2009 at 08:55:51AM +, Leon Brocard said: 2009/1/29 Dirk Koopman d...@tobit.co.uk: How much, where from? Amazon.co.uk has the new Drobo in stock for £399.24: http://www.amazon.co.uk/gp/product/B001CSZMRK?tag=astray-21 Holy Exchange Rate batman. At the time that

Re: [REVIEW] Drobo

2009-01-30 Thread Simon Wistow
On Fri, Jan 30, 2009 at 07:09:33PM +, Steffan Davies said: Ouch. I know you're trying to avoid a system build but that seems a crazy price. I concur. I wouldn't have paid that much either. Indsight.com for one do little HP tower servers* for 100ukp about once per quarter. That is

Re: [REVIEW] Drobo

2009-01-30 Thread Simon Wistow
On Fri, Jan 30, 2009 at 05:33:29PM +, Dave Cantrell said: My old LaCie drives worked just fine 24 hours a day for years. I'll be Quite Pissed Off my the WD things can't do the same. The MyBook ran mostly on for a couple of years but I think it was the strain of copying over all the data.

[REVIEW] Drobo

2009-01-29 Thread Simon Wistow
I'll admit, I'm somewhat perverse. I was put off using Macs several years ago when I found that I kept bumping up against seemingly arbitary limitations, rather like those bits in games where your hero - who has hitherto been able to climb a wall single handed whilst fending off vampire

Re: [REVIEW] Drobo

2009-01-29 Thread Simon Wistow
On Thu, Jan 29, 2009 at 10:53:02PM +, Dirk Koopman said: How much, where from? I got mine from http://www.drobo.com - I searched around and found the coupon code for $50 off. Not sure where you'd get one from in the UK.

File permission vulnerabilities and Module::Pluggable

2009-01-20 Thread Simon Wistow
Adam 'Alias' Kennedy has written a blog post about the 2009 CWE/SANS 25 Most Dangerous Programming Errors http://use.perl.org/~Alias/journal/38319 in it he singles out CWE-732: Insecure Permission Assignment for Critical Resource http://cwe.mitre.org/data/definitions/732.html and points out

  1   2   3   4   5   >