From roland at euphony.net Wed Jul 3 14:41:35 2002 From: roland at euphony.net (Roland Tarver) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: new member In-Reply-To: <20020622204652.B5899@flumpet.demon.co.uk> Message-ID: Heys SteveO m8! Hows it going? best wishes roly t (sorry it took so long to reply) :) > -----Original Message----- > From: owner-devoncornwall@pm.org [mailto:owner-devoncornwall@pm.org]On > Behalf Of Steve Marvell > Sent: Saturday, June 22, 2002 8:47 PM > To: devoncornwall@happyfunball.pm.org > Subject: DCPM: new member > > > Welcome Roly. > > Now, nobody hurt him! > > Steve > From mb at simplepages.uklinux.net Wed Jul 10 11:49:38 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Perl question! References: <20020622204652.B5899@flumpet.demon.co.uk> Message-ID: <3D2C65A2.9090802@simplepages.uklinux.net> Not really... ...well it is sort of: I need to suddenly fully grok Template Toolkit and Tangram (they are Perl modules you can get, I reckon). I have not had the occasion to use either before. Does anyone have any first hand experience with either? Any anecdotal comments? Criticisms? Pointers to good example-based tutorials? Obviously, I *can* read the documentation and, since I am doing so now, a RTFM is not required ;) Yes, I am doing something about that website but I have been rather busy just recently. MB. From theo at crazygreek.co.uk Wed Jul 10 12:04:48 2002 From: theo at crazygreek.co.uk (Theo Zourzouvillys) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Perl question! In-Reply-To: <3D2C65A2.9090802@simplepages.uklinux.net> References: <20020622204652.B5899@flumpet.demon.co.uk> <3D2C65A2.9090802@simplepages.uklinux.net> Message-ID: <200207101804.48685@home.crazygreek.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 July 2002 5:49 pm, Matthew Browning wrote: > Does anyone have any first hand experience with either? > Any anecdotal comments? > Criticisms? > Pointers to good example-based tutorials? my site, theo.me.uk is a mixture of both Template, CGI and SSI. It's fast, easy to use, and it only took about 5 minutes to get working ;) It also works rather well with DBI/mysql. apart from the simple stuff on my site, I have not really played all to much with it, but have seen a few tutorials around, one on (iirc) webmokey. Tangram, however, i have no idea about. ~ Theo - -- Theo Zourzouvillys http://zozo.org.uk/ Your lucky number is 3552664958674928. Watch for it everywhere. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9LGkw448CrwpTn6YRAkQwAKCjhlV3NuJoUsPcdydOB5EnsJGw6QCfU0OC KJUF7y/s3UHIfPgrmEh7vKc= =RjQ3 -----END PGP SIGNATURE----- From theo at crazygreek.co.uk Thu Jul 18 21:06:59 2002 From: theo at crazygreek.co.uk (Theo Zourzouvillys) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Fwd: [Support #340] [theo@crazygreek.co.uk: RE: Perl 5.8.0 released: please mirror now] Message-ID: <200207190307.00200@home.crazygreek.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 and on the note of perl.... woo woo, perl 5.8 is out! two things that stand out from the changelog... Restricted Hashes A restricted hash is restricted to a certain set of keys, no keys outside the set can be added. Also individual keys can be restricted so that the key cannot be deleted and the value cannot be changed. No new syntax is involved: the Hash::Util module is the interface. Switch, by Damian Conway, has been added. Just by saying use Switch; you have C and C available in Perl. use Switch; switch ($val) { case 1 { print "number 1" } case "a" { print "string a" } case [1..10,42] { print "number in list" } case (@array) { print "number in list" } case /\w+/ { print "pattern" } case qr/\w+/ { print "pattern" } case (%hash) { print "entry in hash" } case (\%hash) { print "entry in hash" } case (\&sub) { print "arg to subroutine" } else { print "previous case not true" } } Yaaaaaaaaaaaaaay! ~ Theo, strangley happy at the release of perl 5.8. - ---------- Forwarded Message ---------- - From cpan-mirrors-owner@ftp.funet.fi Fri Jul 19 01:24:21 2002 Date: Fri, 19 Jul 2002 03:23:51 +0300 From: Jarkko Hietaniemi To: cpan-mirrors@ftp.funet.fi Subject: Perl 5.8.0 released: please mirror now Those of you who mirror ftp.funet.fi directly, please expedite your mirrors and do it now, Perl 5.8.0 has been released and soon many people will want to download it, I think. Those of you not mirroring ftp.funet.fi directly, please forward this message to your upstream mirrors. - -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen - -- Theo Zourzouvillys http://zozo.org.uk/ It's a very *__UN*lucky week in which to be took dead. -- Churchy La Femme -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9N3RD448CrwpTn6YRAvMfAJ9axFufnq3Z4pdEqDowRfOO1FRZ6gCfR9rM VhutWrOpgCh7x7gB3WVa+3w= =N1RG -----END PGP SIGNATURE----- From steve at fysh.org Fri Jul 19 02:50:59 2002 From: steve at fysh.org (Steve Marvell) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Fwd: [Support #340] [theo@crazygreek.co.uk: RE: Perl 5.8.0 released: please mirror now] In-Reply-To: <200207190307.00200@home.crazygreek.co.uk>; from theo@crazygreek.co.uk on Fri, Jul 19, 2002 at 03:06:59AM +0100 References: <200207190307.00200@home.crazygreek.co.uk> Message-ID: <20020719085059.F17240@flumpet.demon.co.uk> On Fri, Jul 19, 2002 at 03:06:59AM +0100, Theo Zourzouvillys wrote: > Switch, by Damian Conway, has been added. Just by saying Is this as powerful as the proposed perl 6 switch, do you know? Steve From theo at crazygreek.co.uk Fri Jul 19 07:25:44 2002 From: theo at crazygreek.co.uk (Theo Zourzouvillys) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Fwd: [Support #340] [theo@crazygreek.co.uk: RE: Perl 5.8.0 released: please mirror now] In-Reply-To: <20020719085059.F17240@flumpet.demon.co.uk> References: <200207190307.00200@home.crazygreek.co.uk> <20020719085059.F17240@flumpet.demon.co.uk> Message-ID: <200207191325.44933@home.crazygreek.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 19 July 2002 8:50 am, Steve Marvell wrote: > Is this as powerful as the proposed perl 6 switch, do you know? not sure - i've been too busy to install and play yet - though will in a wee bit! ~ Theo - -- Theo Zourzouvillys http://zozo.org.uk/ Your boss is a few sandwiches short of a picnic. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9OAVI448CrwpTn6YRAiPJAKDbtwkJq8pflYjoksjTsWdUw0ClsACg6UCU TcQobymO1erQyKF6eiOXQjU= =3YVo -----END PGP SIGNATURE----- From mb at simplepages.uklinux.net Tue Jul 23 05:41:04 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: $yntax References: <200207190307.00200@home.crazygreek.co.uk> Message-ID: <3D3D32C0.2030702@simplepages.uklinux.net> Can anyone put me straight here? I can't seem to think right: I have two arrays, both of thirteen elements. These values contained therein need to be massaged into a hash for passing to a method (which wants them like that, not written by me) So, the arrays are like: @array1 = ('one', 'two', 'three' etc... @array2 = ('dog', 'cat', 'pig' etc... and I want them to wind up in a hash looking like this: my %edit_vars = ( [-- other stuff --] values => \@pass_to, ); Now, I can make it work, as implied above, by doing this: my @pass_to = ( { left => $array1[0], right => $array2[0] }, { left => $array1[1], right => $array2[1] }, { left => $array1[2], right => $array2[2] }, ...and so forth, But that is pretty inelegant and, while I *know* it to be wrong, I am afraid I can't see the Right Thing here, perhaps as a result of recent nocturnal excesses. Data structure spaghetti. Anyone know what I'm on about? How would you do it? MB (curiously, with the song `Play That Funky Music, White Boy' going around in his head 24 hours a day) From mb at simplepages.uklinux.net Tue Jul 23 06:43:23 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: $yntax -DOH! References: <200207190307.00200@home.crazygreek.co.uk> <3D3D32C0.2030702@simplepages.uklinux.net> Message-ID: <3D3D415B.5050603@simplepages.uklinux.net> Matthew Browning wrote: > Can anyone put me straight here? I can't seem to think right: > Sorry! I think my brain left the building there for a minute: for ($i=0;$i<13;$i++) { push @pass_to, { left => $array1[$i], right => $array2[$i] }; } ...what am I thinking of? MB From theo at crazygreek.co.uk Tue Jul 23 06:51:14 2002 From: theo at crazygreek.co.uk (Theo Zourzouvillys) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: $yntax -DOH! In-Reply-To: <3D3D415B.5050603@simplepages.uklinux.net> References: <200207190307.00200@home.crazygreek.co.uk> <3D3D32C0.2030702@simplepages.uklinux.net> <3D3D415B.5050603@simplepages.uklinux.net> Message-ID: <200207231251.14873@home.crazygreek.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 23 July 2002 12:43 pm, Matthew Browning wrote: > Sorry! I think my brain left the building there for a minute: > > for ($i=0;$i<13;$i++) { > push @pass_to, { left => $array1[$i], right => $array2[$i] }; > } > > > ...what am I thinking of? well I replied almost that but my mail doesn'y seem to have arrived :p dunno wheer it got lost :/ ~ TYheo - -- Theo Zourzouvillys http://zozo.org.uk/ In the Spring, I have counted 136 different kinds of weather inside of 24 hours. -- Mark Twain, on New England weather -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9PUMy448CrwpTn6YRAoW2AKCl59TqhxO6kzaNnor+FaohQMr/NgCg3ns6 GU8d1ww1SCJ/P7GVIoTF/VQ= =B3PG -----END PGP SIGNATURE----- From steve at fysh.org Tue Jul 23 11:37:06 2002 From: steve at fysh.org (Steve Marvell) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: theo's reply Message-ID: <20020723173706.A3068@flumpet.demon.co.uk> From: Theo Zourzouvillys [A non-member address] On Tuesday 23 July 2002 11:41 am, Matthew Browning wrote: > right => $array2[0] }, > { left => $array1[1], > right => $array2[1] }, > { left => $array1[2], > right => $array2[2] }, > > ...and so forth, > > if i understand the question right... though there are a million ways to do it ;) this is one of them... die "Arrays are not equal\n" if ($#array1 != $#array2) push(@{$edit_vars{values}}, {left => $array1[$_], right => $array2[$_]}) for (0 .. $#array1); > But that is pretty inelegant and, while I *know* it to be wrong, I am > afraid I can't see the Right Thing here, perhaps as a result of recent > nocturnal excesses. From mb at simplepages.uklinux.net Mon Jul 29 06:34:41 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Update References: <20020723173706.A3068@flumpet.demon.co.uk> Message-ID: <3D452851.7070604@simplepages.uklinux.net> Further to previous discussions, it gives me some pleasure to announce that I have done something about devoncornwall.pm.org. Site now does some stuff. Updates: Markup: - XHTML 1.1 and CSS2 certified compliance. - I have bitten the bullet and put it in a big table for Nutscrape users. - Seriously cut down on the image content. Pictures: - Used the GIMP to do a cleaner header which blends into style for title bar. Features: - Click on `Add Content' for a bunch of stuff list members can add: - `News' ticks by the front page in reverse order. - `User details' go in your own user details. - `Links' are randomly displayed in the Links box. - `Reviews' go into the review section. I have not done `Comments' or `Tutorials' yet. Note: To enter stuff requires a username and password. Your user name is your own first name. Password FOR NOW is `password' - I will obviously change this if we actually use it. It is in Perl, yeah. I was drunk when I did a lot of it but I can't wait so tidying up comes later ;) Caveats: 1. It is valid markup only insofar as no one enters any invalid markup - I can't help that! 2. It is displaying the URL as opposed to the title of Steve's review not because it is broken but because I am unable to follow my own instructions! 3. If you cannot log in, it is because I have never heard of you. Message me and I will set you up. There is also an `Anonymous' account for testing purposes - I can forward the password for that to interested parties if necessary. So: I invite readers to input some crap in the `News' section or in their own personal details and feedback to me - new features that are required I will do as time allows. ...and here is the URL: http://www.matthewbrowning.uklinux.net/ Thanks very much, [MB] From theo at crazygreek.co.uk Mon Jul 29 09:43:45 2002 From: theo at crazygreek.co.uk (Theo Zourzouvillys) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Update In-Reply-To: <3D452851.7070604@simplepages.uklinux.net> References: <20020723173706.A3068@flumpet.demon.co.uk> <3D452851.7070604@simplepages.uklinux.net> Message-ID: <200207291543.46797@home.crazygreek.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 29 July 2002 12:34 pm, Matthew Browning wrote: > Further to previous discussions, it gives me some pleasure to announce > that I have done something about devoncornwall.pm.org. > > Site now does some stuff. > It look really nie, and renders right in both moilla ands konqi here ;) > To enter stuff requires a username and password. Your user name is your > own first name. Password FOR NOW is `password' - I will obviously > change this if we actually use it. hmm, i can't seem to log in. > It is in Perl, yeah. I was drunk when I did a lot of it but I can't > wait so tidying up comes later ;) that might explain it ;) ~Theo - -- Theo Zourzouvillys http://zozo.org.uk/ Q: What's the difference between Bell Labs and the Boy Scouts of America? A: The Boy Scouts have adult supervision. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9RVSi448CrwpTn6YRAu/BAKCyo91UflsxUgkh2+wNIXF/5Xvx9ACgrrHh YqKHFepUMzaNBfWL8KEc7IU= =XBWp -----END PGP SIGNATURE----- From steve at fysh.org Mon Jul 29 09:54:21 2002 From: steve at fysh.org (Steve Marvell) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Update In-Reply-To: <200207291543.46797@home.crazygreek.co.uk>; from theo@crazygreek.co.uk on Mon, Jul 29, 2002 at 03:43:45PM +0100 References: <20020723173706.A3068@flumpet.demon.co.uk> <3D452851.7070604@simplepages.uklinux.net> <200207291543.46797@home.crazygreek.co.uk> Message-ID: <20020729155421.B28835@flumpet.demon.co.uk> On Mon, Jul 29, 2002 at 03:43:45PM +0100, Theo Zourzouvillys wrote: > It look really nie, and renders right in both moilla ands konqi here ;) And consistently Bus Errors NS4. > > To enter stuff requires a username and password. Your user name is your > > own first name. Password FOR NOW is `password' - I will obviously > > change this if we actually use it. > > hmm, i can't seem to log in. Big T Steve From mb at simplepages.uklinux.net Mon Jul 29 10:16:54 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Update References: <20020723173706.A3068@flumpet.demon.co.uk> <3D452851.7070604@simplepages.uklinux.net> <200207291543.46797@home.crazygreek.co.uk> <20020729155421.B28835@flumpet.demon.co.uk> Message-ID: <3D455C66.3010801@simplepages.uklinux.net> Steve Marvell wrote: > On Mon, Jul 29, 2002 at 03:43:45PM +0100, Theo Zourzouvillys wrote: > > >>It look really nie, and renders right in both moilla ands konqi here ;) > > > And consistently Bus Errors NS4. > > >>>To enter stuff requires a username and password. Your user name is your >>>own first name. Password FOR NOW is `password' - I will obviously >>>change this if we actually use it. >> >>hmm, i can't seem to log in. > > > Big T > Yeah. I qualify my previous statement thus: username is your first name as it appears in emails from you.... [checks] um....hang on: > well I replied almost that but my mail doesn'y seem to have arrived :p > > dunno wheer it got lost :/ > > ~ TYheo > > - -- ...further qualification: username is your first name how I reckon it should be spelled ;) Let me know of any problems. I am installing some other browsers here to have a look at (should have done that before). I am getting this really annoying problem here from time to time that Mozilla is reversing the style attributes for td class menu (on the left) and td class mid (on the right). The problem disappears if you refresh - that can't be right. Ho hum... From mb at simplepages.uklinux.net Mon Jul 29 10:27:04 2002 From: mb at simplepages.uklinux.net (Matthew Browning) Date: Thu Aug 5 00:28:43 2004 Subject: DCPM: Update References: <20020723173706.A3068@flumpet.demon.co.uk> <3D452851.7070604@simplepages.uklinux.net> <200207291543.46797@home.crazygreek.co.uk> Message-ID: <3D455EC8.6060500@simplepages.uklinux.net> Theo Zourzouvillys wrote: >>It is in Perl, yeah. I was drunk when I did a lot of it but I can't >>wait so tidying up comes later ;) > > > that might explain it ;) > > ~Theo It's not bug-free, I am sure, but I just logged in as you with no problem - as you can see I have added a message... [MB]