Re: [OT] ApacheCon BOF

2001-03-21 Thread Owen Boyle

Nick Tonkin wrote:
 Personally I find the very name Apache a little uncomfortable..
 ... but the relevance of an http server to the Apache nation
 escapes me (and the symbolizing of the Apache nation with a feather
 strikes me as stereotypical at best).

Most of you will have seen, at least in photgraphs, the remarkable
sandstone escarpment of Ayer's Rock in Australia. For millenia this was
a sacred place for the aboriginal Australians. When europeans first
started touring the continent, they happily scampered up it since to
them, climbing to the top of things seems to be the obvious thing to do.
After about a century of this, it finally occurred to someone to ask an
aboriginal what he thought about people climbing the rock - did he mind?
The answer was "Yes, actually". 

Nowadays, although Yulura (to give it its original name) is still
climbed (the native austalians choose not to assert their opinions) you
should be aware that you climb it with the disapproval of a people to
whom it is holy. You might as well whack a few pitons into the Wailing
Wall or bungee-jump in St. Peter's Basilica.

The point I am making is that you cannot anticipate how people of a
different culture might think about symbols and names and places. It may
be that people of the Apache Nation are indifferent to the name being
used for a computer program, or they may like the association with a
freedom-loving, open-source, not-for-profit organisation which is
striving against corporate greed to make the world a better place, or
they may find it offensive. I don't know.

Did anybody ask them?

Rgds,

Owen Boyle.



Re: [OT] ApacheCon BOF

2001-03-21 Thread Issac Goldstand

 Randal 42 billion has the right sound to it.  It's "the answer", after
all,
 Randal a billion times over. :)

 I like it! Maybe a big round pearl with a smiley-face
 and a headband with feather sticking up in the back
 with the words "Don't Panic" in large friendly letters
 printed below :)

Take it one step further...  How about a nice camel with a nice feather-ed
headband, a big tatoo of the number 42 (maybe another feather there too?).
Above it written mod_perl, and below in nice friendly letters: Don't Panic.

  Issac




Re: [OT] ApacheCon BOF

2001-03-21 Thread Bakki Kudva

On Tue, 20 Mar 2001 15:11:13 -0500
Geoffrey Young [EMAIL PROTECTED] wrote:

 actually, we may have a winner with the Native American and lamp idea. 
 A
 coworker suggested a peace pipe (picture an indian smoking perl) instead
 of
 a lamp, since you don't see warriors holding lamps often.  maybe some
 smoke
 signals?

I am not trolling here nor am I particularly trying to be 'politically
correct' but after seeing Sherman Alexie's award winning movie "Smoke
Signals" and listening to him (just yesterday on 60 Minutes II) I have a
developed a new understanding and respect for Native American symbologies
and their relegious significance to them.

