lack of sleep, insanity and you rotten mongers

2001-01-04 Thread Greg McCarroll


i was just reading comp.unix.programmer and saw GREP and thought who's
talking about me,

this is all your fault!

greg

-- 
Greg McCarroll  http://www.mccarroll.uklinux.net



Re: Getting keys of mappe @list = qw/foo bar foo baz/;d hash?

2001-01-04 Thread Piers Cawley

Tony Bowden [EMAIL PROTECTED] writes:

 On Wed, Jan 03, 2001 at 11:16:06AM +, Piers Cawley wrote:
   How can I do this:
 my @list = qw/foo bar foo baz/;
 my %hash = map { $_ = 1 } @men;
 my @sort = sort keys %hash;
 print "We have @sort\n"; # foo bar baz
   without the %hash?
 
  my $last;
  do {print $_ unless $_ eq $last; $last = $_} for sort @list
  Dunno if it's quicker than the cunning tricks with map, but hey, it
  works. 
 
 Ah, but my question was badly phrased. I needed to end up with @sort, not
 a printed list ... 

Ah:

do {push(@sorted, $_) unless $_ eq $last; $last = $_} for sort @list;

Can't be bothered to benchmark it...

-- 
Piers




Re: Fwd: [orwant@oreilly.com: The state of TPJ]

2001-01-04 Thread Piers Cawley

Dave Cross [EMAIL PROTECTED] writes:

 More on the TPJ saga.

[...]

Hmm... I wonder when I'm going to get my long term subscription
repaid. 

-- 
Piers





Re: JOB: At A Very Well-Known Company

2001-01-04 Thread Piers Cawley

Dave Cross [EMAIL PROTECTED] writes:
 The skills are required for someone to look after the live data feeds:
 
 Strong Perl (including DBI).
 Strong UNIX.
 Reasonable SQL, with a knowledge of Oracle (or similar DBMS).
 Must know basics of HTML and XML.
 Must understand CGI and have a good/ general web knowledge.
 Knowledge of C would be good for the THM migration.
 
 Java/JavaScript, etc skills are not necessary for feed work, although the
 basics should be understood by any candidate.
 
 
 Adam Bassett
 Technical Consultant
 Maxim Group
 A Division of Aerotek Europe
^^

Thought that sounded familiar, they phoned me about it. But want
references before they'll put me up for an interview and I'm damned if
I'm going to give 'em free sales leads. Say Dave, can I name you as a
referee? 

-- 
Piers




RE: JOB: At A Very Well-Known Company

2001-01-04 Thread dcross - David Cross

From: Piers Cawley
Sent: 04 January 2001 09:37

[stuff about a job at Ft.com (oops! promised I'd keep the client's name a
secret :)
 
 Thought that sounded familiar, they phoned me about it. But want
 references before they'll put me up for an interview and I'm damned if
 I'm going to give 'em free sales leads. Say Dave, can I name you as a
 referee? 

I try to use as references people who a) aren't contractors and b) have
completely inappropriate skillsets :)

I'd be happy to act as a reference for you Piers, but from what my last
reference told me, the Aerotek verbal references can be quite detailed and
I@m not sure that I'd have all the info they need.

Cheers,

Dave...


The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged. If the reader 
of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  
If you have received this communication in error, please 
re-send this communication to the sender and delete the 
original message or any copy of it from your computer
system.



Re: lack of sleep, insanity and you rotten mongers

2001-01-04 Thread jduncan

grep is not in context :-)

On Thu, Jan 04, 2001 at 10:05:10AM +, Greg McCarroll wrote:
 
 i was just reading comp.unix.programmer and saw GREP and thought who's
 talking about me,
 
 this is all your fault!
 
 greg
 
 -- 
 Greg McCarroll  http://www.mccarroll.uklinux.net

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


Re: Getting keys of mappe @list = qw/foo bar foo baz/;d hash?

2001-01-04 Thread Shevek

On 4 Jan 2001, Piers Cawley wrote:

 Tony Bowden [EMAIL PROTECTED] writes:
 
  On Wed, Jan 03, 2001 at 11:16:06AM +, Piers Cawley wrote:
