The List Has Moved

2001-06-19 Thread Dominic Mitchell

In case anybody hasn't noticed, [EMAIL PROTECTED] has now
become [EMAIL PROTECTED]  Your mail filters may need updating,
you've probably got a ton of junk in your inbox in case you haven't
noticed.  :-)

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Templating Solutions

2001-06-19 Thread Dominic Mitchell

On Tue, Jun 19, 2001 at 08:08:50PM +1000, Ian Brayshaw wrote:
 I am finding XSLT  XML to be a good alternative to normal templating 
 techniques. One of the biggest benifits I've found is being able to generate 
 the one data set and have it rendered in different ways for different 
 applications. I presume this is possible in TT2. H::T has the drawback of 
 only allowing substitutions for tags defined in the template. Changing the 
 template to render say a reduced set of data typically involves changing 
 code.
 
 I'm also free to choose my transformation platform, using something like 
 XML::LibXML or Saxon on the server side, or just throwing it straight to the 
 user and letting their browser take care of the rest.

Having spent last weekend playing with XSLT and XPath, I've come to
similiar conclusions.  At the very least, XSLT is entertaining.  But
what really blew me away was how easy XPath is for grabbing random bits
of your XML for use elsewhere.  Whoever compared it to regular
expressions for XML wasn't far off the mark.

Combined with psgml-mode in emacs, to create xhtml files, it's a rather
nice authoring solution.

 Don't think DW jockeys will like the XSLT, but I'm fortunate in not having 
 to deal with them.

You'd be surprised how many people are willing to learn something when
it's got microsoft attached to it and big whopping books from que.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: CMS frameworks

2001-06-18 Thread Dominic Mitchell

On Sat, Jun 16, 2001 at 10:33:57AM +0100, Dave Hodgkinson wrote:
 Some guys out here in Brizzle want to do Yet Another CMS. Are there
 any frameworks out there they can plug together to make something
 plausible?
 
 I guess bits of the 2.0 slashcode do the job nicely, what with being
 TT based and all.

If you're into XML and AxKit, I think that Matt Sergeant has made the
stuff he uses for take23.org available.

sound type=mailbox_rummage/

Ah yes, AxKit-NewsMaker.  Available for download from:

http://axkit.org/download/

I haven't actually looked at how easy it is to work with, but it'll
probably require fairly good XML familiarity.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Templating Solutions

2001-06-18 Thread Dominic Mitchell

On Mon, Jun 18, 2001 at 04:36:00PM +0100, Greg McCarroll wrote:
 In a moment of stupidity[1] I agreed to write an article for lathos on
 templating solutions for Perl. This was an attempt to finally break my 
 writing block/issues/mindset problems. It is going to be a compare and 
 contrast article and so far I've looked at,
 
   Template Toolkit
   HTML::Mason
   Text::Template 
   HTML::Template
   HTML::Embperl
   
 First, are there any others that I should look at? Also I'd really like
 any objective input people have about templating with these modules. It
 is important to me to try and not just get the article done and dusted,
 but for once to write a piece of text that I am happy with.

Very simple, but what I've done in the past is simply read in a file and
do something like:

$text =~ s/\$(\w+)/$1/eeg;

Which substitutes any perl vars in the file for stuff in your current
program.  Not very pretty, but cheap and easy.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Templating Solutions

2001-06-18 Thread Dominic Mitchell

On Mon, Jun 18, 2001 at 05:39:11PM +0100, Matthew Byng-Maddick wrote:
 On Mon, Jun 18, 2001 at 06:30:24PM +0200, Philip Newton wrote:
  Simon Wilcox wrote:
   I avoided HTML::Embperl, HTML::Mason  Apache::ASP because they all
   embed perl into the template which is a Bad Thing (tm).
  Why is that so evil?
  I'm willing to be enlightened here.
 
 Mainly maintainability. In the same way as it's evil to mix two types of
 language - Perl and SQL, although people seem to be a lot more prepared
 to do this :-(
 
 The point is that if you are embedding perl, there are too many places
 that things can be changed. It is possible to write embedded perl templates
 well, but a lot more difficult than if they are separated out.

Most of the Java thingies that I've looked at start talking about MVC at
this point as a good solution to the problem.  But I don't know anything
about that, and I would love somebody to explain it to me in nice
perlisms.

I'd love to have a decent solution to keeping lots of code out of the
HTML files.  At the moment, I'm thinking that it might just be simplest
to move things over to AxKit taglibs...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: crazy golf

2001-06-15 Thread Dominic Mitchell

On Thu, Jun 14, 2001 at 05:41:43PM +0100, Chris Heathcote wrote:
 Beware, it's in Flash (or Shockwave)
 http://www.electrotank.com/lab/minigolf.html
 
 Hole 17 is a bugger

How much time did it take you to find out this incredible fact?

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: YAPC::Europe (Ignore this request)

2001-06-15 Thread Dominic Mitchell

On Fri, Jun 15, 2001 at 08:20:15PM +0100, Dave Hodgkinson wrote:
 Greg McCarroll [EMAIL PROTECTED] writes:
 
  or do they have unmetered called in Holland? If so and we had
  a direct line we could beg a Dutch Monger to call in and
  set up ppp to their broadband or similar connection
 
 Demon have a PoP of course...and even in Holland it workd out at
 pennies.

Don't forget to log in as hostname.demon.co.uk not just hostname
otherwise it won't work...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: *Buffy's Not Included

2001-06-14 Thread Dominic Mitchell

On Thu, Jun 14, 2001 at 10:44:50AM +0100, Jonathan Peterson wrote:
 At 10:01 14/06/01 +0100, you wrote:
 The data from these files will primarily be diplayed within an HTML page. 
 A
 perceived advantage of XML here (for someone who has barely scratched the
 surface of what XML can do), is the ability to (relatively) easily take 
 the
 XML and spit it out to the browser - and yes I know it's never quite that
 simple.
 
 I'm biased because I'm now working in a highly SGML / XML based company, 
 and it's remarkable what they manage to do with XSLT.

Seeing as this (alledgedly) a perl place, I'd like to point at that if
you're considering displaying XML on a web site, you should probably be
looking at http://axkit.org/ .  Matt Sergeant came and gave a talk us
a couple of months ago, it's a fine toy.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Online Bookshops

2001-06-14 Thread Dominic Mitchell

On Thu, Jun 14, 2001 at 02:42:30PM +0100, Lucy McWilliam wrote:
 On Thu, 14 Jun 2001, Robert Shiels wrote:
  Richard wrote:
   If I'm trying to avoid Amazon for some technical books, what sites are
   currently suggested?
 
  I think we need a FAQ, I'm sure this has come up a few times.
 
 You volunteering? ;-)

I hereby volounteer to request a FAQ.

Does anybody want a FAQ?

There, that wasn't too bad.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: London.pm List Weekly Summary 2001-06-11

2001-06-13 Thread Dominic Mitchell

On Wed, Jun 13, 2001 at 04:41:56PM +0100, Leon Brocard wrote:
 In other news: Microsoft SQL Server sucking (SQueaL), Sun Ultra
 Enterprise 1, google++, the Sony Clie being small and cute,
 checking out pubs for the next meet, buffy, search.cpan.org being
 hacked (Catalog module apparently), 'back doors' in Linux,
 obnoxious sigs: and a geeknic with an inflatable penguin:
 http://www.tpc.org/tpch/results/h-ttperf.idc
 http://www.sonystyle.com/micros/clie/
 http://buffy.slayers.co.uk/ShowStrip.asp?CS=1
 http://homepage.tinet.ie/~cullenm/2dart/regi.jpg
 http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg06738.html
 http://husk.org/lndn/circ/compat/DSCF0102.jpg

Regarding the CLIE, I found a cool toy today: JogEverything.  It needs
hackmaster, but it makes the otherwise useless wheel actually do
something useful in most apps:

http://www.palmgear.com/software/showsoftware.cfm?prodID=11560

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Persistent Perl

2001-06-12 Thread Dominic Mitchell

On Tue, Jun 12, 2001 at 10:31:44AM +0100, Simon Wistow wrote:
 Dominic Mitchell wrote:
  
  And you'd have to make the daemon threaded, or end up running multiple
  pre-forking daemons to do the job.  At which point, you're only saving
  the fork time and the parse time, which depending on how much effort it
  is to complete the above, may not be much of a saving (passing
  credentials along unix sockets is still pretty slow and non-portable).
 
 But isn't it roiughly the same scheme that mod_perl uses? And that *is*
 demonstrably useful. 

Roughly, yes, but with a lot fewer details.

You could do it on a per-user basis, which would make it simpler.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Upcoming technical meeting

2001-06-12 Thread Dominic Mitchell

On Tue, Jun 12, 2001 at 04:28:14PM +0100, Dave Hodgkinson wrote:
 David Cantrell [EMAIL PROTECTED] writes:
 
  If this is because you don't have somewhere to stay on the Thursday night,
  I'm sure we can collectively find a way around that.  If you bring your
  passport, we'll even let you south of the river and my sofa is very
  comfortable and has a well-stocked booze cabinet next to it.
 
 It's a TRAP!

You been playing wy too much nethack recently.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: www.gateway.gov.uk

2001-06-11 Thread Dominic Mitchell

