Re: Baby Jesus is crying...

2003-01-30 Thread Andy Wardley
Ben wrote:
 http://www.datapower.com/products/xa35.html

XML is *sooo* 20th century.

Parrot in hardware.  Now that's something to look forward to...  :-)

A





Re: Baby Jesus is crying...

2003-01-30 Thread the hatter
On Thu, 30 Jan 2003, Leon Brocard wrote:

 the hatter sent the following bits through the ether:

  Yes, a parrot microcontroller stamp, I've suggested this before.  Imagine
  parrot in your washing machine, your toaster, even under the bonnet of
  your car.

 But where would you keep the nuts?

They're distributed by a daemon process currently on the front page of
www.meep.org

 ps those lisp chips did well, didn't they?

I beleive the fortran and basic ones both did ok.  Though java ones never
got anywhere, every time the spec was frozen, made into hardware, and
actually available in volume, the processor market had got that much
faster that it was still quicker to run it on a peecee.


the hatter





Re: $host-ip_address

2003-01-30 Thread Joel Bernstein
On Thu, Jan 30, 2003 at 11:07:10AM +, Dominic Mitchell wrote:
 Paul Makepeace wrote:
 Anyone think it would be nice is Sys::Hostname did this itself?
 
 $ perl -MSys::Hostname -le 'print join ., unpack C*, (gethostbyname 
 hostname)[4]'
 195.82.114.220
 $
 
 perlfaq9, consulted belatedly, (requires Socket)
 
 $ perl -MSocket -MSys::Hostname -le 'print inet_ntoa(scalar gethostbyname 
 hostname)'
 195.82.114.220
 
 No.  Why does a hostname need to have an associated IP address? 

Um, perhaps I'm missing something, but by definition a hostname is a name
which translates directly (via A,  or A6) records to an IP address, or
indirectly (via a CNAME to another hostname which then resolves to an
IP). How could a hostname /not/ have an IP address?

 Alternatively, it could have more than one.
Agreed. 


/joel




Re: $host-ip_address

2003-01-30 Thread David Cantrell
On Thu, Jan 30, 2003 at 11:34:02AM +, Joel Bernstein wrote:
 Um, perhaps I'm missing something, but by definition a hostname is a name
 which translates directly (via A,  or A6) records to an IP address, or
 indirectly (via a CNAME to another hostname which then resolves to an
 IP). How could a hostname /not/ have an IP address?

It could be a host name in some other networking system, such as DECNET or
Appletalk.

Or it could be a purely local hostname - this machine what I'm typing on
right now is ibook.local, which doesn't resolve to 10.0.2.2 (the machine's
IP address) which in turn doesn't resolve to anything.

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

  While researching this email, I was forced to carry out some investigative
  work which unfortunately involved a bucket of puppies and a belt sander
-- after JoeB, in the Monastery




Re: $host-ip_address

2003-01-30 Thread the hatter
On Thu, 30 Jan 2003, Joel Bernstein wrote:

  No.  Why does a hostname need to have an associated IP address?

 Um, perhaps I'm missing something, but by definition a hostname is a name
 which translates directly (via A,  or A6) records to an IP address, or
 indirectly (via a CNAME to another hostname which then resolves to an
 IP). How could a hostname /not/ have an IP address?

A hostname might just have MX records, be a PTR, or even just have a TXT
record.  No IP address necessary for any of those.


the hatter






Re: YAPC::Europe

2003-01-30 Thread mass
 I won't be doing YAPC::Eu this year, I'm doing YAPC::NA - TPC via the
 Appalachians, DC, NW, Boston, Vermont, Michigan, Chicago, Minneapolis, 
 North Dakota, the Rockies.

Which section of the Apalachans?  Going anywhere near NC?




Re: $host-ip_address

2003-01-30 Thread Dominic Mitchell
Joel Bernstein wrote:

Um, perhaps I'm missing something, but by definition a hostname is a name
which translates directly (via A,  or A6) records to an IP address, or
indirectly (via a CNAME to another hostname which then resolves to an
IP). How could a hostname /not/ have an IP address?