How can I do this:
  my @list = qw/foo bar foo baz/;
  my %hash = map { $_ = 1 } @men;
  my @sort = sort keys %hash;
  print "We have @sort\n"; # foo bar baz
without the %hash?
  
   my $last;
   do {print $_ unless $_ eq $last; $last = $_} for sort @list
   Dunno if it's quicker than the cunning tricks with map, but hey, it
   works. 
  
  Ah, but my question was badly phrased. I needed to end up with @sort, not
  a printed list ... 
 
 Ah:
 
 do {push(@sorted, $_) unless $_ eq $last; $last = $_} for sort @list;
 
 Can't be bothered to benchmark it...

This would be very slow for the dutch national flag, as it sorts the large
list rather than the small one.

S.

--
Shevek
I am the Borg.
sub AUTOLOAD { ($s=$AUTOLOAD)=~s/.*:://; eval qq{ *$AUTOLOAD=$s
?sub {$s*{$s-1}} :sub {1}; }; goto $AUTOLOAD; } print {'4'}; 




Re: Getting keys of mappe @list = qw/foo bar foo baz/;d hash?

2001-01-04 Thread Piers Cawley

Shevek [EMAIL PROTECTED] writes:

 On 4 Jan 2001, Piers Cawley wrote:
 
  Tony Bowden [EMAIL PROTECTED] writes:
  
   On Wed, Jan 03, 2001 at 11:16:06AM +, Piers Cawley wrote:
 How can I do this:
   my @list = qw/foo bar foo baz/;
   my %hash = map { $_ = 1 } @men;
   my @sort = sort keys %hash;
   print "We have @sort\n"; # foo bar baz
 without the %hash?
   
my $last;
do {print $_ unless $_ eq $last; $last = $_} for sort @list
Dunno if it's quicker than the cunning tricks with map, but hey, it
works. 
   
   Ah, but my question was badly phrased. I needed to end up with @sort, not
   a printed list ... 
  
  Ah:
  
  do {push(@sorted, $_) unless $_ eq $last; $last = $_} for sort @list;
  
  Can't be bothered to benchmark it...
 
 This would be very slow for the dutch national flag, as it sorts the large
 list rather than the small one.

Point. It's all data dependent isn't it?

-- 
Piers




FOOD

2001-01-04 Thread David Hodgkinson


Anyone fancy dim sum shortly?

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: FOOD

2001-01-04 Thread Chris Heathcote

on 4/1/01 11:03 am, David Hodgkinson wrote:

 Anyone fancy dim sum shortly?

What, when McDonalds are doing 2-for-1? ;)

c.
-- 
 every day, computers are making people easier to use

  http://www.unorthodoxstyles.com




RE: FOOD

2001-01-04 Thread Simon Batistoni

  on 4/1/01 11:03 am, David Hodgkinson wrote:
  
   Anyone fancy dim sum shortly?
  
  What, when McDonalds are doing 2-for-1? ;)
 
 Barf.

Yeah, but at the moment you get to barf *twice* each visit :)



Re: FOOD

2001-01-04 Thread David Hodgkinson

dcross - David Cross [EMAIL PROTECTED] writes:

 Are you all mad?
 
 Wendy's. Obviously. 

The best diner style burgers and fries I've ever had were in a Denny's
of all places in Watertown NY. Plenty of dill pickles, coleslaw,
bacon, relish. Yum. Back when I ate meat, of course.

OK, Now I'm REALLY hungry. I'll be at the New World at one
O'Clock.


-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: FOOD

2001-01-04 Thread Roger Burton West

On or about Thu, Jan 04, 2001 at 11:25:42AM +, David Hodgkinson typed:

OK, Now I'm REALLY hungry. I'll be at the New World at one
O'Clock.

Are you going to set your machine's clock to the right time first?

Roger



RE: FOOD

2001-01-04 Thread dcross - David Cross

From: Simon Batistoni [EMAIL PROTECTED]
Sent: 04 January 2001 12:21

  Are you all mad?
  
  Wendy's. Obviously. 
  
  Dave...
 
 They're dead and gone. All their locations in London are now McD's.

