Re: TPC Quiz Team
Dave Cross wrote: It was a beginners guide to Arrays. Complete with examples drawing heavily on the world of Buffy. Now you made me look; I had only read through the first column of the article by the time I got to work this morning, and that was all about red, green, and blue, with a dash of pink here and there. But a bit further on, I saw you're right! Yum. Yes, we should get a trademark of BtVS in connection with Perl :) Cheers, Philip -- Philip Newton [EMAIL PROTECTED] All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate.
RE: TPC Quiz Team
Dave Cross writes: It's been so long, I have to ask: what was my article in the most recent TPJ? :-) It was a beginners guide to Arrays. Complete with examples drawing heavily on the world of Buffy. Oh I remember now. In fact, I specifically remember rolling my eyes :-) Nat
RE: Some Northern Irish Fun and Games ...
http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347. stm Maybe their reason is wrong, but banning line dancing is a worthy end, surely? We could get rid of Steps at a stroke. Except Faye, of course. -- matt so how you gonna kick it? gonna kick it root down.
RE: Some Northern Irish Fun and Games ...
http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347. stm Oh! This has to get my Quote of the Week: As far as it being sensual, that is not a word you would attribute to country music. -- matt so how you gonna kick it? gonna kick it root down.
Re: Some Northern Irish Fun and Games ...
On or about Fri, May 18, 2001 at 09:29:42AM +0100, Matthew Jones typed: As far as it being sensual, that is not a word you would attribute to country music. They obviously haven't been listening to The Archers recently. R
Re: Some Northern Irish Fun and Games ...
On Fri, May 18, 2001 at 07:27:10AM +0100, Greg McCarroll wrote: This is the sort of thing that happens in the country i grew up in http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347.stm Is that Alan Cox in the Red Hat in that photo? Inquiring minds wish to know. -Dom
Re: Some Northern Irish Fun and Games ...
On Fri, May 18, 2001 at 07:27:10AM +0100, Greg McCarroll wrote: This is the sort of thing that happens in the country i grew up in http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347.stm cue bad joke: - Why do Free Presbyterians not have sex standing up? - It might lead to dancing. Tony -- -- Tony Bowden | [EMAIL PROTECTED] | http://www.tmtm.com/ sheep-boy, duck-call, swan-song, idiot son of Donkey Kong -- PGP signature
Re: Some Northern Irish Fun and Games ...
On Fri, 18 May 2001, Greg McCarroll wrote: This is the sort of thing that happens in the country i grew up in http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347.stm Yeah .. right. Let me get this straight .. you're trying to tell me you've actually grown up? ;) anyway ... like I've always said .. put a robe on someone and stand em in a pulpit and their brain heads off to meet its maker many years before the rest of em. on a similar subject: Did anyone catch that bit about the nutters in Afganistan blowing up some of the oldest Budhas in the world ? ... I'm beginning to have a real downer on all religions right now. -- Robin Szemeti Redpoint Consulting Limited Real Solutions For A Virtual World
Re: pc components
Matthew Byng-Maddick wrote: He was touring with Norman Lovett, who wasn't nearly as good. I found Norman Lovett really funny. Managed to keep the whole audience laughing without actually saying anything for a few minutes and thena few minutes more just by saying what? Simon [easily amused]
Re: TPC Quiz Team
Leon Brocard wrote: Cross David - dcross sent the following bits through the ether: I need three volunteers to join me in the london.pm team for Jon Orwant's Internet Quiz at The Perl Conference. If you'll accept me, I'd be happy to join you... I'm up for it as well unless you find someone better. Or I get killed. /ObStarShipTroopersReference type=paraphrased
TPC Quiz Lineup
OK. The first response I got were from Paul Makepiece, Peter Haworth, and Leon. So that's the team. Simon was next - so he's the substitute (we'll use him if Leon gets stolen by Amsterdam.pm again). I'll go and register us now. If anyone else wants to play, there's nothing to stop you entering a B team. Dave... -- The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system.
London.pm List Weekly Summary 2001-05-14
This is the seventeenth weekly summary of the London Perl Mongers mailing list. For the crazy week starting 2001-05-14: Don't forget the London.pm website for meetings etc. The next meeting is a social meeting apparently on Thursday 7th June which clashes with elections: http://london.pm.org/ It was a very busy week, but the most important thing to know was that Damian Conway started of a series of articles about containing perl6 programs to give us a flavour for the language (which doesn't contain porn and won't be visualperl, honest): http://www.perl.com/pub/2001/05/08/exegesis2.html http://www.cogsci.princeton.edu/cgi-bin/webwn/?stage=1word=Exegesis http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05684.html Greg McCarroll started off by posting a rather amusing drinking game based around London.pm. We had thoughts about London.pm - the Movie, but it came to nothing (other than Snow Crash with vampires): http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05120.html http://www.corona.bc.ca/films/details/snowcrash.html http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05359.html Dave Cross was obviously feeling rather ill this week, as he posted a rather pretty Perl script which abuses substr, and a magic regex module tieing wotsit doodah: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05138.html http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05206.html Struan Donald asked about escape characters in files, and everyone helped him: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05172.html http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05175.html Paul Mison posted about organising a second constrained walk: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05207.html http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05221.html Dominic Mitchell asked what people had on top of their monitors. People answered: nothing (flatscreen), various Kinder egg toys (giraffes, cars), squealing monkies, a furry orangutan climbing an inflatable Big Ben, many dust puppies, Network Programming with Perl, post-it notes, japanese netsuke depicting a cat, various beanie babies with strange relationships (goose, duck), marzipan models of Bagpuss, many Tuxes, various swag, a cowboy hat, real cats, a frog, dinosaurs, caffinated mints, coffe mugs, a beach ball, a Spaced DVD, 'Worms World Party', various computer bits, chocolate, a ximian monkey, Star Wars figures, cider and vodka, vibrating rabbits, and some lego. So now you know. There was a huge thread on politics. No-one got flamed. Many people didn't care much for it at all. Mark Fowler wrote a good summary again, so I'll just link to him rather than the people who came up with original ideas: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05477.html Leo Lapworth posted about a Perl job at Cloudband: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05584.html In other news: XP again, London.pm tshirts, TPJ is alive, Transtec sparc clones are cool, Buffy buffy buffy, fake news articles, the latest FHM containing Buffy crew, autodia, vampires everywhere, Angel boobapalooza, TPC Quiz Team, YAPC, conspiracy theories, Content-Encoding: gzip, that all online computer shops are crap, memes past their time, pidgin English, the computer language shootout, Ocaml, and reducing people's code to one-liners: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05678.html http://www.fhm.co.uk/girls/2001/holding.htm http://members.netscapeonline.co.uk/antibetdesign/vampires.htm http://www.bagley.org/~doug/shootout/ http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05808.html Now all I have to do is not volunteer for the p5p summary, Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... 43% of all statistics are worthless.
Re: London.pm List Weekly Summary 2001-05-14
On Fri, May 18, 2001 at 12:21:47PM +0100, Leon Brocard wrote: Now all I have to do is not volunteer for the p5p summary, Leon You're a marked man, you realise? -- If that makes any sense to you, you have a big problem. -- C. Durance, Computer Science 234
Re: FHM Top 100 Sexiest Women
On Thu, May 17, 2001 at 09:04:15PM +0100, Neil Ford wrote: If you're getting it for the piccies, I would suggest you don't bother. Whilst SMG gets a full page, the picture of Miss Hannigan is small and a reprint of one of the ones from the photo shoot she did for FHM last year. Give me a break. It's the result of a wager from last year's list. I already *have* a perfectly good Willow poster. Martin
Re: Ken Campbell is a god (was: pc components)
On Fri, May 18, 2001 at 06:05:44AM +1000, Damian Conway wrote: Im nogat samting til ridim insait long pastaim Klingon! Damian (longlong tisa Perlpela) Lingua::TokPisin::Perlpela? .robin. -- Have you been certain you came to me the real reason explain anything else that I came to you the real reason explain anything else that I came to you the real reason explain anything else? --eliza
RE: pc components
From: Simon Wistow [EMAIL PROTECTED] Sent: Friday, May 18, 2001 11:04 AM Matthew Byng-Maddick wrote: He was touring with Norman Lovett, who wasn't nearly as good. I found Norman Lovett really funny. Managed to keep the whole audience laughing without actually saying anything for a few minutes and thena few minutes more just by saying what? (Norman Lovett)++ I've got a recording of Lovett telling a joke about my school. I went to a comprehensive school in Clacton-on-Sea[1]. (pause) I left that school with one O Level. (longer pause) But they caught up with me and made me give it back. Dave... [1] I have no reason to believe that Norman Lovett actually _did_ go to my school[2]. [2] Sade did tho'. She was a couple of years older than me. Everyone hated her because she was a stuck-up bitch. I still can't listen to her music. The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system.
Re: Ken Campbell is a god (was: pc components)
* at 18/05 14:51 +0100 Cross David - dcross said: From: Robin Houston [EMAIL PROTECTED] Sent: Friday, May 18, 2001 2:34 PM On Fri, May 18, 2001 at 06:05:44AM +1000, Damian Conway wrote: Im nogat samting til ridim insait long pastaim Klingon! Damian (longlong tisa Perlpela) Lingua::TokPisin::Perlpela? Nooo! Damian - as a sponsor, I'm _begging_ you not to do this :) if that works you just have to hope the blackstar people don't decide it's a good idea :) struan
Perlish interface to PayPal?
Anyone aware of an interface either through the web or more directly that will provide the usual paypal facilities through a perl interface? CPAN command=i /paypal/ / didn't get any hits. Paul
Fun with Attributes
Thanks to Damian's Attribute::Handlers it's now possible to do what I wanted to do for some time (but haven't quite gotten around to) and very easily (and it's on its way to CPAN; suggestions/patches welcome): use Attribute::Memoize; sub fib :Memoize { my $n = shift; return $n if $n 2; fib($n-1) + fib($n-2); } $|++; print fib($_),\n for 1..50; package Attribute::Memoize; use warnings; use strict; use Attribute::Handlers; use Memoize; our $VERSION = '0.01'; sub UNIVERSAL::Memoize :ATTR(CODE) { my ($package, $symbol, $options) = @_[0,1,4]; $options = [ $options ] unless ref $options eq 'ARRAY'; memoize $package . '::' . *{$symbol}{NAME}, @$options; } 1; Marcel -- $ perl -we time Useless use of time in void context at -e line 1.
Re: Perlish interface to PayPal?
On Fri, May 18, 2001 at 03:44:13PM +0100, Jonathan Peterson wrote: This (non-perl unix command line tool) might be better than nothing: http://members01.chello.se/hampasfirma/ppsend/ Great, thanks, that's the ticket. Seems like it's a simple WAP/XML interface. For anyone that's curious it looks like (anyone else not curious, look away now): ==login request POST /cgi-bin/phscr?rs=9093475911 HTTP/1.0 Accept: text/vnd.wap.wml Content-length: 66 cmd=login-submit-pass[EMAIL PROTECTED]pass=blahblah ==login response HTTP/1.1 200 OK Date: Fri, 18 May 2001 15:19:59 GMT Server: Stronghold/2.4.2 Apache/1.3.6/L C2NetEU/2412 (Unix) Cache-Control: must-revalidate, proxy-revalidate, no-cache Set-Cookie: Stronghold=216.228.5.63.28091990196199609; path=/; expires=Sun, 11-May-31 15:19:59 GMT Connection: close Content-Type: text/vnd.wap.wml ?xml version=1.0? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Main Menu newcontext=truep mode=nowrapBalance: $$386.70br/anchor*Money Requestsgo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=uomelog/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorSend Moneygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=beam/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorRequest Moneygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=request/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorHistorygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=translog/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorCustomer Supportgo href=/cgi-bin/phscr?rs=8067080184 method=postpos! tfield name=cmd value=dialconfirm/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorLogoutgo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=logout/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr//p/card/wml Balance: $386.70 Paul
Re: Activestate and Debian
On Fri, May 18, 2001 at 05:04:21PM +0100, David Cantrell wrote: Has anyone tried Activestate's packaged perl 5.6 for Debian? I wouldn't normally consider them, but there's no other packaged 5.6 for Debian- stable. I'd just run -testing. That to me would be less invasive and likely to break the whole system than installing a 3rd-party perl distro, unless you can keep the two installs completely separate (I anecdotally expect that to be unlikely given the age of the potato perl). FWIW, I've been running various flavours of Debian testing and unstable on production machines with great success since '96. -stable is just too long in the tooth for doing any modern development (IMO)... Good luck, Paul
Re: Happy Happy Joy Joy!
On Fri, May 18, 2001 at 08:20:47AM +0200, Philip Newton wrote: I finally received my copy of TPJ in the mail yesterday. And there was much rejoicing :) If it makes anyone feel better, I just heard from Mr. Orwant that *his* copy hasn't arrived yet... :-) dha, who thinks the overseas copies got somehow shipped before the domestic ones... -- David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/ No, I don't have a ministry of car healing. - What's Your Name
Re: Happy Happy Joy Joy!
* at 18/05 12:54 -0400 David H. Adler said: On Fri, May 18, 2001 at 08:20:47AM +0200, Philip Newton wrote: I finally received my copy of TPJ in the mail yesterday. And there was much rejoicing :) If it makes anyone feel better, I just heard from Mr. Orwant that *his* copy hasn't arrived yet... :-) dha, who thinks the overseas copies got somehow shipped before the domestic ones... but that'd mean you got yours first :) struan
[ANNOUNCE] Attribute::TieClasses 0.01
NAME Attribute::TieClasses - attribute wrappers for CPAN Tie classes SYNOPSIS use Attribute::TieClasses; my $k : Timeout(EXPIRES = '+2s'); # loads in Tie::Scalar::Timeout and tie()s $k with those options DESCRIPTION Damian Conway's wonderful `Attribute::Handlers' module provides an easy way to use attributes for `tie()'ing variables. In effect, the code in the synopsis is simply use Attribute::Handlers autotie = { Timeout = 'Tie::Scalar::Timeout' }; Still, going one step further, it might be useful to have centrally defined attributes corresponding to commonly used Tie classes found on CPAN. Simply `use()'ing this module doesn't bring in all those potential Tie classes; they are only loaded when an attribute is actually used. The following attributes are defined: Attribute name(s) Variable ref Class the variable is tied to = = Alias HASH Tie::AliasHash AliasedHASH Tie::AliasHash Cache HASH Tie::Cache CharArray ARRAY Tie::CharArray CounterSCALARTie::Counter Cycle SCALARTie::Cycle DBIHASH Tie::DBI Decay SCALARTie::Scalar::Decay Defaults HASH Tie::HashDefaults Dict HASH Tie::TieDict DirHASH Tie::Dir DirHandle HASH Tie::DirHandle Discovery HASH Tie::Discovery Dx HASH Tie::DxHash Encrypted HASH Tie::EncryptedHash FileLRUHASH Tie::FileLRUCache Fixed HASH Tie::SubstrHash FlipFlop SCALARTie::FlipFlop IPAddrKeyedHASH Tie::NetAddr::IP InsensitiveHASH Tie::CPHash Ix HASH Tie::IxHash LDAP HASH Tie::LDAP LRUHASH Tie::Cache::LRU ListKeyed HASH Tie::ListKeyedHash Math HASH Tie::Math Mmap ARRAY Tie::MmapArray NumRange SCALARTie::NumRange NumRangeWrap SCALARTie::NumRangeWrap (in Tie::NumRange) Offset ARRAY Tie::OffsetArray OrderedHASH Tie::LLHash PackedInt ARRAY Tie::IntegerArray PerFH SCALARTie::PerFH Persistent HASH Tie::Persistent RDBM HASH Tie::RDBM Range HASH Tie::RangeHash RangeKeyed HASH Tie::RangeHash Rank HASH Tie::Hash::Rank Ranked HASH Tie::Hash::Rank RefHASH Tie::RefHash Regexp HASH Tie::RegexpHash RegexpKeyedHASH Tie::RegexpHash Secure HASH Tie::SecureHash Sentient HASH Tie::SentientHash Shadow HASH Tie::ShadowHash Shadowed HASH Tie::ShadowHash Sort HASH Tie::SortHash Sorted HASH Tie::SortHash Strict HASH Tie::StrictHash Substr HASH Tie::SubstrHash TextDirHASH Tie::TextDir TimeoutSCALARTie::Scalar::Timeout Toggle SCALARTie::Toggle Transact HASH Tie::TransactHash TwoLevel HASH Tie::TwoLevelHash VecARRAY Tie::VecArray Vector ARRAY Tie::VecArray WarnGlobal SCALARTie::WarnGlobal::Scalar I haven't had occasion to test all of these attributes; they were taken from the module descriptions on CPAN. For some modules where the name didn't ideally translate into an attribute name (e.g., `Tie::NetAddr::IP'), I have taken some artistic liberty to create an attribute name. Some tie classes require the use of the return value from `tie()' and are as such not directly usable by this mechanism, AFAIK. No censoring has been done as far as possible; there are several attributes that accomplish more or less the same thing. TIMTOWTDI. If you want any attribute added or renamed or find any mistakes or omissions, please contact me at [EMAIL PROTECTED]. EXAMPLES # Tie::Scalar::Timeout my $m : Timeout(NUM_USES = 3, VALUE = 456,
[ANNOUNCE] Attribute::Abstract 0.01
NAME Attribute::Abstract - implementing abstract methods with attributes SYNOPSIS package SomeObj; use Attribute::Abstract; sub new { ... } sub write : Abstract; DESCRIPTION Declaring a subroutine to be abstract using this attribute causes a call to it to die with a suitable exception. Subclasses are expected to implement the abstract method. Using the attribute makes it visually distinctive that a method is abstract, as opposed to declaring it without any attribute or method body, or providing a method body that might make it look as though it was implemented after all. BUGS None known so far. If you find any bugs or oddities, please do inform the author. AUTHOR Marcel GrĂ¼nauer, [EMAIL PROTECTED] COPYRIGHT Copyright 2001 Marcel GrĂ¼nauer. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO perl(1). Marcel -- We are Perl. Your table will be assimilated. Your waiter will adapt to service us. Surrender your beer. Resistance is futile. -- London.pm strategy aka embrace and extend aka mark and sweep
O'Reilly Safari - anyone use it?
I'm interested to know if anyone uses Safari to read O'Reilly books online. http://safari1.oreilly.com/tablhom.asp?home It sounds like a good idea (must be better than having 3 editions of Programming Perl) and I'm tempted to give it a go, so any Safari subscribers out there with an opinion? Barry