Re: Payment Providers

2009-10-03 Thread paul
  BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
 5. Established, tested cpan modules for dealing with them
 I only know of  Business::PayPal::API in CPAN which seems to work
ok. The downside is that its PayPal :)
 My initial inclinations were the big guns like Datacash and
Paypoint,  
 but of some concern was datacash's website being hosted on IIS, and 

 the fact that neither of them have modules on cpan (and frankly, the
 
 perl examples for datacash were more than a little embarrassing for 

 them).
 So, recommendations? Horror Stories? Legal guidance?
 --James
  I've not seen a good implementation/example in perl from any
payment provider. And yes, the datacash examples are awful.
 Anywhere I've worked we've rolled our own. Since most providers use
SOAP or key values via HTTPS it is not that much work to do a perl
implementation.
 As for which provider I'd use I have no idea, I guess the one that
gives you the best deal. Technically they all seem to have their good
and bad points.
 Paul.
 


Parking At BBC White City

2010-03-16 Thread Paul

For Thursday's meet, how is parking there?

--

.


Re: Parking At BBC White City

2010-03-17 Thread Paul

On Wed, Mar 17, 2010 at 06:12:18PM +0800, Dave Hodgkinson wrote:

But yes, the traffic will be appalling at that time.


Is there a way to delete other vehicles from the roads?

--

.


Re: [ANNOUNCE] London Perl Mongers April social

2010-03-18 Thread Paul

On Thu, Mar 18, 2010 at 12:03:48PM +, Edmund von der Burg wrote:

It seems only fair to warn people unfamiliar with London.pm that this
is an April's fool joke. No doubt if you showed up the pub would be
lovely but probably also empty.


But, if everybody but Dave did turn up, who would be the April Fool then?

--

.


Re: Fwd: Perl 5.12.0-RC1 now available

2010-03-30 Thread Paul

On Tue, Mar 30, 2010 at 03:42:46PM +0100, Léon Brocard wrote:

Please test this release candidate for 5.12.0 with your internal code
to make sure that we haven't broken anything important without
realising.


A list of current issues: http://rt.perl.org/rt3/Public/
Where to post new bugs: http://rt.perl.org/perlbug/

Is that right?

--

.


Re: [OT] Testing a web application

2010-04-08 Thread Paul

On Thu, Apr 08, 2010 at 04:55:34PM +0100, Andrew Black wrote:

A colleague has asked me for pointers to how to test a web application.
I haven given much thought to hwat is involved but pointers to
appropriate harnesses would be useful.

It is written in JSP/ Java using a homebrew framework (don't ask). It
has some Javascript but I would regard it as dynamic AJAXy stuff.


Have a look at Test::WWW::Mechanize. It won't handle javascript, though.

--

.


Re: Expected Config File Locations

2011-09-02 Thread Paul

On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:

Hi. I'm looking for some advice on where I should put the config file
for a command I'm distributing on Cpan. Where would you it to be? I'm
interested in opinions of Windows, Mac, and Unix users, for both
per-user and system-wide config.


Some standards already exist that might help your decision.

Particularly for user configuration files:

The FHS says it should be ~/.bang[/]: 
http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#REQUIREMENTS4A

However, the Freedesktop spec. says ~/.config/bang[/]: 
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables

For system-wide configuration files, I'd want to see anything that isn't part 
of my distribution in /usr/local, ie. /usr/local/etc/bang[/], but I'd expect it 
to be put into /etc, just because a lot of software does that.

Personally, I prefer ~/.config/bang[/] and /usr/local/etc/bang[/].

This is of course unless the user doesn't specify their own place at some point.


 But I'd be surprised to find /usr/local/etc/ being used on Linux.


On Linux, I already have user-installed packages that use this by default, and 
a load of things that use ~/.config/.

--

.


Re: Emacs as a perl IDE

2012-01-26 Thread Paul

On Wednesday, 25 January, 2012 at 22:17:11 GMT, Dave Hodgkinson wrote:

Dave suggested Padre, comments on features and stuff welcome.


I'd love to be able to use vim with it.

--

.


Re: The proper way to open()

2012-02-01 Thread Paul

On Monday, 30 January, 2012 at 16:49:45 GMT, Abigail wrote:

die "Bad config file $cfg" unless open my $ih, "<", $cfg;


The most important bit is the open, not the die, so it's better to have 'open 
or die' instead of 'die or open', IMHO.

--

.


Re: [ANNOUNCE] London Perl Mongers Technical Meeting 2012-04-11

2012-02-28 Thread Paul

On Thursday, 23 February, 2012 at 14:27:17 GMT, L?on Brocard wrote:

Damian will be presenting:


[...snipped a load of garbage...]

What is this meeting actually about?

--

.


Re: [ANNOUNCE] London Perl Mongers Technical Meeting 2012-04-11

2012-02-29 Thread Paul

There are a number of us who live in the home counties, so getting into London requires a 
bit of planning and is quite a hassle. I have seen Damian talk before, and while he is 
interesting, I'd just like to know beforehand how much I would find "directly useful 
in my day to day work". Thanks.

--

.


Re: Recommended IDE...?

2014-01-17 Thread Paul Makepeace
On Fri, Jan 17, 2014 at 4:27 AM, Dave Cross  wrote:
>
> Every few years I try installing Eclipse and EPIC and then look on appalled 
> as my machine grinds to a halt.

Trade in your gold cat for a computer with an SSD drive. It's night &
day with Eclipse.

I'd second JetBrains' products; their support is really good too and
they have a very accessible bug tracker. No Perl IDE yet but there's a
lot of desire for one,

http://plugins.jetbrains.com/wishlist/show?pr=&wid=368 and
http://youtrack.jetbrains.com/issue/IDEABKL-6838

http://stackoverflow.com/questions/537078/is-there-a-perl-plugin-for-intellij
has info on writing a plugin for IntelliJ (the core IDE)

Paul


Re: Recommended IDE...?

2014-01-17 Thread Paul Makepeace
On Fri, Jan 17, 2014 at 8:27 AM, Kent Fredric  wrote:
> I'm curious what the definition of "Integrated" means in this context.

Think of it as "already integrated" :)

Sure you could make your editor do stuff like an IDE but the IDE
*already does it*.

The scripting IDEs from JetBrains do dynamic code parsing and it's
good enough to appear to be black magic.

The rest of your answer and several others in this thread (not to be
combative) is pretty much the I'm Not Familiar With IDEs So I'm Going
To Be Dismissive of Them and Rationalize Why They Suck Anti-Pattern.
This is an anti-pattern because the OP asked for IDE recommendations
not for any existential commentary.

Paul


Re: Recommended IDE...?

2014-01-19 Thread Paul Makepeace
On Sat, Jan 18, 2014 at 8:39 AM, Peter Corlett  wrote:
> On Fri, Jan 17, 2014 at 10:18:14AM -, Andrew wrote:
>> Looking to try using an Integrated Development Environment.
>
> Why? What problem are you having that you expect an IDE to solve?

He wants to *try* it.

> The features I find most compelling in IDEs is background parsing to
> immediately spot syntax errors and be able to auto-complete or otherwise spot
> typoes or confusion about what type a method returns. However, this only 
> really
> works with statically-typed compiled languages such as Java. Perl is very much
> the antithesis of Java and you don't really get these benefits.

Yes you do. It's 2014; parsing dynamic languages in IDEs is largely
solved. Any difficulty in finding such a thing for Perl is more a
reflection of Perl's status as a language in 2014 than any intrinsic
technical difficulty.

> They also provide various hot keys and shortcuts to perform test compiles, VCS
> integration and whatnot, but that's really only of marginal benefit.

Says you. Maybe the OP would like to *try* it and not have someone
second guess their own motivations & preferences? Maybe they've read
something like http://www.jetbrains.com/ruby/features/ and thought
wouldn't they like that for perl?

These "oh but emacs/vi/nano is great!" responses are really irrelevant.

Paul


Re: Main general Perl mailing list

2014-02-12 Thread Paul Makepeace
On Wed, Feb 12, 2014 at 9:17 AM, Dave Hodgkinson  wrote:
> ...or the IRC channels for the thing you're having problems with.

Some people, when confronted with a problem, think "I know, I'll ask
on IRC."  Now they have two problems.

:)


RE: smutty british expression?

2014-02-13 Thread Paul Weaver
> Ford slapped a five-pound note on the bar. He said, "Keep the change."
> "What, from a fiver? Thank you sir."

In the film they used a £50 note. Of course in the real world anyone paying for 
beer with a £50 note, especially saying keep the change, would quickly be 
assumed to be passing on fake notes.

-
http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and 
may contain personal views which are not the views of the BBC unless 
specifically stated.
If you have received it in 
error, please delete it from your system.
Do not use, copy or disclose the 
information in any way nor act in reliance on it and notify the sender 
immediately.
Please note that the BBC monitors e-mails 
sent or received.
Further communication will signify your consent to 
this.
-


Re: sub signatures coming

2014-02-24 Thread Paul Makepeace
On Mon, Feb 24, 2014 at 2:04 PM, Steve Mynott  wrote:
> http://perltricks.com/article/72/2014/2/24/Perl-levels-up-with-native-subroutine-signatures

Finally. But don't believe the python/perl comparison troll, as
python, for once, actually outguns perl on a character chomping basis,

sub pairwise_sum ($arg1, $arg2) {
return map { $arg1->[$_] + $arg2->[$_] } 0 .. $#$arg1;
}

def pairwise_sum(list1, list2):
return [i + j for i, j in zip(list1, list2)]

Paul


Re: sub signatures coming

2014-02-25 Thread Paul Makepeace
On Feb 25, 2014 7:16 AM, "James Laver"  wrote:
>
>
> On 25 Feb 2014, at 11:31, Matt Lawrence  wrote:
>
> > On 25/02/14 11:18, James Laver wrote:
> >>
> >> But I probably already have List::MoreUtils imported (because Perl).
> >>
> >> sub pairwise_sum ($a1, $a2) {
> >>   zip @$a1, @$a2;
> >> }
> >>
> >> And lets ignore the fact that the perl version that was used in the
article was buggy. If $arg2 is shorter than $arg1 it breaks. zip's supposed
defined behaviour is to stop when either list runs out of elements.
> >
> > Whereas this one is buggy because it doesn't actually do what it says
on the tin. Where's the summation?
> >
> > Matt
>
> Ah yes. I'd just woken up.
>
> sub pairwise_sum($a2,$a2) {
>   map {shift($_)+shift($_)} (zip @$a1, @$a2);
> }

