From robin.berjon at expway.fr Mon Sep 25 00:04:23 2006 From: robin.berjon at expway.fr (Robin Berjon) Date: Mon, 25 Sep 2006 01:04:23 +0200 Subject: Non Sucking YAML parser In-Reply-To: <20060923072941.GA14437@bytemark.barnyard.co.uk> References: <1158225671.8483.6.camel@coriolanus.gellyfish.com> <1158228449.5616.32.camel@localhost> <3608C748-122C-494E-8742-BD95B301E9C8@expway.fr> <20060914131853.GJ18222@bytemark.barnyard.co.uk> <656C7BDD-B355-4DA6-899B-89485E9C07BF@hexten.net> <20060918132741.GI26587@bytemark.barnyard.co.uk> <20060919134923.GB15619@bytemark.barnyard.co.uk> <01A64E37-0E56-4B4C-B7D5-00F3D2C2355E@expway.fr> <20060923072941.GA14437@bytemark.barnyard.co.uk> Message-ID: <8760AA3E-FB06-4A00-A054-8465A7328052@expway.fr> On Sep 23, 2006, at 09:29, David Cantrell wrote: > Huh? How is this: > > > Mr > Cantrell > David > ... > > etc > > massively more verbose than using namespaces? The example is at: http://london.pm.org/pipermail/london.pm/Week-of- Mon-20060911/004428.html > In fact, it *is* > namespaces - at least in the generic sense even if it lacks the > punctuation to satisfy XML - just without the extra syntax. Err, it *is* namespaces, punctuation or not. It's just as poor an example of it as dumping everything into main::. -- Robin Berjon Senior Research Scientist Expway, http://expway.com/ From andy at hexten.net Mon Sep 25 10:48:57 2006 From: andy at hexten.net (Andy Armstrong) Date: Mon, 25 Sep 2006 10:48:57 +0100 Subject: Helping Microsoft (local.live.com) In-Reply-To: <20060924205411.GB30152@fysh.org> References: <20060924183625.GF988@herlpacker.co.uk> <4516DFE1.9090800@blackperl.com> <20060924205411.GB30152@fysh.org> Message-ID: On 24 Sep 2006, at 21:54, Joel Bernstein wrote: > Works perfectly for me, too. > > I'm using Debian's Firefox 1.5.0.6, which identifies itself as: > Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060728 > Firefox/1.5.0.6 (Debian-1.5.dfsg+1.5.0.6-4) Seems it's a browser sniffing problem - if you use User Agent Switcher and import this file: http://www.hexten.net/assets/uas-ffxp.xml you'll get a FireFox / Windows XP option that does the trick. Thanks for the reports everyone. -- Andy Armstrong, hexten.net From tjc at wintrmute.net Wed Sep 27 13:27:56 2006 From: tjc at wintrmute.net (Toby Corkindale) Date: Wed, 27 Sep 2006 13:27:56 +0100 Subject: Recent C++/SWIG stories In-Reply-To: <20060921111508.GC5784@hosted.simon-cozens.org> References: <4510FC76.5010104@wiggly.org> <20060920132313.GW24550@thegestalt.org> <451146D5.5000706@wiggly.org> <20060920151740.GY24550@thegestalt.org> <45115E58.4030801@wiggly.org> <20060921105727.GB24550@thegestalt.org> <20060921111508.GC5784@hosted.simon-cozens.org> Message-ID: <20060927122756.GA1694@penfold.mine.nu> On Thu, Sep 21, 2006 at 11:15:08AM +0000, Simon Cozens wrote: > Simon Wistow: > > Oh, what a shame :) > > http://unixbeard.net/svn/simon/cpp-xs-example/ > > There's some stuff in there that might not be that clean but it should > > all work. > > There's also a wee tutorial in > http://simon-cozens.org/programmer/articles/imgseek.pod Thanks for that article, Simon - quite interesting re identifying images. tjc -- Turning and turning in the widening gyre/The falcon cannot hear the falconer; Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world (gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E) From tjc at wintrmute.net Wed Sep 27 13:33:48 2006 From: tjc at wintrmute.net (Toby Corkindale) Date: Wed, 27 Sep 2006 13:33:48 +0100 Subject: Recent C++/SWIG stories In-Reply-To: <20060920132313.GW24550@thegestalt.org> References: <4510FC76.5010104@wiggly.org> <20060920132313.GW24550@thegestalt.org> Message-ID: <20060927123348.GB1694@penfold.mine.nu> On Wed, Sep 20, 2006 at 02:23:13PM +0100, Simon Wistow wrote: > On Wed, Sep 20, 2006 at 09:31:50AM +0100, Nigel Rantor said: > > > > Anyone tried wrapping clean, recent C++ code in Perl using SWIG? > > No, but I've written XS by bhand for C++. > > It was pretty easy. Can you apply C++'s function overloading to deal with varying arguments from Perl? eg: int foo::bar(int val) { RETVAL = val + 13; } int foo::bar(string word) { RETVAL = word.append("13"); } tjc -- Turning and turning in the widening gyre/The falcon cannot hear the falconer; Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world (gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E) From tjc at wintrmute.net Wed Sep 27 14:08:52 2006 From: tjc at wintrmute.net (Toby Corkindale) Date: Wed, 27 Sep 2006 14:08:52 +0100 Subject: Recent C++/SWIG stories In-Reply-To: <20060927123348.GB1694@penfold.mine.nu> References: <4510FC76.5010104@wiggly.org> <20060920132313.GW24550@thegestalt.org> <20060927123348.GB1694@penfold.mine.nu> Message-ID: <20060927130852.GC1694@penfold.mine.nu> On Wed, Sep 27, 2006 at 01:33:48PM +0100, Toby Corkindale wrote: > On Wed, Sep 20, 2006 at 02:23:13PM +0100, Simon Wistow wrote: > > On Wed, Sep 20, 2006 at 09:31:50AM +0100, Nigel Rantor said: > > > > > > Anyone tried wrapping clean, recent C++ code in Perl using SWIG? > > > > No, but I've written XS by bhand for C++. > > > > It was pretty easy. > > Can you apply C++'s function overloading to deal with varying arguments from > Perl? > eg: > int foo::bar(int val) { > RETVAL = val + 13; > } > int foo::bar(string word) { > RETVAL = word.append("13"); > } oops, that should be word + "13", but you know what I meant? tjc -- Turning and turning in the widening gyre/The falcon cannot hear the falconer; Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world (gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E) From sm at fsfe.org Wed Sep 27 14:35:22 2006 From: sm at fsfe.org (Simon Morris) Date: Wed, 27 Sep 2006 14:35:22 +0100 Subject: [OT] Anti-DRM Event in London this Saturday Message-ID: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> Hello, On this Saturday 30th September there is a anti-DRM event in Central London. http://defectivebydesign.org/en/actions/oct3/apple_store_regent_street_london As with the previous DefectiveByDesign events this will be a HAZMAT suit parade.. http://www.flickr.com/groups/defectivebydesign/pool/ .. which should be colourful, fun and I hope we can get our message about restrictive technology and it's problems across to the general public. The event is outside of the Apple Store on Regents Street starting at 1400 until 1700. I hope to see some of you there! Thanks ~sm From tbusch at cpan.org Wed Sep 27 15:05:51 2006 From: tbusch at cpan.org (Thomas Busch) Date: Wed, 27 Sep 2006 16:05:51 +0200 Subject: [OT] Best Flash/QT streaming provider Message-ID: <1159365951.451a853f3d0b1@mail.optioncarriere.com> Hi all, I know this is off-topic but can anyone recommend a good UK-based streaming provider to stream high-quality videos ? This is meant for a film production company that needs to stream examples of their work (music videos, company showreel, short films, etc). Also what encoding do you recommend ? It seems that everyone is going for Flash these days. Thomas. From david at cantrell.org.uk Wed Sep 27 15:18:36 2006 From: david at cantrell.org.uk (David Cantrell) Date: Wed, 27 Sep 2006 15:18:36 +0100 Subject: [ANNOUNCE] Cr'n.pm, 13 Oct 2006, Croydon and Sutton beer festival Message-ID: <20060927141829.GA25729@bytemark.barnyard.co.uk> Croyden.pm will be appearing at the 13th Croydon and Sutton Beer and Cider Festival as special scary guests of the Croydon branch of CAMRA on Friday the 13th of October. http://www.croydoncamra.org.uk/festival.asp -- David Cantrell | London Perl Mongers Deputy Chief Heretic From jns at gellyfish.com Wed Sep 27 15:30:38 2006 From: jns at gellyfish.com (Jonathan Stowe) Date: Wed, 27 Sep 2006 15:30:38 +0100 Subject: [OT] Anti-DRM Event in London this Saturday In-Reply-To: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> References: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> Message-ID: <1159367438.8186.14.camel@coriolanus.gellyfish.com> On Wed, 2006-09-27 at 14:35 +0100, Simon Morris wrote: > Hello, > > On this Saturday 30th September there is a anti-DRM event in Central > London. Thank you I'll know where to avoid on Saturday then. /J\ From dom at happygiraffe.net Wed Sep 27 16:00:14 2006 From: dom at happygiraffe.net (Dominic Mitchell) Date: Wed, 27 Sep 2006 16:00:14 +0100 Subject: [OT] Anti-DRM Event in London this Saturday In-Reply-To: <1159367438.8186.14.camel@coriolanus.gellyfish.com> References: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> <1159367438.8186.14.camel@coriolanus.gellyfish.com> Message-ID: <20060927150014.GA70194@gimli.happygiraffe.net> On Wed, Sep 27, 2006 at 03:30:38PM +0100, Jonathan Stowe wrote: > On Wed, 2006-09-27 at 14:35 +0100, Simon Morris wrote: > > Hello, > > > > On this Saturday 30th September there is a anti-DRM event in Central > > London. > > Thank you I'll know where to avoid on Saturday then. You need a reason to avoid central London on a Saturday? -Dom From simon at thegestalt.org Wed Sep 27 16:27:32 2006 From: simon at thegestalt.org (Simon Wistow) Date: Wed, 27 Sep 2006 16:27:32 +0100 Subject: [ANNOUNCE] [SOCIAL] The Star, Belgravia - Thursday, October the 5th Message-ID: <20060927152732.GU4055@thegestalt.org> Remember, remember the 5th of October. Oh, wait. No. That's November. Ah well. The 5th of October is, fact fans, exactly 10 years to the day since I started college. Not that you care really. Not that I care really. I woke up 4 years later on a beach in Thailand wearing nothing but a mortar board and Tattoo saying "Miranda 4 t3h w1N!!!11!!1" Good times. Good times. After the shock discovery last month that The Penderels Oak has had the good bits downstairs removed and replaced with some sort of cheesy teen disco extravangaza we've retreated to lick our wounds and plot revenge and a sensible place to do that is the upstairs room of The Star in Belgravia. http://london.pm.org/meetings/locations/star_belgravia.html http://london.openguides.org/index.cgi?id=Star_Tavern_(Belgravia) The Star was famously used to plan The Great Tarin Robbery (starring Phil Collins) so we'll be steeped in the right kind of history. Also the beer is good (we've persuaded the Landlord to open up the top bar) and the steaks are tasty (The Landlord has laid in some extra steaks because, well, it's us and we eat a lot of them). If you don't like steaks there's plenty of other food and apparently the vege stuff is pretty good. I can't really complain, I mena my garnish always looked nice but ... Now the standard blurb ... Social meetings are a chance for people to meet up face to face for a quiet drink (alcoholic or not) A fair chunk of Perl is talked at the meetings, but also people who have no interest in the language often pop along to socialise. There's no charge to enter, no agenda, and we tend to think of it more as pleasant drinks rather than any serious endeavour. People normally turn up after work, and many stay until closing time. Food is normally consumed at the pub by those wanting nourishment though sometimes small groups of people head off for food either during or after the meeting. Directions The Star is in walking distance of Victoria, Sloane Square, Hyde Park Corner and Knightsbridge. It is located in a little cobbled street behind the German Embassy. Below are directions to get there from various places. >From Sloane Square Essentially you want to take the north exit off the square and head up Sloane Street and then take a right down Pont street till you get to the embassy, and then down the cobbled mews till you find the pub. So, in detail: Come out of the station. Standing as you are with your back to the station you want to go up the road diagonally opposite on the right (so turn right, cross the crossing, and on the other side turn left and walk for a bit till you come to Sloane Street - a big wide street - on your right.) You want to keep going up Sloane street till you come to Pont Street, the junction of which has traffic lights on it. Turn right (east) down this street and keep going. The road will start to veer off to the left, and at this point you should see a large white building with black windows that is the German embassy on the left hand side (north) side of the road. In a big, tall, archway under the embassy there should be a cobbled street. Head up this street and The Star is on the end on the left. >From Victoria Essentially you want to cross the road out of the station and then head up Lower then Upper Belgrave Street so you get to Belgrave Square. From here you want to take the second left exit to Pont Steet and turn right though the German embassy up the cobbled mews to the pub. In detail: From the tube lines, follow signs for main station and get to the surface. Turn left and walk past starbucks and pret a manger - you want to get to Buckingham Palace Road which is the road the busses enter the bus station off of. Cross the road at the traffic lights and use the other set of traffic lights to the left to get off the mini-island you're on. You should now be in front of the deserted Usit campus office. go left (west) along Buckingham Palace Road then take the first right (north) up into Lower Belgrave Street. Continue up this street, passing drinking establishments such as "The Victoria" on your left, and the "The Plumber Arms". This road turns into "Upper Belgrave Street" - just keep on going until you come to Belgrave square. Here, turn left and take the second exit off the square (the one that goes directly west) down Pont Street. Almost immediately on your right you should see the German embassy (a big white building with black windows) and a large phallic like statue. There should be an archway here under the embassy leading up a cobbled street. Go up this street and The Star will be on the end on the left. >From Knightsbridge Essentially you want to get out of the tube and then head south down Sloane Street until you come to Cadeogan Place. Turning down here you simply want to walk east for a short while until you come to the north end of a cobbled mews that the pub is located on. In detail: To get out of the tube, take the exit signposted for Harvey Nichols or Knightsbridge (south side) or Sloane Street (east side) [it's signed differently in different places but these are all the same exit, to the right as you come out of the Tube barriers]. When you come out of the exit turn right round 180 degrees so that you are on the left pavement of Sloane Street heading south. Walk down here for a few minutes (past one left turning, which you should ignore) and turn left into Cadogan Place. At this point you want to keep heading in a straight line (east.) Don't follow Cadogan Place round to the right, but instead keep heading roughly in the same direction. Take the zebra crossing onto the right-hand pavement, and still heading in the same direction eastly direction cross over Lowndes Street into West Halkin Street. Follow West Halkin Street as it bends slightly to the right. Shortly you should see a cashmere shop on your right on the corner. Turn down this road and then you'll see an entry directly ahead of you into a cobbled street. The Star is in that cobbled street, on the right just after the entry. From paulo at digitalcraftsmen.net Wed Sep 27 16:40:45 2006 From: paulo at digitalcraftsmen.net (Paul Orrock) Date: Wed, 27 Sep 2006 16:40:45 +0100 Subject: [OT] Best Flash/QT streaming provider In-Reply-To: <1159365951.451a853f3d0b1@mail.optioncarriere.com> References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> Message-ID: <451A9B7D.6090508@digitalcraftsmen.net> Thomas Busch wrote: > Hi all, > > I know this is off-topic but can anyone recommend a > good UK-based streaming provider to stream high-quality > videos ? This is meant for a film production company > that needs to stream examples of their work (music > videos, company showreel, short films, etc). I'm curious as to why they need to stream them ? Most players now start playing the file before it's downloaded, so unless you're talking about a large volume of people accessing one file constantly then I'd just have them available to download off the site. You just need a server with fast (low hop) access to the linx backbone. One of our clients (http://www.monday9am.tv) serve all of their videos in this way from one of our servers. > Also what encoding do you recommend ? It seems that > everyone is going for Flash these days. Monday9am use flash for several reasons, one of which is that it's harder to copy a flash embedded movie that it is to right-click -> save as a wmv or mpg movie. Flash also plays while downloading the rest of the video. regards, Paul From ian at indecorous.com Wed Sep 27 16:49:12 2006 From: ian at indecorous.com (Ian Malpass) Date: Wed, 27 Sep 2006 10:49:12 -0500 Subject: [OT] Anti-DRM Event in London this Saturday In-Reply-To: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> References: <1159364122.4369.33.camel@wt-morriss-01.wtms.com> Message-ID: <451A9D78.3090605@indecorous.com> Simon Morris wrote: > On this Saturday 30th September there is a anti-DRM event in Central > London. Shortly afterwards, there will be cheap knock-off events all over the Far East. Ian From london.pm at metamathics.org Wed Sep 27 17:01:59 2006 From: london.pm at metamathics.org (Denny) Date: Wed, 27 Sep 2006 17:01:59 +0100 Subject: [OT] Best Flash/QT streaming provider In-Reply-To: <451A9B7D.6090508@digitalcraftsmen.net> References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> <451A9B7D.6090508@digitalcraftsmen.net> Message-ID: <1159372919.25137.61.camel@kerplunk.onlinegalleries.com> On Wed, 2006-09-27 at 16:40 +0100, Paul Orrock wrote: > Monday9am use flash for several reasons, one of which is that it's > harder to copy a flash embedded movie that it is to right-click -> save > as a wmv or mpg movie. Flash also plays while downloading the rest of > the video. Note that this means the (admittedly very small) market section of people who don't have Flash then have no way to view your file unless you also offer it as a download - which is why I prefer google video to youtube. Linux on AMD64 has no Flash, unless you want to install a 32-bit version of various libs and browsers. At least YouTube and Google Video both seem to work okay in the older versions of Flash that are available to Linux (7) and Mac (8, I think) rather than requiring the Windows version (9) like some websites do. From nik at ngo.org.uk Wed Sep 27 17:10:26 2006 From: nik at ngo.org.uk (Nik Clayton) Date: Wed, 27 Sep 2006 17:10:26 +0100 Subject: [OT] Best Flash/QT streaming provider In-Reply-To: <1159365951.451a853f3d0b1@mail.optioncarriere.com> References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> Message-ID: <451AA272.4030302@ngo.org.uk> Thomas Busch wrote: > I know this is off-topic but can anyone recommend a > good UK-based streaming provider to stream high-quality > videos ? If the other replies convince you that you don't need to stream, have you looked at the Coral Content Distribution Network? http://www.coralcdn.org/ N From gordon.joly at pobox.com Wed Sep 27 17:06:08 2006 From: gordon.joly at pobox.com (Gordon Joly) Date: Wed, 27 Sep 2006 17:06:08 +0100 Subject: [ANNOUNCE] Cr'n.pm, 13 Oct 2006, Croydon and Sutton beer festival In-Reply-To: <20060927141829.GA25729@bytemark.barnyard.co.uk> References: <20060927141829.GA25729@bytemark.barnyard.co.uk> Message-ID: At 15:18 +0100 27/9/06, David Cantrell wrote: >Croyden.pm will be appearing at the 13th Croydon and Sutton Beer and >Cider Festival as special scary guests of the Croydon branch of CAMRA on >Friday the 13th of October. > >http://www.croydoncamra.org.uk/festival.asp > >-- >David Cantrell | London Perl Mongers Deputy Chief Heretic I hope to be there. I will be wearing a FLICKR badge.... Gordo -- "Think Feynman"///////// http://pobox.com/~gordo/ gordon.joly at pobox.com/// From tjc at wintrmute.net Wed Sep 27 19:11:05 2006 From: tjc at wintrmute.net (Toby Corkindale) Date: Wed, 27 Sep 2006 19:11:05 +0100 Subject: [OT] Best Flash/QT streaming provider In-Reply-To: <1159372919.25137.61.camel@kerplunk.onlinegalleries.com> References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> <451A9B7D.6090508@digitalcraftsmen.net> <1159372919.25137.61.camel@kerplunk.onlinegalleries.com> Message-ID: <20060927181105.GD1694@penfold.mine.nu> On Wed, Sep 27, 2006 at 05:01:59PM +0100, Denny wrote: > On Wed, 2006-09-27 at 16:40 +0100, Paul Orrock wrote: > > Monday9am use flash for several reasons, one of which is that it's > > harder to copy a flash embedded movie that it is to right-click -> save > > as a wmv or mpg movie. Flash also plays while downloading the rest of > > the video. > > Note that this means the (admittedly very small) market section of > people who don't have Flash then have no way to view your file unless > you also offer it as a download - which is why I prefer google video to > youtube. Linux on AMD64 has no Flash, unless you want to install a > 32-bit version of various libs and browsers. Also, Linux on PPC. *grumble* > At least YouTube and Google Video both seem to work okay in the older > versions of Flash that are available to Linux (7) and Mac (8, I think) > rather than requiring the Windows version (9) like some websites do. Also, check out the mplayer mozilla plugin - I think it was at least partly sponsered by Google, with the intention it played Google Video - but it also seems to handle other things quite well too. (It's definately better than Totem's mozilla plugin) tjc PS. A flash-advocate friend of mine claims that Flash 9 will be released "soon", simultaneously for Linux and Windows and OSX. Whether this remains true, we shall see.. -- Turning and turning in the widening gyre/The falcon cannot hear the falconer; Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world (gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E) From essuu at ourshack.com Wed Sep 27 20:52:39 2006 From: essuu at ourshack.com (Simon Wilcox) Date: Wed, 27 Sep 2006 20:52:39 +0100 (BST) Subject: [OT] Best Flash/QT streaming provider In-Reply-To: <20060927181105.GD1694@penfold.mine.nu> References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> <451A9B7D.6090508@digitalcraftsmen.net> <1159372919.25137.61.camel@kerplunk.onlinegalleries.com> <20060927181105.GD1694@penfold.mine.nu> Message-ID: On Wed, 27 Sep 2006, Toby Corkindale wrote: > PS. A flash-advocate friend of mine claims that Flash 9 will be released > "soon", simultaneously for Linux and Windows and OSX. Whether this remains > true, we shall see.. Flash 9 was out a while ago. The Google Analytics stats for the aforementioned www.monday9am.tv site show almost 22.5% flash 9 usage. Flash 8 has 56% but I have no data on the split by OS. S. From scott at asofyet.org Thu Sep 28 01:33:48 2006 From: scott at asofyet.org (muppet) Date: Wed, 27 Sep 2006 20:33:48 -0400 Subject: Recent C++/SWIG stories In-Reply-To: <20060927123348.GB1694@penfold.mine.nu> References: <4510FC76.5010104@wiggly.org> <20060920132313.GW24550@thegestalt.org> <20060927123348.GB1694@penfold.mine.nu> Message-ID: <282F2BA9-BCF9-47F7-A5FB-77A4481945F2@asofyet.org> On Sep 27, 2006, at 8:33 AM, Toby Corkindale wrote: > On Wed, Sep 20, 2006 at 02:23:13PM +0100, Simon Wistow wrote: >> On Wed, Sep 20, 2006 at 09:31:50AM +0100, Nigel Rantor said: >>> >>> Anyone tried wrapping clean, recent C++ code in Perl using SWIG? >> >> No, but I've written XS by bhand for C++. >> >> It was pretty easy. > > Can you apply C++'s function overloading to deal with varying > arguments from > Perl? > eg: > int foo::bar(int val) { > RETVAL = val + 13; > } > int foo::bar(string word) { > RETVAL = word.append("13"); > } Sure, but it's not automatic. After all, the C++ compiler chooses which overloaded signature to use compile time, and perl decides that at runtime, so you have to have code in place to deal with each one. There are variations; choose as appropriate based on the complexity of your argument handling: a) Bind a different version of the function for each signature. Then, in perl code, parse your arguments and call the correct implementation. In the .pm: sub bar { my $self = shift; my $arg = shift; if ($arg =~ /^\s*\d+\s*$/) { # looks like a number $self->_bar_i ($arg); } else { $self->_bar_s ($arg); } } In the .xs: void _bar_i (int i) CODE: THIS->bar (i); void _bar_s (const char *s) CODE: THIS->bar (s); b) Do something like that, but all in XS: void bar (SV *arg) CODE: if (looks_like_number (arg)) { THIS->bar (SvIV (arg)); } else { THIS->bar (SvPV_nolen (arg)); } (looks_like_number() is a very handy C function from embed.h (macro) / proto.h (prototype).) -- Fun park. Fun swings. Fun play Zaz. I like dinosaurs. - Yvonne, aged two and a half, recounting the events of the day at bedtime. From tjc at wintrmute.net Thu Sep 28 10:42:10 2006 From: tjc at wintrmute.net (Toby Corkindale) Date: Thu, 28 Sep 2006 10:42:10 +0100 Subject: [OT] Best Flash/QT streaming provider In-Reply-To: References: <1159365951.451a853f3d0b1@mail.optioncarriere.com> <451A9B7D.6090508@digitalcraftsmen.net> <1159372919.25137.61.camel@kerplunk.onlinegalleries.com> <20060927181105.GD1694@penfold.mine.nu> Message-ID: <20060928094210.GA28573@penfold.mine.nu> On Wed, Sep 27, 2006 at 08:52:39PM +0100, Simon Wilcox wrote: > On Wed, 27 Sep 2006, Toby Corkindale wrote: > > > PS. A flash-advocate friend of mine claims that Flash 9 will be released > > "soon", simultaneously for Linux and Windows and OSX. Whether this remains > > true, we shall see.. > > Flash 9 was out a while ago. The Google Analytics stats for the > aforementioned www.monday9am.tv site show almost 22.5% flash 9 usage. > Flash 8 has 56% but I have no data on the split by OS. Hmm, I don't /think/ that's it then. I see that the current Flash 9 was originally going to be v8.5, so perhaps the version Robin was talking about as the upcoming v9 is now going to be v9.5 or v10? I'll chase the flash-advocate down and find out. tjc -- Turning and turning in the widening gyre/The falcon cannot hear the falconer; Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world (gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E) From andy at hexten.net Thu Sep 28 14:06:10 2006 From: andy at hexten.net (Andy Armstrong) Date: Thu, 28 Sep 2006 14:06:10 +0100 Subject: What a shame... Message-ID: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> http://media.guardian.co.uk/site/story/0,,1883159,00.html The BBC and Microsoft have signed a "memorandum of understanding" for developing the next generation of the corporation's internet-based services. -- Andy Armstrong, hexten.net From peter.hickman at semantico.com Thu Sep 28 14:26:18 2006 From: peter.hickman at semantico.com (Peter Hickman) Date: Thu, 28 Sep 2006 14:26:18 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: <451BCD7A.4080307@semantico.com> The first thing that I thought was "someone's taken a bung" but I would settle for "moron". In the old days we used to think this every time a shop moved from ICL or Dec to IBM. IBM were very good at buttering up the senior management, I guess that MS has picked that up along with IBM's mantle. Who would have thought that IBM would become the good guys? -- Peter Hickman. Semantico, Lees House, 21-23 Dyke Road, Brighton BN1 3FE t: 01273 722222 f: 01273 723232 e: peter.hickman at semantico.com w: www.semantico.com From kaoru at slackwise.net Thu Sep 28 14:30:35 2006 From: kaoru at slackwise.net (Kaoru) Date: Thu, 28 Sep 2006 14:30:35 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: <2bb533fc0609280630l77f929edta7887ee970c02a79@mail.gmail.com> So the BBC get to use Soapbox [0] videos on their website and in return say nice things about MS/MSN/Windows Media Player? I wonder if bbc.co.uk will start using IIS/Windows instead of Apache/unix. Alex [0] http://soapbox.msn.com/ (MS YouTube clone) From nick at ccl4.org Thu Sep 28 14:42:28 2006 From: nick at ccl4.org (Nicholas Clark) Date: Thu, 28 Sep 2006 14:42:28 +0100 Subject: What a shame... In-Reply-To: <2bb533fc0609280630l77f929edta7887ee970c02a79@mail.gmail.com> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> <2bb533fc0609280630l77f929edta7887ee970c02a79@mail.gmail.com> Message-ID: <20060928134227.GE39004@plum.flirble.org> On Thu, Sep 28, 2006 at 02:30:35PM +0100, Kaoru wrote: > So the BBC get to use Soapbox [0] videos on their website and in > return say nice things about MS/MSN/Windows Media Player? I wonder if > bbc.co.uk will start using IIS/Windows instead of Apache/unix. Mmm, *that* would make them a very juicy target for the world's script kiddies. I wonder how well the BBC's massive investment in Perl based infrastructure ports to mod_perl on Win32... Nicholas Clark From london.pm at metamathics.org Thu Sep 28 15:12:04 2006 From: london.pm at metamathics.org (Denny) Date: Thu, 28 Sep 2006 15:12:04 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: <1159452724.32319.7.camel@kerplunk.onlinegalleries.com> On Thu, 2006-09-28 at 14:06 +0100, Andy Armstrong wrote: > http://media.guardian.co.uk/site/story/0,,1883159,00.html > > The BBC and Microsoft have signed a "memorandum of understanding" for > developing the next generation of the corporation's internet-based > services. I assume this is the BBC being realistic about the size of the Xbox-owning audience compared to the size of the non-Windows PC audience. At least it says 'non-exclusive', although how much good that does us once they invest most of their money into MS goodies, I'm not sure. Oh well, it can't be any worse than Realplayer. Alright, not much worse. From JPeterson at bmjgroup.com Thu Sep 28 15:57:46 2006 From: JPeterson at bmjgroup.com (Jonathan Peterson) Date: Thu, 28 Sep 2006 15:57:46 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: > http://media.guardian.co.uk/site/story/0,,1883159,00.html > "...agreed the non-exclusive deal..." So it's basically meaningless, and is a bit of random PR. I think this means looking at closer integration with some MS media services (MSN, Soapbox?, etc) probably at a content rather than technology level, rather than "Gee, let's rewrite everything in asp.NET on Vista". So I don't reckon it means anything much, basically. I think the days when Microsoft didn't care what you did, so long as you did it on Windows are slipping away. From abuse at cabal.org.uk Thu Sep 28 16:07:17 2006 From: abuse at cabal.org.uk (Peter Corlett) Date: Thu, 28 Sep 2006 16:07:17 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: <20060928150717.GA12445@cabal.org.uk> On Thu, Sep 28, 2006 at 02:06:10PM +0100, Andy Armstrong wrote: > http://media.guardian.co.uk/site/story/0,,1883159,00.html > The BBC and Microsoft have signed a "memorandum of understanding" for > developing the next generation of the corporation's internet-based > services. Doesn't a "strategic partnership" with Microsoft normally involve bending over? From london.pm at metamathics.org Thu Sep 28 16:42:37 2006 From: london.pm at metamathics.org (Denny) Date: Thu, 28 Sep 2006 16:42:37 +0100 Subject: What a shame... In-Reply-To: <20060928150717.GA12445@cabal.org.uk> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> <20060928150717.GA12445@cabal.org.uk> Message-ID: <1159458157.32319.12.camel@kerplunk.onlinegalleries.com> On Thu, 2006-09-28 at 16:07 +0100, Peter Corlett wrote: > On Thu, Sep 28, 2006 at 02:06:10PM +0100, Andy Armstrong wrote: > > http://media.guardian.co.uk/site/story/0,,1883159,00.html > > > The BBC and Microsoft have signed a "memorandum of understanding" for > > developing the next generation of the corporation's internet-based > > services. > > Doesn't a "strategic partnership" with Microsoft normally involve bending > over? But a "memorandum of understanding" means they get to apply lube first. From cos at indeterminate.net Thu Sep 28 17:51:22 2006 From: cos at indeterminate.net (John Costello) Date: Thu, 28 Sep 2006 09:51:22 -0700 (PDT) Subject: What a shame... In-Reply-To: <451BCD7A.4080307@semantico.com> Message-ID: On Thu, 28 Sep 2006, Peter Hickman wrote: > Who would have thought that IBM would become the good guys? IBM are not the good guys. They are the old, decrepit evil that sits in a rocker on a stoop and keeps the children from playing traffic. Their days of active evil are done. Microsoft are evil in its middle years, contemplating the carnage behind and the onset of decreptitude. I leave it to you lot to figure out who the young, idealistic, 'do no harm' evil are. From cos at indeterminate.net Thu Sep 28 17:54:01 2006 From: cos at indeterminate.net (John Costello) Date: Thu, 28 Sep 2006 09:54:01 -0700 (PDT) Subject: What a shame... In-Reply-To: <20060928134227.GE39004@plum.flirble.org> Message-ID: On Thu, 28 Sep 2006, Nicholas Clark wrote: > On Thu, Sep 28, 2006 at 02:30:35PM +0100, Kaoru wrote: > > So the BBC get to use Soapbox [0] videos on their website and in > > return say nice things about MS/MSN/Windows Media Player? I wonder if > > bbc.co.uk will start using IIS/Windows instead of Apache/unix. > > Mmm, *that* would make them a very juicy target for the world's script > kiddies. > > I wonder how well the BBC's massive investment in Perl based infrastructure > ports to mod_perl on Win32... I don't know anything about the BBC's Perl infrastructure, but I've had reasonable success developing Perl on Unix and Linux and then running the scripts on Win32, using ActivePerl. There were glitches along the way, and I uncovered a bug in DBI, but the process wasn't horrible. Magnified to the size of Auntie, it probably will be horrible. Perhaps they'll install cygwin on all of the Windows servers.... From abuse at cabal.org.uk Thu Sep 28 18:04:40 2006 From: abuse at cabal.org.uk (Peter Corlett) Date: Thu, 28 Sep 2006 18:04:40 +0100 Subject: What a shame... In-Reply-To: References: <451BCD7A.4080307@semantico.com> Message-ID: <20060928170440.GA12816@cabal.org.uk> On Thu, Sep 28, 2006 at 09:51:22AM -0700, John Costello wrote: [...] > I leave it to you lot to figure out who the young, idealistic, 'do no > harm' evil are. I don't need to figure it out, I've watched newsadmins bitching about how much crap is coming from that site and how the abuse address is a black hole. From london.pm at bang.meep.org Thu Sep 28 18:11:37 2006 From: london.pm at bang.meep.org (the hatter) Date: Thu, 28 Sep 2006 17:11:37 +0000 (GMT) Subject: What a shame... In-Reply-To: References: Message-ID: On Thu, 28 Sep 2006, Jonathan Peterson wrote: > > http://media.guardian.co.uk/site/story/0,,1883159,00.html > > > > > "...agreed the non-exclusive deal..." > > So it's basically meaningless, and is a bit of random PR. That was my reckoning - anything MS can do to be able to say "the BBC website runs MS products" is something worth doing for them. I've been in a similar place no less than 3 times, when they wanted to say "europe's largest hosting provider runs MS products" Not insignificant (6 figures) money was involved from MSs part to help us make it so, even though the only thing that came out of it each time was a press release and a few geeks sniggering when they saw the products involved. the hatter From gordon.joly at pobox.com Thu Sep 28 23:15:31 2006 From: gordon.joly at pobox.com (Gordon Joly) Date: Thu, 28 Sep 2006 23:15:31 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: At 14:06 +0100 28/9/06, Andy Armstrong wrote: >http://media.guardian.co.uk/site/story/0,,1883159,00.html > >The BBC and Microsoft have signed a "memorandum of understanding" >for developing the next generation of the corporation's >internet-based services. > >-- >Andy Armstrong, hexten.net History repeating: "channels" in Internet Explorer 4. Gordo -- "Think Feynman"///////// http://pobox.com/~gordo/ gordon.joly at pobox.com/// From evdb at ecclestoad.co.uk Fri Sep 29 10:06:53 2006 From: evdb at ecclestoad.co.uk (Edmund von der Burg) Date: Fri, 29 Sep 2006 10:06:53 +0100 Subject: What a shame... In-Reply-To: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> References: <7F9EFD03-1316-4F0E-AC30-78BDC19A6DB5@hexten.net> Message-ID: > The BBC and Microsoft have signed a "memorandum of understanding" for > developing the next generation of the corporation's internet-based > services. Does this mean that if the BBC sends employees to Redmond then Microsoft promises not to torture them? From evdb at ecclestoad.co.uk Fri Sep 29 10:10:42 2006 From: evdb at ecclestoad.co.uk (Edmund von der Burg) Date: Fri, 29 Sep 2006 10:10:42 +0100 Subject: RFC: prlmnks.org - a searchable, crawlable, RRS enabled perlmonks mirror Message-ID: Perlmonks is great, but it has no real RSS feeds or searching and can't be crawled by Google etc. This is bad - so I've created http://prlmnks.org Please let me know what you think. If you see any bugs (and there are a few) please let me know by clicking on the 'bug' icon bottom left. Cheers, Edmund. -- In reality I'm evdb at ecclestoad.co.uk - http://ecclestoad.co.uk From tbusch at cpan.org Fri Sep 29 15:01:26 2006 From: tbusch at cpan.org (Thomas Busch) Date: Fri, 29 Sep 2006 16:01:26 +0200 Subject: XS question Message-ID: <1159538486.451d2736a604c@mail.optioncarriere.com> hi all, what length will I get in the following case: data = SvPV(my_sv, PL_na); size = (int)PL_na; if my_sv is encoded internally in UTF8. Will it be the character size or the binary size ? Thomas. From nick at ccl4.org Fri Sep 29 16:15:16 2006 From: nick at ccl4.org (Nicholas Clark) Date: Fri, 29 Sep 2006 16:15:16 +0100 Subject: XS question In-Reply-To: <1159538486.451d2736a604c@mail.optioncarriere.com> References: <1159538486.451d2736a604c@mail.optioncarriere.com> Message-ID: <20060929151516.GF39004@plum.flirble.org> On Fri, Sep 29, 2006 at 04:01:26PM +0200, Thomas Busch wrote: > hi all, > > what length will I get in the following case: > > data = SvPV(my_sv, PL_na); > size = (int)PL_na; Don't use PL_na. Create your own local variable. PL_na kicks out to thread local storage in a threaded perl, to maintain source compatibility with mistakes in older Perl versions > if my_sv is encoded internally in UTF8. > Will it be the character size or the binary > size ? The binary size. Octets. Nicholas Clark From dave at dave.org.uk Sat Sep 30 15:48:39 2006 From: dave at dave.org.uk (Dave Cross) Date: Sat, 30 Sep 2006 15:48:39 +0100 Subject: Book Review: Google Analytics Message-ID: <451E83C7.9070708@dave.org.uk> (Feel free to use this on the london.pm review site) Title: Google Analytics Author(s): Mary E. Tyler & Jerri L. Ledford Publisher: Wiley (2006) ISBN: 0470053852 Reviewer: Dave Cross I run a number of web sites and I've been running Google Analytics on many of them for several months, but ever since I started using it, I've been sure that I could probably get a lot more useful information out of Analytics than I am currently doing. Currently I'm only looking at a handful of the huge number of available reports. So when I was offered the chance to review this book, I hoped that it would really open my eyes to the power of Google Analytics. Reading the book has largely met those goals for me. I now make far better use of Google Analytics. But getting that information out of the book hasn't been a particularly enjoyable experience for me. I'm pretty sure that part (if not most) of the problem is that I'm not in the audience that the authors had in mind when they were writing the book. I'm an IT consultant who has been building web sites for over ten years. I've been monitoring web site usage using systems like Webaliser and AWStats for a lot of that time and I've picked up quite a bit of knowledge of web site measurement technology over the years. So when the "Who Should Read This Book" section of the introduction says "Do you have a web site or blog that you'd like to track? Can you control the HTML on that site? If that's you, you've got the right book" then I think that I'm the kind of person that the book is written for. Unfortunately, what that section doesn't say is that if you already have reasonable level of knowledge about how this all works, then you're probably going to find a lot of the book a bit tedious and pointless. The book seems to actually be aimed that the large number of people who have a web site but aren't web industry professionals. I can't complain about that really. That's obviously a much larger market, but I wish that the book's marketing made that a bit clearer. A lot of this books reads like Google Analytics for Dummies and that's not the book that I was looking for. That's not, of course, to say that it's a bad book. Just that's I think its marketing might be mistargetted. Having mentally reclassified the book as a "for dummies" book I had to try hard to recalibrate my expectations of the book and ignore the classic "for dummies" style of the book. For example the whole book is written in a very "folksy" voice that I find irritating and completely inappropriate for most technical books. The authors also seem to be under the impression that some of the material that they cover will be too hard for their readers. For example, when talking about regular expressions they say "Regex can be pretty confusing, even for experiences users". As a trainer and writer, I know that if you tell someone that a concept is really confusing then you can almost guarantee that they will be confused by it. As a teacher it's your job to make sure that the concepts aren't confusing. Regular expressions are complex, but they follow regular rules (the clue there is in the name) and you really shouldn't need to teach them using an attitude which discourages people from trying to understand them. But actually I suspect that the reason the authors take this approach with regular expressions is that they themselves don't really understand them. I think this because their examples are all a bit confused and not very well explained at all. For example they have an example which uses the regular expression 690=([^&]*) and nowhere do they take the time to explain what it means or how it works. After reading this section, I'd be surprised if anyone comes out with a clearer understanding of regular expressions than when they went in. However, the section on regular expressions is by far the most technical part of the book and in the rest of it the authors are on far more solid ground. When explaining all of the reports that you can get from Google Analytics then their explanations get much clearer. This is where the value of the book is to be found. Google Analytics has dozens of reports and the authors clearly understand the data that they all contain and what each report can be used to show about your web site visitors. I found a number of useful reports that I hadn't previously been using and that are now giving me far better information about who is visiting my sites. In summary, the descriptions of the Google Analytics reports are very useful if you can ignore the over-familiar language, but the sections that contain deep techical detail are patchy at best. From david at cantrell.org.uk Sat Sep 30 17:08:12 2006 From: david at cantrell.org.uk (David Cantrell) Date: Sat, 30 Sep 2006 17:08:12 +0100 Subject: What a shame... In-Reply-To: <20060928170440.GA12816@cabal.org.uk> References: <451BCD7A.4080307@semantico.com> <20060928170440.GA12816@cabal.org.uk> Message-ID: <20060930160809.GA26539@bytemark.barnyard.co.uk> On Thu, Sep 28, 2006 at 06:04:40PM +0100, Peter Corlett wrote: > I don't need to figure it out, I've watched newsadmins bitching about how > much crap is coming from that site and how the abuse address is a black > hole. Not just newsadmins - they're an email spampit too. -- David Cantrell | London Perl Mongers Deputy Chief Heretic All praise the Sun God For He is a Fun God Ra Ra Ra! From andy at hexten.net Sat Sep 30 17:34:22 2006 From: andy at hexten.net (Andy Armstrong) Date: Sat, 30 Sep 2006 17:34:22 +0100 Subject: Calling Cumbria Message-ID: <7421CA16-A812-4FB9-8A2F-68B92BAC6E44@hexten.net> cumbria.pm now has a mailing list: http://cumbria.pm.org/mailman/listinfo/cumbria.pm Anyone in Cumbria (or indeed anywhere) please feel free to sign up. -- Andy Armstrong, hexten.net From abuse at cabal.org.uk Sat Sep 30 19:02:06 2006 From: abuse at cabal.org.uk (Peter Corlett) Date: Sat, 30 Sep 2006 19:02:06 +0100 Subject: What a shame... In-Reply-To: <20060930160809.GA26539@bytemark.barnyard.co.uk> References: <451BCD7A.4080307@semantico.com> <20060928170440.GA12816@cabal.org.uk> <20060930160809.GA26539@bytemark.barnyard.co.uk> Message-ID: <1FEB4223-71CC-4739-AE56-69B0A1869D6F@cabal.org.uk> On 30 Sep 2006, at 17:08, David Cantrell wrote: [...] > Not just newsadmins - they're an email spampit too. Now you come to mention it, yes, although their outgoing mailservers all get "550 piss off" and I forgot about that. From pete at clueball.com Sun Oct 1 13:57:38 2006 From: pete at clueball.com (Pete Sergeant) Date: Sun, 1 Oct 2006 13:57:38 +0100 Subject: [JOB][OFFTOPIC] Urgent PHP + Javascript Message-ID: <20061001125738.GA17654@cou.ch> I have a small amount of PHP + Javascript work that needs doing. Three or four days work. I'm happy to pay 200/day, but there's a VERY short deadline (Friday), and your Javascript will need to be /very good/, not just "look, I managed to change the colour of my page from a dropdown!" Please email me today if you're interested +Pete From pete at clueball.com Sun Oct 1 14:03:20 2006 From: pete at clueball.com (Pete Sergeant) Date: Sun, 1 Oct 2006 14:03:20 +0100 Subject: [JOB][OFFTOPIC] Urgent PHP + Javascript In-Reply-To: <20061001125738.GA17654@cou.ch> References: <20061001125738.GA17654@cou.ch> Message-ID: <20061001130320.GA21415@cou.ch> To clarify: there's very little PHP, and lots of Javascript (AJAX) +Pete From paulm at paulm.com Sun Oct 1 15:04:10 2006 From: paulm at paulm.com (Paul Makepeace) Date: Sun, 1 Oct 2006 15:04:10 +0100 Subject: [JOB][OFFTOPIC] Urgent PHP + Javascript In-Reply-To: <20061001125738.GA17654@cou.ch> References: <20061001125738.GA17654@cou.ch> Message-ID: 200/day for /very good/ Javascript, the industry's hottest language, required urgently? Is that really the going rate? Mind you, I guess if you're really good you could bang it out in two days and bank 800... For urgent work usually there's a higher bounty. On 10/1/06, Pete Sergeant wrote: > I have a small amount of PHP + Javascript work that needs doing. Three > or four days work. I'm happy to pay 200/day, but there's a VERY short > deadline (Friday), and your Javascript will need to be /very good/, not > just "look, I managed to change the colour of my page from a dropdown!" > > Please email me today if you're interested > > +Pete > >