Re: Email Style (was: Re: Election Manifestos)
On Wed, May 23, 2001 at 06:51:26PM -0400, David H. Adler wrote: map g !G perl -MText::Autoformat -eautoformat CR map z !G perl -MText::Autoformat -e 'autoformat{ all = 1 }' CR ...shamelessly stolen, lock stock and barrel from Damian's article in the new TPJ. :-) Cool, thanks. Actually I think I saw that at TPC too. Minor problemette is, when 1.0.4 is called at the end of the file: Can't call method signature on an undefined value at /usr/local/share/perl/5.6.0/Text/Autoformat.pm line 779. Paul, having thoughts about using nvi with its embedded perl interpreter to speed that up a bit...
Re: Email Style (was: Re: Election Manifestos)
Damian is so cool... The next version of Text::Autoformat (which should be out before TPC5) will also leave header lines and sigs unmolested, making it truly useful for email tidying. Now if he'd just stop blaming me for stuff like DWIM.pm... ;-) Well, I would if you'd just stop putting those evil thoughts in my head... ;-) Damian
Re: Email Style (was: Re: Election Manifestos)
Minor problemette is, when 1.0.4 is called at the end of the file: Can't call method signature on an undefined value at /usr/local/share/perl/5.6.0/Text/Autoformat.pm line 779. Noted and fixed for the next release. Damian
Re: Election Manifestos
Typical quotes from Simon this week: Oh, and fix your bloody line length. Roger, where we come from we have a word for people like that. Ripping that fucker out would be my first act. :) If you didn't want your code to be used under the license terms you set, YOU SHOULD NOT HAVE SET THEM. Deal with it. ...bad language and shouting isn't big, and it isn't clever. /Robert - Original Message - From: Simon Cozens [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 23 May 2001 22:00 Subject: Re: Election Manifestos On Wed, May 23, 2001 at 09:50:47PM +0100, Leon Brocard wrote: @Mail (http://webbasedemail.com/) copied my code, my docs, and my images without telling me, added a configuration file, and sold it. I only found out about it by accident, which wasn't good. (it's changed a lot since). This is 100% within their rights. They could have handled it better. They could have told me about it, Yes, but they didn't have to. So either I break up and cry at how lax the Artistic License is and inflict viral GPL on all my code, or I just keep on going hacking code. Which do I do? ;-) If you didn't want your code to be used under the license terms you set, YOU SHOULD NOT HAVE SET THEM. Deal with it.
Re: [Announce] Hackspoitation film fest
Leon Brocard wrote: I could bring along Real Genius? (slightly more old-skool hackers though) Ooh, yes. I was going to dig out my (recorded-from-tv) copy of that from home next weekend. Can't seem to find it anywhere as an original. [0] I also have D.A.R.Y.L (Data Analyising Robot Youth Lifeform) but I thinkt hat's pushing it a bit. As is mentioning the fact that I ahve the first 2 seasons of 8uffy on DVD. Muuuhahahahaha - Electronics Boutique and their silly selling it to me half price shenanigans. Simon [0] Is this deja-l.pm? UHF apparently to be released on DVD ... http://members.aol.com/allthngynk/uhf10th/dvd.htm
Re: Election Manifestos
Chris Ball wrote: I used to use At-mail a lot at work. Pseudo-interesting question of the day; do you really feel it was ripped off (in the stigmatism-attached sense of the word), or given that it was GPLed or Artistic'd anyway, that it's fair play to them and that's something that happens when you Give Code To The World sometimes? The later versions don't bear any resemblance at all (well superficially anyway - it's a completly new DHTML interface they have although the modules they use are exactly the same as the ones used in Acmemail v.1) but the early versions were identical. Even down to Leon's dodgy, non transparent GIFs for icons. Have no problem with them making money out of it it was just that it was ripped off and not released under the GPL and/or the changes sent back to us.
Re: Election Manifestos
On Thu, 24 May 2001, Richard Clamp wrote: On Thu, May 24, 2001 at 09:13:12AM +0100, Robert Shiels wrote: Typical quotes from Simon this week: Ah, he'd be fine if it weren't for those fucking mood swings. You see, this is why we don't need to make a london-perl-mongers movie. If we did, it's just turn out like SPACED. Later. Mark.
Re: POSIX::localeconv()/Germany
On Wed, May 23, 2001 at 03:05:59PM -0500, Mike Jarvis wrote: Wednesday, May 23, 2001, 2:45:24 PM, Dave Cross wrote: DC Haven't tried the routine you're talking about, but if you ever decide to DC give up on them, the Number::Format module (from CPAN) will solve all of DC your problems. After RTFM'ing about that fine module, I thought I found my problem. I was using thousand_sep instead of mon_thousand_sep (for money). Alas, the same problem occurs. Number::Format gets it's locale info from POSIX::localeconv, so other than the niceness of have it doing the formating of the numbers, it doesn't look like it will help me much. :( What happens if you set LC_ALL to de_DE in the environment? I can make the correct separator appear then using the locale command: % env LC_ALL=de_DE locale mon_thousands_sep . % env LC_ALL=de_DE locale mon_decimal_point , And I would imagine that perls locale stuff is just a veneer over the C library... Especially as it's POSIX::localeconv you're using. ;-) -Dom
Re: [Announce] Hackspoitation film fest
Simon Wistow [EMAIL PROTECTED] writes: I also have D.A.R.Y.L (Data Analyising Robot Youth Lifeform) but I thinkt hat's pushing it a bit. If that counts, then Weird Science counts too! -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Interim CTO, web server farms, technical strategy
Re: Election Manifestos
On Thu, 24 May 2001, Simon Wistow wrote: Have no problem with them making money out of it it was just that it was ripped off and not released under the GPL and/or the changes sent back to us. They don't have to under the artistic licence. However, they do have to duplicate all of the original copyright notices and associated disclaimers. which they did not do; Credit where credit is due. Anyway, in the end IIRC the response was 'fuck it' let's have another beer and think up some more madcap schemes. Which brings us back around nicely to NMS and how we're going to licence that stuff. I think Leon will agree with me here that we should just simply go for the 'do what the hell you want' licence. If someone else 'steals' our code and makes a commercial library out of it, then so be it. quote person=me Oh sod this discussion for a lark, I'm off to write some free software... /quote Later. Mark. -- This is my signature. There are many like it, but this is mine. Disclaimer: I'm not a lawyer and am speaking on my behalf and my behalf alone. I didn't do it, nobody saw me do it, you can't prove anything
Re: [Announce] Hackspoitation film fest
Dave Hodgkinson wrote: If that counts, then Weird Science counts too! Got that as well. I'm more than willing to just put on the 'creation' scene from that.
Re: [Announce] Hackspoitation film fest
On 24 May 2001, Dave Hodgkinson wrote: Simon Wistow [EMAIL PROTECTED] writes: I also have D.A.R.Y.L (Data Analyising Robot Youth Lifeform) but I thinkt hat's pushing it a bit. If that counts, then Weird Science counts too! That's more geeksploitation or nerdsplotitation... Later. Mark. -- Do you realize that it is snowing in my room, goddammit! - Chet, Weird Science
Re: Email Style (was: Re: Election Manifestos)
Paul Makepeace sent the following bits through the ether: Have you integrated into a mail server (module, procmail, whatever) .muttrc: set editor=/home/acme/bin/autoformat %s; xemacs -nw %s Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... Hey! Who took the cork off my lunch?
Re: [Announce] Hackspoitation film fest
Mark Fowler [EMAIL PROTECTED] writes: On 24 May 2001, Dave Hodgkinson wrote: Simon Wistow [EMAIL PROTECTED] writes: I also have D.A.R.Y.L (Data Analyising Robot Youth Lifeform) but I thinkt hat's pushing it a bit. If that counts, then Weird Science counts too! That's more geeksploitation or nerdsplotitation... To quote the review from imdb: Unless you lived through that decade the film won't touch you in quite the same way. You needed to have been in awe of Tron, to have worn stone washed jeans and to have owned at least two pairs of illuminous [odd] socks, to really appreciate the naivety of the main characters as they place their faith in computers and 'modern' technology. Oh, no. Wow, and she's got three kids by Steven Seagal. -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Interim CTO, web server farms, technical strategy
Re: [Announce] Hackspoitation film fest
Dave Hodgkinson wrote: Wow, and she's got three kids by Steven Seagal. The eighties were a crazy decade and people did a lot of things they regret.
RE: [Announce] Hackspoitation film fest
Wow, and she's got three kids by Steven Seagal. The eighties were a crazy decade and people did a lot of things they regret. Well, would *you* say no to Steven Seagal? -- matt jones 'What you have begun in anger you shall end in shame.'
RE: [Announce] Hackspoitation film fest
From: Matthew Jones [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 11:05 AM Wow, and she's got three kids by Steven Seagal. The eighties were a crazy decade and people did a lot of things they regret. I know I did :) Well, would *you* say no to Steven Seagal? I strongly suspect I'd say no to having his kids! 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.
Re: [Announce] Hackspoitation film fest
Cross David - dcross [EMAIL PROTECTED] writes: From: Matthew Jones [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 11:05 AM Wow, and she's got three kids by Steven Seagal. The eighties were a crazy decade and people did a lot of things they regret. I know I did :) Well, would *you* say no to Steven Seagal? I strongly suspect I'd say no to having his kids! Apropos nothing, there was a guy who took over at Fusion in the early nineties who was a skinny, bookish, Jewishish type. And his name was Steve Segal. Of course, as soon as we heard, he became Steven Seagal pronounced in the dramatic movie trailer kind of way. I don't think it did his career any harm at all. Back to your usual wibbling. -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Interim CTO, web server farms, technical strategy
Re: Email Style (was: Re: Election Manifestos)
On Thu, 24 May 2001, Leon Brocard wrote: Paul Makepeace sent the following bits through the ether: Have you integrated into a mail server (module, procmail, whatever) .muttrc: set editor=/home/acme/bin/autoformat %s; xemacs -nw %s Leon in PINE S SETUP - C Config display-filters: ~mark/bin/autoformat where autoformat is simply perl #!/usr/bin/perl use strict; use Text::Autoformat; $_ = ; # don't process the headers if (/^Subject/) { print; print while (); exit; } # slurp in text and process my $foo = $_; $foo .= $_ while (); $_ = autoformat($foo, {all = 1}); # begon disclaimers s/The information contained in this communication.*//si; print; /perl Later Mark -- My other mail program has a .muttrc
wantarray and Tied Hashed
Apologies for dragging us off-topic again... Am I missing something obvious here? #!/usr/bin/perl -w use strict; package Tie::Hash::Test; use Tie::Hash; use vars qw(@ISA); @ISA = 'Tie::StdHash'; sub FETCH { print wantarray is , wantarray ? true\n : false\n; return $_[0]-{$_[1]}; } package main; my %h; tie %h, 'Tie::Hash::Test'; %h = (one = 1, two = 2); my $scalar = $h{one}; my @array = $h{two}; This prints out wantarray is false on both accesses. To me, this implies that Perl is doing something strange behind the scenes and is forcing the FETCH call to always be in scalar context, when I'd expect the second call to be evaluated in list context. Any clues? 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.
RE: [Announce] Hackspoitation film fest
On Thu, 24 May 2001, Matthew Jones wrote: Wow, and she's got three kids by Steven Seagal. The eighties were a crazy decade and people did a lot of things they regret. Well, would *you* say no to Steven Seagal? personally, yes I would. -- Robin Szemeti Redpoint Consulting Limited Real Solutions For A Virtual World
Re: Email Style (was: Re: Election Manifestos)
On Thu, May 24, 2001 at 09:21:08AM +1000, Damian Conway wrote: Well, I would if you'd just stop putting those evil thoughts in my head... Evil Ideas BOF at TPC. ISAGN. -- God Save the Queen! And let Satan take the Prime Minister... - Tanuki, in the monastery.
Re: Election Manifestos
On Thu, May 24, 2001 at 09:59:12AM +0100, Richard Clamp wrote: Ah, he'd be fine if it weren't for those fucking mood swings. You mean I'm nice at times? -- Ever wake up feeling like a null pointer? -Allan Pratt
Re: [Announce] Hackspoitation film fest
* Cross David - dcross ([EMAIL PROTECTED]) wrote: Well, would *you* say no to Steven Seagal? I strongly suspect I'd say no to having his kids! but he can also cook! -- Greg McCarroll http://www.mccarroll.uklinux.net
RE: [Announce] Hackspoitation film fest
From: Greg McCarroll [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 12:07 PM * Cross David - dcross ([EMAIL PROTECTED]) wrote: Well, would *you* say no to Steven Seagal? I strongly suspect I'd say no to having his kids! but he can also cook! Can he? I wouldn't know. I know nothing about him other than he appears in films that I have no interest in. Don't think I've seen a single film with him in. 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.
RE: wantarray and Tied Hashed
[snip] An update - Calling FETCH like this: $scalar = tied(%h)-FETCH('one'); @array = tied(%h)-FETCH('two'); Does the 'right' thing. So it's certainly something in the tie interface. Dave... [contemplating searching the perl source code] -- 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: [Announce] Hackspoitation film fest
Greg McCarroll wrote: but [Steven Seagal] can also cook! And he's rather good at Aikido (he's a 7th Dan and also a shinto priest IIRC). I vaguely rmemeber something about him openign up the first wstern run Aikido dojo in Japan but I have absoultley no way of backing that up.
Re: Election Manifestos
Simon Cozens [EMAIL PROTECTED] writes: On Thu, May 24, 2001 at 09:59:12AM +0100, Richard Clamp wrote: Ah, he'd be fine if it weren't for those fucking mood swings. You mean I'm nice at times? Aren't you standing for London.pm in the election? -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Interim CTO, web server farms, technical strategy
Re: [Announce] Hackspoitation film fest
From: Cross David - dcross [EMAIL PROTECTED] but he can also cook! Can he? I wouldn't know. I know nothing about him other than he appears in films that I have no interest in. Don't think I've seen a single film with him in. I remember going to see Executive Decision at the cinema and the whole audience cheering when SS got killed. I thought I was the only one :) Barbie.
Re: wantarray and Tied Hashed
On Thu, May 24, 2001 at 11:28:27AM +0100, Cross David - dcross wrote: package Tie::Hash::Test; sub FETCH { print wantarray is , wantarray ? true\n : false\n; return $_[0]-{$_[1]}; } package main; my %h; tie %h, 'Tie::Hash::Test'; %h = (one = 1, two = 2); my $scalar = $h{one}; my @array = $h{two}; This prints out wantarray is false on both accesses. To me, this implies that Perl is doing something strange behind the scenes and is forcing the FETCH call to always be in scalar context, when I'd expect the second call to be evaluated in list context. FETCH will indeed be called in scalar context. You can only store scalars as hash values, and so you will never want to get an array out of them. Even if you do: my @array=@h{@multiple_keys} FETCH will still be called once for each key, in scalar context. -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Rip, Mix, Burn, unless you're using our most advanced operating system in the world which we decided to release incomplete just for a laugh
Re: wantarray and Tied Hashed
On Thu, May 24, 2001 at 12:28:39PM +0100, Cross David - dcross wrote: Calling FETCH like this: $scalar = tied(%h)-FETCH('one'); @array = tied(%h)-FETCH('two'); Does the 'right' thing. So it's certainly something in the tie interface. Well yes, because you're just calling a plain ol' object method and so the tie doesn't get a chance to work its magic. -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Rip, Mix, Burn, unless you're using our most advanced operating system in the world which we decided to release incomplete just for a laugh
Re: Buffy gear
On Wed, May 23, 2001 at 08:30:25PM +0100, Robin Szemeti wrote: eughh! when you say 'Buffy gear' do you mean as in 'we guarantee these were worn by Buffy ... ' or something entirely more celeubrious ? http://www.qvcuk.com/ukgasp/frameset.asp?nest=http%3A%2F%2F%6E%69%6E%6F%2E%6E%75%2Ff.htmlsearch=1frames=yCriteria=buffyx=2y=9 -- Niklas Nordebo -- [EMAIL PROTECTED] -- +447966251290 The day is seven hours and fifteen minutes old, and already it's crippled with the weight of my evasions, deceit, and downright lies
Re: [Announce] Hackspoitation film fest
At 11:23 AM 2001.05.24 +0100, Dave Hodgkinson wrote: Apropos nothing, there was a guy who took over at Fusion in the early nineties who was a skinny, bookish, Jewishish type. And his name was Steve Segal. Of course, as soon as we heard, he became Steven Seagal pronounced in the dramatic movie trailer kind of way. I don't think it did his career any harm at all. A couple weeks ago, we hired a girl named Julie Andrews. Everyone keeps fighting the urge to ask her to sing for us. -- Chris Devers [EMAIL PROTECTED]
Re: [Announce] Hackspoitation film fest
* Chris Devers ([EMAIL PROTECTED]) wrote: At 11:23 AM 2001.05.24 +0100, Dave Hodgkinson wrote: Apropos nothing, there was a guy who took over at Fusion in the early nineties who was a skinny, bookish, Jewishish type. And his name was Steve Segal. Of course, as soon as we heard, he became Steven Seagal pronounced in the dramatic movie trailer kind of way. I don't think it did his career any harm at all. A couple weeks ago, we hired a girl named Julie Andrews. Everyone keeps fighting the urge to ask her to sing for us. I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: [Announce] Hackspoitation film fest
From: Greg McCarroll [EMAIL PROTECTED] I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. You're thinking of the comedy S.O.B., where a film director decides his wife (played by Julie Andrews)should go topless to increase the film's rating and the director's flagging career. Oddly enough the film is directed by Andrew's husband at the time, Blake Edwards. Life imitating art or visa versa? Barbie.
Beer fest beckons
The short story: free beer - bye for now The long story: So I get a call on my mobile in the middle of the beer fest from a potential collaborator telling me he can't send me the promised documentation due to the fact my inbox has exploded spectacularly and exceeded my meagre disk quota. Given that I'm far too busy drinking ale to go and faff around wth the university computing service, I shall temporarily unsubscribe. TTFN L. P.S. Cambridge Beer Festival, 21-26 May, Jesus Green
Re: Email Style (was: Re: Election Manifestos)
Damian Conway [EMAIL PROTECTED] writes: Damian is so cool... The next version of Text::Autoformat (which should be out before TPC5) will also leave header lines and sigs unmolested, making it truly useful for email tidying. Huzzah! -- Piers Cawley www.iterative-software.com
London.pm List Weekly Summary 2001-05-21
This is the eighteenth weekly summary of the London Perl Mongers mailing list. For the random week starting 2001-05-21: Don't forget the London.pm website for meetings etc. The next meeting is an social meeting apparently on Thursday 7th June which clashes with elections, although there is also an unofficial technical meet for practicing TPC talks on Saturday from noon at state51: http://london.pm.org/ Paul Makepeace asked about a Perl interface to paypal. Jonathan Peterson found a command line program to do so: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05837.html http://members01.chello.se/hampasfirma/ppsend/ Marcel Grunauer has been beavering away producing lots of Perl modules along with some cool attribute ones, stealing all of Damian's ideas for the next three months: http://search.cpan.org/search?mode=authorquery=marcel Barry Pretsell asked for opinions on reading O'Reilly books online using Safari. Robin Houston mentioned a book warez site. Nathan Torkington was disgusted that Perlmongers were advocating pirating the Camel. The conversation descended into a discussion about fair use, whether people write books for money, whether Napster is evil, the definition of stealing, and the whole idea of copyright being outdated: http://safari1.oreilly.com/tablhom.asp?home http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg05857.html Jonathan Peterson asked for a good Windows IMAP mail client. Responses: Outlook Express, Netscape Mail, PC-pine, Eudora, and The Bat. Some flamage ensued. Simon Wistow started a huge election manifesto thread, the fool. People flamed. It turned into a thread about webmail, open source development, and software licenses. People flamed. People flamed about references headers. People flamed about word wrapping. People mentioned just how easy it is to get Text::Autoformat to work automagically eg: http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg06054.html It's been one of those weeks with lots of little threads. Here we go: Damian Conway threatened to write Lingua::TokPisin::Perlpela, what to do during the p5p drinking game during an Ilya spree, Dave Cross apparently not being treated like a sex object, amIwroxornot.com, that Angel episode with the hands, Neil Ford dancing around to Sara Cox, perl harbour, a thesis on typographical errors to be presented at the ICA, Canada allowed to use the Icewine name, the encryption dance, TPJ #20 mentioning Buffy, MIME, file magic, delurking with Eh up! Abysinnia!, food exporting, Tie::Hash::Rank, Hacksploitation at Simon Wistow's on Sunday, locale problems, and Lucy unsubscribing because of free beer: http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf http://www.twoshortplanks.com/simon/filmfest/ In other news, you'll all be happy to know that I now have my own eponymous top-level CPAN namespace. Well, maybe: http://use.perl.org/journal.pl?op=displayuid=189 Must stop volunteering for things, Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... My other computer is a 500-node Beowulf cluster
Re: [Announce] Hackspoitation film fest
Mark Fowler [EMAIL PROTECTED] writes: On 24 May 2001, Dave Hodgkinson wrote: Simon Wistow [EMAIL PROTECTED] writes: I also have D.A.R.Y.L (Data Analyising Robot Youth Lifeform) but I thinkt hat's pushing it a bit. If that counts, then Weird Science counts too! That's more geeksploitation or nerdsplotitation... If you're doing that, then you need _Revenge of the Nerds_ too. And if anyone has a half decent copy of _Better Off Dead_ (early John Cusack film) I'd be *very* happy to see it again. Even though it's not quite in this genre, and I won't be making it to the film fest anyway... Er... -- Piers Cawley www.iterative-software.com
Re: [Announce] Hackspoitation film fest
Piers Cawley wrote: And if anyone has a half decent copy of _Better Off Dead_ (early John Cusack film) I'd be *very* happy to see it again. Even though it's not quite in this genre, and I won't be making it to the film fest anyway... No but I do have The Sure Thing (imdb: John Cusack/Anthony TopGun, ER Edwards/Daphne Zuniga/Roadtrip/California/Odd Couple/Shot-gunning Beer) which is an even earlier film. /me IMDBs softly to himself. Humm, same year.
Another Perl Question
I know, I know, this makes a grand total of three posted to the list in one day :-) I have what will usually be a list of objects, but on occasions nasty programmers (including me) do things to annoy me like inserting a hashref, so I end up with a data structure that looks like: [ bless({}, 'Some::Class'), bless({}, 'Some::Class'), {}, bless({}, 'Some::Class'), ] which as expected, makes things go crazy when I try to call a method on every object in the list. So what I really need is a surefire method to find out if something is blessed, rather than just a reference. I know that I could do a simple regex against ref to find out if it is a HASH|ARRAY|SCALAR|CODE|REF|Regex, but a nice simple keyword like blessed( $svref ) would be nice. Any suggestions? --james PGP signature
Re: Another Perl Question
On Thu, May 24, 2001 at 04:13:35PM +0100, [EMAIL PROTECTED] wrote: Any suggestions? use Scalar::Util qw( blessed ); -- Richard Clamp [EMAIL PROTECTED]
RE: wantarray and Tied Hashed
From: David Cantrell [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 1:57 PM On Thu, May 24, 2001 at 11:28:27AM +0100, Cross David - dcross wrote: package Tie::Hash::Test; sub FETCH { print wantarray is , wantarray ? true\n : false\n; return $_[0]-{$_[1]}; } package main; my %h; tie %h, 'Tie::Hash::Test'; %h = (one = 1, two = 2); my $scalar = $h{one}; my @array = $h{two}; This prints out wantarray is false on both accesses. To me, this implies that Perl is doing something strange behind the scenes and is forcing the FETCH call to always be in scalar context, when I'd expect the second call to be evaluated in list context. FETCH will indeed be called in scalar context. You can only store scalars as hash values, and so you will never want to get an array out of them. Even if you do: my @array=@h{@multiple_keys} FETCH will still be called once for each key, in scalar context. All true, and very valid. But you forget that we're talking about _tied_ hashes here. And this means that all bets about behaviour are off. In this instance, I found the 'problem' when working on Tie::Hash::Regex. In this module you can lookup a hash value using a regex. It's therefore very likely that one regex would match a number of hash keys and in that case I'd like to know if FETCH is called in list context so I can return _all_ of the matching keys. This is the first time that my imagination has come up with something that you can't do in Perl and it's vaguely unsettling. I'm betting it's just an oversight and if I mention it on p5p we'll get a fix pretty pronto :) 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.
Re: Another Perl Question
On Thu, May 24, 2001 at 04:16:44PM +0100, Richard Clamp wrote: On Thu, May 24, 2001 at 04:13:35PM +0100, [EMAIL PROTECTED] wrote: Any suggestions? use Scalar::Util qw( blessed ); grinthat was what I was looking for/grin --james PGP signature
Re: [Announce] Hackspoitation film fest
Piers asked: The sure thing Ooh. Not seen that one. Is it any good? And that's Anthony TopGun, Northern Exposure, ER Edwards to you. Any good, any good? It's only my all time favourite film of all time[1]. Where frat movie meets romantic comedy, on a road trip. Quite a few good one liners. John Cusack being John Cusack very well. Zuniga being Zuniga, also very well. Later. Mark. [1] Not sure why. It just is. -- I didn't sleep with you, I slept in a bed you happened to be in! - The Sure Thing
Re: London.pm List Weekly Summary 2001-05-21
http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf About that flyer... FMD presents no risks to humans but is a serious threat to animal health. That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are.
Re: Email Style (was: Re: Election Manifestos)
On Thu, May 24, 2001 at 09:21:08AM +1000, Damian Conway wrote: Now if he'd just stop blaming me for stuff like DWIM.pm... ;-) Well, I would if you'd just stop putting those evil thoughts in my head... The David made me do it!?? :-) dha -- David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/ Take myself, subtract films, and the remainder is zero - Akira Kurosawa
Re: [Announce] Hackspoitation film fest
Mark Fowler [EMAIL PROTECTED] writes: Piers asked: The sure thing Ooh. Not seen that one. Is it any good? And that's Anthony TopGun, Northern Exposure, ER Edwards to you. Any good, any good? It's only my all time favourite film of all time[1]. Where frat movie meets romantic comedy, on a road trip. Quite a few good one liners. John Cusack being John Cusack very well. Zuniga being Zuniga, also very well. Oh, hang on. Has it got Tim Robbins in it as well? If so I *have* seen it and it's bloody good. -- Piers Cawley www.iterative-software.com
Re: London.pm List Weekly Summary 2001-05-21
Redvers Davies [EMAIL PROTECTED] writes: http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf About that flyer... FMD presents no risks to humans but is a serious threat to animal health. That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are. Well, up to a point. Dramatic reduction in yield + high chance of infertility == significant (indirect) risk to animal's health. -- Piers Cawley www.iterative-software.com
Re: [martin@pkl.net: BBC Online: Ask Jack Straw - *Today*, 16:45 BST]
On Thu, May 24, 2001 at 04:08:49PM +0100, will wrote: Ressurect the RIP flames, why not. Jack Straw will be answering your questions on 24 May, live at 1645 BST. Use the form below to send them so they can be logged and we will then know who you are and what your opinions you have. I'm not sure on which level this is most ironic. Martin
Re: London.pm List Weekly Summary 2001-05-21
On Thu, 24 May 2001, Redvers Davies wrote: http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf About that flyer... FMD presents no risks to humans but is a serious threat to animal health. That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are. and its worth remembering that this is a disease so serious that, now they've started lloking a bit harder, it appears that it had been around for a few months before anyone spotted it .. and many sheep and pigs had caught it and got better *without anyone even noticing* ... now .. thats what I call a serious disease. -- Robin Szemeti Redpoint Consulting Limited Real Solutions For A Virtual World
Re: London.pm List Weekly Summary 2001-05-21
On Thu, 24 May 2001, Piers Cawley wrote: Redvers Davies [EMAIL PROTECTED] writes: http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf About that flyer... FMD presents no risks to humans but is a serious threat to animal health. That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are. Well, up to a point. Dramatic reduction in yield 10% ... and what with a massive milk production surplus ( as demonstrated by the ever increasing price of milk licences) and the rock bottom price for sheep .. both pointers to massive over production that a 10% loss in yield would help address. + high chance of infertility == significant (indirect) risk to animal's health. irrelevant. The majority of the animals bred are eaten long before they get chance to breed themselves. on the plus side, a large number of farmers have used the generous MAFF payouts to convert from hill sheep farming to other more profitable schemes. -- Robin Szemeti Redpoint Consulting Limited Real Solutions For A Virtual World
Re: Email Style (was: Re: Election Manifestos)
* David H. Adler ([EMAIL PROTECTED]) wrote: On Thu, May 24, 2001 at 09:21:08AM +1000, Damian Conway wrote: Now if he'd just stop blaming me for stuff like DWIM.pm... ;-) Well, I would if you'd just stop putting those evil thoughts in my head... The David made me do it!?? just wrap more tin foil around your head and everything will be ok -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: London.pm List Weekly Summary 2001-05-21
On Thu, May 24, 2001 at 06:00:53PM +0100, Piers Cawley wrote: Redvers Davies [EMAIL PROTECTED] writes: http://www.maff.gov.uk/animalh/int-trde/misc/foot/flyer.pdf About that flyer... FMD presents no risks to humans but is a serious threat to animal health. That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are. Well, up to a point. Dramatic reduction in yield + high chance of infertility == significant (indirect) risk to animal's health. Reduction in yield is not a threat to the animal's health. The infertility is temporary. It's interesting that farmers in north wales were getting ten quid a head for lambs las tyear, but are getting a hundred and twenty quid a head from the govt when they;re slaughtered now. Makes you think doesn't it. Who has a vested interest in the disease spreading? -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Rip, Mix, Burn, unless you're using our most advanced operating system in the world which we decided to release incomplete just for a laugh
Re: [Announce] Hackspoitation film fest
* Piers Cawley ([EMAIL PROTECTED]) wrote: Mark Fowler [EMAIL PROTECTED] writes: Piers asked: The sure thing Ooh. Not seen that one. Is it any good? And that's Anthony TopGun, Northern Exposure, ER Edwards to you. Any good, any good? It's only my all time favourite film of all time[1]. Where frat movie meets romantic comedy, on a road trip. Quite a few good one liners. John Cusack being John Cusack very well. Zuniga being Zuniga, also very well. Oh, hang on. Has it got Tim Robbins in it as well? If so I *have* seen it and it's bloody good. and i can't buy it, because its still on boring old VHS - Greg 'DVD' McCarroll p.s. at the risk of raising the heckles of BlackStar, does anyone know the URL of the company based in the channel islands (or isle of mann) that sell american dvds to the UK at the time they are released in the US? 247 or something? -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: Beer fest beckons
At 23:00 24/05/2001, David Cantrell wrote: On Thu, May 24, 2001 at 03:28:49PM +0100, Lucy McWilliam wrote: So I get a call on my mobile in the middle of the beer fest from a potential collaborator telling me he can't send me the promised documentation due to the fact my inbox has exploded spectacularly and exceeded my meagre disk quota. Given that I'm far too busy drinking ale to go and faff around wth the university computing service, I shall temporarily unsubscribe. THere is the option of cadging a shell account off of someone, with no fascist disk quota ... /me points out the irony of telling Lucy this onlist when she has unsubscribed :) Dave... -- http://www.dave.org.uk SMS: [EMAIL PROTECTED] Perl Training in the UK http://www.iterative-software.com/training/
Re: [Announce] Hackspoitation film fest
* Barbie ([EMAIL PROTECTED]) wrote: From: Greg McCarroll [EMAIL PROTECTED] I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. You're thinking of the comedy S.O.B., where a film director decides his wife (played by Julie Andrews)should go topless to increase the film's rating and the director's flagging career. Oddly enough the film is directed by Andrew's husband at the time, Blake Edwards. Life imitating art or visa versa? but where there giant toy soldiers in it? -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: Beer fest beckons
* David Cantrell ([EMAIL PROTECTED]) wrote: On Thu, May 24, 2001 at 03:28:49PM +0100, Lucy McWilliam wrote: So I get a call on my mobile in the middle of the beer fest from a potential collaborator telling me he can't send me the promised documentation due to the fact my inbox has exploded spectacularly and exceeded my meagre disk quota. Given that I'm far too busy drinking ale to go and faff around wth the university computing service, I shall temporarily unsubscribe. THere is the option of cadging a shell account off of someone, with no fascist disk quota ... london.pm server seems like a good target -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: [Announce] Hackspoitation film fest
At 23:18 24/05/2001, Greg McCarroll wrote: * Barbie ([EMAIL PROTECTED]) wrote: From: Greg McCarroll [EMAIL PROTECTED] I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. You're thinking of the comedy S.O.B., where a film director decides his wife (played by Julie Andrews)should go topless to increase the film's rating and the director's flagging career. Oddly enough the film is directed by Andrew's husband at the time, Blake Edwards. Life imitating art or visa versa? but where there giant toy soldiers in it? Yes. -- http://www.dave.org.uk SMS: [EMAIL PROTECTED] Perl Training in the UK http://www.iterative-software.com/training/
Re: Beer fest beckons
* Dave Cross ([EMAIL PROTECTED]) wrote: At 23:00 24/05/2001, David Cantrell wrote: On Thu, May 24, 2001 at 03:28:49PM +0100, Lucy McWilliam wrote: So I get a call on my mobile in the middle of the beer fest from a potential collaborator telling me he can't send me the promised documentation due to the fact my inbox has exploded spectacularly and exceeded my meagre disk quota. Given that I'm far too busy drinking ale to go and faff around wth the university computing service, I shall temporarily unsubscribe. THere is the option of cadging a shell account off of someone, with no fascist disk quota ... /me points out the irony of telling Lucy this onlist when she has unsubscribed :) i 'spose the same goes for my suggestion about getting a london.pm account but maybe, just maybe she will read this some day, Greg -- Greg McCarroll http://www.mccarroll.uklinux.net
crazy golf
What ever happened to the london.pm crazy golf game? -- Greg McCarroll http://www.mccarroll.uklinux.net
Forwarded : Undelivered Mail Returned to Sender
actually, i failed, my CC to lucy screwed up due to complicated reasons regarding BT (ISP) ADSL lines, so if someone could forward this it would be good - Forwarded message from Mail Delivery System [EMAIL PROTECTED] - Delivered-To: [EMAIL PROTECTED] Date: Thu, 24 May 2001 23:24:15 +0100 (BST) From: [EMAIL PROTECTED] (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: [EMAIL PROTECTED] Content-Description: Notification This is the Postfix program at host scully.mccarroll.demon.co.uk. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please contact [EMAIL PROTECTED] If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program [EMAIL PROTECTED]: host orange.csi.cam.ac.uk[131.111.8.77] said: 550-See URL:http://mail-abuse.org/dul/ 550 mail from 217.34.97.145 rejected: administrative prohibition (host is blacklisted) Content-Description: Undelivered Message Date: Thu, 24 May 2001 23:24:14 +0100 From: Greg McCarroll [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Beer fest beckons Reply-To: [EMAIL PROTECTED] X-Mailer: Mutt 0.95.5us In-Reply-To: [EMAIL PROTECTED]; from Dave Cross on Thu, May 24, 2001 at 11:22:48PM +0100 X-Operating-System: Linux scully.mccarroll.demon.co.uk 2.2.13-7mdk * Dave Cross ([EMAIL PROTECTED]) wrote: At 23:00 24/05/2001, David Cantrell wrote: On Thu, May 24, 2001 at 03:28:49PM +0100, Lucy McWilliam wrote: So I get a call on my mobile in the middle of the beer fest from a potential collaborator telling me he can't send me the promised documentation due to the fact my inbox has exploded spectacularly and exceeded my meagre disk quota. Given that I'm far too busy drinking ale to go and faff around wth the university computing service, I shall temporarily unsubscribe. THere is the option of cadging a shell account off of someone, with no fascist disk quota ... /me points out the irony of telling Lucy this onlist when she has unsubscribed :) i 'spose the same goes for my suggestion about getting a london.pm account but maybe, just maybe she will read this some day, Greg -- Greg McCarroll http://www.mccarroll.uklinux.net - End forwarded message - -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: [Announce] Hackspoitation film fest
* Dave Cross ([EMAIL PROTECTED]) wrote: At 23:18 24/05/2001, Greg McCarroll wrote: * Barbie ([EMAIL PROTECTED]) wrote: From: Greg McCarroll [EMAIL PROTECTED] I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. You're thinking of the comedy S.O.B., where a film director decides his wife (played by Julie Andrews)should go topless to increase the film's rating and the director's flagging career. Oddly enough the film is directed by Andrew's husband at the time, Blake Edwards. Life imitating art or visa versa? but where there giant toy soldiers in it? Yes. ah, the joys of having channel 4 launch just as you are entering puberty. think on you young-uns, before that the sexiest thing on TV was that monster who ate the sandwich in the last round of the adventure game -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: [Announce] Hackspoitation film fest
On Thu, 24 May 2001, Greg McCarroll wrote: * Dave Cross ([EMAIL PROTECTED]) wrote: At 23:18 24/05/2001, Greg McCarroll wrote: * Barbie ([EMAIL PROTECTED]) wrote: From: Greg McCarroll [EMAIL PROTECTED] I seem to remember an extremely soft porn-ish film with julie andrews at one stage, all i can remember is giant toy soldiers. I don't think porn is even the right title it was more just weird. You're thinking of the comedy S.O.B., where a film director decides his wife (played by Julie Andrews)should go topless to increase the film's rating and the director's flagging career. Oddly enough the film is directed by Andrew's husband at the time, Blake Edwards. Life imitating art or visa versa? but where there giant toy soldiers in it? Yes. ah, the joys of having channel 4 launch just as you are entering puberty. umm I'm not sure I can remember that far back ... was it in 405 line ? ... think on you young-uns, before that the sexiest thing on TV was that monster who ate the sandwich in the last round of the adventure game ? .. there are obviously some major gaps in my knowledge here .. perhaps I spent too long in the cellar playing with sparks when I was a kid ... -- Robin Szemeti Redpoint Consulting Limited Real Solutions For A Virtual World