You aren't making a good case for perl here :)

>
> James


Re: tablets for parents

2014-03-02 Thread Paul Makepeace
On Sun, Mar 2, 2014 at 1:37 PM, Martin A. Brooks  wrote:
>
> I don't think I would recommend trying to videoconference over a 3G 
> connection.  Not as anything other than a one-off emergency thing, anyway.


Works fine in my experience in the US, which on balance has a shittier
phone network than any other first world country I've visited. YMMV
etc

Paul


Re: XP-Replacement for Parents

2014-03-27 Thread Paul Johnson
On Thu, Mar 27, 2014 at 11:48:57AM +, Smylers wrote:

> • Newer Windows:  Would the latest Windows run on her hardware? Even if
>   it did, would it run her several-years-old version of WordPerfect?

>   Or would a newer-than-XP-but-not-the-most-recent version of Windows be
>   better? In which case, is it still possible to buy such a version? And
>   how long till the same question crops up again with that?

Another question to consider is whether the scanner would work with a
newer version of Windows.  I have a perfectly good HP Scanjet 5370C for
which there are no drivers available after XP.  (I believe there is a
commercial program which work on Windows 7.)  It works fine with Ubuntu
though.  So do check that if you are considering a Windows upgrade.

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net


Re: XP-Replacement for Parents

2014-03-28 Thread Paul Makepeace
On Fri, Mar 28, 2014 at 2:55 AM, david  wrote:
>
> Thread drifting for a moment, do folks have any recommendations for where to 
> buy reasonably priced, legal Win 7 licenses ? I really should upgrade my 
> compatability platform...

The trick is to go for the "OEM" license. This is cheaper because
you're opting not to hassle MS for support.

http://www.newegg.com/Product/Product.aspx?Item=N82E16832116986

Paul


Re: Finding the intersection between two regexes

2014-04-22 Thread Paul Makepeace
On Tue, Apr 22, 2014 at 4:16 AM, David Cantrell  wrote:
> On Sun, Apr 20, 2014 at 10:14:48PM -0400, Mark Fowler wrote:
>> On Sunday, April 20, 2014, David Cantrell  wrote:
>> > Can anyone point me at some code on the CPAN that, given two regexes,
>> > can figure out whether there are any bits of text that will be matched
>> > by both?
>> I'm not sure I understand the question here, or moreover why you want to do
>> this..is it just an intellectual exercise?
>
> I do actually have a use for it, which would help to explain the
> question.
>
> A large part of Number::Phone is based on data in google's
> libphonenumber project. That has, for most countries, regular
> expressions that match valid fixed lines and valid mobiles. For some
> countries those two regexes can both match some of the same numbers.
> Here's the data:
>   http://goo.gl/hTBAhZ
>
> If you look at the data for Barbados, they have for fixed lines:
>   246[2-9]\d{6}
>
> and for mobiles:
>   246(?:(?:2[346]|45|82)\d|25[0-4])\d{4}

I'd go out on a limb and say that the complete list of overlapping
situations all share a /^prefix/ like this. (This doesn't necessarily
help you since you'd have to exhaustively falsify it but if you're
going for the quick win I bet just looking for prefixes gets you
most/all of the way.)

> then some strings will match both expressions - 246230, for example.
> But if you look at the data for Jamaica there are no strings that match
> both regexes.
>
> At the moment I detect these overlaps (and then throw the regexes away
> as being unfit for my purpose) by just going through each country's
> number space. This is practical for NANP countries as I can do it
> all with only about a million comparisons in the worst possible case. It
> would be impractical to apply this to the whole world though.

If your goal is to simply identify overlaps rather than generate
encompassing regexes, you could try attacking it with
intelligently/heuristically generated random numbers.

Paul

>
> --
> David Cantrell | Bourgeois reactionary pig


Re: Deploying perl code

2014-07-24 Thread Paul Makepeace
On Thu, Jul 24, 2014 at 2:06 PM, James Laver  wrote:
>
> Then I’ll double down on my capistrano/tak recommendation.

capistrano is a (the?) winner for sure.

Paul



Re: Deploying perl code

2014-07-24 Thread Paul Makepeace
On Thu, Jul 24, 2014 at 2:47 PM, Schmoo  wrote:
> On 24 July 2014 22:31, Paul Makepeace  wrote:
>> On Thu, Jul 24, 2014 at 2:06 PM, James Laver  wrote:
>>>
>>> Then I’ll double down on my capistrano/tak recommendation.
>>
>> capistrano is a (the?) winner for sure.
>
> Why do these new fangled things all have such off-putting names?
>

I'm sure the Italians have a similar opinion of Huddersfield.



Re: Deploying perl code

2014-07-28 Thread Paul Johnson
On Mon, Jul 28, 2014 at 07:51:12PM +0100, Robert Rothenberg wrote:
> On Thu, Jul 24, 2014 at 4:25 PM, David Cantrell 
> wrote:
> 
> > I'm looking for tools that will make it easy to go from a bunch of code
> > in a release branch on github to an updated bunch of servers, with
> > minimal downtime. If it matters we're using Debian.
> 
> At $previous, we deployed (mainly bespoke) Catalyst apps using the
> following toolchain at a small shop:

If I were designing an environment from scratch I would take a serious
look at docker.  I've been using it recently for cpancover.com and,
whilst it still has some rough edges, I really like the concept of
compartmentalising functionality.  It's probably not the whole solution
(and in this case in particular it may not be any part of the solution)
but I predict a strong future for docker. (Ha! What do I know?)

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net


Re: Regex to match odd numbers

2014-08-22 Thread Paul Makepeace
$thread->resurrect();


On Tue, May 27, 2014 at 12:37 PM, Mark Fowler  wrote:
>
> On Tuesday, May 27, 2014, Sam Kington  wrote:
> >
> > Sounds like you want something like
> >
> > / ( ^ 5[.] ( [79] | \d+ [13579] ) ) /x
> >
>
> This is where I mention that \d matches characters other than [0-9] unless
> you have the /a flag in effect (thanks Unicode!)

Does anyone have any concrete examples where the locale affecting
meaning/matching of \d causes real problems?

I'm assuming the worst case is it matches too much, e.g. picks up
spurious Chinese numerals, which seems like a wildly improbable edge
case for most datasets+patterns. Presumably there isn't a situation
where \d _doesn't_ match [0-9] at least? In other words [0-9] is a
subset of \d for all locales.

$ export LC_CTYPE=zh_CN.utf-8
$ perl -Mlocale -Mutf8 -le 'print "一" =~ /\d/'  # 1

Doesn't print 1 - why?

$ export LC_CTYPE=zh_CN.utf-8
$ perl -Mlocale -Mutf8 -le 'print "三" =~ /[一-六]/'  # 3 in 1-6? Yes
1
$ export LC_CTYPE=en_US.utf-8
$ perl -Mlocale -Mutf8 -le 'print "三" =~ /[一-六]/'
1

Why is it still 1? OS X with Perl 5.16.2

Paul



Re: Getting the "latest" related record from a SQL DB

2014-10-09 Thread Paul Makepeace
Why not include a sub-select like,

 ... where album.published = (select max(album.published) from album
join artist on album.artist_id = artist.id) ...

Paul

