Re: Prevayler

2003-08-22 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Chris Devers cdevers at pobox.com [2003-08-22 11:38]: (Can ZODB [Zope Object DataBase] even work outside of Zope?) Absolultely. For example, take a look at Chandler, at www.osafoundation.org, an open source PIM that uses the ZODB as a backend.

Re: [RFC] arbitary maths evaluation

2003-08-15 Thread darren chamberlain
* Shevek shevek at anarres.org [2003-08-15 12:39]: The effective halfway house, which does produce a good but fast sandbox, is to parse the thing properly, generate a parse tree, then emit guaranteed clean Perl code from the parse tree, and eval that. This is how the Template Toolkit does it

Re: mod_rewrite

2003-07-17 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Ian Malpass ian at indecorous.com [2003-07-17 08:43]: Only it seems that I can't use variables in the regexp of a RewriteCond. Any ideas on how I can do this? Or am I stuck adding users into the .htaccess as and when they arrive? It's not a big

Re: Database Connection Conversions

2003-07-16 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Dominic Mitchell dom at semantico.com [2003-07-15 16:37]: On Tue, 15 Jul 2003 11:40:15 -0400, darren chamberlain [EMAIL PROTECTED] wrote: Take the incoming INSERT statements and proxy them to the Oracle database. A variation on DBD::Proxy

Re: Database Connection Conversions

2003-07-15 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Dave Cross dave at dave.org.uk [2003-07-15 08:37]: So what we're looking for is an application that can sit between the VB app and the Oracle database, translating the ODBC/SQL Server calls to Oracle API calls. It needs to look like an SQL Server

Re: Database Connection Conversions

2003-07-15 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Darren Chamberlain darren at boston.com [2003-07-15 11:34]: * Dave Cross dave at dave.org.uk [2003-07-15 08:37]: So what we're looking for is an application that can sit between the VB app and the Oracle database, translating the ODBC/SQL

Re: Neural nets

2003-07-07 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Luis Campos de Carvalho lechamps at terra.com.br [2003-07-07 14:59]: 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? That's

Re: OSCON

2003-07-03 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Leon Brocard acme at astray.com [2003-07-03 12:22]: Andy Wardley sent the following bits through the ether: Prolly see some of you at the airport... or on a bus... or sharing a taxi... or in the bar... or in the orange paint shop... It'll be

Re: Golf: word wrap and quote stdin

2003-04-03 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * TSchutzerWeissmann at uk.imshealth.com [2003-04-03 10:10]: I'd like to pipe text in (either with just linebreaks, or dos-style carriage return + linebreak's) and get out word-wrapped lines of not more than 80 characters prefixed with . use

Re: Golf: word wrap and quote stdin

2003-04-03 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * TSchutzerWeissmann at uk.imshealth.com [2003-04-03 10:49]: Whichever of Text::Wrap and Text::Autoformat is the smallest, I guess. In fact since this is all happening to clipboard data I can use Win32::Clipboard and dispense with the stdin part.

Re: crackfuelled idea / nntp / message boards / bl*gs / mailing lists

2003-03-28 Thread darren chamberlain
* Simon Wistow simon at thegestalt.org [2003-03-27 20:34]: Write a NNTP plugin for Siesta. Posting mail to Usenet would be easy. Attached. (The preferences stuff isn't in there, though it's obvious where to put it.) (darren) -- All journalists have a novel in them, which is where it belongs.

Re: crackfuelled idea / nntp / message boards / bl*gs / mailing lists

2003-03-28 Thread darren chamberlain
* Richard Clamp richardc at unixbeard.net [2003-03-28 16:25]: On Fri, Mar 28, 2003 at 11:35:31AM -0500, darren chamberlain wrote: * Simon Wistow simon at thegestalt.org [2003-03-27 20:34]: Write a NNTP plugin for Siesta. Posting mail to Usenet would be easy. Attached

Re: message board software

2003-03-27 Thread darren chamberlain
* Toby|Wintrmute tjc at wintrmute.net [2003-03-27 10:40]: On Thu, Mar 27, 2003 at 03:34:01PM +, Roger Burton West wrote: So write one with an interface usable over NNTP? You've lost me there. Why? Because all the problems associated with message board software (threading, redistribution

Re: message board software

2003-03-27 Thread darren chamberlain
* Chris Devers [EMAIL PROTECTED] [2003-03-27 13:29]: On Thu, 27 Mar 2003, Toby|Wintrmute wrote: I need to setup a message board / forum thing, and I want something that runs on Perl/DBI(::Pg) or Perl/Pg .. (or just a simple dirs+textfiles backend) I haven't heard of it being applied

Re: How do you change colour of text output?