To quote Alexie:(http://www.fallsapart.com/art-side.html)

"Alexie: It's part of the national consciousness. If people start dealing
with Indian culture and Indian peoples truthfully in this country, we're
going to have to start dealing with the genocide that happened here. In
order to start dealing truthfully with our cultures, they have to start
dealing truthfully with that great sin, the original sin of this country,
and that's not going to happen.

 Just look at the sports teams. You couldn't have a team called the
Washington Kikes or the Washington Micks. But yet you can have the
Washington Redskins and this Indian with a big nose and big lips running
around. How would you feel if it was the Washington Rabbis and you had a
guy with braids running around throwing bagels? Or the Washington Jesuits
with some guy handing out communion wafers. It wouldn't happen. So, it's
an insult. It's proof of the ways in which we get ignored."

So it MIGHT be distasteful to use these Native American metaphors no
matter how innocuous they might seem to us.

My 2cents worth,

bakki
-- 
  .-.| Bakki Kudva__Open Source EDMS__
  oo|| Navaco   ph:  814-833-2592
 /`'\| 420 Pasadena Drive   fax: 603-947-5747
(\_;/)   | Erie, PA 16505   http://www.navaco.com/



Re: dbm locking info in the guide

2001-03-21 Thread Stas Bekman

On Tue, 20 Mar 2001, Perrin Harkins wrote:

 Stas Bekman wrote:
  So basically what you are saying is that sync() is broken and shouldn't be
  used at all. Something fishy is going on. The purpose of sync() is to
  flush the modifications to the disk.

 Saving changes to disk isn't the problem.  The issue is that some of the
 database gets cached in memory when you open the database (even if you
 don't actually read anything from it), so changes made in other
 processes will not be seen.  To get around this, you would have to
 somehow reload the cached data from disk just after getting a write lock
 but before making any changes.

  Unless you are talking about a process that wants to read after some other
  process had changed the database, and there is a hazard that the former
  process has the data cached and will not know that dbm has been modified.

 Exactly.  Keeping the database open is fine as long as you have a
 read-only app.  For read/write, you have to tie/untie every time.  Or
 use BerkeleyDB.

Ok, what about calling sync before accesing the database? (read and write)
Will it force the process to sync its data with the disk, or will it cause
the corruption of the file on the disk, as the process might have a stale
data?

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





Re: [OT] ApacheCon BOF

2001-03-21 Thread Piers Cawley

[EMAIL PROTECTED] (Randal L. Schwartz) writes:

  "Geoffrey" == Geoffrey Young [EMAIL PROTECTED] writes:
 
   still need more suggestions for a theme that aren't
   tongue-in-cheek,
  
  lol! Why, I thought that was the idea!!!
 
 Geoffrey well, of course - but much folly leaves the list
 Geoffrey innundated with (albeit funny) postings but not much for
 Geoffrey me to work with...
 
 Geoffrey (it's all Randall's fault ;)
 
 I actually was seriously suggesting mine. You didn't specify any
 design criterion that would rule mine out. What was wrong with mine?

You mean apart from the trademark infringement? I know, what about
"mod_perl is my bNO CARRIER







Re: [OT] ApacheCon BOF

2001-03-21 Thread Steve Reppucci


Well, I've been resisting any replies here, especially since I've *never*
been accused of being "politically correct", but since we're tossing
in pennies, here are my two:

I agree that the use of *any* symbols of a race or religion to represent a
sports team (or anything else of that ilk) is at least distasteful, and
probably even downright insulting given way those symbols are used in a
typical sports setting -- see the Atlanta Braves and their idiot fans'
"Tomahawk Chop".

However, IMHO, the use of the name "Apache" shouldn't in any way be
interpreted as demeaning here. We're using it for something that we all
hold in the highest respect -- well written, open, highly useable software
that's the most popular in the world for its task. I don't believe I've
ever seen any representation of the Apache logos used in any way that
connoted anything but respect and admiration.

Yes, I'm an *not* of Native American descent (I'd love to hear the
viewpoint of someone who *is*...), so maybe there's something that I
don't understand here.  But I don't think I'd be personally offended if we
were calling this "the Italian server", or "the French-Canadian server",
or "the American server" (which covers my ethnic backgrounds...;^) In
fact, I think I'd feel some pride in having a quality product associated
with what I identify with.

(And in a little tangent to give folks something to flame, I've never
understood why people get so offended about sports teams using "warrior"
in their names. My home town recently changed their team names from "The
Golden Warriors" to "The Golden Eagles", because of a discussion like the
one we're involved in here.  Isn't "warriors" a generic term?  Weren't
there Amazon warriors?  The Vikings? The Romans? etc.?)

Some folks spend way too much time looking for something to be offended
by, again IMHO.

That's my 2 (or 3) cents...
Steve

On Wed, 21 Mar 2001, Bakki Kudva wrote:

 
 I am not trolling here nor am I particularly trying to be 'politically
 correct' but after seeing Sherman Alexie's award winning movie "Smoke
 Signals" and listening to him (just yesterday on 60 Minutes II) I have a
 developed a new understanding and respect for Native American symbologies
 and their relegious significance to them.
 
 To quote Alexie:(http://www.fallsapart.com/art-side.html)
 
 "Alexie: It's part of the national consciousness. If people start dealing
 with Indian culture and Indian peoples truthfully in this country, we're
 going to have to start dealing with the genocide that happened here. In
 order to start dealing truthfully with our cultures, they have to start
 dealing truthfully with that great sin, the original sin of this country,
 and that's not going to happen.
 
  Just look at the sports teams. You couldn't have a team called the
 Washington Kikes or the Washington Micks. But yet you can have the
 Washington Redskins and this Indian with a big nose and big lips running
 around. How would you feel if it was the Washington Rabbis and you had a
 guy with braids running around throwing bagels? Or the Washington Jesuits
 with some guy handing out communion wafers. It wouldn't happen. So, it's
 an insult. It's proof of the ways in which we get ignored."
 
 So it MIGHT be distasteful to use these Native American metaphors no
 matter how innocuous they might seem to us.
 
 My 2cents worth,

-- 
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=
Steve Reppucci   [EMAIL PROTECTED] |
Logical Choice Software  http://logsoft.com/ |




[Take23] New IRC channel

2001-03-21 Thread Matt Sergeant

I've created an IRC channel for Take23 on irc.openprojects.net. Please
feel free to come along and say Hi.

http://take23.org/news/2001/03/21/irc.xml

-- 
Matt/

/||** Founder and CTO  **  **   http://axkit.com/ **
   //||**  AxKit.com Ltd   **  ** XML Application Serving **
  // ||** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
 \\//
 //\\
//  \\




RE: [OT] ApacheCon BOF

2001-03-21 Thread Geoffrey Young

I realize that the subject is OT, but let's not get into a political (or
whatever) debate on the list.

there will be no images of anything picking on any particular demographic
(be it Python or Native Americans) so please take this discussion offline...

I am sorry this turned into something approaching the offensive - I just
wanted to give away some shirts...

--Geoff



RE: [OT] ApacheCon BOF

2001-03-21 Thread Paul


--- Geoffrey Young [EMAIL PROTECTED] wrote:

 actually, we may have a winner with the Native American and lamp
 idea.  A coworker suggested a peace pipe (picture an indian smoking
 perl) instead of a lamp, since you don't see warriors holding lamps
 often.  maybe some smoke signals?

Thought about a peace pipe, but wasn't sure how you could make it clear
that it was a peace pipe without adding feathers, which you already
proscribed.



__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



[Very OT] Politically Correct-ness (was: RE: [OT] ApacheCon BOF)

2001-03-21 Thread Paul


--- Nick Tonkin [EMAIL PROTECTED] wrote:
 On Tue, 20 Mar 2001, Dave Rolsky wrote:
 . . .
  I for one would appreciate a design that doesn't fetishize a
  culture and people that have already had enough abuse at the hands
  of 'American' people.
 
 Hear, hear.
 
 Personally I find the very name Apache a little uncomfortabl. I get
 the joke about it being a patchy server (although now the ratio of
 original NCSA code to `new' code is so miniscule as to invalidate the
 patch theme anyway, imho), but the relevance of an http server to the
 Apache nation escapes me (and the symbolizing of the Apache nation
 with a feather strikes me as stereotypical at best). 