On Thu, Oct 9, 2014 at 5:28 AM, Andrew Beverley  wrote:
> Hi guys,
>
> I'm after some best-practice advice regarding SQL database design.
>
> I have a table (say "artist", couldn't resist...) that has a one-to-many
> relationship to another table (say "album"). The album table has a field
> which references the artist table's ID. So one artist can have many
> albums.
>
> So, if I want to know all of an artist's albums, that's easy.
>
> But what if I want to fetch an artist's details and his latest album? I
> can select the artist from the artists table and then join the albums
> table. But to get the latest album I'd have to use a max function (say
> on the album's date), with which it isn't possible to get the related
> fields in the same row.
>
> I see 2 ways of solving this:
>
> - Run multiple queries to get the relevant album's ID (if even possible)
> and then retrieve its row in entirety.
>
> - Have a reference from the artist table back to the album table,
> specifying which is the latest album, which I update each time the
> albums table is updated.
>
> Neither seem particularly tidy to me, so am I missing something
> completely obvious?
>
> Thanks,
>
> Andy
>
>


Re: Barbie and Perl

2014-11-19 Thread Paul Makepeace
Amusing rewrite:
http://caseyfiesler.com/2014/11/18/barbie-remixed-i-really-can-be-a-computer-engineer/

On Wednesday, November 19, 2014, Guinevere Nell 
wrote:

> Hi London.pm (ers)
>
> Having just got a reminder from perl's Barbie about LPW, it occured to me
> that I could share not-perl's Barbie's atrocious book about what it means
> for a girl to think about going into computery stuff ~ a girl computer
> engineer ?? ... Don't worry, she'll let the boys do all the hard stuff...
>
> Since I know the perl community would like to welcome the femalier sex into
> its folds (let's not imagine folds of fat, please), I thought you all might
> be interested:
>
> http://gizmodo.com/barbie-f-cks-it-up-again-1660326671
>
> What an amazing role model for girls, huh?
>
> Cheers,
>
> Guinevere
>
> p.s. please feel free to share with the rest of the perl community and
> brainstorm about possible open-source / public domain solutions to this
> rubbish ...
>
>
> --
> http://economicliberty.net/
>


Re: current MMA booking list

2002-02-15 Thread Paul Makepeace

On Fri, Feb 15, 2002 at 02:32:00PM +, Greg McCarroll wrote:
> * Greg McCarroll ([EMAIL PROTECTED]) wrote:
> 
> sorry for list spam, but this is going to continue until monday when i
> talk to CSM, finish everything up and get Y::E to update their accom
> page

Why not put it on a web page and people can grab a refresh when they're
interested in it?

P




[ANNOUNCE] Next social: Return to the Yorke

2002-02-15 Thread Paul Mison

Once again our excellent Person Who Speaks To People On Phones, Kake,
has rung up the Cittie of Yorke about the next social on March 7th. She
spoke to the manager who said, roughly;

* Usually booking the room is free if you spend more than 500 ukp;
  they take a 100 ukp deposit which isn't refunded if they don't
  take enough.
* They didn't do this last time because there were two bookings;
* They're happy for us to rent the entire bar, with no deposit;
* Unofficially, they may be happy with a 350 ukp take;
* If we don't get enough people we'd have to allow them to open the
  rest of the cellar bar to other people.
* Specifically, they want 20-ish people by about 7pm.

Provisionally we've booked the entire cellar bar, but last time we only
just filled our section. It might be more politic to only take the half
we took last time, since that would allow us to get by bringing in less
revenue, and they wouldn't have to work around us so much.

Does anyone have any strong opinions on this either way? My preference,
for what it's worth, is to book only half.

-- 
:: paul
:: the future has been and gone





Re: Bolloxia

2002-02-18 Thread Paul Mison

On Mon, Feb 18, 2002 at 09:05:49AM +, Greg McCarroll wrote:
> * Simon Wistow ([EMAIL PROTECTED]) wrote:
> > 
> > symbian
>
> this name wasn't choosen at random, it comes from symbiosis,
> i.e. living together for mutual benefit. which reflects exactly what
> the company is about, at least in the eyes of its owners,
> Ericsson/Sony/Sony Ericsson, Nokia, Matsushita, Motorola and Psion.

But then surely Consignia would argue that their name was chosen from
the same roots as 'consign', "to give over to another for safekeeping or
the delivery to an address", which is one of the central roles of the
Royal Mail, I'd have hoped.

Generally these names, stupid as they sound, do have some relevance. I
think it's the 'we can make this a trademark by the addition of extra
letters' trick- of which Symbian is as guilty as Consignia- which pisses
people off.

Mind you, I'm with Simon on syzygy. A rather obscure astronomical term
doesn't seem to have any resonance with their business; I'm fairly
certain it was chosen because it 'looks cool'.

-- 
:: paul
:: the future has been and gone




Re: Bolloxia

2002-02-18 Thread Paul Mison

On Mon, Feb 18, 2002 at 11:12:39AM +, Jonathan Stowe wrote:
> On Mon, 18 Feb 2002, Paul Mison wrote:
> >
> > Generally these names, stupid as they sound, do have some relevance.
> 
> What about Accenture then ?

OK, fair enough, that one's got me. Although maybe they 'highlight' or
'accent' the strengths of their clients? Eeuw. I feel dirty.

otoh, maybe I should get into this naming game. After all, Gravel was my
fault, and I came up with something for a next gen infobot the other
day... although I've forgotten it since, and actually, Celia's name
might have been better.

-- 
:: paul
:: the future has been and gone




Re: Bolloxia

2002-02-18 Thread Paul Makepeace

On Mon, Feb 18, 2002 at 01:37:17PM +, Simon Wistow wrote:
> That's just an indication of ignorance. See also Pret a Porter -> Ready
> to Wear.

Porter means primarily to carry, so "ready to go". The wear meaning is,
AFAIK, a related sense of carry.

> It's dumbing down. How are people going to learn if you always dumb
> stuff down to the lowest common denominator. 

ITYM, "greatest common factor", :-)

I'm on not necessarily a fan of homogeneity but I don't think simply
renaming a product is a major aspect of the evil of globalization. If
the ingredients changed, then perhaps that's more of a case but I think
it was just the name, wasn't it?

Paul "whoops, I used the more common -iz form :)" M

-- 
Paul Makepeace ... http://paulm.com/

"What is haircut? Tofu spread thinly over a naked body."
   -- http://paulm.com/toys/surrealism/




Re: Bolloxia

2002-02-18 Thread Paul Makepeace

On Mon, Feb 18, 2002 at 04:28:25PM +, Chris Carline wrote:
> "Memorization is not such a big deal. You remember what you need to remember
> and look the rest up".
> 
> <http://www.boston.com/dailyglobe2/048/nation/Road_scholar_finds_home_at_MITP.shtml>

That sentiment was expressed too by Einstein who claimed not to remember
his phone number on the basis someone else had it written down (i.e.
in the phone book).

Paul, who likes to remember some things because it saves times
looking them up




Re: Calling Perl from a shared c library

2002-02-18 Thread Paul Johnson

On Mon, Feb 18, 2002 at 02:50:06PM +, Nicholas Clark wrote:
> On Sun, Feb 17, 2002 at 08:30:42PM +, Martin wrote:
> 
> > The problem is that I really want to be able to load my new
> > functionality dynamically. So I have tried to compile the C script as a
> > shared library (I read the gcc info pages and some websites about
> > shared/dynamic libraries to help with this).
> > I can get it to compile and load in CAMILA without any complaint.
> > 
> > BUT when I try to call my new functions I get the following error
> > 
> > Can't load
> > '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/HTML/Parser/Parser.so'
> > for module HTML::Parser:
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/HTML/Parser/Parser.so:
> > undefined symbol: PL_sv_undef at
> > /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
> >  at /usr/lib/perl5/site_perl/5.6.0/i386-linux/HTML/Entities.pm line 79
> > 
> > Now I think this must have something to do with compiling the C script
> > as a shared library rather than an executable. But can anyone tell me
> > for sure?
> 
> It looks like it. I've not done this sort of stuff, so I'm guessing here.

I have, but not recently, and I'm guessing here too.

> It seems from the error that you do have a file:
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/HTML/Parser/Parser.so
> but it doesn't have the "correct" symbols in it (well, at least not the
> ones expected)

This might be right, but there's another possibility.

> I don't think you mentioned which operating system you're using. I'm not
> sure if this is actually relevant, but it might mean I get the tool names
> wrong:

Looks like linux to me.  I did it on Solaris and this sort of stuff can
be a little OS dependent.

> Does the nm utility on 
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/HTML/Parser/Parser.so
> show that it contains a reference to a symbol "PL_sv_undef" ?
> 
> Does nm show that your core perl binary (or whatever your main program is)
> has a symbol "sv_undef" but no "PL_sv_undef"?

But all the perl stuff is in a shared library, if I understood
correctly.

You need to ensure that your Perl module shared library (Parser.so) can
access the symbols in whatever shared library perl is in.  By default it
probably can't.  On Solaris you can add a RTLD_GLOBAL flag to do this,
but I don't know about linux.  Another possibility is to link the Perl
module shared libraries with whatever shared library perl is in.  There
might be some Makemaker way to do this.

> I feel that we should all just be careful and do the CC's correctly.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Re: Bolloxia

2002-02-18 Thread Paul Makepeace

On Mon, Feb 18, 2002 at 03:39:36PM +, Struan Donald wrote:

> globalising your product line is cheaper but it leads to
> worse products as they then have to be all things to all people hence
> compromising on features in order to make them more global.

I don't see that as a logical conclusion. If a company has a branding
component that is "quality" then that is one of their selling points and
they are ostensibly judged on this. If their branding is "cool" (as many
of the examples in this thread seem to be, broadly: chic, stylish, etc
anything that bestows a sense of style on the purchaser) then you are
paying for that coolness and the associated recognition, in some social
circles, this buys you. Not necessarily longevity. Chances are, if
you're buying for "cool" then you *don't want* or certainly aren't
concerned about longevity since the style's out of date in six
months anyway!

You could even see this in a positive light: the manufacturers have
identified that people are buying their product primarily for "cool" not
"longevity". So, they optimise the construction process to create a
product that lasts a certain period of time that is approximately equal
to the expected usage period of the product, thus saving the consumer
money versus creating a product that will work for far longer than the
consumer is interested in using it.

You pays ya money, ya takes ya choice. 

Paul, who idly considers all this is largely unrelated to the issue of
globalization, but branding and consumer appeal...

-- 
Paul Makepeace ... http://paulm.com/

"If I were King of the Forest, then unending happiness will prevail."
   -- http://paulm.com/toys/surrealism/




Re: Bolloxia

2002-02-18 Thread Paul Makepeace

On Mon, Feb 18, 2002 at 04:37:42PM -0500, Mike Jarvis wrote:
> Theoretically decreasing overhead means decreased prices for consumers,
> but we all know that never happens in the real world.

I'm pretty sure I'm paying less for an 80GB of harddrive storage now
than I would've paid two years ago. And so on.

If decreased overhead didn't equate to decreased price for consumers
then,
* there is a monopoly situation (see: rules & regs)
* someone else will decrease *their* price and reap the rewards

(regulated capitalism)++

P

-- 
Paul Makepeace ... http://paulm.com/

"If it were just another game, then set your head on fire."
   -- http://paulm.com/toys/surrealism/




Re: Bolloxia

2002-02-18 Thread Paul Makepeace

On Mon, Feb 18, 2002 at 05:39:02PM -0500, Mike Jarvis wrote:
> What about the case of the previously mentioned Levis?  If their
> production costs dropped to 0, do you think the price would drop?
> 
> How about sodas? I doubt production *could* get cheaper, yet neither
> Coke or Pepsi ever drop prices.  

You're right, -- production cost isn't the whole "cost". Product
perception as you're pointing out is a function of cost-to-consumer.
Indeed some products have been repositioned at higher prices with
(sometimes) different names and subsequently scored greater market
share. Matsushita produce both Panasonic & Technics. Technics is high
end, panasonic low to mid, but I suspect the internal technological
differences/production cost don't linearly correlate with retail price.

So the cost to the consumer is buying into an image. It costs more
to be cool.

> The entire system is predicated on point 2) (someone else will decrease
> *their* price and reap the rewards) and the public buying the best
> product for the best price.  They don't.

(What's best for one person isn't necessarily for another. If my
perceived image among my peers is paramount then buying a hellishly
expensive set of shoes is "best", not whether they actually do improve
my jump.)

> Added price adds perceived
> value (it costs more, it must be better). If the world worked as it does
> in textbooks, you would be absolutly correct. And no, I don't have an
> answer or a better system. 

Hmm, I'm not necessarily sure there's anything wrong with the system.
No-one is forcing any of these people to shell out $150 for a pair of
sweatshop-sourced shoes that fall apart in six months. That's really
their choice. Or am I being too heartless, and really these people
should be protected from themselves and regulations enforced to curb the
enticing power of advertising and its molding of social mores?

(That sounds more sarcastic than I meant -- it was a serious question
that came out wrong :-) It's happened with cigarettes, for example.)

Paul, too jetlagged to re-phrase

-- 
Paul Makepeace ... http://paulm.com/