Think of a UUCP only host.  Unlikely these days, but possible.  Unix 
systems don't just use their internal hostname for TCP/IP.  Remember, a 
hostname in the DNS and the kernel maintained hostname are two seperate 
entities (although it is convenient to have them the same).

-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. |



SMP Linux

2003-01-30 Thread Jonathan Peterson
Anyone using Linux on anything with lots of CPU's? Attempt to do 
searches for 'linux smp' on google tends to get me documents last 
updated in 1997.

I used to run it happily on 2 CPU's, but I wondered if anyone was doing 
it seriously on more than 4.

--
Jonathan Peterson
Technical Manager, Unified Ltd, +44 (0)20 7383 6092
[EMAIL PROTECTED]




Re: SMP Linux

2003-01-30 Thread Joel Bernstein
On Thu, Jan 30, 2003 at 01:18:41PM +, Jonathan Peterson wrote:
 Anyone using Linux on anything with lots of CPU's? Attempt to do 
 searches for 'linux smp' on google tends to get me documents last 
 updated in 1997.
 
 I used to run it happily on 2 CPU's, but I wondered if anyone was doing 
 it seriously on more than 4.
 

I did some linux-on-zSeries[0] work on a many-way power machine. And
some 4-way RS/6000 work too. I think Linux on 4-way Xeon is meant to be
pretty good, but I don't know about benchmarks vs eg FreeBSD or
Slowaris.

/joel

[0] - the server formerly known as S/390




raid array

2003-01-30 Thread Simon Wistow
I have a LaCie 6*9Gb SCSI Raid Tower (with drives and dual psus) + PCI
RAID controller. Whilst it's nice and stuff it's also a little large and
heavy.

Would anybody be interested in swapping it for a more conventional HD or
something like a CD-RW/DVD drive?

You'd probably have to come pick it up cos it's well heavy.

Simon


-- 
the test for truth is still quicker than the addition





Re: raid array

2003-01-30 Thread Joel Bernstein
On Thu, Jan 30, 2003 at 01:35:44PM +, Simon Wistow wrote:
 I have a LaCie 6*9Gb SCSI Raid Tower (with drives and dual psus) + PCI
 RAID controller. Whilst it's nice and stuff it's also a little large and
 heavy.
 
 Would anybody be interested in swapping it for a more conventional HD or
 something like a CD-RW/DVD drive?

You'll swap 54GB of external SCSI RAID for a DVD-ROM drive? I'll bite.

/joel




Re: Baby Jesus is crying...

2003-01-30 Thread Andy Wardley
the hatter wrote:
 I beleive the fortran and basic ones both did ok.  Though java ones never
 got anywhere, 

It was when a cow-orker proudly showed me his Java Ring[1] that I finally 
realised that Java was nothing more than a huge April Fool joke that had 
got out of hand.  

Originally perpetrated by Sun's marketing department to quickly fleece a 
gullible public out of dot com dollars, Java was originally supposed to be 
nothing more than a quick hack to cover over a vapourware gap.  

But once the marketing bandwagon started rolling, the mainstream corporate
programming drones were so quick to jump on (early adoption they call
it, ho ho) that a whole new industry emerged overnight, desperate to blow 
cash on Yet Another Chocolate Coffee Port.

So the secret to making money is not to have a great product.  Better to
have a shite product and spend your cash on marketing to make people think
they really want it.

On a related matter, I hear that Kevin Warwick[2] is having a Java Ringpiece
fitted some time soon...  :-)

A

[1] http://java.sun.com/features/1998/03/rings.html
[2] http://www.rdg.ac.uk/KevinWarwick/Info/ICyborg.html




Re: SMP Linux

2003-01-30 Thread Lusercop
On Thu, Jan 30, 2003 at 01:18:41PM +, Jonathan Peterson wrote:
 Anyone using Linux on anything with lots of CPU's? Attempt to do 
 searches for 'linux smp' on google tends to get me documents last 
 updated in 1997.
 I used to run it happily on 2 CPU's, but I wondered if anyone was doing 
 it seriously on more than 4.

