Re: Straight Jackets and Video Cameras

2009-07-30 Thread Rafael Garcia-Suarez
2009/7/29 Ovid publiustemp-londo...@yahoo.com: Python (Japanese): I'm Ruby. Perl: I'm Perl. Python:  I'm a clean, modern language. Perl: Hey, you're Japanese. Don't you write that funny Kanji stuff? How can you read that? Python: Hey, it's a beautiful, expressive style of writing. It's not

Re: [OT] Perl woes and types

2009-01-28 Thread Rafael Garcia-Suarez
2009/1/28 Ovid publiustemp-londo...@yahoo.com: - Original Message From: Peter Corlett ab...@cabal.org.uk The problem with strongly and weakly typed is that different people define them differently and they don't have much meaning in type systems. It's static typing and

Re: Perl 5 now uses Git for version control

2008-12-22 Thread Rafael Garcia-Suarez
2008/12/22 Léon Brocard a...@astray.com: 2008/12/22 Nicholas Clark n...@ccl4.org: If your network lets you, it's probably faster to do this: git clone git://perl5.git.perl.org/perl.git perl-git If you are interested in hacking on perl, we're putting together a document which leads you

Re: Perl's lack of 'in' keyword

2008-10-10 Thread Rafael Garcia-Suarez
2008/10/10 Paul Makepeace [EMAIL PROTECTED]: Back to programming languages(!) Just as a different perspective, here is Python growing a ternary operator, i.e. how to get the same behavior as the C-like C ? A : B. There was considerable debate about this, with Guido eventually Making a

Re: Perl's lack of 'in' keyword

2008-10-09 Thread Rafael Garcia-Suarez
2008/10/9 Iain Barnett [EMAIL PROTECTED]: I've no idea what smart match should do when confronted with an object - check against each value in it's hash? It's the smart one, not me! :_) Check if the ~~ operator is overloaded and call it, of course.

Re: svk v git + possible gig

2008-09-09 Thread Rafael Garcia-Suarez
2008/9/8 Nicholas Clark [EMAIL PROTECTED]: On Mon, Sep 08, 2008 at 05:59:26PM +0100, Paul Makepeace wrote: Has anyone used perforce? Do you also think it makes the OSS VCS look especially weak? I am much happier with its merge support than raw subversion, or subversion (1.4) + svn-merge.py.

Re: __DATA__ and scalars

2003-09-24 Thread Rafael Garcia-Suarez
Philip Newton wrote: I think Brian McCauley(sp?) has a solution to this (that he wanted to get into the Perl FAQ) using here-docs. Something like this: my $data = join '', DATA; eval \$data = UNLIKELYSTRING;\n$data\nUNLIKELYSTRING; What's the advantage over this ? $data =

Re: Arrgh!