"What is a free ride? It is that fool that I can see right in your
 eyes."
   -- http://paulm.com/toys/surrealism/




New list: [Bots]

2002-02-19 Thread Paul Mison

Hmm, where to start? Well, at the emergency social with Simon Cozens,
there seemed to be quite a lot of talk about IRC bots, and how dipsy
should do things. A couple of people suggested that it would be a good
idea to have a list to discuss them on, so I (finally) set one up
yesterday. If you want to join, go and have a look at:

http://london.pm.org/mailman/listinfo/bots/

However, once I'd mentioned it on IRC, Greg wondered why people didn't
want to talk about bots on list (since, generally, they're written in
Perl, and people on #london.pm IRC tend to be on the list, it's not
really any more off-topic than a lot of stuff here), and suggested the
list would have a burst of activity and then die.

I suppose the point of this email is:

* If you're interested in (IRC) bots, get thee to the new list.
* If you think the new list is an amazingly good/bad idea to stop
  a lot of posts boring people/cause fragmentation, say so here.

blech: Or something.
dipsy: Something is probably up.

-- 
:: paul
:: the future has been and gone




Re: How to optimise slow perl scripts?

2002-02-19 Thread Paul Johnson

On Tue, Feb 19, 2002 at 01:05:29PM +, Nicholas Clark wrote:

> However, I think I'm at the limit of things I can learn from DProf.
> What other techniques can I use to figure out where and why it is slow?

Devel::Cover now does time coverage, aka profiling.  It's pretty basic
and pretty new, and I've not even got around to comparing its results to
those of DProf, but it is another technique that might prove useful.

But then again, it might not.

Actually, you could hack it to find out how long was being spent in each
opcode.  That might be useful.  Hmmm.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Re: How to optimise slow perl scripts?

2002-02-19 Thread Paul Makepeace

On Tue, Feb 19, 2002 at 03:31:17PM +, Nicholas Clark wrote:
> How many people use {} in real regexps?

s/(.{1,72})(\s+|$)/$1\n /g;

(Wordwrap for my sigs.)

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is Clark Kent without a telephone booth? Another chance to get an
 ice cream."
   -- http://paulm.com/toys/surrealism/




Re: How to optimise slow perl scripts?

2002-02-19 Thread Paul Makepeace

On Tue, Feb 19, 2002 at 07:15:03PM +, jo walsh wrote:
> 
> > There must be easier ways than this :-)
> 
> why don't you just throw hardware at the problem? :)

I have an old crappy keyboard with a sticky Shift key you're welcome to
throw at any other hardware.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If they can play too, then all the world would be my soup."
   -- http://paulm.com/toys/surrealism/




Re: Social meet kick up the arse [Was: Return to the Yorke]

2002-02-19 Thread Paul Makepeace

On Tue, Feb 19, 2002 at 10:16:35PM +, Kate L Pugh wrote:
> >> [...] to bring Perl programming friends along, maybe to encourage old
> >> members of the list who don't turn up that often to come along [...]

Well, I'm one of the oldest members and don't turn up that often (altho'
living 6,000miles away for three years must be *some* kind of excuse),
so if this is <8th March I'll certainly come along!

I'd endorse the rest of what you said, especially dancing Leons. (more
than one??)

> I should possibly explain why I think this is so important.
> 
> I'm sure there are plenty of lurkers on this list who would fit in
> very well with the general core of people who come to all or most of
> the social events.  I was subscribed to the list for ages before I
> came along to anything (though admittedly this was partly due to not
> having moved to London yet).  Meeting people in London is difficult in
> general; meeting people who fit your mindset is harder still.  I think
> Greg's suggestion is an excellent catalyst for getting the people who
> are still wondering about whether to come along and meet us, to
> finally take the plunge.

JFDI!

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is a mote? An abominable pimple on the face of God."
   -- http://paulm.com/toys/surrealism/




Re: Social meet kick up the arse [Was: Return to the Yorke]

2002-02-19 Thread Paul Makepeace

On Wed, Feb 20, 2002 at 12:23:44AM +, Struan Donald wrote:
> is a good idea too as it's a bit weird to walk up to a bunch of
> strangers and offer to buy them $alchohol but buying your own drink
> and then sitting nursing it in the corner isn't all that social. on
> the other hand if you get bought a drink it tends to draw you in.

There's a social night in SF where you can't buy a drink except for
someone else, ideally someone you've not met before. It's amazing what
little excuse people need to meet one another, but for some reason they
need *some* excuse -- and this seems to work as well as any.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If we could fly to the moon, then you've got another thing coming!"
   -- http://paulm.com/toys/surrealism/




Re: Social meet kick up the arse [Was: Return to the Yorke]

2002-02-20 Thread Paul Mison

On Wed, Feb 20, 2002 at 12:02:33AM +, David Cantrell wrote:
> On Tue, Feb 19, 2002 at 11:42:49PM +, the hatter wrote:
> > On Tue, 19 Feb 2002, Kate L Pugh wrote:
> > > * "How about offering a free pint to first-time attendees at the social?"
> > Hurrah, make that 10.
> 
> That was originally my silly suggestion, but I'll stand by it.  I'll buy
> a $drink_of_choice for a few new faces.

Yeah, it would be bad of me not to offer, as well.

However, what about Greg's other point about people who've been to
meetings once or twice but not become regulars?

I'm not sure free beer would work here, but there has to be something
else we can do. Maybe it would, though. Perhaps the best way to go is to
find friends you know who don't come along any more and offer to
accompany them along and buy them a round?

-- 
:: paul
:: the future has been and gone




Re: Social meet kick up the arse [Was: Return to the Yorke]

2002-02-20 Thread Paul Mison

On Wed, Feb 20, 2002 at 09:41:01AM -, Ivor Williams wrote:
> > I advocate more speeches involving the whole crowd - even if they're 2
> > minute efforts along the lines of, "Buy a tee shirt." or, "Come to the
> > next technical meet." or, "Here's our new fearless leader to say a few
> > words about what we're here for."
> 
> IMO FWIW we don't want to go overboard with speeches. That is what tech
> meetings are for. However, having an introductory or valedictory speech from
> Paul sounds like a good idea. One problem with this though, is timing. With
> social meets, there is an informality that we would potentially lose - we
> would have to have a start time and stick to it.

This touches on something that came up elsewhere, about meeting people
straight away. The problem is (or at least, has been in the past) that
there are regulars who arrive at 6 and inevitably form a small group,
and newcomers have to squeeze into that. Generally, of course, we do
look out for folks and try to get them to squeeze in.

I know a fixed start time is a possible solution, but it doesn't sound
like a good one to me. As to an introductory speech, I doubt I'd be able
to talk in front of you lot without a little booze inside me... which
would also guarantee not going overboard on them, I think.

> There's also the issue of who counts as a newbie. A suggestion is to pick a
> special date - N year anniversary - and lay on some champagne for everyone.

London.pm seem quite slack about noticing the anniversary of the group,
which I *think* is in August.

-- 
:: paul
:: the future has been and gone




Re: Social meet kick up the arse [Was: Return to the Yorke]

2002-02-20 Thread Paul Mison

On Wed, Feb 20, 2002 at 10:29:48AM +, Struan Donald wrote:
> * at 20/02 10:13 +0000 Paul Mison said:
> > 
> > I know a fixed start time is a possible solution, but it doesn't sound
> > like a good one to me. As to an introductory speech, I doubt I'd be able
> > to talk in front of you lot without a little booze inside me... which
> > would also guarantee not going overboard on them, I think.
> 
> isn't the tradition more on the "wait till it looks like most people
> have turned up and then do any talking things required" lines?

Yes, and I was trying to get across the fact that that's the way I like
it, really.

-- 
:: paul
:: the future has been and gone




Re: Developing Perl based products for windows.

2002-02-20 Thread Paul Mison

On Wed, Feb 20, 2002 at 11:23:05AM -0500, Tommie M. Jones wrote:
> 
> I am a Perl developer who mostly works with Unix.  I have a perl program
> that I would like to sell to windows users.
> 
> I was wondering if anyone has any experience creating easy to install CD's
> for perl based product.  I assume that I will have to include perl itself
> and all the basic modules.  Also I will need a GUI IFC.  Does anyone have
> any suggestions for a Gui on Windows?  TK maybe.  Any input would be

There's recently been a discussion on Boston.pm about Activestate's IDE
and packaging tools, which people seem to have found quite useful.

Try having a look at these and surrounding posts:

http://www.mail-archive.com/boston-pm%40happyfunball.pm.org/msg01452.html
http://www.mail-archive.com/boston-pm%40happyfunball.pm.org/msg01471.html

-- 
:: paul
:: the future has been and gone




Re: [OT] making bit vectors for characters in a string

2002-02-20 Thread Paul Johnson

On Wed, Feb 20, 2002 at 11:13:44PM +, Nicholas Clark wrote:
> Sorry to be off topic.
> 
> If I have a string of some length, containing characters between 0 and 255,
> I'm wondering there's a fast perl way to make a 64 byte long bit vector
> from it, with bits set for any character present in the original string.

I suspect 32 bytes is sufficient, no?

> If I can do this quickly, then when I'm trying lots of things to see if $a is
> a substring of $b, then I think I can optimise it.
> I should be able to rapidly reject $b as a candidate by logical operations on
> the two bit vectors in constant time whatever the length of the strings - if
> $b doesn't contain all the characters in $a somewhere, then $a can't possibly
> be a substring, so I don't need to bother trying index.

Short of coding in C, I can't think of a way to do this without a Perl
level loop, which would kill efficiency, I imagine.

The best I can come up with this early is something containing

  vec ord for split

> [yes, I'm still playing with Encode's compile script.
> No, it's not a waste of time - I've got it taking about 37% less time
> than it did 2 days ago. Much cheaper than throwing hardware at the world]

On behalf of anyone who has ever compiled Encode, thanks!

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Re: Tea (was Re: Bolloxia)

2002-02-21 Thread Paul Makepeace

On Thu, Feb 21, 2002 at 10:38:54AM +, Simon Wistow wrote:
> http://education.guardian.co.uk/egweekly/story/0,5500,565525,00.html

