Re: [PATCH] XML::Compile::SOAP on Perl 5.6.1

2008-09-11 Thread Toby Corkindale
On Thu, Sep 11, 2008 at 11:39:58AM +0200, Mark Overmeer wrote: [is this really something to get London.pm involved in? Let's continue solely on the XML::Compile mailing list after this] * Toby Corkindale ([EMAIL PROTECTED]) [080911 01:38]: The attached patches to Log::Report and XML

[PATCH] XML::Compile::SOAP on Perl 5.6.1

2008-09-10 Thread Toby Corkindale
Hi, The attached patches to Log::Report and XML::Compile::SOAP are enough to get it functional on Perl 5.6, despite the normal requirements for Perl 5.8. It's horrible so I'm not sure you'd *want* to include this in the main distro, but I thought I'd send it along in case it ever becomes useful

Re: svk v git + possible gig

2008-09-08 Thread Toby Corkindale
On Mon, Sep 08, 2008 at 05:59:26PM +0100, Paul Makepeace wrote: I first heard about svk at the Nordic Perl conf a few years back and it seemed popular. Disappointment ensued however when I looked at the docs. I still to this day have only the most rudimentary understanding of what an smerge

perl/cgi/IE (eww) issue

2003-09-19 Thread Toby Corkindale
Just wondering if anyone can answer a simple problem i've hit.. I have a cgi script (lets call it test.cgi) that does some work and then redirects the browser to the same named file, only with a .xml extension. ie. test.cgi redirects to test.xml Seems trivial enough. it's just a print Location:

Re: Stupid fucking antivirus software

2003-09-02 Thread Toby Corkindale
On Sun, Aug 31, 2003 at 05:50:00PM +0100, Adrian Howard wrote: Tell me about it, just cleared eight of those out of the list's admin queue. 426 since Friday 5pm. That's just the anti-virus bounces. I've given up counting the fardling virus posts. Something around 5000 here, and that's

Re: DOS/WIN archivers of the mid 1990s

2003-09-02 Thread Toby Corkindale
On Tue, Sep 02, 2003 at 10:09:16AM +0100, Roger Burton West wrote: JAR was available in 1996 or so, I think. I still have copies of most of the archivers and compressors I was playing with in those days... anyone remember UC2? HA? SAR? ACB? I remember (and used) UC2 and, I think, HA.. What

XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 meta name=author content=Toby Corkindale/ /vxml I am using XML::LibXML, like so: use strict; use warnings; use XML::LibXML; our $parser = new XML::LibXML; my $filename = 'example.xml'; my $xml = $parser-parse_file($filename) or die(parse xml

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
On Tue, Aug 26, 2003 at 11:06:37AM -0500, Nigel Hamilton wrote: Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 mynamespace:meta name=author content=Toby Corkindale/ /mynamespace:vxml The example I was using is actually taken from W3C's spec on VoiceXML 2.0, so I'm not going to go changing anything at the source XML level - but I do understand what

Re: [OT] SQL woes

2003-08-22 Thread Toby Corkindale
On Fri, Aug 22, 2003 at 09:54:22AM +0100, Andy Ford wrote: What are the advantages of PostgreSQl over mySQL The first few advantages that come to mind: It scales. :D It supports (several varieties of) transactions. It can write internally consistent backup dumps. It supports

Re: [OT] SQL woes

2003-08-22 Thread Toby Corkindale
On Fri, Aug 22, 2003 at 05:13:31PM +0100, Jason Clifford wrote: On Fri, 22 Aug 2003, Simon Wistow wrote: So, to sum up this thread : 1. PostGres has some advantages 2. MySql has some advantages 3. Oracle has some advantages 4. SQLite has some advantages 5. All of the above have

Re: [OT] SQL woes

2003-08-22 Thread Toby Corkindale
On Fri, Aug 22, 2003 at 02:59:14PM +0100, Roger Burton West wrote: On Fri, Aug 22, 2003 at 06:45:21AM -0700, Randal L. Schwartz wrote: In conclusion, if you want a speedy ACID-compliant enforced-business-rules database with full SQL support (not a subset), PostgreSQL wins, and MySQL is still

Re: [OT] SQL woes

2003-08-21 Thread Toby Corkindale
On Sun, Aug 17, 2003 at 06:03:13PM +0100, Paul Makepeace wrote: On Sun, Aug 17, 2003 at 09:51:13AM -0700, Randal L. Schwartz wrote: (And people who use MySQL wonder what the value of subselects are! :) Subselects are in MySQL 4.1 (currently alpha).

Re: Eurocracy sucks.

2003-07-17 Thread Toby Corkindale
On Mon, Jul 14, 2003 at 03:50:41PM +0100, Earle Martin wrote: Some of you may have heard this from me, some not My wife, who is not from within the EU, requires a Schengen Visa[0] to come with me to YAPC::EU. So, I just called the French consulate's visa appointment booking line (which

[OT] room available in Islington

2003-07-10 Thread Toby Corkindale
Hi, We have a vacant room in Islington. Rent is £320/month, exclusive of bills, etc. For an extra £6/month, you also get access to the 2MBit ADSL link, which is really quite nice. (Has a static IP and everything) It's in a brilliant area for transport - there are five different busses which go

Re: Neural nets

2003-07-08 Thread Toby Corkindale
On Mon, Jul 07, 2003 at 03:19:46PM +0100, Andy Wardley wrote: Toby Corkindale wrote: I'm not convinced Perl is the best language to implement such things. Why not? Performance concerns or something else? My experience has been that perl stops performing adequately once you're trying to do

xslt perl functions

2003-07-08 Thread Toby Corkindale
Hi, any XML::LibXSLT gurus able to help out here? I have a XSL template that converts XML to XHTML via the XML::LibXSLT module. So far, fine. I want to be able to use special tags in the XML to signal the XSLT processor to call out to registered perl functions. This works, too, as per the

Re: xslt perl functions

2003-07-08 Thread Toby Corkindale
On Tue, Jul 08, 2003 at 05:39:56PM +0200, Elizabeth Mattijsen wrote: At 08:27 -0700 7/8/03, Toby Corkindale wrote: On Tue, Jul 08, 2003 at 05:15:11PM +0200, Elizabeth Mattijsen wrote: Which version of XML::LibXSLT are you using? If it's CPAN's version 1.54, then you'll need to remove

Re: xslt perl functions

2003-07-08 Thread Toby Corkindale
On Tue, Jul 08, 2003 at 06:16:05PM +0200, Robin Berjon wrote: Toby Corkindale wrote: That's exactly what I do, but then: return incref( $xml-findnodes( '/foo' ) ); the random binary data has gone away - but nothing has replaced it. Are you certain that 1) findnodes is returning

Re: Neural nets

2003-07-07 Thread Toby Corkindale
On Sat, Jul 05, 2003 at 03:33:31PM +0100, Adrian McMenamin wrote: I see various modules at CPAN and I wonder if anyone has any experience using them and would like to comment? Neural nets in general, yes; Perl versions, no. I'm not convinced Perl is the best language to implement such things.

Re: FreeTDS DBD::Sybase Netcool

2003-07-04 Thread Toby Corkindale
On Fri, Jul 04, 2003 at 12:45:21PM +, Andy Ford wrote: Anyone had any experience with FreeTDS DBD::Sybase Netcool? I use FreeTDS DBD::Sybase at work to talk to a MS SQL Server - works fine. (Although i do feel a bit dirty afterwards) Haven't used netcool though. What's up? Toby --

Re: XML::LibXML::Common encodeToUTF8() annoyances

2003-07-01 Thread Toby Corkindale
On Thu, Jun 26, 2003 at 12:35:42AM +0100, Andrew Wilson wrote: On Wed, Jun 25, 2003 at 11:00:54AM -0700, Toby Corkindale wrote: Gah! my head-wall; Your head has a wall method! What does it do? hurt...

Re: UK Money, again

2003-07-01 Thread Toby Corkindale
On Thu, Jun 26, 2003 at 03:31:31PM +, the hatter wrote: Another obscure but official unit which I occassionally use in the correct context is a jiffy, as in just a jiffy, which is actually 1/50th (or occassionally 1/60th of a second depending on what video standard you're using) Hmm..

Re: UK Moneyngton, again

2003-07-01 Thread Toby Corkindale
On Thu, Jun 26, 2003 at 07:43:14PM +0100, David Cantrell wrote: For shame, Mr. Devers! Oh, for shame! The Manchurian Gambit of 1978 has been considered obsolete since 1981, after Lt. Col. Charles Monkfish (rtd.) demonstrated that no feathers could exist at King's Cross station without being

XML::LibXML::Common encodeToUTF8() annoyances

2003-06-25 Thread Toby Corkindale
OK, this is annoying. Code is this: #!/usr/bin/perl use warnings; use strict; use XML::LibXML::Common; my $string = 'This is a test!'; my $decoded = XML::LibXML::Common-encodeToUTF8( 'iso-8859-15', $string ); print Before: $string\nAfter: $decoded\n; However, I get this error printed to

Re: DBD::Pg - insert_id

2003-06-25 Thread Toby Corkindale
On Wed, Jun 25, 2003 at 06:13:27PM +0100, Mark Morgan wrote: Not sure if postgres is similar to oracle, in this respect, but in Oracle, it's illegal to do a currval call until nextval has been called at least once on a sequence. Something that may come to bite you... That is the case; I'm

Re: XML::LibXML::Common encodeToUTF8() annoyances

2003-06-25 Thread Toby Corkindale
On Wed, Jun 25, 2003 at 07:08:42PM +0200, Robin Berjon wrote: You're using it as a method call when in fact it is a function :) You should either: my $decoded = XML::LibXML::Common::encodeToUTF8( 'iso-8859-15', $string ); or use XML::LibXML::Common (:encoding); my $decoded =

Re: DBD::Pg - insert_id

2003-06-23 Thread Toby Corkindale
On Fri, Jun 20, 2003 at 10:53:47AM +0100, Chisel Wright wrote: One piece of functionality I can't find in the postgres database interface is the equivalent of: $sth-{'mysql_insertid'} It would just be really nice to be able to do something like: $sql = q[INSERT INTO foo (foofield1)

Re: SQL standards

2003-06-23 Thread Toby Corkindale
On Sat, Jun 21, 2003 at 10:03:45AM +0100, [EMAIL PROTECTED] wrote: Here's a link to the SQL 92 BNF http://www.contrib.andrew.cmu.edu/~shadow/sql/sql2bnf.aug92.txt Although I believe PostgreSQL claims SQL99 compatibility in most places? (dunno how that affects stuff from SQL92) tjc

XSLT processor recommendations

2003-06-23 Thread Toby Corkindale
Hiya, Given XALAN java, XALAN C++, GNOME libXSLT, and Pure Perl XSLT, which would you choose to work with from Perl, and why? tjc -- Turning and turning in the widening gyre The falcon cannot hear the falconer; Things fall apart, the centre cannot hold; Mere anarchy is loosed upon the world.

Re: DBD::Pg - insert_id

2003-06-23 Thread Toby Corkindale
On Mon, Jun 23, 2003 at 05:16:51PM +0100, Dominic Mitchell wrote: Note that this is quite safe and the value returned is the current value for YOUR session only; so no need to worry about someone else inserting something or other such race conditions. :) Doesn't that depend on whether you're

Re: XSLT processor recommendations

2003-06-23 Thread Toby Corkindale
On Mon, Jun 23, 2003 at 06:11:33PM +0200, Robin Berjon wrote: Toby Corkindale wrote: Given XALAN java, XALAN C++, GNOME libXSLT, and Pure Perl XSLT, which would you choose to work with from Perl, and why? Xalan Java is slow, and to use it from Perl would require shelling out or bridgin

Re: DBD::Pg, bytea, nulls

2003-06-16 Thread Toby Corkindale
On Sun, Jun 15, 2003 at 07:06:32PM +0100, Kate L Pugh wrote: The postgres docs at http://www.postgresql.org/docs/view.php?version=7.3idoc=1file=datatype-binary.html tell me that nulls (\0) need to be escaped when used as part of a string literal. DBD::Pg seems not to escape them for

Re: 501 Not Implemented

2003-06-16 Thread Toby Corkindale
On Mon, Jun 16, 2003 at 11:32:13AM +0100, Ben wrote: Now, I know that a 501 SHOULD contain a response body, but that's kind-of not relevant. What I want to know is what server conditions could cause it to think that a 501 is an appropriate thing to send back. Are you able to access the CGI

[OT] hardware for sale

2003-06-13 Thread Toby Corkindale
Umm. I've come across a Mac Quadra 750. (Or was it 650?) Does anyone want it? Comes with a SCSI HDD and CDROM and so forth. Somehwat more usefully, I also want to get rid of 2 nVidia GeForce 2 MX video cards. Unlike the Mac, I'm interested in getting more in return than just increased floor

Re: assimilating CPAN

2003-06-12 Thread Toby Corkindale
On Wed, Jun 11, 2003 at 04:56:20PM +0100, Nicholas Clark wrote: Arthur Bergman has joined the list of known London.pm-ers on muttley's CPAN leaderboard: http://www.thegestalt.org/simon/perl/ london.pm is now responsible for 9% of CPAN. It would be nice to get over 10%. I should

Re: The Perl Color?

2003-06-06 Thread Toby Corkindale
On Thu, Jun 05, 2003 at 08:43:48AM -0700, Joshua Keroes wrote: Perl is black. That's how it always appears when I type it. :-) Cure colourblindness by typing: :syntax on Toby. -- Turning and turning in the widening gyre The falcon cannot hear the falconer; Things fall apart, the centre

Re: international beer summit

2003-06-05 Thread Toby Corkindale
On Thu, Jun 05, 2003 at 10:22:40AM +0100, Simon Wistow wrote: On Wed, Jun 04, 2003 at 11:43:43PM -0400, Perrin Harkins said: Great! I'll be there from the 22nd through the 28th and have no plans yet. I'm going to rent an apartment with some friends in Clerkenwell. Nearest underground is

Re: Reaping process...

2003-06-03 Thread Toby Corkindale
On Tue, Jun 03, 2003 at 12:32:41PM +0100, Shevek wrote: On Tue, 3 Jun 2003, Nigel Wetters wrote: Dirk Koopman wrote: I coded a few Perl implementations of the servers from Comer Stevens [0]. The experience was extremely frustrating as performance stank and under high load zombies

Re: wget spanning hosts (or: am i going crazy?)

2003-06-02 Thread Toby Corkindale
On Sat, May 31, 2003 at 11:45:43PM +0100, David M. Wilson wrote: On Fri, May 30, 2003 at 09:19:09AM -0700, Toby Corkindale wrote: Recompiling wget with --without-ssl fixes the problem. But it still sounds like a bug. Without checking, are you getting the -m and -r options confused

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Sun, Jun 01, 2003 at 09:15:27AM -0500, Nigel Hamilton wrote: Here is the code that is trying to reap child processes: use POSIX 'WNOHANG';# see Stein's idiom p. 305 Network Programming with Perl # kill all zombie's including hanging zombies, needed for cleaning up # rogue

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Sun, Jun 01, 2003 at 03:36:38PM +0100, Alex Hudson wrote: Any ideas on how to reap subprocesses robustly? ... If I can get the processes to be reaped correctly the machine will be able to stay up ... Don't you have to reinstate the handler once it has been used? E.g.; sub reap

Re: internet world show tomorrow

2003-06-02 Thread Toby Corkindale
On Mon, Jun 02, 2003 at 09:42:57AM +, the hatter wrote: Anyone else going to be there ? Any existing plans for moungers to gather in small corners and discuss current industry trends in the key sectors, buffy and beer ? I am hiding from anything involving buffy, for fear of spoilers. I'm

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Sun, Jun 01, 2003 at 05:41:38PM -0500, Nigel Hamilton wrote: Thanks to everyone who has sent suggestions ... it's tricky ... it does appear that the forking goes out of control... despite the signal handling code even if I get this to work robustly I?m still going to look at other

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Sun, Jun 01, 2003 at 09:18:26PM +0100, Lusercop wrote: $SIG{CHLD} = 'IGNORE'; How is that even remotely the same? In the first case, you end up with no zombies, in the second case you end up with a load of them? Admittedly, if [snip] Toby, I'd have expected better from you. :-) --

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Mon, Jun 02, 2003 at 05:48:22AM -0500, Nigel Hamilton wrote: In what way are you limiting the total number of processes? I?ve just implemented a pre-forking server so it is limited to the number of pre-forked servers * 10 forks per server - this has improved things a bit. Cool..

Re: Reaping process...

2003-06-02 Thread Toby Corkindale
On Mon, Jun 02, 2003 at 11:59:22AM +0100, Alex Hudson wrote: On Mon, Jun 02, 2003 at 05:48:22AM -0500, Nigel Hamilton wrote: I suspect i get called heretical for this, but I actually prefer to use threads when it comes to these things. a) better memory efficiency b) easier and more