2003-03-21 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Phil Pereira freeserver at wintellect.co.uk [2003-03-21 15:20]: The default output of my Perl scripts is to the screen, however, what I want to do is change the output colour of the text as often / necessary as I require. So - what command???

Re: Capturing local machine's IP address in bash

2003-03-18 Thread darren chamberlain
* Jon Reades jreades at fulcrumanalytics.com [2003-03-18 12:15]: Does anyone have suggestions for where/how I could obtain this information? It's not bash, but it will work: perl -MSys::Hostname -MSocket -e 'print inet_ntoa inet_aton hostname' (darren) -- Whatever is done for love is

Re: XML::Parser - using object methods as handlers

2003-03-07 Thread darren chamberlain
* Rhys Hopkins rhysh at aerotech-eu.net [2003-03-07 12:00]: In my reference book (Perl XML by Ray McIntosh) it clearly states that one can use object methods as handlers to avoid this global variable scenario. However, the book and the XML::Parser manpage fail to give specific examples as to

Re: TT type question (well maybe not)

2003-03-06 Thread darren chamberlain
* Andy Williams (IMAP HILLWAY) andy.williams at hillway.com [2003-03-06 09:05]: I've got a text file that contains a whole load of TT tags. What I need to do is get all of these tags into an array. [-- snip --] I have read the file into a scalar variable (hey, I can so the easy bit :), but

Re: TT type question (well maybe not)

2003-03-06 Thread darren chamberlain
* Andy Williams (IMAP HILLWAY) andy.williams at hillway.com [2003-03-06 10:12]: Actually went for a combination of all the above so as not to offend anyone :) my @array = map { $_ =~ m/\[\%\s+(\S+)\s+\%\]/g } $copy; Which seems to work. ...Until you do something like: [% IF foo;

Re: Microptomisation games

2003-02-28 Thread darren chamberlain
* Mark Fowler mark at twoshortplanks.com [2003-02-28 06:49]: I tend to use this style, maily because it allows me to write comments next to each of the things I'm shifting off: sub add { my $left = shift; # this/self my $right = shift; # the other obeject my $rev = shift; #

Re: spamassassin

2003-02-28 Thread darren chamberlain
* David Cantrell david at cantrell.org.uk [2003-02-28 13:27]: Better would be to have the procmail recipe that fires off spamc first check that spamd is running and start it if necessary, methinks. Urgh, shell programming is nasty enough at the best of times, but mix it with procmail and

Re: Infinity?

2003-02-28 Thread darren chamberlain
* Chris Devers cdevers at boston.com [2003-02-28 13:05]: Hence, something like: while (1) { # code here sleep; } Or more idiomatic equivalent. Uh... $ perldoc -f sleep sleep EXPR sleep Causes the script to sleep for EXPR seconds, or

Re: Frontier::RPC2 and german!

2003-02-20 Thread darren chamberlain
* Toby|Wintrmute tjc at wintrmute.net [2003-02-20 12:17]: Just looking for advice - what is the best way to insert accent characters when you don't have a european keyboard? (ie. assuming i'm just using vim with a standard US or UK keyboard) Try: help digraphs (darren) -- My one regret

Re: [OT ish] Piping to a file.

2002-12-13 Thread darren chamberlain
* Simon Wilcox [EMAIL PROTECTED] [2002-12-13 08:53]: What unix command can I use that will take it's input and write it out to a file. tee. $result = open SENDMAIL, | tee myfile | $command; (darren) -- How is it possible to find meaning in a finite world, given my waist and shirt size?

Re: Collapsing paths

2002-12-13 Thread darren chamberlain
* Simon Wilcox [EMAIL PROTECTED] [2002-12-12 15:02]: Seems to work on the test cases I can think of and it should be portable too. Not sure if the die is too harsh, maybe it should return undef. My File::Spec version (I wrote this about a year ago, and it seems to work acceptably) looks like:

Re: central installation of Perl

2002-12-10 Thread darren chamberlain
* Gabor Szabo [EMAIL PROTECTED] [2002-12-10 06:43]: Then of course we found out that we have machines with older glibc that won't run our compiled perl. Upgrading linux is out of question, these have to have the old glibc. What is your suggestion ? Have you considered creating a build

Re: applying patterns

2002-10-09 Thread darren chamberlain
* Adam Spiers [EMAIL PROTECTED] [2002-10-09 17:47]: Simon Wistow ([EMAIL PROTECTED]) wrote: Some examples. You want to remove the duplicates from a list. I always use : @nodups = keys %{{ map { $_ = 1 } @dups }}; IIRC the cookbook one is: @nodups = grep ! $h{$_}++, @dups; I use