I could be wrong on this, and I suspect that doop (Jon Chin) or quidity
(Alex Gough) are better people to ask, but basically over about 4 processors
SMP is a bad idea, and you start to want an architecture that is MPP-based,
where you have effectively independent computers connected by a very fast
network-like bus. I'm not sure what the big machines (E10k/E15k/S390/etc)
use, but I would have thought that it's unlikely to be SMP, just due to
the need to occasionally lock the bus, which scales appallingly badly.

This is of course, the type of machine where Solaris really comes into its
own, however.

-- 
Lusercop.net - LARTing Lusers everywhere since 2002




Mysql on soliaris

2003-01-30 Thread Tony Kennick

I'm getting this (below) from mysql on solaris and something
disturbingly similar from php, which means I have done something stupid
or the time libraries are wrong.
I'm sure we can guess what is more likely, also below is the contents of
the timezone file which look correct.


mysql SELECT UNIX_TIMESTAMP('1970-01-01');
+--+
| UNIX_TIMESTAMP('1970-01-01') |
+--+
|-3600 |
+--+
1 row in set (0.00 sec)


mysql SELECT FROM_UNIXTIME('-3600');
++
| FROM_UNIXTIME('-3600') |
++
| 1970-01-01 00:00:00|
++
1 row in set (0.00 sec)


# @(#)init.dfl 1.2 92/11/26
#
# This file is /etc/default/init.  /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not.  To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, or any of the LC_* environment variables.
#
TZ=GB
LC_COLLATE=en_GB.ISO8859-15
LC_CTYPE=en_GB.ISO8859-15
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-15
LC_NUMERIC=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15




-- 
Tony Kennick
TechnoPhobia Limited.
Phone: +44 (0)114 2212123  Fax: +44 (0)114 2212124
Email: [EMAIL PROTECTED]
WWW: http://www.technophobia.com
Registered in England and Wales Company No. 3063669
VAT registration No. 598 7858 42

The contents of this e-mail are confidential to the addressee and are
intended solely for the recipients use. If you are not the addressee, you
have received this e-mail in error. Any disclosure, copying, distribution or
action taken in reliance on it is prohibited and may be unlawful.

Any opinions expressed in this e-mail are those of the author personally and
not TechnoPhobia Limited who do not accept responsibility for the contents
of the message.

All e-mail communications, in and out of TechnoPhobia, are recorded for
monitoring purposes.





Re: Mysql on soliaris

2003-01-30 Thread Roger Burton West
On Thu, Jan 30, 2003 at 04:25:55PM +, Tony Kennick wrote:

TZ=GB
LC_COLLATE=en_GB.ISO8859-15
LC_CTYPE=en_GB.ISO8859-15
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-15
LC_NUMERIC=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15

Can you make MySQL use GMT/UT rather than British Time?

R




Re: Mysql on soliaris

2003-01-30 Thread Robin Berjon
Tony Kennick wrote:

I'm getting this (below) from mysql on solaris and something

mysql SELECT UNIX_TIMESTAMP('1970-01-01');
+--+
| UNIX_TIMESTAMP('1970-01-01') |
+--+
|-3600 |
+--+
1 row in set (0.00 sec)



TZ=GB


Do you happen to have DST in the UK?

--
Robin Berjon [EMAIL PROTECTED]
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488





Re: Mysql on soliaris

2003-01-30 Thread Shevek
On Thu, 30 Jan 2003, Tony Kennick wrote:

 
 I'm getting this (below) from mysql on solaris and something
 disturbingly similar from php, which means I have done something stupid
 or the time libraries are wrong.
 I'm sure we can guess what is more likely, also below is the contents of
 the timezone file which look correct.

This is a known bug in Solaris. I have had this reported to my by several 
people. It gets the DST wrong for the aeon. It's to do with converstion of 
1970-01-01 into a Unix timestamp in libc.