``Professor Warwick is perhaps best known for becoming the first cyborg,
when he had an implant that allowed his office to react to his presence.
Next month, he plans to have an implant attached to nervous fibres in a
complex operation at Stoke Mandeville hospital. "Part of the aim is to
give me some of the extra-sonic properties of a bat," he grins, "to see
if I can sense my surroundings with my eyes shut. The potential
applications for blind people are vast. I also want to see what happens
when I play back my emotions to myself: if I download the data from when
I am angry, will I respond angrily when it is fed back?"''

More on this from the cyborg's mouth,
http://www.wired.com/wired/archive/8.02/warwick.html

Talks about his emotional connections to the machine too at the end,
which considering how much he felt & how simplistic the device was is
pretty intriguing.

Other pages on his next implant seem out of date, but suggest he
might've done it (kevinwarwick.com says November 2001, but nowt else).
Anyone know?


Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is the sound of one hand clapping? Welcome to Disney!"
   -- http://paulm.com/toys/surrealism/




Re: Perlmonks down?

2002-02-21 Thread Paul Makepeace

On Thu, Feb 21, 2002 at 11:43:29AM +, Jonathan Peterson wrote:
> I can't reach perlmonks.org from several points on the net. Are they
> down and is it temporary? Ping to www.perlmonks.org has 76% packet loss
> from penderel, so maybe network trouble?

Fine from San Francisco (above.net) & Bristol (telewest),

$ ping www.perlmonks.org
PING www.perlmonks.org (66.39.54.27): 56 data bytes
64 bytes from 66.39.54.27: icmp_seq=0 ttl=244 time=105.5 ms
64 bytes from 66.39.54.27: icmp_seq=1 ttl=244 time=113.6 ms
64 bytes from 66.39.54.27: icmp_seq=2 ttl=244 time=113.5 ms

 8  core3-core2-oc48.lga2.above.net (216.200.127.170)  104.118 ms 104.143 ms  104.095 
ms
 9  so-0-1-3.jpr-1.usnycm.savvis.net (64.242.31.217)  104.411 ms 104.502 ms  104.436 ms
10  pairnet-1.uspitb.savvis.net (209.83.160.130)  113.447 ms  113.343 ms 105.010 ms
11  ads.perlmonks.org (66.39.54.27)  105.149 ms  105.658 ms  105.282 ms 

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If all the world's a stage, then it'd be a downer."
   -- http://paulm.com/toys/surrealism/




short term crash space in London?

2002-02-21 Thread Paul Makepeace

I have a friend visiting me from the US tomorrow through to Tuesday and
some of that time we'll be in London. Does anyone have any suggestions
for cheap places to stay? Probably this will only be two nights, Fri &
Sat. I thought of "someone's floor" but that isn't nice for someone
travelling across six time zones. "Someone's spare bed" or even decent
sized fold-out couch would work though, and of course would be
generously rewarded...

Thanks,
Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is it to be truly loved? An abominable pimple on the face of God."
   -- http://paulm.com/toys/surrealism/




Re: [ANNOUNCE] Tanker 0.01

2002-02-21 Thread Paul Mison

On Thu, Feb 21, 2002 at 12:04:32PM +, Simon Wistow wrote:
> [FWD-ed from the bots list where it's met with resounding silence]

That's because I wanted bots to be about more than just bot development,
especially bots that don't even connect to IRC (although, yes, I know
you cracked that one yesterday). That, and that there wasn't much to say
about YA NGI framework. Well, not much I wanted to say.

-- 
:: paul




Re: Next social and tube strikes

2002-02-22 Thread Paul Mison

On Fri, Feb 22, 2002 at 10:56:54AM +, Struan Donald wrote:
> It's been noticed that the next social (on the 7th of March) and the
> first of the two proposed tube strikes overlap (in that it finishes at
> noon on the 7th). 
> 
> Do we think this is liable to be a problem? 

Even though tube strikes nominally finish at noon, there'd probably
still be fairly serious delays, so, if it goes ahead, yes, it would be
something of a problem.

> ISTR that last time this happened the social meeting was moved to the
> following Thursday. Is this a good idea or should we just leave be and
> hope that as per the last time everyone kisses and makes up and there is
> no strike?

A third option is to go ahead with a 'normal' meeting and postpone the
'drag along everyone you know' meeting until April, on the grounds that
even if there was some disruption lingering on the tubes, some people
would be able to turn up as usual.

Just to make things complicated...

-- 
:: paul
:: the future has been and gone




Re: gcov/xs trickery.

2002-02-23 Thread Paul Johnson

On Sun, Feb 10, 2002 at 12:16:37AM +, Richard Clamp wrote:
> On Sat, Feb 09, 2002 at 05:25:27PM +0100, Paul Johnson wrote:
> > I have been (slowly) investigating how to integrate gcov with the
> > backend of Devel::Cover.  I deliberately designed the backend to be
> > language agnostic.  Unfortunately, I've not had much time to work on it
> > recently.
> > 
> > One thing has become very apparent though.  Perl still has many untested
> > corners.
> 
> We were speculating a little about that too.  63% is certainly better
> than my most cynical guess, and with enough room for improvement that
> it looks like it could be grounds for sufficient fun.

It's actually not as bad as all that.  Much of the low coverage is in
modules, rather than the core and I suspect that higher coverage could
be achieved by re-running the test suite with different options.  PERLIO
fits into this category I think, as does sorting.

> Is the code you used due for a release soon?  Can I make it go faster
> by asking less dumb questions?  And where do bees come from?

1.   It will be in the next release of Devel::Cover.
1a.  No, I don't know when that will be.  If anyone is particularly
 interested in the code, please mail me directly.
2.   Unlikely.  It's this thing called "work" which suddenly eliminated
 all my CFT.
3.   Ummm.  A beehive?

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Re: Splitting up text containing non-ascii characters

2002-02-24 Thread Paul Makepeace

On Sun, Feb 24, 2002 at 02:25:03PM +, Kate L Pugh wrote:
> Hello.  I have been using the DBIx::FullTextSearch module for doing
> the search engine on the website we're building at work.  It works
> fine and does almost everything I want.  What it doesn't do, though,
> is let searches for things with accented characters in work whether
> the accents are there or not.  For example, I want a search for "Dore"
> to turn up "Doré", and vice versa.

How about HTML::Entities which goes back and forth with those sorts of
constructs. What you then might do is create regexes with character
classes from the output so [ee'] etc. (where my e' is really e with an
acute accent [or a variable containing that], were I sk1lled enough to
do that in Eterm/X/KDE).

Dunno if that helps,
Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is a telephone? Planck's constant."
   -- http://paulm.com/toys/surrealism/




Re: PGP signatures / list etiquette (was: Re: Newbie introduction)

2002-02-24 Thread Paul Mison

On Sun, Feb 24, 2002 at 06:45:44PM +, Rob Partington wrote:
> (But I have no great suggestions on how to deal with them on a mailing
>  list level.  It's holy war territory.)

Personally I've never used a client that didn't deal with PGP signatures
gracefully. On the other hand, I've known people who've used send-hooks
to suppress signing for mailing lists, which reduces complaints.

Rob's right about this being holy war territory, though...

-- 
:: paul
:: the future has been and gone




Re: PGP signatures / list etiquette (was: Re: Newbie introduction)

2002-02-24 Thread Paul Makepeace

On Sun, Feb 24, 2002 at 10:07:53PM +, Paul Mison wrote:
> On Sun, Feb 24, 2002 at 06:45:44PM +, Rob Partington wrote:
> > (But I have no great suggestions on how to deal with them on a mailing
> >  list level.  It's holy war territory.)
> 
> Personally I've never used a client that didn't deal with PGP signatures
> gracefully.

If someone feels like posting a step-by-step guide to getting mutt to
read and display signed messages, I for one would be grateful. Since I
think mutt is the dominant client used here, I'm sure others would
too...

"Holy war" territory, maybe; "one day RTFM and learn this", definitely :-)

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is fiction? The same as it ever was."
   -- http://paulm.com/toys/surrealism/




[social] Burning Man film screening, Fri 01 Mar 7:30pm

2002-02-25 Thread Paul Makepeace

[watch those replies]

If you've been to Burning Man or thinking about it, this is a decent
hour length film shot by a Brit filmmaker at last year's event. I saw it
in Santa Cruz, CA a few months back and it featured some pretty funny
short films too. Good place to meet other Euroburners, get thinking
about camps again...

It's at The Horse Hospital, Colonnade, London right by Russell Sq tube.

See ya there,
Paul (back in London/Bristol)

---

SCREENING


BURNING kinoKULTURE
a celebration of The Burning Man festival on screen


Friday 1st March
Doors 7.30


?Burn Baby Burn!?.
Directed by Steven Payne USA 56 mins.

It's a feature length look at The Burning Man Festival 2001 and was
filmed and edited in 10 days. A candid and virtuoso insight into one of
the world's greatest post-apocalyptic extravaganzas!

plus

Shorts!
?Journey to the Heart of the Man?
Directed by Yomi Ayeni UK 21.00

One man's baptism by fire at Burning Man.

plus

Video Montage!
Video clips compiled by Euroburners.
Decorations and images co-ordinated by Linda Brodie.


Music for the evening:
Downbeat, dirty and desert style - pure MPEG business!



kinoKULTURE
THE HORSE HOSPITAL,
COLONNADE,
BLOOMSBURY,
LONDON,
WC1N 1HX.
Russell Square tube.

Telephone James B.L. Hollands on ( 020 ) 7833 3644 should you require
any further details or images, or have any personal, emotional or sexual
problems you wish to discuss.

[EMAIL PROTECTED]
http://www.thehorsehospital.com

- End forwarded message -

-- 
Paul Makepeace ... http://paulm.com/

"What is real? Kapok is usually faster."
   -- http://paulm.com/toys/surrealism/




Re: Tea (was Re: Bolloxia)

2002-02-26 Thread Paul Makepeace

On Tue, Feb 26, 2002 at 11:36:42AM +, Simon Wistow wrote:
> Exegesis by Astro Teller.

OMFG! That was one of the crappiest "books" I've ever read! Wow, I'm
sorry you had the misfortune to buy it too.

(Of course, ignore that if you actually liked it :-)

Paul




Re: Tea (was Re: Bolloxia)

2002-02-26 Thread Paul Makepeace

On Tue, Feb 26, 2002 at 11:17:57AM +, Struan Donald wrote:
> but if the OS crashes and then you restore the AI isn't that a little
> ethically unsound? in that the AI has died and the you've restored it
> ,presumably from a not fully up to date backup either, no doubt
> leading to some degree of confusion etc for the AI.

This isn't really much different than humans with catalepsy, or even
when animals go to sleep. The confusion arises when it's not expected,
so you simply program in a quick state restoration system, so, like a
human waking up it quickly assesses what relevant things have changed.
Or, like most humans, just ignore it :-)