But this is terrible news. When did it happen?

Actually it happened once before. There were loads of Wendys in London in
the early 80s, but they all turned into Pizza Huts in about 1983. The big
Pizza Hut on the Strand was a Wendys, as was the one on Cambridge Circus.
For some reason the Wendys on Praed St was the only one that didn't change.

Dave...
[who realises that he probably knows too much about this subject]


The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged. If the reader 
of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  
If you have received this communication in error, please 
re-send this communication to the sender and delete the 
original message or any copy of it from your computer
system.



Books

2001-01-04 Thread David Hodgkinson


It took me three bookshops on Charing Cross Road to get a perl library
together for the guys I'm working with, but I managed it without
having to go into Foyle's. Yeah!

The bonus was a second edition of Jon Bentley's "Programming
Pearls". A classic.




Re: Books

2001-01-04 Thread Struan Donald

* at 04/01 13:26 + David Hodgkinson said:
 
 It took me three bookshops on Charing Cross Road to get a perl library
 together for the guys I'm working with, but I managed it without
 having to go into Foyle's. Yeah!

er, what's wrong with foyles if it's not a silly question?

s
-- 
Struan Donald
mailto:[EMAIL PROTECTED]
Code Flunky, 365 Plc.
http://www.365corp.com/



RE: FOOD

2001-01-04 Thread Matthew Freake

David Cross scribbled:

   Are you all mad?
   
   Wendy's. Obviously. 
  
   Dave...
 
 They're dead and gone. All their locations in London are now McD's.

 But this is terrible news. When did it happen?

Actually, while we're on the subject, does anyone know what happened to the
few Taco Bell's in this country ? They seemed to suffer a similar fate;
which was a great shame 'cos they were one of the more-veggie friendly fast
food chains going.

...and thinking about it, didn't the Wendy's on Shaftesbury Avenue used to
be a Taco Bell as well ?

Cheers 


Matt Freake



Re: FOOD

2001-01-04 Thread Roger Burton West

On or about Thu, Jan 04, 2001 at 02:54:23PM -, Matthew Freake typed:

...and thinking about it, didn't the Wendy's on Shaftesbury Avenue used to
be a Taco Bell as well ?

I don't think so; there was one on the other side of Haymarket, though,
towards Leicester Square.

R



Re: JOB: At A Very Well-Known Company

2001-01-04 Thread Redvers Davies

 I'm going to give 'em free sales leads. Say Dave, can I name you as a
 referee? 

I am working through Aerotek too - you can use my name should you wish.

Red



Re: tommorow nights meeting

2001-01-04 Thread Redvers Davies

 also i started laying out the few mp3's i have and some of the schedule
 of the conference into a website tonight, so expect movement on that
 front rsn,

Has anyone thought of putting the talks onto VCD?  If I can get this
VCD software to work that I just aquired (thanks again) i'm happy to
try and burn some.

Red



Re: Books

2001-01-04 Thread Piers Cawley

David Hodgkinson [EMAIL PROTECTED] writes:

 Struan Donald [EMAIL PROTECTED] writes:
 
  * at 04/01 13:26 + David Hodgkinson said:
  
   It took me three bookshops on Charing Cross Road to get a perl
   library together for the guys I'm working with, but I managed it
   without having to go into Foyle's. Yeah!
 
  er, what's wrong with foyles if it's not a silly question?
 
 Insane filing system
 
 Legendarily unhelpful staff

Much better than it was now the old lady's gone. Heck, they even have
barcode scanners now...

 It smells funny

Hmm... can't say I'd noticed that, but I have a cold.

-- 
Piers




Re: Books

2001-01-04 Thread Greg McCarroll

* Michael Stevens ([EMAIL PROTECTED]) wrote:
 On Thu, Jan 04, 2001 at 01:59:05PM +, David Hodgkinson wrote:
   er, what's wrong with foyles if it's not a silly question?
  
  Insane filing system
  
  Legendarily unhelpful staff
  
  It smells funny
 
 I spent several minutes once trying to teach one of the staff in their
 computing section how to spell the word 'silicon'. So he could put it into
 their computer and find the book I wanted, for which I knew both title
 and author.
 