S.

 
 
 mysql SELECT UNIX_TIMESTAMP('1970-01-01');
 +--+
 | UNIX_TIMESTAMP('1970-01-01') |
 +--+
 |-3600 |
 +--+
 1 row in set (0.00 sec)
 
 
 mysql SELECT FROM_UNIXTIME('-3600');
 ++
 | FROM_UNIXTIME('-3600') |
 ++
 | 1970-01-01 00:00:00|
 ++
 1 row in set (0.00 sec)
 
 
 # @(#)init.dfl 1.2 92/11/26
 #
 # This file is /etc/default/init.  /etc/TIMEZONE is a symlink to this file.
 # This file looks like a shell script, but it is not.  To maintain
 # compatibility with old versions of /etc/TIMEZONE, some shell constructs
 # (i.e., export commands) are allowed in this file, but are ignored.
 #
 # Lines of this file should be of the form VAR=value, where VAR is one of
 # TZ, LANG, or any of the LC_* environment variables.
 #
 TZ=GB
 LC_COLLATE=en_GB.ISO8859-15
 LC_CTYPE=en_GB.ISO8859-15
 LC_MESSAGES=C
 LC_MONETARY=en_GB.ISO8859-15
 LC_NUMERIC=en_GB.ISO8859-15
 LC_TIME=en_GB.ISO8859-15
 
 
 
 
 

-- 
Shevek
I am the Borg.

sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print$x\n;eval
qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;{$x}(\$x);};};}

foreach my $i (3..65535) { {'2'}($i); }





Re: Mysql on soliaris

2003-01-30 Thread Chisel Wright
On Thu, Jan 30, 2003 at 04:25:55PM +, Tony Kennick wrote:
 mysql SELECT UNIX_TIMESTAMP('1970-01-01');
 +--+
 | UNIX_TIMESTAMP('1970-01-01') |
 +--+
 |-3600 |
 +--+
 1 row in set (0.00 sec)

Isn't epoch 1am or something like that?
So you're asking for a timestamp one hour before epoch?

-- 
e:   [EMAIL PROTECTED]   | One word geek test - pronounce the
w:   www.herlpacker.co.uk  | word 'coax'  
gpg: D167E7FE  | 




Re: Mysql on soliaris

2003-01-30 Thread Paul Mison
On 30/01/2003 at 16:25 +, Tony Kennick wrote:

I'm getting this (below) from mysql on solaris and something
disturbingly similar from php, which means I have done something stupid
or the time libraries are wrong.


The time libraries are right, but not what you expect.

In 1970, Britain observed GMT during the entire year, not just end March
- end October. I assume Solaris knows about this historical quirk, even
if Linux doesn't.

http://www.srcf.ucam.org/~jsm28/british-time/

...'the experiment with British Standard Time from 1968 to 1972, by
which the time was advanced by one hour from GMT throughout the year. '

This could probably do with more Googling, to be honest.
--
:: paul
:: we're like crystal




Re: mysql on solaris

2003-01-30 Thread Paul Mison
(Sorry, correcting/elaborating on my earlier post. And I've corrected 
the subject. Sorry if your mail client is crap enough to break the 
thread on that.)

On 30/01/2003 at 17:17 +, Paul Mison wrote:
On 30/01/2003 at 16:25 +, Tony Kennick wrote:

I'm getting this (below) from mysql on solaris and something
disturbingly similar from php, which means I have done something stupid
or the time libraries are wrong.


The time libraries are right, but not what you expect.

In 1970, Britain observed GMT during the entire year, not just end March
- end October. I assume Solaris knows about this historical quirk, even
if Linux doesn't.


Bah, I meant GMT+1. Or maybe BST (see below.) Also, it turns out 
Linux does know about the timezone oddness too.

http://www.srcf.ucam.org/~jsm28/british-time/

...'the experiment with British Standard Time from 1968 to 1972, by
which the time was advanced by one hour from GMT throughout the year. '

This could probably do with more Googling, to be honest.


I did manage to find a bunch more references by Googling for British 
Standard Time which was the name used during the experiment. It 
seems to have been stopped after the Scots complained about the 
darkness in the mornings. Ho hum. (This is probably holy war 
territory for some people.)