Paul




Tech talks and book reviews

2002-02-26 Thread Paul Mison

I think I now have a venue for the next technical meeting, on the 21st
of March (which, thankfully, doesn't clash with any tube strikes). So if
you'd like to give a talk (or can suggest someone who should, and put me
in touch with them) then please email me (on or off list, according to
how showy you're feeling) in the next week or two.

As to the other part of the subject, O'Reilly are considering sending us
some more books to review, but they'd also like the ones they've already
sent to us to be reviewed, so here's a first prod before I start naming
and shaming in, ooh, a week or two.

Cheers;

-- 
:: paul




Re: Tea (was Re: Bolloxia)

2002-02-26 Thread Paul Makepeace

On Tue, Feb 26, 2002 at 09:20:06PM +, Roger Burton West wrote:
> That's OK, mini-cabs don't get any discount on the central London toll,
> so they'll be out of business soon enough anyway.

Ignorant tourists will surely take up the slack.

"20quid for Trafalgar Square to Lewisham? Bargain!"

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is strawberry without lemon-yellow? Terrible meningicoccle
 anaemia."
   -- http://paulm.com/toys/surrealism/




Biohackathon in Cape Town

2002-02-27 Thread Paul Makepeace

Open Source software folk try to get their selves aligned in a freeform
bioinformatics hackfest in SA. O'Reilly implicated as organisers.

http://www.businessday.co.za/bday/content/direct/1,3523,1032294-6099-0,00.html

Paul




Lightweight template module?

2002-02-27 Thread Paul Makepeace

Can anyone suggest a small, easy to install (i.e. minimal CPAN
dependency) module to do simple template filling-out type work?
Something that'll allow interpolation of variables and perhaps some
simple conditional constructs like, [if $status then "status"
else " "]

Yes, it'll be used primarily with HTML. What do people think of
HTML::Template? I think it satisfies my needs, if at a cost of being a
bit bloaty...

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If only it were true, then venice might be cast adrift."
   -- http://paulm.com/toys/surrealism/




Re: Lightweight template module?

2002-02-27 Thread Paul Makepeace

On Wed, Feb 27, 2002 at 01:44:10PM -0800, Randal L. Schwartz wrote:
> > "Jonathan" == Jonathan Stowe <[EMAIL PROTECTED]> writes:
> 
> Jonathan> I would also be interested in a single file pure perl XML parser.
> 
> XML::Parser::Lite fails for ... what reason?

Insufficient marketing, clearly :-)

P




Re: irc dead?

2002-02-28 Thread Paul Makepeace

On Thu, Feb 28, 2002 at 12:10:16PM +0100, Newton, Philip wrote:
> Simon Wistow wrote:
> > For future reference, one can always connect to bullfrog or
> > irc.rhizomatic.net should the need arise.
> 
> Isn't irc.rhizomatic.net a DNS round robin that includes
> london.rhizomatic.net?

I've seen times when channels that exist on london don't exist on irc.
(I don't recall which IP that corresponded to though.)

irc.rhizomatic.net  A   195.72.161.100
irc.rhizomatic.net  A   195.82.114.160
london.rhizomatic.net   A   195.82.114.160
irc.rhizomatic.net  A   199.245.105.172
irc.rhizomatic.net  A   208.210.125.226
irc.rhizomatic.net  A   64.32.148.122

So round robin: yes; connected and synchronised: apparently not all the
time.

Paul




ircd (was Re: irc dead?)

2002-02-28 Thread Paul Makepeace

On Thu, Feb 28, 2002 at 12:53:27PM +, Peter Sergeant wrote:
> Or if you're looking for something a little closer to home, grou.ch:6667
> Alternatively, there's always http://irc.clueball.com/ if you want a
> firewall-proof way to get online.

/me notices email domain & assumes you're an/the op/admin? Which ircd
does *.rhizomatic.net/clueball.com run? Do you get much aggravation and
annoying kiddies beating on the servers? I've often wanted to run an
ircd on a private or minimally connected network for
friends/family/communities but have been paranoid about the implications
about misconfiguration and being the target of attacks. Is this paranoia
misplaced, maybe it's just for people on the bigger networks?

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If you get laid off, then lets have cookies and triskets for everyone!"
   -- http://paulm.com/toys/surrealism/




YACMS: Bricolage-Devel 1.2.1

2002-02-28 Thread Paul Makepeace

FWIW,

- Forwarded message from David Wheeler <[EMAIL PROTECTED]> -

From: David Wheeler <[EMAIL PROTECTED]>
Date: 25 Feb 2002 18:53:50 -0800

Announcing the release of Bricolage 1.2.1. This version is primarily a
maintenance release with many bug fixes. It does offer one major new
feature, however. Configuring Bricolage in your Apache server has become
much simpler with the introduction of the new Bric::App::ApacheConfig
module. Using this module, configuring Apache can now be done in two
lines:

  PerlPassEnv BRICOLAGE_ROOT
  PerlModule Bric::App::ApacheConfig

See INSTALL for information on how to configure Bricolage itself, and on how to
run Bricolage as a virtual host on your server.

Here's a brief description of Bricolage:

Bricolage is a full-featured, open-source, enterprise-class content
management system. It offers a browser-based interface for ease-of
use, a full-fledged templating system with complete programming
language support for flexibility, and many other features. It 
operates in an Apache/mod_perl environment, and uses the PostgreSQL 
RDBMS for its repository.

More information on Bricolage can be found on its home page.

  http://bricolage.thepirtgroup.com/

And it can be downloaded from SourceForge.

  http://sourceforge.net/project/showfiles.php?group_id=34789

Regards,

David

-- 
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/  Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]


- End forwarded message -

-- 
Paul Makepeace ... http://paulm.com/

"What is my favorite sexual position? That once you arrive, all will
 pass mustard."
   -- http://paulm.com/toys/surrealism/




Re: Is $foo a filehandle?

2002-03-01 Thread Paul Makepeace

On Fri, Mar 01, 2002 at 12:26:20PM +, Mark Fowler wrote:
> Bet now! Bet now!
> 
> How do I determine if something passed to me is a filehandle or something
> containing the name of the file to open.  This *should* be fairly simple,
> but I can't work out a simple way to do it.

>ref($foo) eq "GLOB" 

print "We gots ourselves a file here, boys!" if defined *$foo{IO};

Paul




Re: DNS Server Admin Review (Sybex)

2002-03-03 Thread Paul Mison

On 28/02/2002 at 18:04 +, Dean wrote:

>Linux DNS Server Administration
>Craig Hunt

>The appendixes are more reference based in nature and include a brief
>introduction of Bind 9 (This is the most time ravaged section of the
>book),
>a command reference of the options allowed in named.conf, a listing of the
>more obscure DNS record types and a section on NIS which i have to
>admit to
>skipping over.

Just out of interest, does the book cover the djb DNS applications, or
just BIND?

--
:: paul
:: beware my prophetic chickens






[ANNOUNCE] Social meeting, Thursday

2002-03-04 Thread Paul Mison

