Re: Perl / UTF-8

2003-02-15 Thread Philip Newton
On 15 Feb 2003 at 13:49, Nicholas Clark wrote: > Jarkko's view is that with hindsight we'd've been better of doing Unicode > internally in a fixed width representation (eg 8 bit, upgrade to UCS-2, > upgrade to UCS-4), as all the length,offset,etc algorithms would stay O(1) > The speed hit and extr

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-15 Thread Nicholas Clark
On Tue, Feb 11, 2003 at 08:56:01PM +, Nicholas Clark wrote: > On Tue, Feb 11, 2003 at 05:54:14PM +, Dirk Koopman wrote: > > > Methinks there is much smelly fish in Perl 5.8.0 UTF implementation and > > Well, UTF8 is a variable length encoding, so many O(1) things become O(N) > I think tha

RE: debuggers (was Perl / UTF-8)

2003-02-12 Thread Abbott, James
> From: Jonathan Peterson [mailto:[EMAIL PROTECTED]] > But I think that's a shame, because a debugger really ought > to be more > fun than print statements. For all I know Activestate's > Visual Debugger > is great. In fact I think I'll try it out. ptkdb is also probably also worth a look..

Re: Perl / UTF-8

2003-02-12 Thread Chris Benson
On Wed, Feb 12, 2003 at 09:53:54AM +, Jonathan Peterson wrote: > >>Given the feedback on suggestions about perl debugger tutorials, I > >>don't think many perl *users* use the debugger, so to me that explains why > >>no-one in the world noticed it sooner. To most perl users, the debugge

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-12 Thread Dirk Koopman
On Wed, 2003-02-12 at 12:45, Roger Horne wrote: > > Methinks there is much smelly fish in Perl 5.8.0 UTF implementation and > > also in RH8.0's internationalisation stuff / port of perl. A standard > > 'cure' seems to be to rename /etc/sysconfig/i18n to something else (eg > > i18n.orig) and then re

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-12 Thread Roger Horne
On Tue 11 Feb, Dirk Koopman wrote: > > On Tue, 2003-02-11 at 16:50, Roger Horne wrote: > > .. > > So I bought a fastish machine from Digital Networks last year and the time > > was reduced to 5 minutes on RH 7.2. > > > > I then tried it on a reasonably fast netbook on which I had put RH8. After >

debuggers was Re: Perl / UTF-8

2003-02-12 Thread Steve Mynott
On Wednesday, Feb 12, 2003, at 12:21 Europe/London, Jonathan Peterson wrote: Oh, agree that the fundamental things you do with a debugger are all there. It's more a case of how you like to do them. I like hovering my cursor over variables and seeing their current values in little tooltips. I

Re: Perl / UTF-8