2003-09-19 Thread Rafael Garcia-Suarez
Jasper McCrea wrote: What's a pirate's favourite country? Isn't there one with lightbulbs ? There's always one with lightbulbs. -- Q: How many extreme programmers does it take to change a lightbulb? A: Two (Firstly to write the regression tests, then to declare that it's a hardware

Re: [ot] doubtless silly perl question

2003-09-16 Thread Rafael Garcia-Suarez
Joel Bernstein wrote: my $foo=( split ',' = $line )[7]; Side note : use /,/ instead of ','. The 1st argument to split() is always a regexp (1), and write it this way if you don't want to debug what's wrong with Csplit '|' = $foo. ­- (1) except when it's a single space . :-)

Re: How many lines of Perl code?

2003-09-16 Thread Rafael Garcia-Suarez
Andy Wardley wrote: Just for fun: How many lines of Perl code have been written? Ever. And, how many lines of Perl code have been cargo-culted from Matt's script archive ? Ever ;-)

Re: Spam tarpits...

2003-09-10 Thread Rafael Garcia-Suarez
Ronan Oger wrote: Qmail has a tarpit patch. more about it here: http://www.palomine.net/qmail/tarpit.html Side-comment : I guess each major open source project gives birth to a different-shaped community. I'm always amazed at the qmail community, where the main currency unit seems to be

Re: Audiofile::Info

2003-09-09 Thread Rafael Garcia-Suarez
Dan Brook wrote: use vars '%INC'; useless use of use vars : the INC symbol is exempt from strict-vars errors. Or do you use a buggy version of perl that I don't know about ? No, I was just keeping my own copy of %INC so it didn't interfere with the main %INC. INC is one of

Re: Audiofile::Info

2003-09-09 Thread Rafael Garcia-Suarez
Matt Lawrence wrote: INC is one of those symbols that are always forced into package main::. (they're listed at the end of perlvar.) Is it not possible to use local() on these variables, then? Well, you can local()ise variables in main:: just like any other ones. local() creates a

Re: Audiofile::Info

2003-09-08 Thread Rafael Garcia-Suarez
Dan Brook wrote: use vars '%INC'; useless use of use vars : the INC symbol is exempt from strict-vars errors. Or do you use a buggy version of perl that I don't know about ?

Re: Module dependencies

2003-09-08 Thread Rafael Garcia-Suarez
Shevek wrote: Surely identifying the dependencies of any one module is incomputable in general, and most likely incomputable in the specific cases of many popular modules, especially those with baroque plugin architectures. Of course that depends on whether you want to compute the

Re: Module dependencies

2003-09-08 Thread Rafael Garcia-Suarez
Michael Stevens wrote: Probably you could get most of the data the experimental way - %INC will list things loaded with do, require, or use (see perlvar), so you could 'use' each interesting module on its own and monitor which files get loaded, and generate a suitable graph. I think that

Re: Ob-buffy

2003-09-04 Thread Rafael Garcia-Suarez
Nigel Rantor wrote: Hopefully Lynch hasn't completely given away the idea of coming back to TV... And Wild Palms was forgettable. Well, I saw it and now it is forgotten. I've seen it. I some point I was looking at the original comic books (never found them). It's true that the first

Re: Bad C Source (Re: gzipping your websites WINRAR 40 days trial)

2003-09-03 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: At the risk of going off topic, the Perl 5 source isn't exactly pleasant. And contains gotos. IIRC I added 2 between 5.6.0 and 5.8.0, but the alternative was a big mess of if()s and braces. C doesn't have all the nice loop labelling features of a certain other language.

Re: Ob-buffy

2003-09-03 Thread Rafael Garcia-Suarez
Paul Mison wrote: Babylon 5 is an obvious counter-example, First time I encounter this title. I think it was never broadcast in France, at least not on a public channel. Or is it ancient ?

Re: Ob-buffy

2003-09-03 Thread Rafael Garcia-Suarez
Dave Cross wrote: You jest surely. Have you never seen The Prisoner or Twin Peaks? While Twin Peaks was pretty good, (and I enjoyed the companion movie as well), I don't think it has the same level of achievement and homogeneity than Buffy and the Prisoner. It's more like a testbed for Lynch's

Re: insidious biometrics, identity crises

2003-09-01 Thread Rafael Garcia-Suarez
Piers Cawley wrote: How would they know who to arrest if nobody turned up with the ID card within seven days? Implementation detail. Do you think that the marketroids that work for the government are any better, on the average, than the others ? Oh, and ID cards should be soft pink, too.

Re: Getting a Hashkey for a Perl Data Structure

2003-08-29 Thread Rafael Garcia-Suarez
Mark Fowler wrote: Essentially what I need to do is calculate a hashkey for a Perl data structure. What's the commonly accepted wisdom to do this? My wee little brain is thinking serialisation either by Storable or YAML and then hashing with Digest::MD5 or one of the other common string

Re: insidious biometrics, identity crises

2003-08-29 Thread Rafael Garcia-Suarez
David Landgren wrote: ghandiI think it would be a nice idea./ghandi Although the scope of Ghandi's quote is much broader than the sole North-American civilisation. -- Their syphilisation, you mean, says the citizen. -- J. Joyce, Ulysses

Re: insidious biometrics, identity crises

2003-08-28 Thread Rafael Garcia-Suarez
Earle Martin wrote: On Thu, Aug 28, 2003 at 09:48:56AM -0500, Elaine -HFB- Ashton wrote: You don't carry any ID on you at times? What happens if you get hit by a bus and you're alone? How do you expect your body will be identified? My debit cards? Business card? Piece of paper in my

Re: @INC

2003-08-20 Thread Rafael Garcia-Suarez
Andy Ford wrote: How do I change the search directories in @INC? Recompile perl and reinstall. I have recently installed a later version of perl (5.8.0) from version 5.6.1 on a solaris 2.8 box. I am now trying to make new perl modules to use under this distribution but @INC point ot the

Re: Exporting Symbols

2003-08-18 Thread Rafael Garcia-Suarez
Nigel Rantor wrote: The reasoning is not so that the namespace doesn't get polluted. His argument is regarding space efficiency. That might matter in an Apache::Registry environment. Each Apache::Registry script is compiled in its own namespace ; importing symbols takes space (not so much,

Re: [RFC] arbitary maths evaluation

2003-08-18 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: On Sat, Aug 16, 2003 at 11:13:53AM +0100, Simon Wistow wrote: I think the potential for me to mess up with Safe is too great, Safe has bugs. You don't need to mess up - it's already done for you. Safe isn't. More precisely there are quite a lot of opcodes that

Re: Siesta party

2003-08-14 Thread Rafael Garcia-Suarez
Nigel Rantor wrote: Talking of Jamon...here's a really *nice* restaurant in that area... Jamon Jamon Does the French madness about movie-named restaurants invade London ? http://www.imdb.com/Title?0104545 Must try stuffed baby red peppers, white anchovies, mushrooms with spinach

Re: talking of arrays....

2003-08-14 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] wrote: I was just wondering why this: @m=([(_)x10])x5; $m[1][2]=o; for $y (0..4) { for $x (0..9) { print $m[$y][$x]; } print $y$/; } produces this: __o___ 0 __o___ 1 __o___ 2 __o___ 3 __o___ 4 ? the x operator on lists

Re: Siesta party

2003-08-14 Thread Rafael Garcia-Suarez
Chisel Wright wrote: On Thu, Aug 14, 2003 at 02:03:17PM +0200, Elizabeth Mattijsen wrote: Hmmm... PerlIO::via::backwards? Or (assuming vim as the mutt editor used): select lines, then !rev Or perhaps more accurately : %!rev %ri %!tac although using external

Re: text'd or texted

2003-08-05 Thread Rafael Garcia-Suarez
Philip Newton wrote: On 5 Aug 2003 at 9:41, Andy Ford wrote: Another word to confuse the non English speaking community -the verb to text!! Any noun can be verbed (though verbing weirds language). hlör u fang axaxaxas mlö. I let you google for it.

Re: [OT] submitting a perl bug without ``perlbug''?

2003-08-05 Thread Rafael Garcia-Suarez
Belden Lyman wrote: A few months back I encountered a switch ordering bug with Perl 5.6.1 and 5.8 on Solaris. (-w -T on #! line doesn't work; -T -w does work, as do -wT and -Tw.) I wasn't able to 'perlbug' it at the time, and am still unable to do so. On occassion, I remember the bug and

Re: Avoiding $1, $2, ...

2003-07-29 Thread Rafael Garcia-Suarez
Paul Makepeace wrote: I'd like to dump regex matches into an array without explicitly naming $1, $2, ... =head1 NOT WORKING CODE ($month, $day, $time, $host, $process, $pid, $message) = /^(\w+) (\d+) (\d\d+:\d\d:\d\d) (\w+) ([()\w\/]+)\[(\d+)\]: (.*)$/ || /^(\w+) (\d+)

Re: Magazines

2003-07-02 Thread Rafael Garcia-Suarez
Dean Wilson wrote: I've been clearing out my bookmarks and found one for the Perl Review, (http://www.theperlreview.com/), after a quick mosey around the site it looks like its stopped being published. Does any one know the story behind it? The work force behind the Perl Review is brian d

Re: [ot] Mounting Unix Drives in Windows

2003-07-01 Thread Rafael Garcia-Suarez
Dave Cross wrote: So, a few questions: 1/ How much chance is there that a Samba installation will cause problems? How stable is Samba? Samba is quite stable, but well, it has the same problems than NetBIOS : it's bandwidth consuming (designed for LANs). And if the machines are open on the

Re: [ot] Mounting Unix Drives in Windows

2003-07-01 Thread Rafael Garcia-Suarez
Robin Berjon wrote: Rafael Garcia-Suarez wrote: Alternatives : WebDAV ? IIRC Windows' file explorer supports it natively. It does. I'm not sure however that using WebDAV as a full time file system is a happy choice, not sure it's been tested that intensively. It'll also be slow. So

Re: auction time

2003-06-26 Thread Rafael Garcia-Suarez
Greg McCarroll wrote: So does anyone have anything that they think would sell? I could sell a running joke, or another recurrent mention of something, for the P5P summaries. - That's not like I was copying on Piers. Is it ?

Re: auction time

2003-06-26 Thread Rafael Garcia-Suarez
Greg McCarroll wrote: * Rafael Garcia-Suarez ([EMAIL PROTECTED]) wrote: I could sell a running joke, or another recurrent mention of something, for the P5P summaries. - That's not like I was copying on Piers. Is it ? straw poll - would anyone be interested in bidding on this? More

Re: Number Indicating Participation in London.pm (NIPL) (was:assimilating CPAN)

2003-06-18 Thread Rafael Garcia-Suarez
Earle Martin wrote: Wouldn't hacking perl be more of a lowest common denominator here? You also missed out the crucial IRC bit. I'd rearrange the bits to: owns a pony | lives or works in the London area | | actively subscribed to mailing list | | | regularly attends

Re: Something is wrong with my conceptual model of regexes

2003-06-17 Thread Rafael Garcia-Suarez
Roger Burton West [EMAIL PROTECTED] wrote: This has bitten me several times. A recent example: I have a file in HTML-like markup. I've just found a piece of text to which I might want to do something, but not if it's within a tag. The file up to but not including the match is in $foo. I

Re: reading other people's lexicals

2003-06-16 Thread Rafael Garcia-Suarez
Robin Houston wrote: ps. If anyone has any idea why PadWalker doesn't work with bleadperl, I'd be interested in hearing it! There has been some massive reorganisation in the pad code. (I suggest that you ping Dave Mitchell. He knows this part best.)

Re: [JOB][HERESY] Python / wxPython GUI developer

2003-06-13 Thread Rafael Garcia-Suarez
acme wrote: I've been reading the Python Cookbook and it's all quite interesting apart from the whitespace. Butabookwithoutanywhitespacewouldbedifficulttoread,wouldn'tit.

Re: [JOB][HERESY] Python / wxPython GUI developer

2003-06-13 Thread Rafael Garcia-Suarez
Lusercop wrote: On Fri, Jun 13, 2003 at 11:58:23AM +0100, Leon Brocard wrote: ... H lp! S m b d st l ll th v w ls fr m m k yb rd! This is totally inconsistent, at the very least, y should be either a vowel or not, it can't be both, as above... Nope : http://www.wikipedia.org/wiki/Semivowel

Re: [scott@asofyet.org: xsubpp patch]

2003-06-12 Thread Rafael Garcia-Suarez
Joel Bernstein [EMAIL PROTECTED] wrote: This hit the gtk-perl list, and looks really damn useful for all XS developers. I'm certainly going to give it a whirl, because xsubpp error reporting is Broken and Wrong, currently. Any reason not to use the less intrusive (but untested) patch below

Re: The Perl Color?

2003-06-06 Thread Rafael Garcia-Suarez
Dominic Mitchell wrote: Lusercop wrote: What's this M-x rubbish? Just take this red pill, labelled emacs.rpm. You'll soon find out how deep the elisp hole really goes. What's that .rpm rubbish ?