There is a social meeting as usual on the day after the first Wednesday
of the month (that's the seventh, in case you were wondering) at the
Cittie of Yorke, downstairs in the cellar bar:

http://london.pm.org/meetings/locations/cittieofyorke.html

Peopke have brought the old idea of there being a beer kitty back to the
fore, so we should probably do this; bring a fiver or tenner to chuck in
when the meeting starts.

Also just a little reminder that I'd like any suggestions for talks for
the tech meeting too, please.

Cheers,

-- 
:: paul





Re: [ANNOUNCE] Social meeting, Thursday

2002-03-05 Thread Paul Mison

On 04/03/2002 at 20:06 +, David Cantrell wrote:
>On Mon, Mar 04, 2002 at 05:21:55PM +0000, Paul Mison wrote:
>
>> Also just a little reminder that I'd like any suggestions for talks for
>> the tech meeting too, please.
>
>Which would be when?

Thursday 21st March, probably about 7, probably at State 51.

The website has now been corrected (it had the meeting on that date
down as a social, which it won't be).

--
:: paul
:: macintosh!






Re: Floorspace for Thursday evening

2002-03-05 Thread Paul Makepeace

On Tue, Mar 05, 2002 at 08:04:45PM +, Anthony Fisher wrote:
>  Does anyone have some floor in a spare/front room I
> can use on Thursday night after the social? I come

Me too!

I'll be coming in from Bristol that night.

> complete with sleeping bag and sleeping mat, and can
> be fairly quiet when getting up and out early on
> Friday morning. Mail me off-list, please.

I can be noisy & sleep late, if necessary ;-) I also do pancakes in the
morning, for those that like them..

Paul




Re: Load testing

2002-03-06 Thread Paul Makepeace

On Wed, Mar 06, 2002 at 04:28:52PM +, Jonathan Peterson wrote:
> There was me expecting the net to be flooded with freeware web site load
> testers that just GET a bunch or URLs and draw a graph of times taken.

http://www.loadtesting.com/ (commercial)
http://www.pushtotest.com/ptt 
http://www.hpl.hp.com/personal/David_Mosberger/httperf.html

I haven't used any of these myself, just heard about them. Do report
back if anything there's useful...

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If you could dance a painting, then their heads would not get as hot."
   -- http://paulm.com/toys/surrealism/




[ANNOUNCE] Social meeting reminder

2002-03-06 Thread Paul Mison

Just to be utterly redundant, there's a social meeting tonight [0] at
the Cittie of Yorke, near Chancery Lane tube, starting at about 6pm. The
meeting is towaards the back of the cellar bar; there should be signs to
help people find us.

As always, you can check for meetings details on the website:
http://london.pm.org/meetings/

Hope to see lots of you there.

[0] That's Thursday, 7th March, 2002, to over-specify.

-- 
:: paul
:: the future has been and gone





Re: Load testing

2002-03-07 Thread Paul Sharpe



hipps wrote:
> 
> Pulled from Steve Norman's mail (Wed, Mar 06, 2002 at 10:40:02PM -):
> > On Wednesday, March 06, 2002 @ 4:28 PM, "Jonathan Peterson" did scribble:
> >
> > | There was me expecting the net to be flooded with freeware web site load
> > | testers that just GET a bunch or URLs and draw a graph of times taken.
> > | Apparently I was wrong. I have discovered an impressive number of
> > | unuseably bad Java applications and some very simple command line things
> > | that mostly aren't even multi-threaded or forking.
> > |
> > | Am I missing something obvious or am I about to write my own? I only
> > | want basic stuff like handling cookies, POST requests, and simulating
> > | concurrent access by different user agents. Throttling (to simulate
> > | modem users) would be an added bonus.
> > |
> 

Did you try

  http://www.hpl.hp.com/personal/David_Mosberger/httperf.html

Cheers,

paul

-- 
Paul Sharpe   Tel: +44 (20) 7407 5557
Miraclefish Ltd.  Fax: +44 (20) 7378 8711
Studio 12 mailto:[EMAIL PROTECTED]
37 Tanner Street  http://www.miraclefish.com/
London SE1 3LF
UNITED KINGDOM




Re: Load testing

2002-03-07 Thread Paul . Golds


> Well, I will probably be beaten to a pulp for this but who cares :)
>
> I have been doing some load/stress testing against an IIS box over the
past
> couple of days using Microsoft Web Application Stress Tool
> (http://homer.rte.microsoft.com).

> OK, you will need a windows box to run the tests from, but I don't see it
> being limited to testing IIS boxes (they mention problems with ColdFusion
> servers so it doesn't look like it).  You can specify scripts manually or
do
> a "record" which opens a browser in which you go about using the site and
it
> records what you are doing, what cookies are being set, POST data etc.
Can
> be configured for multiple user simulation, bandwidth throttle, random
> delaying between requests, multiple threads on one machine and can also
get
> other machines to do the requests at the same time.
>
> It has certainly helped find some bottlenecks in scripts since I started
to
> use it.
>
> Steve

Hi,
 Used this myself to test performance of some of the J2EE code the
others
in the team here are so fond of.  It has an OLE interface which I plugged
happily
into ActiveState's OLE facilities (For once being glad "Learning Perl On
Win32"
was on CD Bookshelf 1..) and on the whole it seemed to run okay.  Two
things though,
the OLE interface doesn't seem to exactly match the published spec, and
occasionally
it seems to decide to rest and locks up totally.. requiring restarting as a
Windows
services (At least on NT4..).  It does pretty much support what you asked
for, though
for increasing load you really need the OLE thing.
 Results seemed okay though, and pretty much matched what the QA Team
here gets
from their toys.
 Was idly thinking of coding myself a performance test thing when I was
doing it,
but never really got the time.

Hope this helps,

Paul Golds, who's really sorry about this bit added after his posts so is
being remarkably quiet here..




__


[Information] -- PostMaster:
This transmission is intended solely for the addressee(s) and may be
confidential. If you are not the named addressee, or if the message has
been addressed to you in error, you must not read, disclose, reproduce,
distribute or use this transmission.

Delivery of this message to any person other than the named addressee is
not intended in any way to waive confidentiality.  If you have received
this transmission in error please contact the sender or delete the message.

Thank you.

Yell Limited, Queens Walk, Oxford Road, Reading, Berkshire, RG1 7PT.
Registered in England and Wales, registered number 4205228.

Yellow Pages Sales Limited, Queens Walk, Oxford Road, Reading, Berkshire,
RG1 7PT. Registered in England and Wales, registered number 1403041.






Re: Voting scripts...

2002-03-07 Thread Paul Makepeace

On Thu, Mar 07, 2002 at 02:43:23PM +, Mark Fowler wrote:
> On Thu, 7 Mar 2002, Nicholas Clark wrote:
> 
> > But am I wrong to assume that people are intelligent enough not just
> > to click on random links without realising that there may be some
> > consequences?
> 
> Hmm. Didn't I read that GET operations are not meant to have side effects.  
> Isn't that's what post operations are for?

I thought POST was a way to send more data (GETs only guaranteed up to
1024 chars), and/or data wrapped as a different MIME type (e.g.
multipart/form-data v. application/x-www-form-urlencoded, the default)

What can "side effect" mean in the context of URLs?? If there's data in
the query string, a program can act on that. A program can have side
effects just executing.

system.cgi?cmd=rm%20-rf%20%2F

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is a blueberry? A painful accident involving two watermelons and a
 banana."
   -- http://paulm.com/toys/surrealism/




Stuff after the meeting (books, talks and stuff)

2002-03-08 Thread Paul Mison

Thanks to everyone who turned up last night. I think it went quite
well; we seemed to have about 50 people turn up through the evening,
and the kitty was well enough stocked to have a surplus at the end.
Hopefully you all enjoyed yourselves. (I even heard people talking
about Perl. Scary, eh?)

Alex McLintock turned up with a copy of the Perl Black Book, which
reminded me it was time to name and shame the people who have books but
haven't reviewed them. If you're on the list, *please* either review
the book or bring it along to a meeting so someone else gets the
chance. (Oh, and if somehow this list turns out to be wrong, feel free
to yell.)

Learning the Unix Operating System (5ed) - Lucy McWilliam
Web Design in a Nutshell - Earle Martin
Perl for Web Site Management - Anthony Fisher
XSLT - Dave Hodgkinson
Network Troubleshooting Tools- Roger Burton West
Programming Cold Fusion  - Simon Wilcox
Server Load Balancing- Sue Spence
Web Caching  - Andy Williams
Learning Perl- Alex Page
NFS/NIS  - Sue Gray
Linux Device Drivers - Simon Wistow
Java Cookbook- Joe McFadden
Exim - Jo Walsh

We also now have three confirmed speakers for the tech talk (you know
who you are, hopefully) and a venue, and I'll announce both the list of
talks and where they'll be over the weekend, after I've got the last
slot or two of the meeting sorted. (If you want to pitch a lightning
talk- say 10 minutes or less- mail me off list asap.)

--
:: paul
:: macintosh!






Re: Stuff after the meeting (books, talks and stuff)

2002-03-08 Thread Paul Mison

On 08/03/2002 at 14:54 +, Graham Seaman wrote:
>On Fri, 8 Mar 2002, Paul Mison wrote:

>I ended up with Dave's copy of XSLT. I will do a review (promise) - just
>hoping to see a few more examples of what's expected first... ;-)

You can see previous reviews at http://london.pm.org/reviews/ if that
would help.

Although going there I found http://london.pm.org/reviews/xslt.html so
I'd like to apologise to Dave Hodgkinson who is a marvellous bloke and
a prompt reviewer,and http://london.pm.org/reviews/network_trouble.html
so apologies also go to Roger Burton West who is lovely, cuddly and
great at writing things about books.

(Whoops, I thought that might happen. Sorry again.)

--
:: paul
:: macintosh!






Re: Buffy - Sky 1, last night...

2002-03-08 Thread Paul Mison

Spoiler space added.
































































On 08/03/2002 at 16:49 +, Rob Partington wrote:

>In message <[EMAIL PROTECTED]>,
>[EMAIL PROTECTED] writes:
>> My post won't be spoilered but replies may be.  This isn't so much a
>>post
>> about the content but about the purpose of the episode.
>> It's destroyed quite a lot of respect I had for the series...
>> Anyone got any opinions?
>
>I liked it, but then I wasn't looking for deeper meanings or anything.
>
>Salon did too:
>http://www.salon.com/sex/feature/2001/11/28/buffy/index.html

I was going to post this, but of course I didn't see the episode
yesterday, so I was going to wait until the Saturday repeat to read it.
(I found the article last week and it looked like I'd be berrter off
waiting to read it.)

In case you didn't know (and if it's not too late), yes, that article
contains spoilers *except* for people who watched yesterday's episode
on Sky. Please put spoiler space in if you reply to this. (fwiw, I
would have put in spoiler space even before the link. Ah well.)

--
:: paul
:: macintosh!






Re: Testing my tests

2002-03-08 Thread Paul Johnson

On Fri, Mar 08, 2002 at 07:14:07PM +, Richard Clamp wrote:
> On Fri, Mar 08, 2002 at 06:19:26PM +, Simon Wilcox wrote:
> > 
> > So I've written a module, complete with docs and tests.
> > 
> > What's the best way (if there is a way) to figure out if I've tested
> > everything I should test ?
> 
> A good tool to look at is Devel::Cover.  Assuming you're using
> MakeMaker, add this to your Makefile.PL
> 
> sub MY::postamble {
> return < cover:
> \trm -rf cover_db
> \tPERL5OPT=-MDevel::Cover \$(MAKE) test || true
> \tcover cover_db
> EOF
> }
> 
> and then just C.  Your target is 100% statement coverage.

Your results will be in cover_db/cover_db.html.

But be aware that even if you can get 100% statement coverage that
doesn't mean that you've tested everything you should, or that
everything you've tested works, of course.

Statement coverage is the weakest form of code coverage.  Unfortunately,
it's the only one of the test coverage criteria that's properly working
at the moment (if it is properly working, which it probably isn't).  You
could try the condition coverage, but don't place great credence by it
(that's why it's off by default).  Turn it on with:

  cover -condition cover_db

And even if you get 100% code coverage on all the criteria you can think
of, that still doesn't necessarily mean that you've tested everything
that you should.  Unfortunately, there's no substitute for Thinking
Really Hard (tm).

> > How should I structure my tests for maintainability if I'm repeating tests
> > with different values ?

In the past, I have abstracted away the test to its own module, with the
import method taking various options, leaving the test itself as a
simple use statement.

Gedcom.pm on CPAN shows this approach.

> > Why can't my code Just Work [tm] so I don't have to write all these
> > fecking tests ? [1]
> > 
> > Simon.
> > 
> > [1] That's a rhetorical question :-)

Well, if you were to formally prove your program you could dispense with
the testing :-)

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Re: Ugly company sigs (was Re: Load testing)

2002-03-08 Thread Paul Makepeace

On Thu, Mar 07, 2002 at 06:47:18PM +0100, Newton, Philip wrote:
> However, you also suffer from what German Usenetters call "Kammquoting"
> ("comb quoting") -- that is, alternate long and short lines due to bad