soapbox
   Let's be careful here, people.
   It was a linguistics joke, not an ethnic one.
   No 'relevance' was ever intended.
 
   Feathers *are* stereotypical of Native American culture, and 
   that was the point. No slur, no insult, no belittlement.
   Stereotypes bring certain archtypes to mind. End of point.
   Stereotypes are based on reality, even if only a real
misperception.

   I have Native American heritage myself.
   I am more offended that someone would be offended on my behalf.

   Please, let's not start another "issue" here, like complaining
   about the name of the Atlanta "Braves", or the uproar about
   the Confederate flag flying over state capitals.
/soapbox

Now, just in case anyone wonders, I think this is all rather funny.
I just don't want it to evolve into pointless flamage. If it bothers
anyone, cast you vote and voice against, which is what folks are
doing...but please don't be offended. There's way too much of that
these days. ;o]

  Can we please keep the design more focused on technology and
 geekiness?
 
 I concur wholeheartedly.

To be honest, I do too, to some degree. The initial suggestion of an
indian was a joke, which perhaps I presented poorly. Pleaase accept a
genuine apology if it was out of good taste.  But the use of a geneie
bottle should be just as offensive to those of Arabic descent, which in
my opinion should be not offensive at all.  Lamp and feather are both
archtypical icons.

...