Re: wget spanning hosts (or: am i going crazy?)

2003-05-31 Thread Toby Corkindale
On Fri, May 30, 2003 at 09:05:42AM -0700, Toby Corkindale wrote: [snip] The only thing I can see is that i'm connecting to an HTTPS site rather than http, but still.. that's still a seperate host and shouldn't be recursed into? Should have clarified -- the initial site is HTTP, but the links

Re: Someone must have solved this one ?

2003-05-30 Thread Toby Corkindale
On Tue, May 27, 2003 at 07:44:58PM +0100, Nik Butler wrote: Heres a problem for the perl ancients among you. One of our customers ( I say our since like the Borg, ive joined a collective ) requires a regular deduplication of list information ( mostly CSV ) against a existing database

Re: [ANNOUNCE] Tim O'Reilly in London

2003-05-30 Thread Toby Corkindale
On Wed, May 28, 2003 at 10:27:57AM +0100, Mark Fowler wrote: Er, isn't the 'M' in there something to do with , cough, MySQL ... ? Sh. The 'P' is PHP. Or python. Or Perl. Or it seems these days, getting back to John's point, Postgres. I seem to be running FASP these days for ickle

Re: Dude, where's the pub?

2002-11-21 Thread Toby Corkindale
Hi all, I'll turn up at the pub tonight, and the tech meeting. I don't know anyone, but please feel free to come up and say hi to the long-haired lost-looking guy wandering around trying to guess which bunch are the PMs.. Seeya! Toby On Thu, Nov 21, 2002 at 02:07:00AM +, Kate L Pugh wrote:

Re: perl gtk2 bindings?

2002-11-19 Thread Toby Corkindale
On Tue, Nov 19, 2002 at 09:23:40AM +, Tom Insam wrote: On Mon, 2002-11-18 at 23:59, Toby Corkindale wrote: Hi, I wonder if anyone knows the state of perl bindings for gtk-2? There's an alpha release, it vaguely works. API is massively changable right now, though, seems

Re: MySQL - PostgreSQL migration

2002-11-18 Thread Toby Corkindale
On Mon, Nov 18, 2002 at 09:28:49AM -, Mark Buckle wrote: Hhhhm, I'm worried by statements like this :- How close is PostgreSQL to Oracle in terms of its SQL capabilities? It's done everything that I've expected it to. Triggers and SPs can be written in several languages with

perl gtk2 bindings?

2002-11-18 Thread Toby Corkindale
Hi, I wonder if anyone knows the state of perl bindings for gtk-2? ta, tjc

re: [JOB] I need one - results?

2002-11-17 Thread Toby Corkindale
Hi, I just wondered if we could have some feedback from the various ppl who posted to the list looking for work a while ago? Did you get any offers? I'm in a similar situation.. just moved to London recently.. hoping to find some work in a decent UNIX-orientated workplace, pref with Perl or