On Mon, Jun 11, 2001 at 09:56:19AM +0100, Jonathan Peterson wrote:
 At 18:51 09/06/01 +0100, you wrote:
 Monday morning
 
 Precisely.  And using Java et al is a discrimination against the mobility
 impaired.
 
 Not to mention the way it discriminates totally against people who can't 
 afford, don't have, morally object to, are too old to learn to use, 
 computers.
 
 Sure, it's kind of a crap designed website, and they should have done it in 
 a way that worked on more platforms (although, to be honest, I can't see a 
 way round the problems - it's very hard to do client side certificates in a 
 portable way, and I'd rather see them do something than nothing).
 
 However, it's not that big a deal.

It is that big a deal.  The government has legal requirements for
accessibility in other areas, I don't see why it's public interface on
the Internet should be any different.  If there was no ability for
disabled people to enter government buildings at Westminster, there
would be outrage from the disabled communities.

In short, it's a big deal because they made it a big deal.

I haven't looked at the certificate issue, but most of the things I've
read so far state that it's only a problem because they've made it a
problem by using non-standard technology.

 However, it's hardly the end of the world

No, but it is the start of the long slippery slope.  Which most of us
hope to avoid travelling down.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Default library paths

2001-06-11 Thread Dominic Mitchell

On Sun, Jun 10, 2001 at 05:40:38PM +0100, Matthew Robinson wrote:
 Apologies in advance if I have missed something blindingly obvious :)
 
 I need to change the default library paths in a compiled copy of perl.
 Basically, I want to move /usr/lib/perl5 into /usr/local/lib/perl5.  I am
 unable to recompile perl as it is compiled for arm-linux and I don't have
 either the cross-compiler or the correct configuration to get perl to build
 for this architecture.
 
 Currently, I am using a soft link from my /usr/lib to /usr/local/lib.
 However, I would prefer to keep the whole installation on /usr/local as this
 is mounted from a removable disk and I would prefer not to have dangling
 links when the device is removed.
 
 Any suggestions, or am I stuck with the link in /usr/lib.

You're very probably stuck.  Whilst you can use a hex editor to change
strings in the binary, you can't expand the length of those strings,
only contract them or retain the same length.

However, a solution would be to change the perl binary to use /opt/lib
instead of /usr/lib and make /opt a symlink to /usr/local.

There's a couple of reasonable hex editors out there, but I usually just
tend to use M-x hexl-find-file in emacs.  If you're a vim user, see
xxd(1).

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: [Possible Job] Perl, Linux

2001-06-07 Thread Dominic Mitchell

On Thu, Jun 07, 2001 at 08:46:39AM +0100, Dave Hodgkinson wrote:
 Piers Cawley [EMAIL PROTECTED] writes:
 
  I presume that this is a permie thing?
 
 Yes. And I'd estimate that _most_ of you I know would be, um, a bit
 too heavyweight for them...

You calling me fat, boy?

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Sony Clie (was: Re: Social meet)

2001-06-07 Thread Dominic Mitchell

On Thu, Jun 07, 2001 at 10:45:09AM +0100, Robert Shiels wrote:
 Between 5 and 6pm I'll be wandering up and down TCR looking for a new PDA.
 Sony Clie is my preferred choice at the moment. If anyone knows a good shop,
 or is good at haggling and wants to help, I'm on 07801 814138.