FWIW --
It's referred to in RFC2646 as "embarrassing line wrap"
http://www.zvon.org/tmRFC/RFC2646/Output/chapter3.html

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If monkies had hats, then the giraffe painters can return to the green
 elephants."
   -- http://paulm.com/toys/surrealism/




Re: ADSL

2002-03-10 Thread Paul Sharpe



David Cantrell wrote:
> 
> On Sat, Mar 09, 2002 at 08:52:48PM -, Robert Shiels wrote:
> > I'm finally going to go for ADSL at home, and am expecting to pay around
> > £30/month after the latest price reductions. I've heard lots of good things
> > here about Nildram - can anyone tell me if their ADSL service is as good as
> > their other offerings, and whether I'm better off using them rather than BT
> > or someone like Pipex.
> 
> Yes, use 'em.  What differentiates them from the competition is that they
> don't have clueless minimum-wage crack-monkeys on tech support.

Seconded.  And their peering seems good too.

Cheers,

paul

-- 
Paul Sharpe   Tel: +44 (20) 7407 5557
Miraclefish Ltd.  Fax: +44 (20) 7378 8711
Studio 12 mailto:[EMAIL PROTECTED]
37 Tanner Street  http://www.miraclefish.com/
London SE1 3LF
UNITED KINGDOM




[ANNOUNCE] Technical meeting, 21st March, State 51

2002-03-11 Thread Paul Mison

The next London.pm technical meeting will be on Thursday 21st March,
and we'll be returning to State 51 who are graciously hosting the event.

The main talks we have scheduled are:

Nicholas Clark:  The State Of 5.8
Alex Gough:  Data::Dimensions
James Duncan:Pipelines
Mark Fowler: Building Test Modules With Test::Builder
Simon Wilcox:Practical Perl Advocacy

There's still room for one or two lightning (less than ten minute)
talks; please email me off list.

Hope you can make it;

--
:: paul
:: macintosh!







Re: Rindolf again

2002-03-11 Thread Paul Mison

On 11/03/2002 at 12:35 +, Nicholas Clark wrote:

>No. Yahoo! can! bog! off!

Someone complained about this on #london.pm, and as if by magic,
http://husk.org/misc/irc/rindolf.html appeared.

Now don't go telling everyone, or expect it to be there for more than a
day or so.

--
:: paul
:: macintosh!






Re: -e /dumb/question

2002-03-11 Thread Paul Makepeace

On Mon, Mar 11, 2002 at 04:40:05PM +, Rafiq Ismail (ADMIN) wrote:
> Has anyone ever experienced strange behaviour when using the -f/-e

How about printing what perl thinks is the current working directory
before issuing the file test? You would at least then have a
documentable example of a failure.

If you get to that stage, try opening it and see what the $! is.

use Cwd;

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If mussolini were still alive, then you can place a hammer in a cake."
   -- http://paulm.com/toys/surrealism/




[Surfside] Headline Haikus

2002-03-11 Thread Paul Makepeace

This is damn cool.

- Forwarded message from Paul Makepeace <> -

From: Paul Makepeace <>
Date: Mon, 11 Mar 2002 19:44:30 -0800
To: Surfside <>
Subject: [Surfside] Headline Haikus

http://www.headlinehaikus.com

Headlines in seventeen syllables. What's especially cool, is they're
automatically generated from the news (in Perl). Read all about it:
http://www.headlinehaikus.com/about.html

___
Surfside mailing list <>
(Un)subscribe etc: http://paulm.com/mm/listinfo/surfside

- End forwarded message -




Provisional meeting caledar

2002-03-12 Thread Paul Mison

People seem a little confused about when meetings happen. For the record:

* social meetings are on the Thursday after the first Wednesday of the
month
* technical meetings are usually on the third Thursday of every other month
* heretics meetings are on Thursday 1st, if it exists

but to save people having to try and figure out if this month is one
with a tech meet in or not, I've done a little calendar for the rest of
the year:

http://london.pm.org/meetings/cal2002.html

It's also linked off the meetings page, if you can't remember the URL.

--
:: paul
:: macintosh!






Re: Rindolf again

2002-03-12 Thread Paul Makepeace

On Tue, Mar 12, 2002 at 01:12:25PM +, Sue Spence wrote:
[snip enormous amount of unnecessary quoted material]
> AOL weren't any later than Prodigy et al except in name. I first started
> getting disks from them in ~1989, but they were around before that under

I don't think they were offering actual access to the Internet then were
they for quite some time? AOL until recently was a closed system like
Compuserve.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is my deal? If asking, you not understanding."
   -- http://paulm.com/toys/surrealism/




Re: linux / networking / multiple network cards

2002-03-12 Thread Paul Makepeace

On Tue, Mar 12, 2002 at 09:20:32PM +, Jonathan Stowe wrote:
> Don't worry this one :
> 
> irda0 Link encap:IrLAP  HWaddr b1:34:15:f9
>   UP RUNNING NOARP  MTU:2048  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:35966 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:8
> 
> Was showing as doing Appletalk yesterday  WHen it happens again I'll
> post it, I think it picks up friendly IR ports in the neighbourhood.

It hasn't received anything though, just talking into the IR void.

Greg: after you close eth0, what does netstat -tn say then? tcpdump list
as src?

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is a fork? The phone will tell you. Pick it up - it's not
 ringing."
   -- http://paulm.com/toys/surrealism/




Re: ADSL

2002-03-13 Thread Paul Makepeace

On Wed, Mar 13, 2002 at 09:39:21AM +, Leon Brocard wrote:
> The RT311? Do you use it? Does it Just Work?

Yes, have done; yes. Fantastic for what you pay, and laughably easy
to set up. Netgear make some great stuff (but stay away from their
FAxxx NICs).

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is the meaning of life? A cup of coffee."
   -- http://paulm.com/toys/surrealism/




Re: ADSL

2002-03-13 Thread Paul Makepeace

On Wed, Mar 13, 2002 at 10:20:03AM +, Simon Wilcox wrote:
> On Wed, 13 Mar 2002, Paul Makepeace wrote:
> > to set up. Netgear make some great stuff (but stay away from their
> > FAxxx NICs).
> 
> It's really the FA311 that you want to avoid. It uses a National
> Semiconductor chipset that isn't supported with the 2.2.x kernels.

Yup, that's the bastard. The funny thing is, it's a dog under Windows
too (2000 at least). One of those times when you spend more than 20mins
debugging a hardware problem and think (for the millionth time) "it's
just not worth saving a few quid on hardware".

of course, ymmv...

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is the sun's temperature? It is that fool that I can see right in
 your eyes."
   -- http://paulm.com/toys/surrealism/




OT: Crisps go walking on Sunday

2002-03-14 Thread Paul Mison

Crisps, the punnily named walking group that I set up after walking
from dawn until dusk across London last March with various London.pm
and (void) people, are doing a first anniversary dawn to dusk walk,
except this one is east to west. If anyone's interested, have a look at
the web page (http://husk.org/walk/), join the mailing list or just
turn up at Mile End Station on Sunday.

--
:: paul
:: ninja hamsters available now!






Mozilla news

2002-03-15 Thread Paul Makepeace

For those that aren't following Moz news much, some pretty interesting
stuff happening recently: Mozilla 0.9.9 was released a few days ago and
has some ultra-cool features:

* Mozilla has a new method for disabling pop-up and pop-under windows.
  It is now possible to disable the JavaScript window.open() method when
  it is not called as a result of a mouse click.

Yeah, baby.

There's also a javascript debugger, SOAP support, truetype font support
on unix, LDAP for address books and some solaris speed-ups.

http://www.mozilla.org/releases/mozilla0.9.9/

On AOL dropping MSIE, a move that will put Gecko in 30 million homes and
beginning to rid the world of the Web-crippling pox that is Netscape 4.x:
http://www.newsforge.com/article.pl?sid=02/03/08/1957252&mode=thread

Choice quotes:
``We hear that every hardware vendor who approaches AOL is now being
asked, "How is your support for Linux?" before they are even allowed to
make a sales presentation.''

``Microsoft's server products have never been seriously considered by
AOL, according to our insiders. "The licenses cost too much, their
hardware requirements are excessive, they take too much labor to
maintain, and we have enough security problems of our own without adding
Microsoft's," says an AOL bean-counter who has access to the company's
server cost numbers.''

Mozilla will ship with v8 of AOL's client software (no date given, but
they already ship Gecko beta).

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If drawing is like riding a bike, then hold on tightly!"
   -- http://paulm.com/toys/surrealism/




Re: heresy!

2002-03-16 Thread Paul Makepeace

On Sat, Mar 16, 2002 at 01:23:32PM +, Greg McCarroll wrote:
> http://penderel.state51.co.uk/mailman/listinfo/london.class

Hmm, london.java would've seemed to me the more natural choice to me,
being the source code rather than the compiled output. Besides,
Britain's a classless society as Andrew B will surely remind us... :-)

P, hoping to score a J2EE job...




user registration/session code

2002-03-18 Thread Paul Makepeace

Is there a published suite of bits that will handle the standard user
registration + login + session stuff that is pretty much the de facto
standard now? This kind of thing is incredibly easy & "old news" in Java
& PHP, but for some reason I can't find prior art in Perl.

Has this been solved with OpenFrame? (I'm still trying to get my head
around OF.)

Paul, looking for code in all the wrong places...

-- 
Paul Makepeace ... http://paulm.com/

"If god is blue, then why is your smile so sepia."
   -- http://paulm.com/toys/surrealism/




Re: Apache mod_perl on Windows 2000

2002-03-18 Thread Paul Makepeace

On Mon, Mar 18, 2002 at 10:33:37PM +, Alex McLintock wrote:
> I've been contacted about a site which is an Apache/mod_perl website.
> The problem is that the live production server is Windows 2000 and not
> negotiable :-(

Put linux inside a virtual machine (e.g. vmware) with port 80 exposed. I
was going to send this as a joke and now wonder whether it might
actually be not only workable but less learning & TCO than with
Windows+Apache.

Paul




search.cpan.org

2002-03-19 Thread Paul Mison

So, does anyone else find search.cpan.org slow at the moment?

There was a biggish discussion on IRC I'm too lazy to summarise. Maybe
one of the other interested parties can provide more details...

--
:: paul
:: ninja hamsters available now!






  1   2   3   4   5   6   7   8   9   10   >