Something that came up at work this week was that whilst in the US 
time zones have either S or D in the middle (eg EST and EDT- Eastern 
Standard/Daylight Time), and Europe has CET which is the current 
timezone regardless of DST status (so at the moment it's GMT+1 but in 
May it's GMT+2), Britain has no name for its time zone; we're either 
on GMT or BST (which is GMT+1). Unless someone out there knows of 
one, of course.

--
:: paul
:: we're like crystal



Re: SMP Linux

2003-01-30 Thread Steve Mynott
From: Lusercop `the.lusercop'@lusercop.net

 On Thu, Jan 30, 2003 at 01:18:41PM +, Jonathan Peterson wrote:
  Anyone using Linux on anything with lots of CPU's? Attempt to do
  searches for 'linux smp' on google tends to get me documents last
  updated in 1997.
  I used to run it happily on 2 CPU's, but I wondered if anyone was doing
  it seriously on more than 4.

Most of the stuff on the web suggests that linux doesn't (or didn't) scale
particularly well past 4 processors on Intel and I doubt there are many
people in the world running this since Solaris on UltraSPARC is more common
in this niche.

Although I think a lot of current linux development work is on SMP and multi
processor scalability so if you were brave enough to run a bleeding edge
kernel with dodgy patches you might get better results.

And as ever in the linux world what I saying may be totally out of date as
of last week.

2.6 is likely to have NUMA.

 I could be wrong on this, and I suspect that doop (Jon Chin) or quidity
 (Alex Gough) are better people to ask, but basically over about 4
processors
 SMP is a bad idea, and you start to want an architecture that is
MPP-based,
 where you have effectively independent computers connected by a very fast
 network-like bus. I'm not sure what the big machines (E10k/E15k/S390/etc)
 use, but I would have thought that it's unlikely to be SMP, just due to
 the need to occasionally lock the bus, which scales appallingly badly.

I suspect MPP (message passing) versus SMP (shared memory) is a CS religious
issue and don't claim to understand all the issues but isn't MPP generally
very slow?  I suppose you have to draw tradeoff graphs.

AFAIK the big Suns *do* use SMP and I can't think of any mainstream UNIX
server kernel which uses MPP (maybe Alphas running OSF?).

Although Apple's Darwin is based on Mach (and other things) there seems to
be a bit of doubt about how well supported the Mach stuff is and they seem
to use SMP for their multiprocessor support.

What's better in theory often doesn't happen in practice since if the CS
academics of a decade back had predicted future technology correctly then we
would be all running microkernels on RISC chips today.

And we aren't.

--
1024/D9C69DF9 Steve Mynott [EMAIL PROTECTED]






Re: YAPC::Europe

2003-01-30 Thread Piers Cawley
[EMAIL PROTECTED] writes:

 I won't be doing YAPC::Eu this year, I'm doing YAPC::NA - TPC via the
 Appalachians, DC, NW, Boston, Vermont, Michigan, Chicago, Minneapolis, 
 North Dakota, the Rockies.

 Which section of the Apalachans?  Going anywhere near NC?

Um... most of them. Where's NC?

-- 
Piers




Re: YAPC::Europe

2003-01-30 Thread Joel Bernstein
On Thu, Jan 30, 2003 at 06:01:23PM +, Piers Cawley wrote:
 [EMAIL PROTECTED] writes:
 
  I won't be doing YAPC::Eu this year, I'm doing YAPC::NA - TPC via the
  Appalachians, DC, NW, Boston, Vermont, Michigan, Chicago, Minneapolis, 
  North Dakota, the Rockies.
 
  Which section of the Apalachans?  Going anywhere near NC?
 
 Um... most of them. Where's NC?

North Carolina, isn't it? I think that's where red's gone...

/joel




Re: mysql on solaris

2003-01-30 Thread Dave Hinton at home
On Thursday 30 January 2003 5:44pm, Paul Mison wrote:

 Something that came up at work this week was that whilst in the US
 time zones have either S or D in the middle (eg EST and EDT- Eastern
 Standard/Daylight Time), and Europe has CET which is the current
 timezone regardless of DST status (so at the moment it's GMT+1 but in
 May it's GMT+2), Britain has no name for its time zone; we're either
 on GMT or BST (which is GMT+1). Unless someone out there knows of
 one, of course.

Britain, Ireland and Portugal use WET (Western European Time).  Britain went 
onto it in the 90s; whether WET was created then or had already been followed 
by Ireland and Portugal, I don't know.


-- 
\|/GET| Dave Hinton
-/SOME| Battersea, London, England 
/SLEEP| http://thereaction.co.uk/dah




Re: SMP Linux

2003-01-30 Thread Chris Benson
On Thu, Jan 30, 2003 at 05:53:49PM -, Steve Mynott wrote:

 Although I think a lot of current linux development work is on SMP and multi
 processor scalability so if you were brave enough to run a bleeding edge
 kernel with dodgy patches you might get better results.

The sparc-kernel list has several people running 4 and 8-way boxes  
(someone was talking about a V880 last week).

Don't know how it runs compared to Sol9 tho'
-- 
Chris Benson




Re: YAPC::Europe

2003-01-30 Thread Chris Devers
On Thu, 30 Jan 2003, Piers Cawley wrote:

 [EMAIL PROTECTED] writes:

  I won't be doing YAPC::Eu this year, I'm doing YAPC::NA - TPC via
  the Appalachians, DC, NW, Boston, Vermont, Michigan, Chicago,
  Minneapolis, North Dakota, the Rockies.
 
  Which section of the Apalachans?  Going anywhere near NC?

 Um... most of them. Where's NC?

Southern end of the chain, about halfway down the east coast, between
Georgia, Virginia et al. The NC section of the Appalachains is really
nice (but then, I grew up there, so I would say that :).



-- 
Chris Devers[EMAIL PROTECTED]

integral, adj.
(Of a solution) accurate to the nearest whole number, as: The PENTIUM
has an integral FPU.

-- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995




Re: SMP Linux

2003-01-30 Thread Dirk Koopman
On Thu, 2003-01-30 at 13:18, Jonathan Peterson wrote:
 Anyone using Linux on anything with lots of CPU's? Attempt to do 
 searches for 'linux smp' on google tends to get me documents last 
 updated in 1997.
 
 I used to run it happily on 2 CPU's, but I wondered if anyone was doing 
 it seriously on more than 4.

Have a look at mosix (see: http://www.mosix.org/). Personally, although
SMP is one of the major thrusts of 2.5 (thru finer grained locks, better
cache coherency, better memory management etc), I think MPP is a better
way to go.

Seeing as these mini-itx boards are now so cheap and low powered (as in
VAs, see: http://www.mini-itx.com/), I was toying with the idea of
making myself a small cluster of these and running them off a humungous
(60A) 12V PSU I have lying around not doing (many) Radio Ham duties
these days. The boards seem only to consume about 5W each. 

I can see a nice (cool) server farm being made out of a bunch of these
as well. Who needs 'blade servers' @ $800+ a pop?

Dirk  
-- 
Please Note: Some Quantum Physics Theories Suggest That When the
Consumer Is Not Directly Observing This Product, It May Cease to
Exist or Will Exist Only in a Vague and Undetermined State.






Re: How to split 6 digits into 3 lots of 2

2003-01-30 Thread hh14067
please stop emails


Re: How to split 6 digits into 3 lots of 2

2003-01-30 Thread Earle Martin
On Thu, Jan 30, 2003 at 07:55:14PM -0500, [EMAIL PROTECTED] wrote:
 please stop emails

Sorry, only the Internet Controller can do that, and he's very busy right
now.


-- 
$x='4a75737420616e6f74686572205065726c'#Earle Martin
.'206861636b65720d0a';for(0..26){print #http://downlode.org/
chr(hex(substr($x,$y,2)));$y=$y+2;}#   http://grault.net/grubstreet/




Re: SMP Linux

2003-01-30 Thread Toby|Wintrmute
On Thu, Jan 30, 2003 at 01:18:41PM +, Jonathan Peterson wrote:
 Anyone using Linux on anything with lots of CPU's? Attempt to do 
 searches for 'linux smp' on google tends to get me documents last 
 updated in 1997.
 
 I used to run it happily on 2 CPU's, but I wondered if anyone was doing 
 it seriously on more than 4.

Seen it run fine on 2 and 4 way Intel setups. Long periods of time doing
moderately hard work.
Haven't tried more than that.. Never really had a task that was suited to it,
really. Just started spreading across more servers instead, which gets you
other bonuses too.

For 4 way, Intel architecture probably isn't the way to go.

Moving on to something else -- I remember AMD claiming that the K7 stuff used
EV6 interconnects or something, and so should work a lot better than the
Pentium for SMP. Has anyone actually gone out and compared performance of
2,4,etc way setups?
(Is there even 2-CPU AMD boards out there?)

tjc

-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold;
Mere anarchy is loosed upon the world.




Perversity

2003-01-30 Thread Earle Martin
Someone posted the following regex on another mailing list. Bonus points if
you can work out what it does. (I expect someone will)

[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\
xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xf
f\n\015()]*)*\)[\040\t]*)*(?:(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\x
ff]+(?![^(\040)@,;:.\\\[\]\000-\037\x80-\xff])|[^\\\x80-\xff\n\015
]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015]*)*)[\040\t]*(?:\([^\\\x80-\
xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80
-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*
)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\
\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\
x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x8
0-\xff]+(?![^(\040)@,;:.\\\[\]\000-\037\x80-\xff])|[^\\\x80-\xff\n
\015]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015]*)*)[\040\t]*(?:\([^\\\x
80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^
\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040
\t]*)*)*@[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([
^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\
\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\
x80-\xff]+(?![^(\040)@,;:.\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-
\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()
]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\
x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\04
0\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\
n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\
015()]*)*\)[\040\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\xff]+(?!
[^(\040)@,;:.\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\
]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\
x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\01
5()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*|(?:[^(\040)@,;:.
\\\[\]\000-\037\x80-\xff]+(?![^(\040)@,;:.\\\[\]\000-\037\x80-\xff]
)|[^\\\x80-\xff\n\015]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015]*)*)[^
()@,;:.\\\[\]\x80-\xff\000-\010\012-\037]*(?:(?:\([^\\\x80-\xff\n\0
15()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][
^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)|[^\\\x80-\xff\
n\015]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015]*)*)[^()@,;:.\\\[\]\
x80-\xff\000-\010\012-\037]*)*[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?
:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-
\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:@[\040\t]*
(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015
()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()
]*)*\)[\040\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\xff]+(?![^(\0
40)@,;:.\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\
[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\
xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*
)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80
-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x
80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t
]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\xff]+(?![^(\040)@,;:.\\
\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])
*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x
80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80
-\xff\n\015()]*)*\)[\040\t]*)*)*(?:,[\040\t]*(?:\([^\\\x80-\xff\n\015(
)]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\
\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*@[\040\t
]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\0
15()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015
()]*)*\)[\040\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\xff]+(?![^(
\040)@,;:.\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|
\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80
-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()
]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x
80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^
\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040
\t]*)*(?:[^(\040)@,;:.\\\[\]\000-\037\x80-\xff]+(?![^(\040)@,;:.
\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff
])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\
\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x
80-\xff\n\015()]*)*\)[\040\t]*)*)*)*:[\040\t]*(?:\([^\\\x80-\xff\n\015
()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\
\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)?(?:[^

Re: Perversity

2003-01-30 Thread Dave Cross
On Fri, Jan 31, 2003 at 03:01:18AM +, Earle Martin ([EMAIL PROTECTED]) wrote:
 Someone posted the following regex on another mailing list. Bonus points if
 you can work out what it does. (I expect someone will)

[snip]

It's Jeffery Friedl's regex for checking a valid email address.

Dave...

-- 
  Drugs are just bad m'kay