That was Sili of you 

-- 
Greg McCarroll  http://www.mccarroll.uklinux.net



RE: Books

2001-01-04 Thread dcross - David Cross

From: Struan Donald [EMAIL PROTECTED]
Sent: 04 January 2001 14:50
 
 * at 04/01 13:26 + David Hodgkinson said:
  
  It took me three bookshops on Charing Cross Road to get a 
  perl library together for the guys I'm working with, but 
  I managed it without having to go into Foyle's. Yeah!
 
 er, what's wrong with foyles if it's not a silly question?

Typical customer enquiry in Foyles:

Customer: Can you tell me where your books on [insert random subject] are?
Foyles Bod: Who are they published by?
C: Huh?
FB: All of our books are classified by publisher. We find that's easier for
finding a specific book.
C: But I don't know what book I want. I just want to look at all of the
books on [insert random subject] and compare them.
FB: Then you'll have to visit each publisher's section indiviudally.
C (mutters to self): Or I could just go next door to Waterstones.


Dave...


The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged. If the reader 
of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  
If you have received this communication in error, please 
re-send this communication to the sender and delete the 
original message or any copy of it from your computer
system.



Re: Books

2001-01-04 Thread Michael Stevens

On Thu, Jan 04, 2001 at 03:10:24PM +, Greg McCarroll wrote:
 That was Sili of you 

On the plus side, They Have Lots Of Books, which makes up for almost
all their faults.



Re: yapc footage / soundage

2001-01-04 Thread Redvers Davies

 well, Nat's bringing a lot of miniDV tapes tonight, we are going to
 convert them into Quicktime and Real for streaming. 
 what source format do you need to make VCDs with your thingy?

From the homepage:

create a MPEG-1 video stream with the dimensions 352x240 (NTSC) or 352x288
(PAL) and a bitrate of 1152 KBit/sec (use the encoder of your choice, you
find one for MJPG encoded AVIs or Quicktime files in the lavtools). 

create a MPEG-1 layer 2 audiostream with a sample rate of 44100 Hz, stereo
and a bitrate of 224 KBit/sec (use the encoder of your choice, you find one
for MJPG encoded AVIs or Quicktime files in the lavtools).  


I would suggest waiting before you go to any time or trouble that I can
actually write the things.  I will be testing the software and hardware
over the next few days.


Red



Re: JOB: At A Very Well-Known Company

2001-01-04 Thread Redvers Davies

 They appear to have accepted Dave's ref. What are they like as an
 agency? And how are they IR35 wise?

They are OK - you definatly feel that they are a large agency as opposed
to a one man band which has both good and bad points.  Their people do
however have unlimited entertainment expense accounts ;)

IR35 wise they started off being inflexible.  Their people are very target
orientated and for the person that was dealing with me the IR35 thing
was too much trouble for him.  I've been moved and the person I have now
is very flexible - seems you suck and seen between people.

I don't have an IR35 safe contract as the client was unwilling to change
the terms.  They increased my rate by 30% instead.

Red



Damian's webpage.

2001-01-04 Thread Dean S Wilson

Don't know how many of you have seen this:
http://yetanother.org/damian/diary_January_2001.html#day_4

Made me chuckle.

Dean
--
Profanity is the one language all programmers understand.
   ---  Anon




Re: Books

2001-01-04 Thread Chris Benson

On Thu, Jan 04, 2001 at 01:26:25PM +, David Hodgkinson wrote:
 
 It took me three bookshops on Charing Cross Road to get a perl library
 together for the guys I'm working with, but I managed it without
 having to go into Foyle's. Yeah!
 
 The bonus was a second edition of Jon Bentley's "Programming
 Pearls". A classic.

Aha, you've left yourself open to pedants here: ...

Is that 2nd edition as in with updates?  Or as in "Reprinted with 
corrections May, 1989"?

If the first, what's the difference?  Is it worth getting it if you've
already got 1.ed?

Also, are you going to get them "More Programming Pearls, Confessions of
a Coder" as well?
-- 
Chris Benson



Re: Books

2001-01-04 Thread David H. Adler