So, these three *'s walk into a bar

Smile, folks. You're on Candid Email. ;o]

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



[ANNOUNCE] Apache::ProxyRewrite 0.14

2001-03-21 Thread Christian Gilmore

The uploaded file

Apache-ProxyRewrite-0.14.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/C/CG/CGILMORE/Apache-ProxyRewrite-0.14.tar.gz
  size: 11720 bytes
   md5: 5d9f08ffb63b78f279bffef5b3afb8dd

No action is required on your part
Request entered by: CGILMORE (Christian Gilmore)
Request entered on: Wed, 21 Mar 2001 16:34:36 GMT
Request completed:  Wed, 21 Mar 2001 16:35:48 GMT

Virtually Yours,
Id: paused,v 1.72 2000/12/26 15:12:53 k Exp k 


Apache::ProxyRewrite acts as a reverse-proxy that will rewrite
URLs embedded in HTML documents per apache configuration
directives.
 
This module was written to allow multiple backend services with
discrete URLs to be presented as one service and to allow the
proxy to do authentication on the client's behalf.

See ProxyRewrite.pm pod for detailed documentation.

$Id: README,v 1.1 2001/01/02 23:10:47 cgilmore Exp $


2001-03-20  Christian Gilmore [EMAIL PROTECTED]
o  Corrected bug preparing redirect responses. Bug reported by
   Vsevolod Ilyushchenko.
o  Parser now handles tags with single quotes. Bug reported by
   Andrew Carlson.
o  Made release 0.14.

2001-03-02  Christian Gilmore [EMAIL PROTECTED]

o  Corrected bug handling tags with whitespace around
   edges of quotes.
o  Made release 0.13.

2001-03-02  Christian Gilmore [EMAIL PROTECTED]

o  Corrected mishandling of URL-shrinking in rewrite_url.
o  Ensured that parsing loop closes in the case of final
   missing end tag.
o  Now unescape headers for proxy request. Bug reported and
   patched by Eric Kolve.
o  Removed use of deprecated header_in and header_out in favor
   of current headers_in and headers_out.
o  Set-Cookie path is now rewritten. Feature requested by Eric
   Kolve.
o  Made release 0.12.

2001-01-14  Christian Gilmore [EMAIL PROTECTED]

o  Added 'base' as an element of the LINK_ELEMENT hash. Bug
   reported by Eric Kolve.
o  Made release 0.11.

2001-01-02  Christian Gilmore [EMAIL PROTECTED]

o  Made first public release 0.10.

$Id: ChangeLog,v 1.6 2001/03/21 16:25:04 cgilmore Exp $


Enjoy,
Christian

-
Christian Gilmore
Infrastructure  Tools Team Lead
Web  Multimedia Development
Tivoli Systems, Inc.





Re: [OT] ApacheCon BOF

2001-03-21 Thread Matthew Byng-Maddick

On 21 Mar 2001, Piers Cawley wrote:
 You mean apart from the trademark infringement? I know, what about
 "mod_perl is my bNO CARRIER

All your base are belong to mod_perl

??

MBM g, d  rlh

-- 
Matthew Byng-Maddick   Home: [EMAIL PROTECTED]  +44 20  8980 5714  (Home)
http://colondot.net/   Work: [EMAIL PROTECTED] +44 7956 613942  (Mobile)
perl -e  'print reverse split//,"\n.rekcah lreP rehtona tsuJ"'
perl -e   '$_="\n.rekcah lreP rehtona tsuJ";m!$!;print$while($`=~m,.$,s)'




Re: dbm locking info in the guide

2001-03-21 Thread Perrin Harkins

 Ok, what about calling sync before accesing the database? (read and write)
 Will it force the process to sync its data with the disk, or will it cause
 the corruption of the file on the disk, as the process might have a stale
 data?

Well, that's what we don't know.  As David Harris pointed out, if it does do
the right thing and re-read from disk, it's probably not much better than
re-opening the database.  I suppose it would avoid some Perl object creation
though, so it would be at least a little faster.

- Perrin




RE: [OT] ApacheCon BOF

2001-03-21 Thread Dave Baker


