From russell at futureless.org Wed May 2 12:28:37 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:04 2004 Subject: tee-shirts In-Reply-To: <3AE9F195.85931150@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Fri, Apr 27, 2001 at 11:24:21PM +0100 References: <3AE9F195.85931150@stray-toaster.co.uk> Message-ID: <20010502172837.A28546@futureless.org> How about... "See, I told you something would go critical...camel-parrot mutants raiding the countryside, leaving spittle and feathers in their wake..." Jarkko Hietaniemi in <20010502115743.Y28835@chaos.wustl.edu> to perl5-porters today. That, along with someone's artistic interpretation of this? (Makes a change from "Thanks, applied"... :^) ) Russell -- Computers are useless. They can only give you answers. -- Pablo Picasso -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010502/ed43f3fe/attachment.bin From tony at blackstar.co.uk Fri May 4 05:40:54 2001 From: tony at blackstar.co.uk (Tony Bowden) Date: Tue Aug 3 23:54:04 2004 Subject: Apocalypse 2 Message-ID: <20010504114054.A29574@blackstar.co.uk> For anyone who hasn't seen it yet http://www.perl.com/pub/2001/05/03/wall.html Tony -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010504/4e6ae272/attachment.bin From mwk at stray-toaster.co.uk Fri May 4 05:51:56 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: Apocalypse 2 References: <20010504114054.A29574@blackstar.co.uk> Message-ID: <3AF289CC.4C4380D7@stray-toaster.co.uk> Tony Bowden wrote: > For anyone who hasn't seen it yet > http://www.perl.com/pub/2001/05/03/wall.html > > Tony > there is some cool stuff in there, pretty funky. And I will take this opportunity to remind everyone that the next meeting is on Mon 14th May. I will post separately about this, but hey, take the chance when you get it.... m. From mwk at stray-toaster.co.uk Tue May 8 04:14:07 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: call to arms! Message-ID: <3AF7B8DF.EC394971@stray-toaster.co.uk> Hi gang. This is a reminder that there is a meeting next Monday. The 14th May. Bring your friends! Spread the word! Mike Schwern will be speaking coherently. m. From schwern at pobox.com Tue May 8 04:49:23 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:04 2004 Subject: call to arms! In-Reply-To: <3AF7B8DF.EC394971@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Tue, May 08, 2001 at 10:14:07AM +0100 References: <3AF7B8DF.EC394971@stray-toaster.co.uk> Message-ID: <20010508104923.H572@blackrider.blackstar.co.uk> On Tue, May 08, 2001 at 10:14:07AM +0100, Stray Toaster wrote: > Mike Schwern will be speaking coherently. >From Webster's Revised Unabridged Dictionary (1913) [web1913]: Coherent \Co*her"ent\ (?), a. [L. cohaerens, p. pr. See Cohere.] 1. Sticking together; cleaving; as the parts of bodies; solid or fluid. --Arbuthnot. Cleaving. I will be guarding the door with an axe. I'm going to give this one a shot: "How To Be Lazy Without Really Trying" http://www.pobox.com/~schwern/talks/How_To_Be_Lazy/Abstract Your basic software engineering overview. Its scheduled as a three hour tutorial at TPC and as its currently unpolished it will probably go a bit longer. Then again, you're getting $400 worth of me for nothing! Suicide capsules will be available for a small fee. -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl6 Quality Assurance Kwalitee Is Job One Good tidings, my native Amercian Indian friend! America will soon again be yours! Please accept 5th Avenue as an initial return! From russell at futureless.org Tue May 8 04:50:27 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:04 2004 Subject: call to arms! In-Reply-To: <3AF7B8DF.EC394971@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Tue, May 08, 2001 at 10:14:07AM +0100 References: <3AF7B8DF.EC394971@stray-toaster.co.uk> Message-ID: <20010508095027.A11606@futureless.org> Hello, Do we have any sort of plan for this meeting? It would be nice to know what it it will be about so I can do a little homework beforehand (and not look so clueless). Thanks, Russell On Tue, May 08, 2001 at 10:14:07AM +0100, Stray Toaster wrote: > This is a reminder that there is a meeting next Monday. The 14th May. -- Computers are useless. They can only give you answers. -- Pablo Picasso -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010508/410c2e07/attachment.bin From mwk at stray-toaster.co.uk Tue May 8 05:02:10 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: call to arms! References: <3AF7B8DF.EC394971@stray-toaster.co.uk> <20010508095027.A11606@futureless.org> Message-ID: <3AF7C422.4393687E@stray-toaster.co.uk> Russell Matbouli wrote: > Hello, > Do we have any sort of plan for this meeting? It would be nice to know what > it it will be about so I can do a little homework beforehand (and not look > so clueless). > > Thanks, > Russell I like this, as it means that I didn't look clueless! Russell, and everyone, this isn't *really* meant to be school. Sure, we learn from it, but I would hate to think that people have to revise before turning up. There is no such thing as a stupid question etcetc. (Erm, don't finish that phrase. Leave it like that.) Not everyone that goes to the meeting is a perlmonk, tho to be fair there are a few. (And no, I am not in that list!) But if you do want some revision, there will be a test on chapters 11-13 of the 3rd edition of the camel. ;-) I hate to sound trite, but if there is something you don't get, stop the talk and ask! Or nudge me and I will interrupt Mike. A quote from one of my former lives: 'there is nothing a physicist likes better than a lecture on something he understands.' Paraphrase at will! m. From russell at futureless.org Tue May 8 05:24:19 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:04 2004 Subject: call to arms! In-Reply-To: <3AF7C422.4393687E@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Tue, May 08, 2001 at 11:02:10AM +0100 References: <3AF7B8DF.EC394971@stray-toaster.co.uk> <20010508095027.A11606@futureless.org> <3AF7C422.4393687E@stray-toaster.co.uk> Message-ID: <20010508102419.B11606@futureless.org> By the time I'd sent my mail Michael had replied, but anyway... On Tue, May 08, 2001 at 11:02:10AM +0100, Stray Toaster wrote: > Russell, and everyone, this isn't *really* meant to be school. Sure, we learn > from it, but I would hate to think that people have to revise before turning > up. There is no such thing as a stupid question etcetc. (Erm, don't finish > that phrase. Leave it like that.) *nodding* yup, I get that, I just feel I'd be able to get a bit more out of it if I had a little bit of prior knowledge (so far I've just learned whatever I need to know to get the job at hand done). For example, I haven't used tied variables before and don't know how to use them. Nor have I used closures, but I'm a bit more clued up on that now =) > Not everyone that goes to the meeting is a perlmonk, tho to be fair there are > a few. (And no, I am not in that list!) *nodding* of course! I'm sure it would be much less interesting if everyone knew what was going on ;) > I hate to sound trite, but if there is something you don't get, stop the talk > and ask! Or nudge me and I will interrupt Mike. Will do. I was just unsure of what was going on as it was my first Belfast.pm meeting. Cheers, Russell -- Computers are useless. They can only give you answers. -- Pablo Picasso -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010508/c578f26c/attachment.bin From mwk at stray-toaster.co.uk Sun May 13 07:19:04 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: dbi question Message-ID: <3AFE7BB8.70B222B4@stray-toaster.co.uk> Yo! I would ask this in work tomorrow, but there is something I want to get finished today, so thought I would ask for some help.And encourage the use of this list for such things! I have a module doing things. Diary entry sort of things, but that is irrelevant. Inside the module I get my own database handle, like so: sub dbh { my $self = shift; require DBI; my @drivers = DBI->available_drivers; my $dbh = DBI->connect("DBI:mysql:mwk", "mwk", "mwk123", { PrintError => 0, } ); return $dbh } Cool. Or so I thought. So here is the issue. I have get/create methods, for entering data and retrieving it. Obviously enough. But the thing is, how do I do the disconnect? It seems messy to put inside (for example) the get method: my $dbh = $self->dbh; my @results = @{ $dbh->selectall_arrayref($details, undef, $self->date) }; $dbh->disconnect; and then have to do the same thing in the set method. (And anywhere else I use a handle.) That is, the explicit call a handle, then explicitly destroy it.(I don't mind the making, it is the disconnect that is bugging me.) So how do I avoid all that then? I am sure I am missing the obvious here........... m. -- "I don't see much sense in that" said Rabbit "No" said Pooh, humbly, "there's isn't. But there was going to be when I began. It is just something happened to it on the way." From acme at astray.com Sun May 13 07:59:20 2001 From: acme at astray.com (Leon Brocard) Date: Tue Aug 3 23:54:04 2004 Subject: dbi question In-Reply-To: <3AFE7BB8.70B222B4@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Sun, May 13, 2001 at 01:19:04PM +0100 References: <3AFE7BB8.70B222B4@stray-toaster.co.uk> Message-ID: <20010513135920.A26665@ns0.astray.com> Stray Toaster sent the following bits through the ether: > I have a module doing things. Diary entry sort of things, but that is > irrelevant. Inside the module I get my own database handle, like so: > ... > I have get/create methods, for entering data and retrieving it. > Obviously enough. But the thing is, how do I do the disconnect? Righto: you don't need to do the disconnect. Things will just work. An optimisation you might want to look into is using connect_cached(..) instead of just connect(), if you do multiple database calls a session. [or you could make $dbh an instance or class variable...] HTH, Leon -- Leon Brocard.............................http://www.astray.com/ Iterative Software...........http://www.iterative-software.com/ ... Every time I've built character, I've regretted it From schwern at pobox.com Sun May 13 12:47:41 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:04 2004 Subject: dbi question In-Reply-To: <3AFE7BB8.70B222B4@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Sun, May 13, 2001 at 01:19:04PM +0100 References: <3AFE7BB8.70B222B4@stray-toaster.co.uk> Message-ID: <20010513184741.B5305@blackrider.blackstar.co.uk> On Sun, May 13, 2001 at 01:19:04PM +0100, Stray Toaster wrote: > That is, the explicit call a handle, then explicitly destroy it.(I > don't mind the making, it is the disconnect that is bugging me.) You're following the road that lead to Ima::DBI and Class::DBI. Consider using Ima::DBI as it will negociate all that connecting when needed for you. Poke through: http://www.pobox.com/~schwern/papers/Class-DBI/Class-DBI-paper.pod > So how do I avoid all that then? I am sure I am missing the obvious > here........... What Leon said, don't disconnect and reconnect in each method, just leave it open. Under anything but MySQL, connecting can be sluggish. And use connect_cached(). -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl6 Quality Assurance Kwalitee Is Job One BOFH excuse #386: The Internet is being scanned for viruses. From mwk at stray-toaster.co.uk Mon May 14 18:20:29 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: whose turn is it to mount the scratch monkey? Message-ID: <3B00683D.A91F62F7@stray-toaster.co.uk> Hi all. Just wanted to say thanks to those hardcore perlmongers who stayed for Mike's talk on 'software engineering the good way'. Hope he doesn't get heckled as much and as erm, robustly ('say something funny') as he did tonight. err, yesterday. A marathon session indeed. I am just home and writing this. It is Tuesday. Hopefully we can hear the second half (the shorter half. God, these in-jokes are getting worse....) before he leaves to give it at TPC. Cheers all, and cheers Mike. I enjoyed. The most rewarding part was when he gave me the money. Hang on, I gave *him* the money............. m. -- "I don't see much sense in that" said Rabbit "No" said Pooh, humbly, "there's isn't. But there was going to be when I began. It is just something happened to it on the way." From russell at futureless.org Tue May 15 05:55:07 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:04 2004 Subject: whose turn is it to mount the scratch monkey? In-Reply-To: <3B00683D.A91F62F7@stray-toaster.co.uk>; from mwk@stray-toaster.co.uk on Tue, May 15, 2001 at 12:20:29AM +0100 References: <3B00683D.A91F62F7@stray-toaster.co.uk> Message-ID: <20010515105507.A28300@futureless.org> Hi, As elected representative of the non-blackstarians present last night, I'd like to say thanks to Mike for his interesting talk last night. And to think we have the part on handcuffs to look forward to! On Tuesday, May 15, 2001 at 12:20:29AM +0100, Stray Toaster wrote: > Just wanted to say thanks to those hardcore perlmongers who stayed for > Mike's talk on 'software engineering the good way'. Hope he doesn't get > heckled as much and as erm, robustly ('say something funny') as he did > tonight. err, yesterday. A marathon session indeed. I am just home and > writing this. It is Tuesday. Hardcore perlmongers, eh? Lets hope Mike gets a crowd who have won fewer wars than we have (or something?!) ("he was invited")... eep! As for mounting the scratch monkeys... the less said the better! Cheers, Russell, stocking up on firearms and munitions for the next pm meeting -- (Sent to the Belfast.pm list and not just the toaster fella this time...) Computers are useless. They can only give you answers. -- Pablo Picasso -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010515/82e08771/attachment.bin From mwk at stray-toaster.co.uk Sun May 20 08:38:36 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: biogs and things. Message-ID: <3B07C8DC.AEABC1E2@stray-toaster.co.uk> OK all, if you keep looking at our page, belfast.pm.org, it says that I was going to jiggerpokery it a little. Well, it seems that I have started. I have fleshed it out with a few more pages, complete with their directories etcetc. No fancy cgi running it yet, as I am cobbling this quickly so I can go have a BBQ. And a walk in the Forest. (Local plug: Portglenone Forest Park is one of the best bluebell woods in Europe. And they are all out at the mo. Then come up and see me!) So if you want to pass me on your geek code/about you/total lies I will happily put it up for the world to ridicule. Anything that does not compile or uses strict will not be considered! ;-) Oh, and if anyone totally hates the way I am going about laying the site out, let me know. I have the graphic design skills of a bag of dead hedgehogs. toodle-oo! m. -- "I don't see much sense in that" said Rabbit "No" said Pooh, humbly, "there's isn't. But there was going to be when I began. It is just something happened to it on the way." From mwk at stray-toaster.co.uk Tue May 22 09:00:02 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: next meeting! Message-ID: <3B0A70E2.BD163E3@stray-toaster.co.uk> Hi all. The next meeting will be on Monday June 4th. Speaker to be Mike Schwern, for the last tine. As he heads back to the land of the free (ha!) after that. what will he talk on? yet to be decided....(by me, apparently!) wanna know more? ask!! m. -- "I don't see much sense in that" said Rabbit "No" said Pooh, humbly, "there's isn't. But there was going to be when I began. It is just something happened to it on the way." From swm at swmcc.com Tue May 22 09:03:52 2001 From: swm at swmcc.com (Stephen McCullough) Date: Tue Aug 3 23:54:04 2004 Subject: next meeting! In-Reply-To: <3B0A70E2.BD163E3@stray-toaster.co.uk>; from Stray Toaster on Tue, May 22, 2001 at 03:00:02PM +0100 References: <3B0A70E2.BD163E3@stray-toaster.co.uk> Message-ID: <20010522150352.A29102@tux.blackstar.co.uk> On Tue, May 22, 2001 at 03:00:02PM +0100, Stray Toaster wrote: > Hi all. > > The next meeting will be on Monday June 4th. Speaker to be Mike Schwern, > for the last tine. As he heads back to the land of the free (ha!) after > that. > > what will he talk on? yet to be decided....(by me, apparently!) > > wanna know more? ask!! What time... 7:30? -- Stephen McCullough From mwk at stray-toaster.co.uk Tue May 22 10:09:15 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:04 2004 Subject: next meeting! References: <3B0A70E2.BD163E3@stray-toaster.co.uk> Message-ID: <3B0A811B.59262917@stray-toaster.co.uk> > > > wanna know more? ask!! > yes, 7.30 pm. m. -- "I don't see much sense in that" said Rabbit "No" said Pooh, humbly, "there's isn't. But there was going to be when I began. It is just something happened to it on the way." From russell at futureless.org Thu May 24 07:25:19 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:05 2004 Subject: Swings and roundabouts Message-ID: <20010524122519.C29363@futureless.org> Michael Schwern has an interesting piece up at www.Perl.com - remember to subconsciously s/yellow/amber/g though ;) http://www.perl.com/pub/2001/05/22/trafficlights.html Russell -- Computers are useless. They can only give you answers. -- Pablo Picasso -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20010524/9dc02000/attachment.bin From mwk at blackstar.co.uk Thu May 24 09:14:42 2001 From: mwk at blackstar.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:05 2004 Subject: Swings and roundabouts References: <20010524122519.C29363@futureless.org> Message-ID: <3B0D1752.6A8DBE37@stray-toaster.co.uk> Russell Matbouli wrote: > Michael Schwern has an interesting piece up at www.Perl.com - remember to > subconsciously s/yellow/amber/g though ;) > > http://www.perl.com/pub/2001/05/22/trafficlights.html > > Russell and the unattirbuted playing the dna code thru a perl music generating type thing was me. I think. At least, I hope it was. otherwise I have lost the plot competely. m. From mwk at stray-toaster.co.uk Tue May 29 10:59:01 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:05 2004 Subject: i just wanted to show my new sig file. Message-ID: <3B13C745.3307E37@stray-toaster.co.uk> Are you a fan too? m perl -le 'local $variable for local $people' From swm at swmcc.com Tue May 29 11:17:21 2001 From: swm at swmcc.com (Stephen McCullough) Date: Tue Aug 3 23:54:05 2004 Subject: i just wanted to show my new sig file. In-Reply-To: <3B13C745.3307E37@stray-toaster.co.uk>; from Stray Toaster on Tue, May 29, 2001 at 04:59:01PM +0100 References: <3B13C745.3307E37@stray-toaster.co.uk> Message-ID: <20010529171721.A15372@tux.blackstar.co.uk> On Tue, May 29, 2001 at 04:59:01PM +0100, Stray Toaster wrote: > Are you a fan too? > > m > > perl -le 'local $variable for local $people' My sig sucks... I want to change it - any ideas? -- Stephen McCullough (t) 028-9445-4498 (w) www.swmcc.com/bilbo (m) 077-8070-6093 (e) swm@swmcc.com From mwk at stray-toaster.co.uk Wed May 30 16:56:57 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:05 2004 Subject: meeting reminder Message-ID: <3B156CA9.A63980E3@stray-toaster.co.uk> Hey all. More weirdness (in the words of our Arch Enemies the Bluggers[1]) to take place on Monday. Which is the first Monday in June, whose date escapes me. Be there or be somewhere else! go on, you know you want to ask me what the meeting is about.....I would say, but Martha Kearney is on Newsnight at the mo........mmmm Martha...........(sorry. I stop now) m. [1] I bet you thought I was going to say that comment was a joke in this subscript, but I am not!! HAHAHAHA! [2] [2] Oh, alright then. -- perl -le 'local $variable for local $people' From steve-pmbelfast at blackstar.co.uk Thu May 31 09:08:07 2001 From: steve-pmbelfast at blackstar.co.uk (steve-pmbelfast@blackstar.co.uk) Date: Tue Aug 3 23:54:05 2004 Subject: A couple of unrelated questions Message-ID: <20010531150807.A29484@blackstar.co.uk> lo all I've got a couple of questions buzzing around my head so I thought I'd ask around and see what comes up. First the non-perl question... Does anyone know of any good reasonably cheap digital camera that will happily connect to a mac? I'm thinking of getting one for someone's birthday... Secondly the probably silly perl question Does anyone know of a semi-decent random name generator written in perl? I need to generate a whole bunch of random names and I'd like them to be reasonably sensible. I know I could just use gibberish but I'd prefer a decent solution. I may just resort to providing a whole bunch of forenames and surnames and then getting a script to randomly group them together, but I'd like to gradually expand this to create a name that seems reasonably sensible for a given country. I have the feeling that I'm just going to have to bite the bullet and write this all myself with appropriate forenames and surnames for each country but I'm feeling lazy, which is a virtue! So any ideas? Or thoughts? And before Marc shows off his camera, I know you got it cheap, and yes I'm annoyed I didn't get one now! Steve From ksb454av56 at yahoo.com Thu May 31 06:23:07 2001 From: ksb454av56 at yahoo.com (ksb454av56@yahoo.com) Date: Tue Aug 3 23:54:05 2004 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/belfast-pm/attachments/20010531/b85f1ef0/attachment.htm From ksb454av56 at yahoo.com Thu May 31 06:23:07 2001 From: ksb454av56 at yahoo.com (ksb454av56@yahoo.com) Date: Tue Aug 3 23:54:05 2004 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/belfast-pm/attachments/20010531/b85f1ef0/attachment-0001.htm