2003-02-12 Thread Simon Wistow
On Wed, Feb 12, 2003 at 11:49:23AM +, Dirk Koopman said: > This is all a great mystery to me. Perhaps doing this for nigh on 30 > years has made me an old codger, but: why do you need some snazzy > windowing pretty debugger? When I was at college we learnt to program (as opposed to what I'd

Re: Perl / UTF-8

2003-02-12 Thread Paul Makepeace
On Wed, Feb 12, 2003 at 12:21:42PM +, Jonathan Peterson wrote: > Oh, agree that the fundamental things you do with a debugger are all > there. It's more a case of how you like to do them. I like hovering my > cursor over variables and seeing their current values in little > tooltips. I like

Re: Perl / UTF-8

2003-02-12 Thread Jonathan Peterson
But I think that's a shame, because a debugger really ought to be more fun than print statements. For all I know Activestate's Visual Debugger is great. In fact I think I'll try it out. This is all a great mystery to me. Perhaps doing this for nigh on 30 years has made me an old codger, Rath

Re: Perl / UTF-8

2003-02-12 Thread Dirk Koopman
On Wed, 2003-02-12 at 09:53, Jonathan Peterson wrote: > >> Given the feedback on suggestions about perl debugger tutorials, I > >>don't think many perl *users* use the debugger, so to me that explains why > >>no-one in the world noticed it sooner. To most perl users, the debugger is > >>not

Re: Perl / UTF-8

2003-02-12 Thread Robin Berjon
Tony Kennick wrote: I have always been scared buy the debugger and use erm less sophisticated methods of debugging, mostly using Data::Dumper. I know how to use the debugger, but I almost never use it. Lately I've grown too lazy even for Data::Dumper, so I've been looking into a shorthand alter

Debuggers (was Re: Perl / UTF-8)

2003-02-12 Thread Mark Fowler
On Wed, 12 Feb 2003, Jonathan Peterson wrote: > But I think that's a shame, because a debugger really ought to be more > fun than print statements. Try ptkdb if you want something a little more visual: http://search.cpan.org/author/AEPAGE/Devel-ptkdb/ptkdb.pm Screenshots (via google image sea

Re: Perl / UTF-8

2003-02-12 Thread Tony Kennick
On Wed, 12 Feb 2003 09:53:54 + "Jonathan Peterson" <[EMAIL PROTECTED]> wrote: > > The perl debugger is about as much fun as ed. Also, many people use perl > wrapped up inside some web environment which makes it not conducive to > debugging with the debugger. I have always been scared buy

Re: Perl / UTF-8

2003-02-12 Thread Jonathan Peterson
Given the feedback on suggestions about perl debugger tutorials, I don't think many perl *users* use the debugger, so to me that explains why no-one in the world noticed it sooner. To most perl users, the debugger is not fundamental. I'd use it if I knew how . The perl debugger is about

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread David Cantrell
On Tue, Feb 11, 2003 at 08:56:01PM +, Nicholas Clark wrote: > Given the feedback on suggestions about perl debugger tutorials, I > don't think many perl *users* use the debugger, so to me that explains why > no-one in the world noticed it sooner. To most perl users, the debugger is > n

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread Nicholas Clark
On Tue, Feb 11, 2003 at 05:54:14PM +, Dirk Koopman wrote: > Methinks there is much smelly fish in Perl 5.8.0 UTF implementation and Well, UTF8 is a variable length encoding, so many O(1) things become O(N) I think that's most of the smelly fish. > also in RH8.0's internationalisation stuff /

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread Sean McGlynn
On Tuesday 11 February 2003 17:54, Dirk Koopman wrote: > On Tue, 2003-02-11 at 16:50, Roger Horne wrote: > > On Tue 11 Feb, Dave Hodgkinson wrote: > > > > Hrm, perl doesn't use UTF-8 for it's internal representation of > > > > strings ? > > > > > > I may be misremembering things somewhat. The cloud

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread Dirk Koopman
On Tue, 2003-02-11 at 16:50, Roger Horne wrote: > On Tue 11 Feb, Dave Hodgkinson wrote: > > > > Hrm, perl doesn't use UTF-8 for it's internal representation of strings ? > > > > I may be misremembering things somewhat. The cloudy things I remember > > are that the version of perl shipped with RH8

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread Roger Horne
On Tue 11 Feb, Dave Hodgkinson wrote: > > Hrm, perl doesn't use UTF-8 for it's internal representation of strings ? > > I may be misremembering things somewhat. The cloudy things I remember > are that the version of perl shipped with RH8 uses a slightly geb0rken > 16 bit implementation (who is th

Re: Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread Dave Hodgkinson
On Tue, 2003-02-11 at 14:13, CyberTiger wrote: > On 10 Feb 2003, Dave Hodgkinson wrote: > > On Mon, 2003-02-10 at 20:16, Paul Makepeace wrote: > > > On Mon, Feb 10, 2003 at 10:42:57AM +, Andy Wardley wrote: > > > > I'm a little surprised by that. Although I must admit that I've never > > > > w

Perl / UTF-8 (Was Re: WWW::Map::UK::Streetmap - A tale of woe)

2003-02-11 Thread CyberTiger
On 10 Feb 2003, Dave Hodgkinson wrote: > On Mon, 2003-02-10 at 20:16, Paul Makepeace wrote: > > On Mon, Feb 10, 2003 at 10:42:57AM +, Andy Wardley wrote: > > > I'm a little surprised by that. Although I must admit that I've never > > > written IIS extensions in C++, I'm surprised that it offe