Has anybody got the USB syncing thing to work under Linux/BSD?  I tried
coldsync, but unfortunately, the USB protocol that sony use appears to
be completely different to the visor one that it supports.  :-(

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Sony Clie (was: Re: Social meet)

2001-06-07 Thread Dominic Mitchell

On Thu, Jun 07, 2001 at 11:10:48AM +0100, Robert Shiels wrote:
 From: Dominic Mitchell [EMAIL PROTECTED]
  On Thu, Jun 07, 2001 at 10:45:09AM +0100, Robert Shiels wrote:
   Between 5 and 6pm I'll be wandering up and down TCR looking for a new
 PDA.
   Sony Clie is my preferred choice at the moment. If anyone knows a good
 shop,
   or is good at haggling and wants to help, I'm on 07801 814138.
 
  Has anybody got the USB syncing thing to work under Linux/BSD?  I tried
  coldsync, but unfortunately, the USB protocol that sony use appears to
  be completely different to the visor one that it supports.  :-(

 I did some reading on this, and you are of course right. The Sony machine
 has a serial interface, with some kind of USB conversion. Therefore you only
 get serial speed from the sync, but you don't have to mess about with serial
 ports and IRQs and stuff. I suppose I should get a PalmV, but I like Sony
 stuff so much, and it does have the memory stick expansion slot.

I've got a sony laptop with a builtin memory stick slot, so it's not the
end of the world, but it would be very handy to sync to my Linux box as
well...

I tried looking up developer docs for the clie on the web, but there's a
a dearth of information about it, and what there is is protected by
sony's restrictive licensing.  It's a real shame, I wanted to add jog
dial support to a doc reader, but I'm probably not going to be able to
now.  :-(

Sony: Lovely kit, crap support.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Sony Clie (was: Re: Social meet)

2001-06-07 Thread Dominic Mitchell

On Thu, Jun 07, 2001 at 11:40:20AM +0100, Robin Szemeti wrote:
 On Thu, 07 Jun 2001, Dominic Mitchell wrote:
  I tried looking up developer docs for the clie on the web, but there's a
  a dearth of information about it, and what there is is protected by
  sony's restrictive licensing.  It's a real shame, I wanted to add jog
  dial support to a doc reader, but I'm probably not going to be able to
  now.  :-(
  
  Sony: Lovely kit, crap support.
 
 their Memory Stick is a closed book. bastards. they only release
 documentation to their partners after big bucks licences .. so any chance
 of seeing memory stick support natively under linux is probably going to
 be from someone with a copy of IDA pro and Softice reversing the windoze
 drivers.

Well, the memory stick works just fine (at least under FreeBSD).
It just appears as a SCSI-over-USB device (and I'll wager that's how
it's implemented in the clie as well).  I suppose that the PCMCIA memory
stick reader does something totally different?

 I just dont get why they wont release specs .. surel;y the plan is to
 sell as many memory sticks as possible? ..or hav I missed someting?

Pass.  Withholding developer information to *anything* seems nuts to me.

F'rinstance, I'd love the jog dial to work on my laptop, too...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: London.pm posting stats

2001-06-07 Thread Dominic Mitchell

On Thu, Jun 07, 2001 at 04:26:44AM -0700, Paul Makepeace wrote:
 Dominic Mitchell:  152 

Oh dear.  And I haven't even been subscribed since the beginning of the
year...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: [OT] BUFFY No spoilers

2001-06-04 Thread Dominic Mitchell

On Mon, Jun 04, 2001 at 09:34:10AM +0100, Dean wrote:
 On Mon, Jun 04, 2001 at 09:29:14AM +0100, Greg McCarroll wrote:
  ah well, we can probably also expect The Rock from WWF
  to show up and lay the smack down on some vamps, also 
  expect to here plans for a BtVS movie as well, so they
  can get use out of the sets one more time.
 
 The movie has been in the planning for a while now, the main bad guy has
 been rumoured to be the Ultimate Evil from the Buffy Xmas episode where
 Angels tries to kill himself (in series three.)

Is Ultimate Evil related to Evil Dave?  If so, will he discuss the
project with us?

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: crazy golf

2001-06-01 Thread Dominic Mitchell

On Fri, Jun 01, 2001 at 01:16:51PM +0100, Cross David - dcross wrote:
 From: Paul Mison [EMAIL PROTECTED]
 Sent: Friday, June 01, 2001 1:07 PM
 
  (Anyone standing on the platform of reforming bank holidays? 
  I'd buy that for a dollar.)
 
 Whatever happened to the plan to do away with that nasty socialist holiday
 on Mayday and replace with something much more Jingoistic - Trafalgar Day
 wasn't it?
 
 Dave...
 [who thinks it's about time we decimalised the calendar]

What a stunningly daft idea!  It might just work!

Actually, I think we should go back to using base60 numbers instead,
so that time and dates just fall out of the wash (I think the ancient
sumerians used them).

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Slow disks under linux

2001-05-31 Thread Dominic Mitchell

On Thu, May 31, 2001 at 11:27:07AM +0100, Matthew Byng-Maddick wrote:
 On Thu, May 31, 2001 at 03:19:21AM -0700, Paul Makepeace wrote:
  Paul, who will probably end up using FreeBSD since its hardware RAID
  (HPT370) and video (Matrox G450 dual) is apparently better...
 
 vinum in mirror mode is not supposed to be that good (apparently it does
 no integrity checking of the mirror). However, I am not an authoritative
 source on this.

You don't have to use vinum with hardware raid.

I almost fell for that, too.  ;-)

OTOH, one other thing to be aware of with vinum (the software RAID bit
of FreeBSD) is that it doesn't support the root partition yet.  AFAIK.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Slow disks under linux

2001-05-31 Thread Dominic Mitchell

On Thu, May 31, 2001 at 08:12:30AM -0700, Paul Makepeace wrote:
 OK, getting more esoteric now -- is anyone running dual monitors? I
 finally got my G450 running with KDE2 but the window manager doesn't add
 decoration to the windows on the 2ndary monitor, i.e. I can't move
 windows and they don't get mouse focus.

You might need to run a 2nd copy of kwin, like this:

% kwin -- display :0.1

Try that and see if it works...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Slow disks under linux

2001-05-31 Thread Dominic Mitchell

On Thu, May 31, 2001 at 08:42:50AM -0700, Paul Makepeace wrote:
 On Thu, May 31, 2001 at 04:26:14PM +0100, Dominic Mitchell wrote:
  You might need to run a 2nd copy of kwin, like this:
  
  % kwin -- display :0.1
 
 (--display)

Sorry, saw that after I posted...  Why don't spell checkers understand
Unix?  :-)

  Try that and see if it works...
 
 Yes! Thanks. Now to get it to start like that on its own... It's very
 weird re-learning X after nearly a decade since I last properly used it.
 
 KDE2's Konqueror browser is really, really impressive. Wow! Seems
 quicker and less crashy than Mozilla. Now if only it played Flash
 and Quicktime movies...

Konqueror should be able to use any standard netscape plugins, such as
the flash plugin.  You're probably out of luck with the quicktime
movies though.

I'd like to tell you how to get the flash plugin working, but I couldn't
because it's a Linux .so and can't be linked in to my FreeBSD konqueror.  :-(

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Slow disks under linux

2001-05-31 Thread Dominic Mitchell

On Thu, May 31, 2001 at 08:47:28AM -0700, Paul Makepeace wrote:
 On Thu, May 31, 2001 at 04:41:11PM +0100, Mark Fowler wrote:
  Are you using xinerama (i.e. so your monitors are spliced together into
  one display?)
 
 No, it's KDE2 which seems to split them into separate desktops. The
 mouse moves between them as though they're one but I can't drag windows
 back  forth (no loss, really). The Matrox Windows drivers are much
 better -- graphical arbitrary relative positioning of the 2nd monitor.

The monitor layout should be controllable from the XF86Config file.
Somehow.  I haven't tried this though.  RTFM.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Slow disks under linux

2001-05-31 Thread Dominic Mitchell

On Thu, May 31, 2001 at 05:05:28PM +0100, Simon Wistow wrote:
 Dominic Mitchell wrote:
  
  I'd like to tell you how to get the flash plugin working, but I couldn't
  because it's a Linux .so and can't be linked in to my FreeBSD konqueror.  :-(
 
 There's an OpenSource version written by Olivier Debon. It's not as good
 as the official one but it's better than a kick in the tits with a wet
 haddock.
 
 http://www.swift-tools.com/Flash/

Doh!  I already have the standalone player from that installed, it's
just that the port didn't install the netscape plugin.  Well, that's
something to do tonight.

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: l337

2001-05-30 Thread Dominic Mitchell

On Wed, May 30, 2001 at 10:37:48AM +0100, Jonathan Peterson wrote:
 At 10:28 30/05/01 +0100, you wrote:
 
  my name is jon i have installed an irc client on my linux shell account
 can u tell me where the c00lest irc places are like what server and channel
 and stuff u all use so i can learn PERL and hacking and stuff from l337 ppl
 like all u are.
 
  tx!!
 
  jon
 
 I think there is probably more we can learn from you Jon.
 
 Apparently my reputation on the list as a paragon of reason and
 eloquence isn't as widespread as I had assumed. I threw caution to the
 wind my ommitting a this post is ironical smiley to the end of my
 post. Alas, I am undone.

Isn't it easier to admit I left my terminal unlocked?

-Dom



Re: Email::Valid

2001-05-30 Thread Dominic Mitchell

On Wed, May 30, 2001 at 11:40:03AM -0400, Andy Williams wrote:
 All the one's that claimed to be valid from E::V failed chaddr!
 [EMAIL PROTECTED] had this result from chaddr:
 user: andyw. is good
 host: hillway.com is good
 address `[EMAIL PROTECTED]' is bad: rfc822 failure
 
 So I guess [EMAIL PROTECTED] is invalid even though it works wierd!

What is valid on the left hand side of an email address is extremely
weird anyway.  Practically anything is allowed.  A pseudo grammar for
them is in RFC822.  There's also much fun trying to parse them in
Friedl's book on regular expressions (the owl book).  He ends up with a
mammoth 5k regex to parse email addresses...

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Decisions decisions

2001-05-25 Thread Dominic Mitchell

On Fri, May 25, 2001 at 02:30:23PM +0100, David Cantrell wrote:
 It seems that a PDP 11/73 is small enough to run at home.  So do I get one
 or not?

Yes!  You'll have enough blinkenlights then.

You can always get 7th Edition running on it.

http://minnie.tuhs.org/PUPS/index.html

-Dom



Re: Decisions decisions

2001-05-25 Thread Dominic Mitchell

On Fri, May 25, 2001 at 02:51:44PM +0100, Greg McCarroll wrote:
 * Dominic Mitchell ([EMAIL PROTECTED]) wrote:
  On Fri, May 25, 2001 at 02:30:23PM +0100, David Cantrell wrote:
   It seems that a PDP 11/73 is small enough to run at home.  So do I get one
   or not?
  
  Yes!  You'll have enough blinkenlights then.
 
 No! Remind me of some of the reasons you wanted to get rid of
 the defender machine? I'm sure one of them was lack of space
 in Cantrell mansions.

I hope he's got solid floorboards; the last PDP/11 I saw was muchos
heavy, too.

-Dom



Re: POSIX::localeconv()/Germany

2001-05-24 Thread Dominic Mitchell

On Wed, May 23, 2001 at 03:05:59PM -0500, Mike Jarvis wrote:
 Wednesday, May 23, 2001, 2:45:24 PM, Dave Cross wrote:
 
 DC Haven't tried the routine you're talking about, but if you ever decide to 
 DC give up on them, the Number::Format module (from CPAN) will solve all of 
 DC your problems.
 
 After RTFM'ing about that fine module, I thought I found my problem.
 I was using thousand_sep instead of mon_thousand_sep (for money).
 Alas, the same problem occurs.
 
 Number::Format gets it's locale info from POSIX::localeconv, so other
 than the niceness of have it doing the formating of the numbers, it
 doesn't look like it will help me much. :(

What happens if you set LC_ALL to de_DE in the environment?  I can
make the correct separator appear then using the locale command:

% env LC_ALL=de_DE locale mon_thousands_sep
.
% env LC_ALL=de_DE locale mon_decimal_point
,

And I would imagine that perls locale stuff is just a veneer over the C
library...  Especially as it's POSIX::localeconv you're using. ;-)

-Dom



Email Style (was: Re: Election Manifestos)

2001-05-23 Thread Dominic Mitchell

On Wed, May 23, 2001 at 02:32:09PM +0100, Jonathan Peterson wrote:
 At 07:49 23/05/01 +0100, you wrote:
 At 17:37 22/05/2001, Roger Burton West wrote:
 
 
 And get a shell account, why don't you?
 
 Thanks. I already have several. 
 
 [snip]
 
 
 Much as I'd love it if everyone was to be able to post to the list from their 
favourite Unix mail client all the time, 
 
 
 Oxymoron, surely?

Not in the slightest.  Now if you'd said favourite gui mail client,
you might be correct.

 have the time or knowledge to do that. This email client snobbery is getting too 
frequent. Just because someone is posting from an Exchange server, it doesn't 
necessarily mean that what they are saying is less valid.

This is very reasonable.  But nonetheless, being able to present
onesself in a reasonable fashion makes communicating a lot easier.

I'm just glad that people here speak in plain english, as opposed to the
complete abortion phone-messaging ``language'' that I see all over the
rest of my delete key.

 Indeed. And some of us use display technology that doesn't have an overwhelming urge 
to be backward compatible with 1972, and can therefore do cool futuristic stuff like 
handle more than 72 columns.

However, the cool futuristic stuff like CORRECT BLOODY WORK WRAPPING is
completely beyond it, despite the fact it's been implemented correctly
countless times before over the past 30 years or so.

And besides, how many newspapers do you see with text that goes on and
on all over the page?  (obvious nasty comments about newspapers aside)

 :-
 
 
 Dave...
 [bugger! another grumpy start to the day]
 
 I blame the hot weather. It's unnatural.
 
 Jon 'Troll? Where?' Peterson

Time to get me a shotgun and go back a few trolls!  Yes, sirree!

-Dom



Re: MIME stuff - Am I missing something?

2001-05-22 Thread Dominic Mitchell

On Tue, May 22, 2001 at 03:06:39PM +0100, Barbie wrote:
 From: Robert Thompson [EMAIL PROTECTED]
   From: Roger Burton West [mailto:[EMAIL PROTECTED]]
  
   man 1 file
   man 5 magic
   less /usr/share/misc/magic # on many systems
  
 
  except anything written my MS of course...
 
 Which is precisely what this install of ActivePerl sits on. Luckily I have a
 Linux box too :)

It's worth grabbing the master copy of the magic database.  I've found
that some Linux ones (and even more so on Solaris) tend to be a bit
incomplete.

ftp://ftp.astron.com/pub/file/

That's the master location for the file(1) command that the BSDs use and
it appears to be quite complete.  Only it appears to be down right now.
Bugger.

You could try to grab them from the FreeBSD server, but there's been
problems with that recently and it doesn't have an unpacked copy of the
source available.  Double bugger.

Let's try NetBSD:

ftp://ftp.netbsd.org/pub/NetBSD-current/src/file/Magdir/

-Dom



Re: O'Reilly Safari - anyone use it?

2001-05-21 Thread Dominic Mitchell

On Sun, May 20, 2001 at 05:05:20PM +0100, Dave Cross wrote:
 At 13:27 20/05/2001, Elaine -HFB- Ashton wrote:
 
 You can't expect to steal music and then bitch about how someone is
 stealing copies of your book on line.
 
 True. But just so as we know where we all stand. I have only ever used 
 Napster to find copies of unavailable music.

You mean you actually got napster to work?  That's more of an
achievement than I've ever managed...

-Dom



Re: Long shot

2001-05-21 Thread Dominic Mitchell

On Mon, May 21, 2001 at 02:15:28PM +0100, Mike Wyer wrote:
 On Mon, 21 May 2001, Robert Shiels wrote:
 From: Jonathan Peterson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: 21 May 2001 13:28
 Subject: Long shot
 
 
  Anyone know a windows IMAP client that:
  1. Isn't Netscape
  2. Isn't Eudora
  3. Actually Works
  4. Is free or cheap
 
 Define works?
 
 I use Outlook Express, I like it a lot. It works for me.
 
 Much badness. We are withdrawing Outlook and associates from all our
 Windows machines as soon as we have weaned the secretaries off it. It is
 an administrative nightmare, and the source of more viri than any other
 component on our systems (NT and Linux).
 
 In a networked environment, it is the Devil incarnate.
 
 Standalone, you might be ok. The interface may be nice, but the code has
 more design flaws and vulnerabilities than a very buggy thing.

Don't get confused between Outlook (much badness) and Outlook Express
(standalone mail/news reader which comes with IE).  Outlook Express is
ok, as a POP/IMAP mail client.  It's not great, but it's better than
quite a few other things out there.  Definitely worth a try, given
that it's probably installed on anything that has IE5 on it already.

-Dom



Re: Long shot

2001-05-21 Thread Dominic Mitchell

On Mon, May 21, 2001 at 02:30:27PM +0100, Paul Mison wrote:
 On 21/05/2001 at 14:15 +0100, Mike Wyer wrote:
 On Mon, 21 May 2001, Robert Shiels wrote:
 
 I use Outlook Express, I like it a lot. It works for me.
 
 Much badness. We are withdrawing Outlook and associates from all our
 Windows machines as soon as we have weaned the secretaries off it. It is
 an administrative nightmare, and the source of more viri than any other
 component on our systems (NT and Linux).
 
 In a networked environment, it is the Devil incarnate.
 
 Standalone, you might be ok. The interface may be nice, but the code has
 more design flaws and vulnerabilities than a very buggy thing.
 
 Isn't there a lot of difference between Outlook- big, bloaty, part of
 Office, designed for Exchange- and Outlook Express- biggish, bloatish,
 but doesn't talk so many non-standard protocols, and can even do IMAP
 over SSH?

It does IMAP over SSL (afaik), but not over ssh.

-Dom



Re: Some Northern Irish Fun and Games ...

2001-05-18 Thread Dominic Mitchell

On Fri, May 18, 2001 at 07:27:10AM +0100, Greg McCarroll wrote:
 
 This is the sort of thing that happens in the country i grew up in  
 
 http://news.bbc.co.uk/hi/english/uk/northern_ireland/newsid_1336000/1336347.stm

Is that Alan Cox in the Red Hat in that photo?

Inquiring minds wish to know.

-Dom



Re: test

2001-05-17 Thread Dominic Mitchell

On Thu, May 17, 2001 at 10:06:41AM +0100, Greg McCarroll wrote:
 just a test

You say that it's just test.  Who are we to believe you.  In fact, I
think you're part of the US Govt consipracy to overload foreign networks
with test messages.  Prove that you're not.

-Dom (Not My Real Name)



Re: pc components

2001-05-17 Thread Dominic Mitchell

On Thu, May 17, 2001 at 02:36:58PM +0100, Martin Ling wrote:
 On Thu, May 17, 2001 at 11:01:11AM +0100, Chris Ball wrote:
  
  find / -name *your_base* -exec chown us:us {} \;
 
 If I had a penny for every variation on this sig I'd seen, I'd... er,
 well, I might have a cheap Mars bar. But still.

*mumble* xargs(1) *mumble*

-Dom



Re: Shoot out

2001-05-17 Thread Dominic Mitchell

On Thu, May 17, 2001 at 03:04:47PM +0100, Robin Houston wrote:

Statement:

 (And _boy_ can you write obfuscated Ocaml programs if you try!
 User-definable infix operators are an especially nice touch in
 that regard)

Answer:

 Why isn't Ocaml more popular? Is there a good reason?

-Dom



Re: Shoot out

2001-05-17 Thread Dominic Mitchell

On Thu, May 17, 2001 at 03:12:58PM +0100, Robin Houston wrote:
 I don't find that enormously convincing as a reason, though.
 You may have noticed that it's possible to write obfuscated
 Perl programs ;)

No, I've only over seen pleasant, readable perl code posted to this
list.

 C++ is also pretty bad in that respect (I still don't *quite*
 believe that overloadable typecasting isn't a joke...), and
 is pretty popular...

I didn't realise that you could overload typecasting.  Wow.

I still remember an article about C++ templating being a turing complete
language in it's own right or something weird.  This isn't it, but is
entertaining anyway:

http://www.annexia.org/freeware/cpptemplates/

 I suppose one reason is that in order to be popular, a language
 has to syntactically resemble C to make it easier for existing
 programmers to learn.

Well, look what that did for Java.  And look what it will do for C#.
It's a lot easier to tempt people away when it takes less effort for
them.  To use the canonical counter-example, take lisp.  How many people
have been scared off it by how much it *doesn't* look like anything you
already knew?

-Dom (elisp's my limit, I'm afraid)



Re: Caller ID (was Re: Enough!)

2001-05-16 Thread Dominic Mitchell

On Wed, May 16, 2001 at 10:59:07AM +0100, Robin Szemeti wrote:
 I do keep intending to do something cute with my ISDN adapter and log the
 stuff coming out of the D channel and see whats in there ... but time has
 prevented it etc.

I'd be interested to hear how you get on... I was under the impression
that the D channel was an always on 16k-thing.  It'd be interesting to
see what gets sent down there normally...

-Dom



Re: Latest Perl Journal

2001-05-16 Thread Dominic Mitchell

On Wed, May 16, 2001 at 01:19:36PM +0100, Robin Houston wrote:
 On Wed, May 16, 2001 at 10:05:25AM +0100, Cross David - dcross wrote:
   Loved the footnote on page 78.
  
  Thanks very much. It's one of my favourite jokes. It was trialed at a
  london.pm technical meeting some months ago :)
 
 What's the footnote on page 78, Dave?

I told me to.

-Dom



Re: Enough!

2001-05-15 Thread Dominic Mitchell

On Mon, May 14, 2001 at 11:04:43PM +0100, Natalie Ford wrote:
 At 15:09 14/05/01, Dave Hodgkinson wrote:
 Please, would you take the politics elsewhere? Some of us really don't
 give a shit either way.
 
 Hear hear!  I am getting tired of hitting delete... :)

procmail++

If anybody wants a hand getting it set up to autofilter mail, give me a
shout.

-Dom



Re: Enough!

2001-05-15 Thread Dominic Mitchell

On Tue, May 15, 2001 at 10:04:45AM +0100, Cross David - dcross wrote:
 From: Greg McCarroll [EMAIL PROTECTED]
 
  However what i'd really hate is any restrictions placed 
  on the topics of London.pm , politics should be just as 
  welcome as BtVS.
 
 Or, even, Perl :)

Oh, please, we have *some* standards.

-Dom



Re: Long Dark Teatime of the Soul

2001-05-14 Thread Dominic Mitchell

On Sat, May 12, 2001 at 05:55:56PM +0100, Neil Ford wrote:
 On Sat, May 12, 2001 at 11:56:48AM +0100, Dave Hodgkinson wrote:
  
  http://news.bbc.co.uk/hi/english/uk/newsid_1326000/1326657.stm
  
 Unfortunately I got the phone call at 7:10 this morning :-(
 
 Definitely a strange day.

It got even stranger at the FreeBSD BBQ after this. :-)

-Dom (who has never seen wheelchairs used to stoke fires before)



Re: UK programmers left-wing? was Re: BOFHs requiring license

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 10:19:27AM +, Steve Mynott wrote:
 There are certainly far fewer left-wing bookshops now than twenty
 years ago.  Most of the young seem now more interested in single
 issues like animal rights, globalisation etc then traditional
 socialism.

Hey, that's just the young that get interested in anything other drugs
and playstations.

There's far fewer bookshops full stop.  Except for the chain bookstore
monsters.

-Dom



Re: Monitors

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 11:52:06AM +0100, Simon Wistow wrote:
 Me neither. I came to the startling conclusion about 5 years ago that I
 don't really like. I don't hate it, just don't particularly enjoy it
 except in odd moods and even then mostly dark chocolate.

Will drool for Green  Black's dark organic chocolate.

-Dom



Re: Long Dark Teatime of the Soul

2001-05-14 Thread Dominic Mitchell

On Sat, May 12, 2001 at 11:56:48AM +0100, Dave Hodgkinson wrote:
 
 http://news.bbc.co.uk/hi/english/uk/newsid_1326000/1326657.stm

Amongst the many other tributes floating around, I found this one quite
entertaining:

http://ars.userfriendly.org/cartoons/?id=20010513

-Dom



Bioinformatics jobs (was: Re: Politics (was RE: BOFHs requiring license))

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 01:18:00PM +0100, Robin Houston wrote:
 On Mon, May 14, 2001 at 01:06:42PM +0100, Lucy McWilliam wrote:
  Is this the point where I can try and recruit some of you compscis to the
  bioinformatics revolution?
 
 I've always thought it sounded like fun.
 
 How does one go about joining the bioinformatics revolution, then?

The new scientist jobs page usually lists a few.  I think they're up on

http://www.newscientistjobs.com/

Unfortunately, quite a few list MA in bioinformatics or similiar as
requirements.  You may still be able to bluff your way, though.  I don't
know, I've never tried.

-Dom



Re: JAMES DUNCAN

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 12:24:54PM +0100, Melissa Fivelman wrote:
 Just to let you know that we have had numerous e-mails coming in addressed 
 to James Duncan from your address.
 
 He no longer works for ebookers. Please delete his address asap.
 
 Many thanks
 
 Melissa Fivelman
 IT Administrator
 ebookers.com plc
 +44 20 7489 2213 (Direct)
 +44 20 7489 2200 (Fax)

If you really work for ebookers.com, why are you sending from a hotmail
address?  It doesn't lend credence to your request to have somebody else
unsubscribed from this list.

If he doesn't work for you, then make sure his address bounces.  That
will far increase the likelyhood of his being removed from this list.

-Dom



Re: JAMES DUNCAN

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 03:32:32PM +, Steve Mynott wrote:
 Dominic Mitchell [EMAIL PROTECTED] writes:
  
  If you really work for ebookers.com, why are you sending from a hotmail
  address?  It doesn't lend credence to your request to have somebody else
  unsubscribed from this list.
 
 Actually it shows more clue than trying to use the average IT
 supplied Exchange service (which may well be broken).

Perhaps.  But if I were managing the list (I'm not), I'd be extremely
wary of some hotmail.com address attempting to unsubscribe somebody
else on spec.  In fact, I'd be wary of any attempt, but I'd give it
slightly more credibility if it even came from the same domain.

-Dom

P.S.  Yes, I know how reliable using domains as authentication is.  But
first impressions make a difference.



Re: JAMES DUNCAN

2001-05-14 Thread Dominic Mitchell

On Mon, May 14, 2001 at 04:42:27PM +0100, Roger Burton West wrote:
 On or about Mon, May 14, 2001 at 03:32:32PM +, Steve Mynott typed:
 Dominic Mitchell [EMAIL PROTECTED] writes:
  If you really work for ebookers.com, why are you sending from a hotmail
  address?  It doesn't lend credence to your request to have somebody else
  unsubscribed from this list.
 Actually it shows more clue than trying to use the average IT
 supplied Exchange service (which may well be broken).
 
 Yup, until I rebuilt ex-employer's email system about half the people
 there were using hotmail instead. No client ever questioned this.

This says more about the clients than anything else.

Unfortunately, it's the low-level of thought that seems to be universal.
Particularly with the lack of an Internet Driving License, anyway.

-Dom (You must be at least this high to ride the Interweb)



Re: putting escape characters in files

2001-05-11 Thread Dominic Mitchell

On Thu, May 10, 2001 at 10:25:00PM +0100, Nicholas Clark wrote:
 If your terminal has flow control enabled it will eat ^Q and ^S for you.
 stty -ixon
 removes this problem.

But then how do you pause that long ls listing when your
less,more,pg,sed,awkperl binaries are all fscked?  :-)

-Dom



Re: putting escape characters in files

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 11:10:13AM +0200, Philip Newton wrote:
 Dominic Mitchell wrote:
  On Thu, May 10, 2001 at 10:25:00PM +0100, Nicholas Clark wrote:
   If your terminal has flow control enabled it will eat ^Q 
   and ^S for you.
   stty -ixon
   removes this problem.
  
  But then how do you pause that long ls listing when your
  less,more,pg,sed,awkperl binaries are all fscked?  :-)
 
 Use dd with the count= option for the first page, and with count= and skip=
 for subsequent pages :)

You're right, but assuming you can get into a bourne shell, you can
still do things like write cat(1) in sh, as well.  Although it'd be hard
to control without ^S and ^Q, unless you have a modern /bin/sh with the
arithmetic stuff to count lines with.  Otherwise you'd have to use
expr(1), which is also probably busted.

We now return you to your regularly scheduled comp.unix.buffy debate...

-Dom



Re: putting escape characters in files

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 11:41:20AM +0200, Philip Newton wrote:
 Dominic Mitchell wrote:
  assuming you can get into a bourne shell, you can
  still do things like write cat(1) in sh, as well.
 
 This is not going to help you pause output.
 
  Although it'd be hard to control without ^S and ^Q,
 
 ...which was what the original post was all about.

No, you'd need the maths operators that came with later shells, so you
could work out lines.  Dammit, I'm going to have to write shmore now.

#!/bin/sh
lineno=1
while read line
do
echo $line
lineno=$((lineno+1))
if [ $(($lineno % 24)) = 0 ] ; then
echo -n  -- more -- 
read ans /dev/tty
test $ans = q  exit 0
fi
done

-Dom



Re: putting escape characters in files

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 11:14:08AM +0100, Matthew Byng-Maddick wrote:
 On Fri, 11 May 2001, Dominic Mitchell wrote:
  On Fri, May 11, 2001 at 11:41:20AM +0200, Philip Newton wrote:
   Dominic Mitchell wrote:
assuming you can get into a bourne shell, you can
still do things like write cat(1) in sh, as well.
   This is not going to help you pause output.
Although it'd be hard to control without ^S and ^Q,
   ...which was what the original post was all about.
  No, you'd need the maths operators that came with later shells, so you
  could work out lines.  Dammit, I'm going to have to write shmore now.
  #!/bin/sh
  lineno=1
  while read line
  do
  echo $line
  lineno=$((lineno+1))
  if [ $(($lineno % 24)) = 0 ] ; then
  echo -n  -- more -- 
  read ans /dev/tty
  test $ans = q  exit 0
  fi
  done
 
 That breaks if the line is longer than the width of your screen.

Oh dear.

-Dom



Monitors

2001-05-11 Thread Dominic Mitchell

How many things do you have on top of your monitor?

-Dom



Re: Monitors

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 04:33:42PM +0100, Lucy McWilliam wrote:
 
 On Fri, 11 May 2001, Dominic Mitchell wrote:
 
  How many things do you have on top of your monitor?
 
 monitor type=flatscreen
 None ;-)
 /

Boring!  You should be able to manage some clip on furry animals.

For reference, I have 8 Kinder egg toys, 4 of which are Giraffes.

Paul Mison stated that he had nothing on his monitor, but did confess to
having a squealing monkey under his monitor (very bofh-ish, I feel).

 Why, btw?

Because it's Friday Afternoon[tm].  And I want to know.

-Dom



Re: Monitors

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 05:43:29PM +0200, Niklas Nordebo wrote:
 On Fri, May 11, 2001 at 04:22:04PM +0100, Dominic Mitchell wrote:
  How many things do you have on top of your monitor?
 
 I have a solitary copy of a japanese netsuke depicting a cat.
 
 My machine is name 'neko', which is japanese for cat.

That's cute!  Do you have oneko installed to chase your mouse cursor as
well?

-Dom



Re: Monitors

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 05:48:40PM +0200, Philip Newton wrote:
 Philip Newton wrote:
  I generally bring one of my small stuffed toys to work
  ^
  or my wife's. She has me than I.

Eeek, I have more than my SO and I am wondering if in fact my population
of small giraffes is diminishing...

-Dom (suspicious)



Re: Monitors

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 04:59:13PM +0100, Cross David - dcross wrote:
 From: Dominic Mitchell [EMAIL PROTECTED]
 Sent: Friday, May 11, 2001 4:22 PM
 
  How many things do you have on top of your monitor?
 
 Here - none (not sure why my mini-Tux never made it to Acxiom)
 At home - many things. But boring things like network hubs or CD backups or
 boot disks. And occasionally a (real) cat.

You heard that's how sleepycat software got their name - it was the
first thing that they saw when they looked around their office.  :-)

-Dom



Re: Monitors

2001-05-11 Thread Dominic Mitchell

On Fri, May 11, 2001 at 05:15:56PM +0100, Lucy McWilliam wrote:
 On Fri, 11 May 2001, Mark Fowler wrote:
  (I don't eat chocolate.)
 
 *shock*

It's not strictly necessary, as you still get the kinder egg toys...

-Dom



Re: Bah!

2001-05-10 Thread Dominic Mitchell

On Thu, May 10, 2001 at 10:54:04AM +0200, Philip Newton wrote:
 David Cantrell wrote:
  http://www.cantrell.org.uk/david/cv
 
 I was going to post I can't open that in Microsoft Word; please re-send it
 as a joke, but when I tried to open the PDF version using the Acrobat
 plug-in in Netscape, I got an internal error occurred and some of the
 letters were missing.

There were some letters missing for me too under Linux.  Probably just
bad fonts under X11, gee what a surprise.

-Dom



Re: Bah!

2001-05-10 Thread Dominic Mitchell

On Thu, May 10, 2001 at 11:18:22AM +0100, David Cantrell wrote:
 On Thu, May 10, 2001 at 10:54:04AM +0200, Philip Newton wrote:
 
  David Cantrell wrote:
   http://www.cantrell.org.uk/david/cv
  
  I was going to post I can't open that in Microsoft Word; please re-send it
  as a joke, but when I tried to open the PDF version using the Acrobat
  plug-in in Netscape, I got an internal error occurred and some of the
  letters were missing.
 
 Serves you right for not getting the raw Postscript :-)
 
 I've put plain-text and HTML versions up as well now.  Bow down before
 the awesome power of TeX!

I find that pdftotext (part of xpdf) does a remarkably good job of
letting you know what a pdf file has to say, without bothering with all
that tedious formatting... ;-)

-Dom



Re: putting escape characters in files

2001-05-10 Thread Dominic Mitchell

On Thu, May 10, 2001 at 04:35:29PM +0100, Struan Donald wrote:
 kind of off topic but how do you get things like ^M and such like into
 a file for, say, writing vi macros?
 
 i've had a look through some docs but i'm beggining to suspect it's
 one of those bit of unix aracana know to a chosen few. or is there
 some site/resource that contains this info?

Generally you can enter a control character into vi and most Unix shells
by pressing ^V and then the character you want.

In Emacs, it's ^Q, then the character you want.

-Dom



Re: putting escape characters in files

2001-05-10 Thread Dominic Mitchell

On Thu, May 10, 2001 at 04:44:41PM +0100, Struan Donald wrote:
  In Emacs, it's ^Q, then the character you want.
 
 only ^Q? that's not like emacs :)

Well, it's assuming that nobody's fiddled with the keymaps.  You could
alternatively do:

M-x quoted-insert RET RET

-Dom



Re: More revolting natives

2001-05-04 Thread Dominic Mitchell

On Fri, May 04, 2001 at 04:47:43PM +0100, Dean wrote:
 On Fri, May 04, 2001 at 04:32:35PM +0100, Cross David - dcross wrote:
  Well, the 13 year old now claims to be 20. But no, this is his friend bk who
  kills people for a living in Hereford!
 
 Um. I no longer want children.

You *wanted* them?  :-)

-Dom



Re: Stuffed camel

2001-05-02 Thread Dominic Mitchell

On Wed, May 02, 2001 at 12:00:11AM +0100, Dave Cross wrote:
 At 19:25 29/04/2001, Leon Brocard wrote:
 Can *someone* please pick a date to go visit the camel?
 
 Can't be done until a) the foot and mouth stuff has died down and b) I've 
 worked out exactly who has paid for slices.

homerMmmm... Sliced camel!/homer

As a side note, when we do get it together, would it be alright to come
along as an ordinary paying zoo entrant?  Or does being a camelite
confer extraordinary priviliges within the confines of the zoo?

-Dom



Re: tube strike / may meeting postponed til 10th

2001-05-02 Thread Dominic Mitchell

On Wed, May 02, 2001 at 04:57:08PM +0100, Matthew Byng-Maddick wrote:
 PO?

dipsy ask po to do webby things like googling. He won't core dump.
Promise.
+or not dadadodo or not here while hitherto is on holiday
po Dom2?
dipsy hmmm... Dom2 is still annoyed by how bad emacs is at doing xml,
+actually, given how good psgml is.
dadadodo cat away plain colons include

-Dom



Re: Mailbox power ..

2001-04-30 Thread Dominic Mitchell

On Mon, Apr 30, 2001 at 09:04:39AM +0100, Jonathan Peterson wrote:
  this mornings powerdown  @ 06:00 .. what time did yours come back up and
  has it gone up and down again since then .. mines been down twice :(
 
 Oh bcks. Mine hasn't come back up at all. H.. I have a feeling
 Sun's netra t1's don't auto power up. Design flaw. Must phone mailbox.
 Grrr.

If you're running Solaris on it, check out the eeprom setting:

# eeprom 'auto-boot?'

If it returns 0, then turn it on to 1 using the eeprom command (see
manual page, I can't remember how it works).

Of course, if it's still sitting at the prom, you can do:

ok printenv auto-boot?
ok setenv auto-boot? 1

I hope that you have a serial console connection which will let you do
this!

-Dom



Re: Good Accountants

2001-04-27 Thread Dominic Mitchell

On Fri, Apr 27, 2001 at 12:41:00AM +0100, Robin Szemeti wrote:
 [ and don't even ask me about the time Demon distributed some pox ridden
 disk with IE4.1 on it ..'err I just installed the latest version of
 Turnpike and seem to have inherited IE4 .. how do I get rid of it as its
 screwed my desktop and folders' 'easy sir just do remove-programs etc'
 'err hello .. Ive done that and my desktop is *still* screwed .. my
 folders appear as some sort of poxy browser with a stop button and
 back-forward buttons and they didn't before and I dont want them' ' err
 sorry sir .. it does some things to the kernel that can't be removed' 
 now I am absolutely totally 100% certain that some web browser (and thats
 all it is) should *not* mess around with the way I view folders. I think
 that was a turning point for me and my judgement is probably clouded and
 unnecessarily predjudiced against it. ]

Ho ho, you should have heard the stick that support got from that little
prank.  Have you been sent a green CD, sir?  We'd better send you an
orange one to recover your system...  It went on for *weeks*.

-Dom (always preferred green anyway)



Re: Good Accountants

2001-04-27 Thread Dominic Mitchell

On Fri, Apr 27, 2001 at 09:23:16AM +0100, Jonathan Peterson wrote:
 Robin Szemeti wrote:
  
  now I am absolutely totally 100% certain that some web browser (and thats
  all it is) should *not* mess around with the way I view folders. I think
  that was a turning point for me and my judgement is probably clouded and
 
 No, no, no, that's _not_ all it is. IE is a set of distributed objects
 that between them handle those things that you might want to do related
 to HTTP and the rendering of HTML and assocciated technologies. That's
 MUCH more than just a browser.
 
 Once IE is installed on your system it becomes relatively simple to make
 an excel spreadsheet where some cell has a value that is the result of
 an HTTP request. This is not something AFAIK that Opera or Netscape do.
 I think Mozilla is trying to be more like this, but I never use it so I
 don't know. I do know that Mozilla appears to be just as 'lightweight'
 as IE.
 
 The tragedy is that all these great objects and classes tend to be only
 accessible from inside stuff like VBA or VB or MSVC++. Maybe Perl's DCOM
 bindings on Win32 are robust enough now that I can use perl to script
 the IE objects, I don't know.

It's pretty easily manageable from within Python, last time that I
looked, and it should work pretty well inside Perl, too.

Mozilla will be nice and able to do all this, it's basically reimplemented
COM as XPCOM for its own use.  Which is all very well and good, but
there's no easy way (yet) to get at XPCOM from outside of mozilla.
ActiveState are working on this, though and there was a recent
announcement about Perl/Python XPCOM integration being available as a
preview release.  Probably worth checking out...

-Dom



Re: Good Accountants

2001-04-27 Thread Dominic Mitchell

On Fri, Apr 27, 2001 at 01:59:53PM +0100, Robin Szemeti wrote:
 On Fri, 27 Apr 2001, you wrote:
  On Fri, Apr 27, 2001 at 10:11:40AM +0100, Dominic Mitchell wrote:
   
   Ho ho, you should have heard the stick that support got from that little
   prank.  Have you been sent a green CD, sir?  We'd better send you an
   orange one to recover your system...  It went on for *weeks*.
  
  I take it this pre-dated Matrix, or the red/blue pill jokes would have
  dragged it on for a few more... 
 
 umm 94?95?

More likely late 96 early 97.

-Dom



Re: Good Accountants

2001-04-27 Thread Dominic Mitchell

On Fri, Apr 27, 2001 at 02:30:20PM +0100, Jonathan Peterson wrote:
 Philip Newton wrote:
  Chris Ball wrote:
 Are postings subscriber only ..? ]
 
 Subscriber not even, more like. I bet this email never makes it to the
 list for a start.
 
 I blame majordomo, when's that mailman thing getting here?

Well, it is based on Python, which might cause a few stirrings around
here...

-Dom



Online Banking (was: Re: Good Accountants)

2001-04-26 Thread Dominic Mitchell

On Thu, Apr 26, 2001 at 09:49:34AM +0100, Dave Hodgkinson wrote:
 I went with Barclays because they gave 12 months free banking and
 could group the online banking with my personal accounts.

On a side issue, do you know of any online banks that allow personal
accounts to download historical data?  I spent quite a while on Saturday
writing scripts to download statement data from lloydstsb.co.uk and then
discovered that it only went back about 2 statements.  Upon ring them up,
I was told that they were planning to introduce a feature that would let
you go back 4 or 5 statements or something equally pathetic.  *sigh*.

-Dom




Re: London.pm List Weekly Summary 2001-04-23

2001-04-26 Thread Dominic Mitchell

On Thu, Apr 26, 2001 at 02:05:38PM +0100, Leon Brocard wrote:
 Jon Galliers asked about naming a file correctly when downloading from
 a CGI. Niklas Nordebo and Merijn Broeren provided solutions:
 http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg04654.html

Doh!  We entirely missed this:

http://www.mysql.com/news/article-57.html

Which links to (not sure if it's working right now):

http://technet.oracle.com/tech/migration/index.htm

Apparently Oracle do have a toolkit for migrating from MySQL.

-Dom



Re: MySQL - Oracle wrapper/compat. libs

2001-04-24 Thread Dominic Mitchell

On Tue, Apr 24, 2001 at 02:58:23AM -0700, Paul Makepeace wrote:
 Here's a perl question (OK, not really).. Is anyone aware of a
 compatibility/wrapper library which a developer could use to take an
 app using the MySQL API and with some (ideally) minimal munging turn
 it into Oracle OCI or Pro*C code?
 
 I'm faced with converting a couple of apps that have MySQL support to
 use OCI and it's, er, frightening to say the least (OCI manual is 1,054
 PDF pages. It is in the best academic traditions for Intimidatingly
 Enormous Tomes deemed an introduction).

Don't forget that even if you could automatically change the API over,
you'd still have to change all the SQL in the API as well.  Which is
probably just as difficult a task, given how much SQL can vary from
product to product...

-Dom



Re: Beginners Guide

2001-04-19 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 09:49:09PM +0100, Nicholas Clark wrote:
 And there was me thinking that Chris was going to say that he doesn't have
 a TV either. But he didn't. I don't have a TV. But I'm currently camped out
 in my parents house, and they have 2. But I learn that they will both be
 obsolete in 5 years when we all the analogue TV transmitters are turned off.
 Is that relevant? :-)

Dunno, but I sure hope the digital packages get a bit better than the
current offerings otherwise I'll just switch off the telly and not turn
it on again...

-Dom (resents paying once for the license fee and again for the subscription)



Re: Beginners Guide

2001-04-19 Thread Dominic Mitchell

On Thu, Apr 19, 2001 at 10:29:09AM +0100, Robert Shiels wrote:
 From: "Dominic Mitchell" [EMAIL PROTECTED]
  Dunno, but I sure hope the digital packages get a bit better than the
  current offerings otherwise I'll just switch off the telly and not turn
  it on again...
  -Dom (resents paying once for the license fee and again for the
 subscription)
 
 Hmm. I too am pissed off about this digital stuff, as the quality is worse
 than analogue TV. My measure of quality is uninterrupted viewing. I have yet
 to watch any digital TV where at some point the picture didn't pixelate or
 completely blank for a few seconds. I have an excellent Sony 100Hz TV, and
 cannot fault the picture. Why are we being forced down this digital route?
 Money I expect.
 
 But if you get a digital TV/receiver, surely BBC is available for free
 without any subscriptions. If this is not the case then I think it's
 criminal.

All the offers I've looked at so far have needed one to subscribe to at
least one "primary channel" as well as the free stuff.  Although maybe I
haven't looked at the fine print...

-Dom



Re: Komodo

2001-04-19 Thread Dominic Mitchell

On Thu, Apr 19, 2001 at 11:02:03AM +0100, Piers Cawley wrote:
 Dean [EMAIL PROTECTED] writes:
 
  On Wed, Apr 18, 2001 at 04:34:49PM +0100, Dominic Mitchell wrote:
   Emacs has been able to do this for probably 10 years or more.  I think
   even vim can do it now, too.
  
  Never noticed that! I normally edit my code in emacs and do the compiling
  on the command line in another term, never got too comfortable with doing
  everything in xemacs.
 
 Then you're missing half the fun. Seriously. M-x compile was the
 reason I started using emacs in the first place.

And then there's M-X grep which also works in a simliar manner, jumping
to hits from grep results...

-Dom



Re: next social meeting vs tube strike

2001-04-19 Thread Dominic Mitchell

On Thu, Apr 19, 2001 at 04:40:02PM +0100, Mike Wyer wrote:
 Camels are quite hard to see at London Zoo at the moment, owing to the
 foot 'n mouth situation. I was there a couple of weeks back, and the
 heffalump house was shut. The penguins ain't bad, though.

Last time I saw penguins at a zoo, they shat everywhere and stank to
high heaven.  Bah.  Core-dumping fiends.

If we're going to a zoo, I want to see the giraffes.

-Dom (Giraffe!  Or else I'll cry!)



Re: Komodo

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 02:59:51AM -0700, Paul Makepeace wrote:
 Who said "release early, release often". Apple are doing the right
 thing, IMO.

Probably Eric Raymond.

Which reminds me, there used to be a comment in the code for an
authentication server at Demon:

/* fork early, fork often */

Which was very telling when we found it.

-Dom



Re: Broadcast datagrams

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 03:25:09AM -0700, Paul Makepeace wrote:
 Anyone hackers here sent broadcast packets? I think this is how you
 do it:
 
 #!/usr/bin/perl -w
 use strict;
 
 use Socket;
 my $dst = inet_aton("172.30.255.255");
 
 socket(SOCKET, PF_INET, SOCK_DGRAM, getprotobyname("udp"))
 or die "socket: $!";
 setsockopt(SOCKET, SOL_SOCKET, SO_BROADCAST, pack("l", 1))
 or die "setsockopt: $!";
 send(SOCKET, "hello", 0, sockaddr_in(6868, INADDR_BROADCAST))  
 #send(SOCKET, "hello", 0, sockaddr_in(6868, $dst))
 or die "send: $!";
 
 For some reason I'm getting "send: Can't assign requested address"
 for INADDR_BROADCAST. How can it *not* assign that? Flipping the
 comments over works fine (for that subnet) -- in other words, in my
 C code, I have to spelunk the interface list with ioctl()s and then
 get the sodding broadcast address. Which is a lot of work :-(
 
 FWIW (this is on the failing machine, yes different subnet),
 
 en0: flags=8963UP,BROADCAST,b6,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
 ether 00:30:65:7e:d1:96 
 media: autoselect (none) status: inactive
 supported media: none autoselect 10baseT/UTP half-duplex 10baseT/UTP 
full-duplex 100baseTX half-duplex 100baseTX full-duplex

If you have a complete /usr/src installed, look in there for examples
of how it's done in C (it looks like you have a BSD machine - so it's
quite likely /usr/src is populated).

Darn, your example works on both the Linux and FreeBSD machines I just
tried it on.  What machine are you using?  On both machines, EADDRNOTAVAIL
(what you're seeing) isn't even listed as an error in the man page.

Try running perl under strace or truss or ktrace, whatever your native
tracing tool is.

-Dom



Re: Broadcast datagrams

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 04:02:29AM -0700, Paul Makepeace wrote:
 On Wed, Apr 18, 2001 at 11:49:20AM +0100, Dominic Mitchell wrote:
  If you have a complete /usr/src installed, look in there for examples
  of how it's done in C (it looks like you have a BSD machine - so it's
  quite likely /usr/src is populated).
 
 The weird thing is this is even happening with Apple's own nextstep
 bootp client (don't ask :) in C, which is originally the language
 I was using. I cast the example to perl just to ask here and as a
 sanity check.
 
  Darn, your example works on both the Linux and FreeBSD machines I just
  tried it on.  What machine are you using?  On both machines, EADDRNOTAVAIL
 
 OS X/Darwin.
 
 Thanks for checking though -- I'll keep looking.

You're probably going to have to grep through the kernel source to see
why it's being returned in that case.  And I have a sneaky suspicion
that the networking stuff is quite changed from the "normal" BSDs...

-Dom



Re: Broadcast datagrams

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 04:26:56AM -0700, Paul Makepeace wrote:
 On Wed, Apr 18, 2001 at 12:11:45PM +0100, Dominic Mitchell wrote:
  You're probably going to have to grep through the kernel source to see
  why it's being returned in that case.  And I have a sneaky suspicion
  that the networking stuff is quite changed from the "normal" BSDs...
 
 I've been using Rich Stevens's bible and stuff compiles copy/pasted.
 
 OK, I can't even ping 255.255.255.255 (when PPP is down, but when it's up
 it's OK):
 
 # ping 255.255.255.255
 PING broadcasthost (255.255.255.255): 56 data bytes
 ping: sendto: No route to host
 ping: wrote broadcasthost 64 chars, ret=-1
 ^C
 
 [ppp up]
 # ping 255.255.255.255
 PING broadcasthost (255.255.255.255): 56 data bytes
 64 bytes from 209.232.142.2: icmp_seq=0 ttl=255 time=163.571 ms
 64 bytes from 209.232.142.2: icmp_seq=1 ttl=255 time=2954.65 ms
 64 bytes from 209.232.142.2: icmp_seq=2 ttl=255 time=1968.95 ms
 
 # netstat -nr
 Routing tables
 
 Internet:
 DestinationGatewayFlags Refs Use Netif
 Expire
 default209.232.142.2  UGSc30 ppp0
 127.0.0.1  127.0.0.1  UH  9 2099  lo0
 192.168link#2 UC  00  en0
 192.168.0.10:30:65:7e:d1:96   UHLW0   14  lo0
 192.168.0.255  ff:ff:ff:ff:ff:ff  UHLWb   08  en0
 
 So for whatever reason it's not being recognized and turned into an
 Ethernet 48bit broadcast.

Don't forget that there are 4 different kinds of broadcast.  :-)

You're using a "limited broadcast address", which is not being
interpreted specially by the kernel and is going down the default route.
Which probably doesn't exist when you're not dialled up.  Hint:  "route
-n get" is a useful tool for finding out what the kernel would do when
presented with an IP address.

You'd probably be better off using a subnet-directed broadcast, which
does have a route set up for you: 192.168.0.255.

According to the book in front of me (UNP2v1, P472):

"Another question is: what does a multi-homed host do when the
application sends a UDP datagram to 255.255.255.255?  Some systems
send a single broadcast on the primary interface (the first
interface that was configured) with the destination IP address
set to the subnet-directed broadcast address of that interface.
Other systems send one copy of the datagram from each broadcast
capable interface.  Section 3.3.6 of RFC 1122 ``takes no stand''
on this issue.  For portability, however, if an application needs
to send a broadcast out from all broadcast capable interfaces,
it should obtain the interface configuration and do one sendto for
each broadcast capable interface with the destination set to that
interface's broadcast address."

In short, what happens is very system dependent.  :-(

-Dom



Re: CPAN search from mozilla address bar

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 01:35:25PM +0100, Struan Donald wrote:
 no idea if anyone will find this useful but:
 
 if you use mozilla (on linux/*nix at least) stick this:
 
 search
name="CPAN"
description="CPAN Search"
method="GET"
action="http://search.cpan.org/search"
 
 
 input name="mode" value="module"
 input name="query" user
 
 /search
 
 in a file called cpan.src in the searhcplugins directory of your
 mozilla install. restart mozilla. go the the internet search options, 
 select CPAN as your default Search Engine and hey presto, you can now
 search cpan direct from the mozilla address bar.
 
 only don't tick the display in my sidebar option as it doesn't work. 

Is there any way to get this installed into my ~/.mozilla directory
instead of installing it globally?  I've tried creating a searchplugins
directory, but it's not being picked up, even when I remove my
localstore.rdf file...

-Dom



Re: Komodo

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 04:26:42PM +0100, Dean wrote:
 I've been using this for C coding recently and its not too bad. It has a
 couple of nice tricks though like clicking on the compile errors and being
 taken to the line. 

Emacs has been able to do this for probably 10 years or more.  I think
even vim can do it now, too.

Emacs *is* an IDE.  It just doesn't look like all the other ones.

-Dom (oops, was that inflammatory?)



Re: Komodo

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 04:47:57PM +0100, Dean wrote:
 On Wed, Apr 18, 2001 at 04:34:49PM +0100, Dominic Mitchell wrote:
  Emacs has been able to do this for probably 10 years or more.  I think
  even vim can do it now, too.
 
 Never noticed that! I normally edit my code in emacs and do the compiling
 on the command line in another term, never got too comfortable with doing
 everything in xemacs.

There's a nice big "compile" button on the toolbar.  When the errors
come up, just hit your middle button on them in the *compile* buffer.
Couldn't be easier.

-Dom



Re: Mourning clothes for London.pm

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 05:43:20PM +0100, dcross - David Cross wrote:
 Alexis Denisof (who plays Wesley) is going out with Alyson Hannigan
 (Willow).

For some reason, this is made even worse by the automatic word
association of "Wesley" and "Crusher".

Excuse me whilst I puke now.

-Dom



Re: TPJ Reborn

2001-04-11 Thread Dominic Mitchell

On Wed, Apr 11, 2001 at 05:44:57PM +0100, David Cantrell wrote:
 Sorry, ol bean, I'm already piping this list through two bots (my archiver
 and my URL-hunter).  They don't say anything in public though.  Yet.

You could make them auto-send a rude message on encountering
text/html...

-Dom



Re: Perl on HPUX

2001-04-10 Thread Dominic Mitchell

On Tue, Apr 10, 2001 at 01:11:07PM +0100, Dean wrote:
 Hi All
   Question for the list, i'm currently writing some scripts for a HP box
 running HPUX 11 and i keep hitting the same error when ever i try and use
 something (even 'use strict;'.) The error is "syntax error in file p2.pl
 at line 2, next 2 tokens "use strict" ". The file is a noddy script with
 
 #!/usr/contrib/bin/perl
 use strict;
 
 print "Working...\n";
 
 Does anyone on list have any experience with perl on this platform and know
 if i need to change the shebang or anything similar.

Try doing:

/usr/contrib/bin/perl -V

To find out what version it is and post back.

-Dom



Re: Perl on HPUX

2001-04-10 Thread Dominic Mitchell

On Tue, Apr 10, 2001 at 01:17:55PM +0100, Dean wrote:
 On Tue, Apr 10, 2001 at 01:13:59PM +0100, Dominic Mitchell wrote:
  /usr/contrib/bin/perl -V
  
  To find out what version it is and post back.
 
 DOH! Its running 4.0.1.8
 
 Should have spotted that... Next time you get told the dev box is a copy of
 the producing box don't believe them :)

*grin*  That version of Perl is so old it should be in a museum.  :-)

-Dom



Re: Test

2001-04-06 Thread Dominic Mitchell

On Thu, Apr 05, 2001 at 03:57:08PM -0700, Paul Makepeace wrote:
 On Wed, Apr 04, 2001 at 02:40:03PM +0100, Dominic Mitchell wrote:
  Anyway, tip-o-the-day for mutt users.  How to get HTML viewed easily and
  automatically.  I'm not 100% sure of the security aspects, but it's
  still better than Lookout.  ;-)
  
  [ ~/.mailcap ]--
  text/html; /usr/bin/lynx %s; nametemplate=%s.html
  text/html; /usr/bin/lynx -dump %s; nametemplate=%s.html; copiousoutput 
  
  
  [ ~/.muttrc ]---
  set mailcap_path=~/.mailcap
  auto_view text/html
  
 
 This is great, thanks! Is it possible to get it to do this *only* when
 the email is content-type: text/html; rather than displaying it instead
 of the text/plain in a multipart/alternative?

Pass, I'm afraid.

 Another mutt question: How do you send To: a whopping list of
 recipients? It's a nightmare copy/pasting on a single line. I ended
 up editing the headers with E (on the final page) and reading the
 recip.'s in from a file. Seems laborious.

Umm, I find that editing my headers with the message makes the most
sense:

set edit_headers

Then, you can do things like:

To: [EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED]

ie: indent all following lines, ala RFC822.

-Dom



Re: Test

2001-04-06 Thread Dominic Mitchell

On Fri, Apr 06, 2001 at 11:37:54AM +0200, Merijn Broeren wrote:
 On the risk of offending the person who gets really tired of the
 w3m-is-better meme, I prefer w3m because I get send so many tables in
 html, they show up real nice.

I found a problem with w3m (which I admittedly didn't look at for very
long): It doesn't handle nbsp; at all.  It made for some very weird
message from NS Confusicator.

-Dom



Re: Ummm... Perl not professional??

2001-04-06 Thread Dominic Mitchell

On Fri, Apr 06, 2001 at 01:18:13PM +0100, Simon Cozens wrote:
 On Fri, Apr 06, 2001 at 11:36:40AM +, [EMAIL PROTECTED] wrote:
  Unfortunatly this is largely a valid point.  Perl is not used by
  many *professional* people.  Perl is used by a lot of people, and some of
  them are professional, but I wouldn't consider it the
  majority.
 
 A professional is someone with a profession.

Indeed.  How many computer professionals are out there?  As opposed to
cowboys of the Minesweeper Consultant and Solitaire Expert variety.  I
certainly don't consider myself "professional", even though I try to ply
my trade in what I believe to be a "professional" manner.

As a trade, we have a long way to go before we are as respected[1] as
those in (say) accountancy, engineering and law.

I leave it to yourselves to judge whether or not this is a Good Thing.

-Dom

[1] In some senses only, I assure you.



Re: [HELP] Traceroute

2001-04-05 Thread Dominic Mitchell

On Thu, Apr 05, 2001 at 10:33:19AM -0400, Andy Williams wrote:
 Hi,
 
 Can any one tell me what this traceroute actually means... it has me
 completely confused (not that difficult actually!!)
 
 traceroute 195.153.113.229
 traceroute to 195.153.113.229 (195.153.113.229), 30 hops max, 40 byte
 packets
  1  chromium.pair.net (209.68.1.224)  1.814 ms  1.067 ms  0.569 ms
  2  beauty.pair.net (192.168.1.2)  1.744 ms  1.472 ms  0.813 ms
  3  POS3-2.GW3.PIT1.ALTER.NET (157.130.48.161)  1.003 ms  1.520 ms  1.621
 ms
  4  518.at-2-0-0.XR1.DCA1.ALTER.NET (152.63.36.250)  6.362 ms  6.487 ms
 6.001 ms
  5  295.at-7-1-0.XR1.DCA8.ALTER.NET (146.188.163.10)  7.885 ms  6.676 ms
 8.041 ms
  6  POS6-0.BR2.DCA8.ALTER.NET (152.63.35.189)  8.887 ms  8.094 ms  8.770
 ms
  7  204.6.140.117 (204.6.140.117)  7.447 ms  8.928 ms  8.285 ms
  8  ne.peering.tier1.us.psi.net (154.13.2.34)  14.977 ms  13.005 ms
 12.713 ms
  9  204.6.134.154 (204.6.134.154)  87.708 ms  87.232 ms  86.990 ms
 10  5-11-leaf-int.lf1.cityreach.uk.psi.net (154.32.11.5)  83.906 ms
 83.318 ms  83.721 ms
 11  * * *
 12  * * *
 13  * * *
 14  * * *
 15  * * *
 16  * * *
 17  * * *
 18  * * *
 19  * * *
 20  * * *
 21  * * *
 22  * * *
 23  * * *
 24  * * *

Here it went th next router went wihtout responding for a while (it may
have been rebooting).

 25  ci217.cityreach.uk.psi.net (154.32.30.217)  97.396 ms !X * *
 26  ci217.cityreach.uk.psi.net (154.32.30.217)  95.940 ms !X *  94.271 ms
 !X

!X means the router administratively prohibited your packets from
passing.  ie: it disallows traceroutes.  Try connecting to a service on
that machine, eg: "telnet 195.153.113.229 80".  That stands a better
chance of working.

Incidentally, the traceroute man page contains a couple of good examples
of "funny" outputs.

-Dom



Re: Linux.com Online Chat

2001-04-04 Thread Dominic Mitchell

On Wed, Apr 04, 2001 at 09:20:25AM +0100, dcross - David Cross wrote:
 Tell all your friends. No heckling.

Does that mean we can heckle but they can't?   :-)

-Dom



Grammar (was: Re: Linux.com Online Chat)

2001-04-04 Thread Dominic Mitchell

On Wed, Apr 04, 2001 at 09:37:07AM +0100, dcross - David Cross wrote:
 From: Dominic Mitchell [EMAIL PROTECTED]
 Sent: 04 April 2001 09:32
 
  On Wed, Apr 04, 2001 at 09:20:25AM +0100, dcross - David Cross wrote:
   Tell all your friends. No heckling.
  
  Does that mean we can heckle but they can't?   :-)
 
 That would be "Tell all your friends, no heckling."
 
 Doesn't anyone learn grammar any more :)

Funnily, enough, no.  I was born in 1974, I've never been taught english
grammar and I know of nobody who has.  It's actually quite annoying as
it leads to all sorts of infuriating "I know that looks right, but I
don't know why..." thoughts.  If anybody could reccomend a small grammar
reference, that would be incredibly useful.

OTOH, every foreign language I've ever learned has started with the
grammar lesson within a month.  And when I want to learn a language one
of the first things I do is reach for the BNF.

ObPerl: So which is harder to parse?  Perl or English?

-Dom



Re: Grammar (was: Re: Linux.com Online Chat)

2001-04-04 Thread Dominic Mitchell

On Wed, Apr 04, 2001 at 02:17:24AM -0700, Paul Makepeace wrote:
 On Wed, Apr 04, 2001 at 10:04:45AM +0100, Dominic Mitchell wrote:
  Funnily, enough, no.  I was born in 1974, I've never been taught english
  grammar and I know of nobody who has.  It's actually quite annoying as
 
 Me too, ('74 vintage) but I got learnt grammar. I think mostly by my
 mother if truth be told. The rest I picked up from Latin :-/

Latin!  Another thing I missed out on.  No, they forced me to do bloody
woodwork.  How useful is that?  Not at all, I can tell you.  I have a
girlfriend to put up shelves for me!

 If you know the difference between it's and its, you're and your,
 and don't write 'alot', you're probably in the top 1%-ile :)

Somewhere close.  Thankfully, it's not something I have to think about
a lot^Wgreat deal.

  it leads to all sorts of infuriating "I know that looks right, but I
  don't know why..." thoughts.  If anybody could reccomend a small grammar
  reference, that would be incredibly useful.
 
 
http://ei.cs.vt.edu/~cs5014/fall.95/courseNotes/WebPages/5.TechnicalCommunication/tc_2_Usage.html

Ta.

-Dom



  1   2   >