On Thu, Jan 04, 2001 at 01:59:05PM +, David Hodgkinson wrote:
 Struan Donald [EMAIL PROTECTED] writes:
  
  er, what's wrong with foyles if it's not a silly question?
 
 Insane filing system

They (used to, at least) file their Science Fiction (and some other
sections) by publisher rather than author or even title.  Good luck
finding a book if you don't know the publisher...

dave, has had issues w/foyles for many years...

-- 
David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/
Uh, yeah.  Well, that's my mistake for the year...
- Larry Wall



blibble

2001-01-04 Thread Michael Stevens

You know you're drunk when, faced with the problem of getting through
an underground ticket gate, you get out your house keys and start fiddling
with them looking for the right one.

Michael



Re: Technical Meeting

2001-01-04 Thread alex

On Thu, 4 Jan 2001, Dave Cross wrote:
 It was pointed out this evening that I hadn't send out a reminder for
 the technical meeting which is in two weeks time (Jan 18th). We'll be
 holding it at State 51 and I'm hoping that Alex or Jo will post
 detailed directions.

walk out of the bagel shop, turn left, walk on and across the crossroads,
take the next left

[better instructions soon, but it takes up most of rhoda street, bethnal
green, nearest tubes are old street, shoreditch, liverpool street and
bethnal green, or closest of all, bus route number 8]

we have plenty space, but enough seating may be a problem.  if you have
back problems or so, let me know and i'll make sure you get somewhere nice
to sit.

what time should it start, dave?

 As always I'm looking for volunteers to speak at the meeting. If
 you've got anything really cool[1] to tell us about then please let me
 know.

i'd like to talk about organising sound with perl for 20 minutes




Re: blibble

2001-01-04 Thread Roger Burton West

On or about Fri, Jan 05, 2001 at 12:01:49AM +, Michael Stevens typed:
You know you're drunk when, faced with the problem of getting through
an underground ticket gate, you get out your house keys and start fiddling
with them looking for the right one.

Or when, faced with the problem of getting through your front door,
you reach by reflex for the Leatherman on your belt.

R



Re: blibble

2001-01-04 Thread Chris Butler

On Fri, Jan 05, 2001 at 12:01:49AM +, Michael Stevens wrote:
 You know you're drunk when, faced with the problem of getting through
 an underground ticket gate, you get out your house keys and start fiddling
 with them looking for the right one.

Hmm... I was /going/ to come up to Holborn, I really was.

I went for a "quick one" inthe Pelican with PeterC before we left for
London.pm. We left there at about 11:20.

-- 
Chris



Re: Damian's Visit

2001-01-04 Thread David H. Adler

On Fri, Jan 05, 2001 at 07:14:17AM +, Dave Cross wrote:
 As you'll have seen from his web site
 http://www.yetanother.org/damian/, Damian will be in London on
 25th and 26th Feb. I've exchanged emails with him and here are a few
 more details.

Out of curiosity, did you first hear about it from the website?  I'm
just wondering, because I just looked at it and it appears he's coming
to new york... which I hadn't heard a word about.  weird.

dha

-- 
David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/
"Do not look at the cursor!  Look where the cursor points!"
- Chip Salzenberg



Re: Damian's Visit

2001-01-04 Thread Dave Cross

On Fri, Jan 05, 2001 at 02:26:45AM -0500, David H. Adler ([EMAIL PROTECTED]) wrote:
 On Fri, Jan 05, 2001 at 07:14:17AM +, Dave Cross wrote:
  As you'll have seen from his web site
  http://www.yetanother.org/damian/, Damian will be in London on
  25th and 26th Feb. I've exchanged emails with him and here are a few
  more details.
 
 Out of curiosity, did you first hear about it from the website?  I'm
 just wondering, because I just looked at it and it appears he's coming
 to new york... which I hadn't heard a word about.  weird.

I _did_ first hear about it from his site. You should probably email him
like I did and get further clarification.

Dave...

-- 
http://www.dave.org.uk | [EMAIL PROTECTED] | [EMAIL PROTECTED]

plugData Munging with Perl
http://www.manning.com/cross//plug