[extensive snippage]

How about a bunch of white shirts?  One magic marker per shirt and
everyone can draw their own picture of a computer.

alternatively,
  "No-one could decide on an image so 
   all we got was this lousy sentence."



Dave




Re: [Very OT] Politically Correct-ness (was: RE: [OT] ApacheCon BOF)

2001-03-21 Thread Jim Winstead

On Wed, Mar 21, 2001 at 08:14:53AM -0800, Paul wrote:
 --- Nick Tonkin [EMAIL PROTECTED] wrote:
  Personally I find the very name Apache a little uncomfortabl. I get
  the joke about it being a patchy server (although now the ratio of
  original NCSA code to `new' code is so miniscule as to invalidate the
  patch theme anyway, imho), but the relevance of an http server to the
  Apache nation escapes me (and the symbolizing of the Apache nation
  with a feather strikes me as stereotypical at best). 
 
Let's be careful here, people.
It was a linguistics joke, not an ethnic one.
No 'relevance' was ever intended.

i want this thread to die as much as everyone else, but i feel
compelled to correct history a bit -- the "a patchy server" story
is apocryphal. the name came before the pun.

http://www.linux-mag.com/2000-04/behlendorf_02.html

(but, really, let this part of the thread die, please.)

another note to throw out there -- o'reilly claims trademarks on
the camel/perl association and the mod_perl/eagle association,
so someone will either need to get permission from them to print a
shirt perpetuating those associations, or come up with a different
idea. search the list archives for this same discussion from last
year.

jim



%ENV via PerlTransHandler

2001-03-21 Thread Paul Evad

question: how does one access the environment variables when using 
mod_perl as a transhandler?

I notice that

$r-subprocess_env-do(sub {
  my($key, $value) = @_;
  $r-warn("$key = $value\n");
  1;
   });

gives two different sets of results when used via a transhandler or via

PerlTransHandler Apache::Kudos::Test # yields near to nothing in subprocess_env


Location /mod_perl_tutorial
   SetHandler perl-script
   PerlHandler Apache::Tutorial::First
/Location

The above does give the full ENV variables I would have expected.

Is there a better way to get at ENV stuff than subprocess_env?

- paul
-- 

- Kudosnet Technologies Inc. -
Support: [EMAIL PROTECTED]
Accounts: [EMAIL PROTECTED]
Sales: [EMAIL PROTECTED]
 1-877-885-8367 --



Re: [OT] ApacheCon BOF

2001-03-21 Thread Pierre Phaneuf

Steve Reppucci wrote:

 Some folks spend way too much time looking for something to be offended
 by, again IMHO.

I'm pretty sure that for any thing you might find, I would be able to
find someone offended by it.

Let's no do anything too obvious (a camel ramming up stuff up Bill Gates
ass would probably be a bad choice :-) ) and we'll do fine.

-- 
"Perl appeals to the other side of your brain, whether that's
associate, artistic, passionate, or merely spongy." -- Larry Wall



Re: [OT] ApacheCon BOF

2001-03-21 Thread Alexander Farber (EED)

Bakki Kudva wrote:
 Just look at the sports teams. You couldn't have a team called the
 Washington Kikes or the Washington Micks. But yet you can have the
 Washington Redskins and this Indian with a big nose and big lips running
 around. How would you feel if it was the Washington Rabbis and you had a
 guy with braids running around throwing bagels?

Hey, that would be very funny! And I'm jewish.

Guys, relax - I don't believe, that using feathers and/or Apache 
is offending anyone, esp. because it's a nice piece of software.



Renegotiate Language

2001-03-21 Thread Joachim Zobel


Hi.

I want to use content negotiation to choose a starting language and return 
appropriate content. I know how to do that with mod_negotiate. What I would 
like to add is the possibility for the user to add a language. Therefore I 
want the server to renegotiate the language with different preferences. How 
can I do this.

Thanx,
Joachim
--
"... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden
koennen."- Bertolt Brecht - Leben des Galilei




Re: [Very OT] Politically Correct-ness (was: RE: [OT] ApacheCon BOF)

2001-03-21 Thread Matt Sergeant

On Wed, 21 Mar 2001, Jim Winstead wrote:

 another note to throw out there -- o'reilly claims trademarks on
 the camel/perl association and the mod_perl/eagle association,
 so someone will either need to get permission from them to print a
 shirt perpetuating those associations, or come up with a different
 idea. search the list archives for this same discussion from last
 year.

O'Reilly were happy for me to use the logo provided I proclaimed their
copyright on all pages that used it, and provided a link back to them. I
don't know how they'd feel about putting it on a T-shirt though, since you
can't exactly spatter the t-shirt with trademark declarations (or hrefs!).

-- 
Matt/

/||** Founder and CTO  **  **   http://axkit.com/ **
   //||**  AxKit.com Ltd   **  ** XML Application Serving **
  // ||** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
 \\//
 //\\
//  \\




RE: [OT] ApacheCon BOF

2001-03-21 Thread julie wang

Hey!  I really like the "camel ramming up stuff up Bill Gates ass" one!  Can
we go with that?  No?  Crap!

-Original Message-
From: pp [mailto:pp]On Behalf Of Pierre Phaneuf
Sent: Wednesday, March 21, 2001 10:52 AM
To: mod_perl list
Subject: Re: [OT] ApacheCon BOF


Steve Reppucci wrote:

 Some folks spend way too much time looking for something to be offended
 by, again IMHO.

I'm pretty sure that for any thing you might find, I would be able to
find someone offended by it.

Let's no do anything too obvious (a camel ramming up stuff up Bill Gates
ass would probably be a bad choice :-) ) and we'll do fine.

--
"Perl appeals to the other side of your brain, whether that's
associate, artistic, passionate, or merely spongy." -- Larry Wall




Re: Renegotiate Language

2001-03-21 Thread Dave Hodgkinson

Joachim Zobel [EMAIL PROTECTED] writes:

 Hi.
 
 I want to use content negotiation to choose a starting language and return 
 appropriate content. I know how to do that with mod_negotiate. What I would 
 like to add is the possibility for the user to add a language. Therefore I 
 want the server to renegotiate the language with different preferences. How 
 can I do this.

Look at the HTTP_ACCEPT_LANGUAGE environment variable?

I've done this and actually got resistance from Brazilians who
preferred the Engligh content. You might be better off with a user
preference.


-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Interim CTO, web server farms, technical strategy
   



RE: %ENV via PerlTransHandler

2001-03-21 Thread Geoffrey Young



-Original Message-
From: Paul Evad
To: [EMAIL PROTECTED]
Sent: 3/21/01 1:36 PM
Subject: %ENV via PerlTransHandler

question: how does one access the environment variables when using 
mod_perl as a transhandler?


what kind of stuff are you expecting HTTP_REFERER and company via
PerlSetupEnv On?  I'm not sure, but maybe this gets populated after
translation (which might make sense since it is unknown that the file is a
cgi script until after translation).  haven't checked it, though, and I
stopped relying on those long ago...

--Geoff



Getting MAC address

2001-03-21 Thread John Whitnack

Is there a way to get a person MAC address using apache, mod_perl or
javascript. I have yet to find a way to do this? I need a way to
uniquely identify the computer a person is using (i.e. not ip address).

John Whitnack




Re[2]: understanding memory via ps -ely | grep http

2001-03-21 Thread z88-list-26

What's about FreeBSD?
If shared memory is not compiled in kernel of FreeBSD I cant use GTop
module because of absant of shared memory.
So I dont know is there performance affect or not.

In case apache is compiled as DSO and mod_perl is a loadable module,
how mod_perl will use shared memory(i.e. absant of shared memory) in this case?

Or I must compile FreeBSD with shared memory support for using this
performance technique?

Thx.
Ruslan.

Skipped
 I understand that the RSS is the resident size in KB and the SZ
 column is the size of the process, but what should I be seeing in the
 way of reduced memory?  The 13MB/18MB is not much different from when
 I don't preload anything.  Should I be seeing something else?  I
 probably am not understanding what to look for.  Any suggestions or
 observations would be appreciated.

SB You want to read the first sections of:
SB http://perl.apache.org/guide/performance.html
SB particularly:
SB http://perl.apache.org/guide/performance.html#Know_Your_Operating_System





Re: Getting MAC address

2001-03-21 Thread Matthew Byng-Maddick

On Wed, 21 Mar 2001, John Whitnack wrote:
 Is there a way to get a person MAC address using apache, mod_perl or
 javascript. I have yet to find a way to do this? I need a way to
 uniquely identify the computer a person is using (i.e. not ip address).

Bear in mind that a MAC address is something specific to an *Ethernet*
network. ATM networks have their own addressing scheme and other networks
will have theirs.

This would only work if the person is on the same *link layer network* as
you, ie, non-routed (because then you'll just get the mac of the router).

The answer is to parse the output of arp -a, or equivalent...

MBM

-- 
Matthew Byng-Maddick   Home: [EMAIL PROTECTED]  +44 20  8980 5714  (Home)
http://colondot.net/   Work: [EMAIL PROTECTED] +44 7956 613942  (Mobile)
Genius may have  its limitations,  but stupidity  is not thus handicapped.
 -- Elbert Hubbard




Re: Getting MAC address

2001-03-21 Thread Emad Fanous

John Whitnack wrote:
 
 Is there a way to get a person MAC address using apache, mod_perl or
 javascript. I have yet to find a way to do this? I need a way to
 uniquely identify the computer a person is using (i.e. not ip address).
 
 John Whitnack
No.  This information should not be available utilizing any
of these methods...and if it was, I'm sure the privacy
advocates would fight as hard against utilizing MAC
addresses as they did the Intel processor unique
identifiers.  I assume you probably want to do this to
prevent spoofing of ip/server names???

Emad



Re: Getting MAC address

2001-03-21 Thread ___cliff rayman___

you can only get a MAC address for those machines which
are on your same subnet.  if you are using linux/unix try:
arp

sorry - but there is no reliable way to identify machines across
the internet.  that is why there are 'cookies'.  intel tried to make
this possible by embedding a number into their chips, but us privacy
freaks had their heads.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/

John Whitnack wrote:

 Is there a way to get a person MAC address using apache, mod_perl or
 javascript. I have yet to find a way to do this? I need a way to
 uniquely identify the computer a person is using (i.e. not ip address).

 John Whitnack






Re: Getting MAC address

2001-03-21 Thread Andrew Ho

Hello,

JWIs there a way to get a person MAC address using apache, mod_perl or
JWjavascript. I have yet to find a way to do this? I need a way to
JWuniquely identify the computer a person is using (i.e. not ip address).

If you mean the MAC address of the remote client who is connecting to your
server, no. This information isn't included in the request sent to you.
Using cookies as identification mechanisms is probably the way to go.

Humbly,

Andrew

--
Andrew Ho   http://www.tellme.com/   [EMAIL PROTECTED]
Engineer   [EMAIL PROTECTED]  Voice 650-930-9062
Tellme Networks, Inc.   1-800-555-TELLFax 650-930-9101
--




Reading Apache config info from mod_perl

2001-03-21 Thread starfire

How can I get at the value of Apache config directive like AuthUserFile
or Port from within my mod_perl code?  I don't want to pass the
values using PerlSetVar because that would require the sysadmin to edit
both the Apache config directive and my PerlSetVar if he makes a change -
too error prone.

-- 
Richard Anderson, Ph.D.
Raycosoft, LLC




Re: understanding memory via ps -ely | grep http

2001-03-21 Thread Pierre Phaneuf

[EMAIL PROTECTED] wrote:

 What's about FreeBSD?
 If shared memory is not compiled in kernel of FreeBSD I cant use GTop
 module because of absant of shared memory.
 So I dont know is there performance affect or not.

You do not have shared memory enabled in your kernel? Any reason? I'd
say that most Unix machines in the world have use for shared memory at
some point in time, it's a pretty safe thing to enable.

Anyway, the "share" thing in GTop is not about "SysV shared memory IPC",
but rather about memory shared between related processes (if they load
the same libraries for example, the kernel could share the read-only
parts of the library between the two processes instead of loading two
copies, thus saving memory).

-- 
"There are two major products that come out of Berkeley: LSD and Unix.
We don't believe this to be a coincidence."  -- Jeremy S. Anderson



Re: [OT] ApacheCon BOF

2001-03-21 Thread Ken Williams

[EMAIL PROTECTED] (Alexander Farber (EED)) wrote:
Bakki Kudva wrote:
 Just look at the sports teams. You couldn't have a team called the
 Washington Kikes or the Washington Micks. But yet you can have the
 Washington Redskins and this Indian with a big nose and big lips running
 around. How would you feel if it was the Washington Rabbis and you had a
 guy with braids running around throwing bagels?

Hey, that would be very funny! And I'm jewish.

It sounds like kind of a funny idea in theory, perhaps for a Saturday
Night Live skit, but how horrible it would be if this were actually
carried out with a real team and a real city.


Guys, relax - I don't believe, that using feathers and/or Apache 
is offending anyone, esp. because it's a nice piece of software.

That may be right, but I live in a community with a lot of Native
Americans, I have a (pretty small) bit of Cherokee heritage myself, and
there's no way in hell I'm going to wear, in public, a shirt that uses
stereotypical Indian symbols to promote something as far removed as web
server software.  It would feel like an affront on my chest.

Anyway, it seems the shirt isn't going toward this idea, so in that
sense the point is moot, but some of the discussion has really been
rubbing me the wrong way.  I don't think it's proper for one person to
dictate the situations in which another person is supposed to take
offense, and the situations in which he/she shouldn't.  That's not how
emotions work.


  ------
  Ken Williams Last Bastion of Euclidity
  [EMAIL PROTECTED]The Math Forum



[ANNOUNCE] Tie::Cache v.15

2001-03-21 Thread Joshua Chamas

Hey,

The latest Tie::Cache is in CPAN, mostly a bugfix release
for the MaxCount config which I broke in .11, changes below.
Also, some benchmark numbers are below from the test.pl script 
run on my Linux PIII 450.

--Josh

NAME
  Tie::Cache - LRU Cache in Memory

SYNOPSIS
 use Tie::Cache;
 tie %cache, 'Tie::Cache', 100, { Debug = 1 };
 tie %cache2, 'Tie::Cache', { MaxCount = 100, MaxBytes = 5 };
 tie %cache3, 'Tie::Cache', 100, { Debug = 1 , WriteSync = 0};

DESCRIPTION
This module implements a least recently used (LRU) cache in memory
through a tie interface. Any time data is stored in the tied hash, that
key/value pair has an entry time associated with it, and as the cache
fills up, those members of the cache that are the oldest are removed to
make room for new entries.

So, the cache only "remembers" the last written entries, up to the size
of the cache. This can be especially useful if you access great amounts
of data, but only access a minority of the data a majority of the time.

 Benchmarking operations on Tie::Cache of size 5000

[ timing ] insert of 5000 elements into normal %hash  0.04 CPU
[ timing ] insert of 5000 elements into MaxCount Tie::Cache   0.63 CPU
[ timing ] insert of 5000 elements into MaxBytes Tie::Cache   0.93 CPU
[ timing ] reading 5000 elements from normal %hash0.01 CPU
[ timing ] reading 5000 elements from MaxCount Tie::Cache 0.34 CPU
[ timing ] reading 5000 elements from MaxBytes Tie::Cache 0.33 CPU
[ timing ] deleting 5000 elements from normal %hash   0.06 CPU
[ timing ] deleting 5000 elements from MaxCount Tie::Cache0.42 CPU
[ timing ] deleting 5000 elements from MaxBytes Tie::Cache0.25 CPU

 CHANGES

$MODULE = "Tie::Cache"; $VERSION = .15; $DATE = 'TBA';

+ Better test.pl timing output, also differentiate between
  cache with MaxBytes setting and one with just MaxCount,
  as MaxBytes is a bit slower for data size calculations.

+ Better Tie::Cache options / object config error checking,
  die() on obvious misconfigurations that will get developers
  in trouble.

- MaxSize only set if MaxSize or MaxBytes are defined,
  was defaulting to 1 otherwise, killing basic MaxCount config.

+ Optimizations for common use where Tie::Cache is not
  subclassed for write()/read() API