Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

perl-beginner · Perl Beginners Mailing List

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3761
  • Category: Perl
  • Founded: Aug 2, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 17620 - 17649 of 27470   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#17620 From: "Vivien Mott" <vivienmott@...>
Date: Tue Jan 6, 2004 12:59 pm
Subject: Re: [PBML] HTML Feedback Form
vivienannmott
Send Email Send Email
 
There is also another good place for CGI free forms and they are written
very well:

http://tesol.net/scripts/CGI-Subscribe/

Vivien
On 06/01/2004 12:08:32 PM, perl-beginner@yahoogroups.com wrote:
> http://www.jmarshall.com/easy/cgi/
> http://stein.cshl.org/WWW/software/CGI/cgi_docs.html
>
>

#17621 From: "gordonisnz" <gordonstewart5@...>
Date: Tue Jan 6, 2004 1:05 pm
Subject: To glob or not to Glob : Economics of Search
gordonisnz
Send Email Send Email
 
Hi there

Im developing a 'groups' website - similar to Yahoogroups.

anyway... - One of the items im going to develop / enhance is a word-
search on messages...

Initially, message archives may have 2-5 messages - slowly growing up
to thousands of messages (each message stored in a txt file in a
particular directory..)

Question :-

Is it 'economical' - as in speed/time - server usage etc.. to

:- do a glob on a directory & open/search every file one after another

:- To periodically Create a word-database of all the messages & the
message number it pertains to..

:- is there another single-command, that I can use - to word-search
all the files in one go ?

:- anything i've not thought of yet...

Thanks..

G

#17622 From: Deniz Hepşen \(BS SNYB\) <deniz.hepsen@...>
Date: Tue Jan 6, 2004 2:22 pm
Subject: Running a process as a thread inside from perl
denizhepsen
Send Email Send Email
 
How can i do that in Windows ? I don't want to wait the process terminate, to
continue interpreting the script.


Bu e-posta,isim,faks ve telefon numarasi yukarida belirtilmiş olan muhataba ait 
ÖZEL ve GIZLI HATTA YASAK BILGILERI ihtiva edebilir. Eger muhatab ve/veya
muhatabin dagitimla görevlendirdigi kişi degil iseniz, lütfen bu bilgileri
kullanmayiniz ve hiç bir surette, hiç bir kimseye açiklamayiniz ve
bilgisayarinizdan siliniz. Bu e-posta hataen elinize geçmiş olursa bizi lütfen
derhal arayiniz. Elektronik mesajlar bozulmaya, ele geçirilmeye veya izinsiz
olarak degiştirilmeye açik ortamlar olduklari için mesaj üzerinde yapilmiş
herhangi bir degişiklik veya sonuçlari üzerinde sorumluluk kabul etmeyecegimizi
bildiririz. Bu konu ile ilgili yaptiginiz  masraflar size ödenecektir. Uyumlu
davranişiniza teşekkür ederiz.

This email message may contain CONFIDENTIAL PRIVATE EVEN PROHIBITED information
intended exclusively for the addressee. If you are not the addressee or a person
responsible for delivering the message to the addressee, please do not make any
use of it nor disclose any of its contents to anyone. Should have received this
facsimile message by  mistake please notify us immediately by telephone and
delete it from your computer. Emails being susceptible to corruption,
interception and unauthorised amendment, we do not accept liability for any such
changes, or for their consequences and we maintain the right to take legal
action where necessary. All your related expenses will be reimbursed. Thank you
very much for your compliance in this matter.




[Non-text portions of this message have been removed]

#17623 From: merlyn@...
Date: Tue Jan 6, 2004 4:57 pm
Subject: Re: [PBML] HTML Feedback Form
merlynstoneh...
Send Email Send Email
 
>>>>> "Vivien" == Vivien Mott <vivienmott@...> writes:

Vivien> There is also another good place for CGI free forms and they are written
Vivien> very well:

Vivien> http://tesol.net/scripts/CGI-Subscribe/

I'll challenge the "written very well" from a technical standpoint.
In a few minutes of scanning, I see they are using hand-rolled
CGI parsing routines instead of CGI.pm.  That was fine in 1995,
but completely unacceptable in 2003.  Denial of service attacks and
security holes result from such code.

Just based on that, I'm scared to put those anywhere near any server
that *I* have an influence on.  You should do the same.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17624 From: "Fortuno, Adam" <fortunoa@...>
Date: Tue Jan 6, 2004 5:07 pm
Subject: Help creating correct regular expression
fortunoa@...
Send Email Send Email
 
All,

I'm writing a script to parse out values from a string. The string
represents a range of document numbers. For example, PERL001 PERL005
represents the documents:

PERL001
PERL002
PERL003
PERL004
PERL005

Where each item in the list identifies a single document.

For each range, I need to parse the number at the end of the document ID.
Meaning for PERL020103 PERL020554 I want to get back 20103 and 20554. The
range's limits can be delimited by pipe, space, tab, comma, or dash. The
delimiter itself could have one or more spaces between itself and its
surrounding text. The text prefix could also be left off completely. This
means the following are valid:

PERL020103 PERL020554
PERL020554 |PERL020554
PERL020554 | PERL020554
PERL020554 - PERL020554
PERL020554,PERL020554
020554 020554

My brain is fried. Here is what I've tried. I welcome any suggestions.

#! /usr/bin/perl

use strict;

while(<>) {
	 print("Match: $`[$&]$' ($1 $2)\n")
if(/\w*(\d+)\s*[,-\|]*\s*\w*(\d)/);

}




[Non-text portions of this message have been removed]

#17625 From: merlyn@...
Date: Tue Jan 6, 2004 5:13 pm
Subject: Re: [PBML] Help creating correct regular expression
merlynstoneh...
Send Email Send Email
 
>>>>> "Adam" == Fortuno, Adam <fortunoa@...> writes:

Adam> For each range, I need to parse the number at the end of the document ID.
Adam> Meaning for PERL020103 PERL020554 I want to get back 20103 and 20554. The
Adam> range's limits can be delimited by pipe, space, tab, comma, or dash. The
Adam> delimiter itself could have one or more spaces between itself and its
Adam> surrounding text. The text prefix could also be left off completely. This
Adam> means the following are valid:

Adam> PERL020103 PERL020554
Adam> PERL020554 |PERL020554
Adam> PERL020554 | PERL020554
Adam> PERL020554 - PERL020554
Adam> PERL020554,PERL020554
Adam> 020554 020554

If you just want the digit parts:

         $_ = "PERL020103 PERL020554\n"; # for example
         my ($low, $high) = /(\d+)\D*(\d+)/ or die;

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17626 From: "Vivien Mott" <vivienmott@...>
Date: Tue Jan 6, 2004 5:25 pm
Subject: RE: [PBML] HTML Feedback Form
vivienannmott
Send Email Send Email
 
Hi Randal:

Yes, you have the right to say how you feel, but I have used them on ALL my
customers web sites for the many years. Perl was supposed to be lots of ways
to do things, do it your way ... but it's authoritarian and hectoring behind
the smiles. No doubt like its founder. Executable line noise.


>
>
> Vivien> http://tesol.net/scripts/CGI-Subscribe/
>
> I'll challenge the "written very well" from a technical standpoint.
> In a few minutes of scanning, I see they are using hand-rolled
> CGI parsing routines instead of CGI.pm.  That was fine in 1995,
> but completely unacceptable in 2003.  Denial of service attacks and
> security holes result from such code.
>
> Just based on that, I'm scared to put those anywhere near any server
> that *I* have an influence on.  You should do the same.
>
> --
> Randal L. Schwartz -

#17627 From: gordon stewart <gordonisnz@...>
Date: Tue Jan 6, 2004 5:26 pm
Subject: Re: [PBML] Help creating correct regular expression
gordonisnz@...
Send Email Send Email
 
--- "Fortuno, Adam" <fortunoa@...> wrote:

---------------------------------
means the following are valid:

PERL020103 PERL020554
PERL020554 |PERL020554
PERL020554 | PERL020554
PERL020554 - PERL020554
PERL020554,PERL020554
020554 020554

My brain is fried. Here is what I've tried. I welcome
any suggestions.

<

Try putting it in an array...

foreach $line (@aray){
  $line =~ m/(\d+) .*(\d+)/);
print "$1 $2";
}

You can then store the numbers anyway you want - into
other variables

G
(untested - but should work)


=====
G-Man
One OS to fool them all, One browser to find them.
One email client to gather them in, and through the security holes, worm them.
gordonstewart5@... for personal replies please.

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

#17628 From: merlyn@...
Date: Tue Jan 6, 2004 5:32 pm
Subject: Re: [PBML] HTML Feedback Form
merlynstoneh...
Send Email Send Email
 
>>>>> "Vivien" == Vivien Mott <vivienmott@...> writes:

Vivien> Yes, you have the right to say how you feel, but I have used
Vivien> them on ALL my customers web sites for the many years.

And now if any of them get broken in, you can no longer claim that
you've never been told that these programs have known substandard coding
styles.  In court, you would lose, and become a liable party and have
to pay damages.

It's not wise to ignore experts.

That's the reason I bring this up here.  If code is substandard, and
you choose it anyway, you run increased risk of financial and
reputation loss.  For that reason, I would condemn the programs from
that site... they're universally substandard, and so you use them at
your own risk.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17629 From: franki <franki@...>
Date: Tue Jan 6, 2004 5:37 pm
Subject: Re: [PBML] HTML Feedback Form
frankhauptle
Send Email Send Email
 
Thats why I suggested the nms scripts...

The least likely of the free ones to turn your server into a spam gateway...
(written by the London Perlmonks of memory serves.)

rgds

Franki


merlyn@... wrote:

>>>>>>"Vivien" == Vivien Mott <vivienmott@...> writes:
>
>
> Vivien> Yes, you have the right to say how you feel, but I have used
> Vivien> them on ALL my customers web sites for the many years.
>
> And now if any of them get broken in, you can no longer claim that
> you've never been told that these programs have known substandard coding
> styles.  In court, you would lose, and become a liable party and have
> to pay damages.
>
> It's not wise to ignore experts.
>
> That's the reason I bring this up here.  If code is substandard, and
> you choose it anyway, you run increased risk of financial and
> reputation loss.  For that reason, I would condemn the programs from
> that site... they're universally substandard, and so you use them at
> your own risk.
>

#17630 From: Ben Maynard <liliafan@...>
Date: Tue Jan 6, 2004 5:45 pm
Subject: Re: [PBML] HTML Feedback Form
liliafan
Send Email Send Email
 
Vivien

It is always wise to pay attention to someone who has
their own geekcode entry :op

For future reference a good source of free cgi scripts
is:

http://nms-cgi.sourceforge.net/scripts.shtml

Put together by members of the London.pm

Ben

  --- merlyn@... wrote: > >>>>> "Vivien" ==
Vivien Mott
> <vivienmott@...> writes:
>
> Vivien> Yes, you have the right to say how you feel,
> but I have used
> Vivien> them on ALL my customers web sites for the
> many years.
>
> And now if any of them get broken in, you can no
> longer claim that
> you've never been told that these programs have
> known substandard coding
> styles.  In court, you would lose, and become a
> liable party and have
> to pay damages.
>
> It's not wise to ignore experts.
>
> That's the reason I bring this up here.  If code is
> substandard, and
> you choose it anyway, you run increased risk of
> financial and
> reputation loss.  For that reason, I would condemn
> the programs from
> that site... they're universally substandard, and so
> you use them at
> your own risk.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services,
> Inc. - +1 503 777 0095
> <merlyn@...>
> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing,
> Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and
> open-enrollment Perl training!
>
> Unsubscribing info is here:
> http://help.yahoo.com/help/us/groups/groups-32.html
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/perl-beginner/
>
> To unsubscribe from this group, send an email to:
>  perl-beginner-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

#17631 From: "Vivien Mott" <vivienmott@...>
Date: Tue Jan 6, 2004 5:55 pm
Subject: RE: [PBML] HTML Feedback Form
vivienannmott
Send Email Send Email
 
Hi Randal:

>
>
> And now if any of them get broken in, you can no longer claim that
> you've never been told that these programs have known substandard coding
> styles.  In court, you would lose, and become a liable party and have
> to pay damages.

Being a lawyer the above statement I think is C **p
>
> It's not wise to ignore experts.

No I do listen to experts, but so many people say they are experts and they
all have different ideas .. if you are the expert (and I have read your
book) why don't you make it easy for all of us here and just say which
scripts are the best and which ones to use, then we would all know what the
experts know.

> That's the reason I bring this up here.  If code is substandard, and
> you choose it anyway, you run increased risk of financial and
> reputation loss.  For that reason, I would condemn the programs from
> that site... they're universally substandard, and so you use them at
> your own risk.

Show me something different, one you would use and then if I am taken to
court I can quote "an expert advised me on what script to use for a Form
Feedback".

Vivien

#17632 From: "Vivien Mott" <vivienmott@...>
Date: Tue Jan 6, 2004 6:06 pm
Subject: RE: [PBML] HTML Feedback Form
vivienannmott
Send Email Send Email
 
Hi Ben:
>
> Vivien
>
> It is always wise to pay attention to someone who has
> their own geekcode entry :op

He was not helpful - he didn't tell me how these denial of services would
occur, he didn't say anything about cgi.pm. He did not help. Just strutted
his stuff. Very macho. That is why so few females go into computing.
Basically I just felt like a flame!  attack, I think that would have helped
much more.


> For future reference a good source of free cgi scripts
> is:
>
> http://nms-cgi.sourceforge.net/scripts.shtml
>
> Put together by members of the London.pm
>

I would never use the above scripts as they also have problems.


Vivien

#17633 From: merlyn@...
Date: Tue Jan 6, 2004 6:07 pm
Subject: Re: [PBML] HTML Feedback Form
merlynstoneh...
Send Email Send Email
 
>>>>> "Vivien" == Vivien Mott <vivienmott@...> writes:

Vivien> Show me something different, one you would use and then if I
Vivien> am taken to court I can quote "an expert advised me on what
Vivien> script to use for a Form Feedback".

The NMS scripts are written by people I trust.  And since those
were already brought up here, I didn't want to repeat the information.

But being a lawyer, you apparently need the same thing read to you three
times.  There you go. :)

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17634 From: Ben Maynard <liliafan@...>
Date: Tue Jan 6, 2004 6:21 pm
Subject: RE: [PBML] HTML Feedback Form
liliafan
Send Email Send Email
 
NMS has problems that is news to me perhaps you would
enlighten me on the problems with NMS scripts.

In regards to Randalls comments I think he was very
helpful, he didn't mention any particular problem with
the scripts, he just said that because they weren't
using cgi.pm there could be a problem, I am sure if
you hire his services he will do an analysis of the
scripts and itemise all the possible problems that
could occur.

For more information on cgi.pm

http://search.cpan.org/~lds/CGI.pm-3.01/CGI.pm

It is most likely the most well know perl module in
existence.

Ben

  --- Vivien Mott <vivienmott@...> wrote: >
Hi Ben:
> >
> > Vivien
> >
> > It is always wise to pay attention to someone who
> has
> > their own geekcode entry :op
>
> He was not helpful - he didn't tell me how these
> denial of services would
> occur, he didn't say anything about cgi.pm. He did
> not help. Just strutted
> his stuff. Very macho. That is why so few females go
> into computing.
> Basically I just felt like a flame!  attack, I think
> that would have helped
> much more.
>
>
> > For future reference a good source of free cgi
> scripts
> > is:
> >
> > http://nms-cgi.sourceforge.net/scripts.shtml
> >
> > Put together by members of the London.pm
> >
>
> I would never use the above scripts as they also
> have problems.
>
>
> Vivien
>
>
>
> Unsubscribing info is here:
> http://help.yahoo.com/help/us/groups/groups-32.html
>
> ------------------------ Yahoo! Groups Sponsor
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/perl-beginner/
>
> To unsubscribe from this group, send an email to:
>  perl-beginner-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

#17635 From: "Charles K. Clarkson" <cclarkson@...>
Date: Tue Jan 6, 2004 6:29 pm
Subject: RE: [PBML] HTML Feedback Form
charlesclarkson
Send Email Send Email
 
Vivien Mott <vivienmott@...> wrote:

: Ben Maynard <liliafan@...> wrote:
: >

: He was not helpful - he didn't tell me how these
: denial of services would occur, he didn't say
: anything about cgi.pm. He did not help.
:
: Just strutted his stuff. Very macho. That is why so
: few females go into computing. Basically I just felt
: like a flame!  attack, I think that would have
: helped much more.

     Those of us who are used to Randal realize he is
socially challenged. When you see his signature on an
email, you need to read what he says and try to ignore
how he says it. Think of him as a drill sargent. A
genius at programming with deficient communication
skills. The stereotypical nerd. Have a little pity.
:)


: > http://nms-cgi.sourceforge.net/scripts.shtml
: >
: > Put together by members of the London.pm
: >
:
: I would never use the above scripts as they also
: have problems.

     What problems? I've never used them either, but
they are actually well written.


HTH,

Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328

#17636 From: "Charles K. Clarkson" <cclarkson@...>
Date: Tue Jan 6, 2004 6:43 pm
Subject: RE: [PBML] To glob or not to Glob : Economics of Search
charlesclarkson
Send Email Send Email
 
gordonisnz <gordonstewart5@...> wrote:
:
: Im developing a 'groups' website - similar to Yahoogroups.
:
: anyway... - One of the items im going to develop / enhance
: is a word-search on messages...
:
: Initially, message archives may have 2-5 messages - slowly
: growing up to thousands of messages (each message stored in
: a txt file in a particular directory..)
:
: Question :-
:
: Is it 'economical' - as in speed/time - server usage etc..
: to
:
: :- do a glob on a directory & open/search every file one
: after another

     There is at least one popular message board out there
that does this already. Its drawbacks do not include
complaints about searching files this way.


: :- To periodically Create a word-database of all the
: messages & the message number it pertains to..

     Will users have the ability to edit their messages?

     If they do, the files to be searched are not static
and the word database will need constant updating. Make
certain you are using a proper file locking mechanism
to avoid corrupting the database.


     Will message files contain just the "guts" or will
they contain markup as well?

     If they are static (not user editable) and they
contain markup, a word-database would efficiently move
markup stripping to the message posting phase, allow
for faster searches and reduce redundant stripping of
markup.
     If message files are not static and they contain
markup you could still see a performance gain by
stripping markup at message creation (or edit). It
would depend on the number of messages and the
popularity of the search function.


: :- is there another single-command, that I can use
: - to word-search all the files in one go?
:
: :- anything i've not thought of yet...

     Using a text file to hold a message has some
advantages. Using this method incorrectly has serious
drawbacks. Keep only the message in your files. Add
markup on the fly. Think about how difficult it would
be to change the web site design if markup was embedded
in a few thousand files.

     I had a client who had a 30,000 file limit. And we
went over that limit when updating messages for a site
redesign. It took us a while to figure out where the
error was.

     The better way to compare search efficiency is
probably through testing. Compare the speed of different
methods based on a small, medium, and large number of
messages.


HTH,

Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328

#17637 From: "Jenda Krynicky" <Jenda@...>
Date: Tue Jan 6, 2004 6:51 pm
Subject: RE: [PBML] HTML Feedback Form
jendaperl
Send Email Send Email
 
From: "Vivien Mott" <vivienmott@...>
> > Vivien
> >
> > It is always wise to pay attention to someone who has
> > their own geekcode entry :op
>
> He was not helpful - he didn't tell me how these denial of services
> would occur, he didn't say anything about cgi.pm. He did not help.
> Just strutted his stuff. Very macho. That is why so few females go
> into computing.

Bullshit. But a nice try.

I'm sure from now on everyone will treat you like a piece of delicate
glass. And let you collect the dust.

> > For future reference a good source of free cgi scripts
> > is:
> >
> > http://nms-cgi.sourceforge.net/scripts.shtml
> >
> > Put together by members of the London.pm
> >
>
> I would never use the above scripts as they also have problems.
>
> Vivien

Would you care to provide some details ... for us mere males?

Jenda

#17638 From: gordon stewart <gordonisnz@...>
Date: Tue Jan 6, 2004 6:59 pm
Subject: RE: [PBML] To glob or not to Glob : Economics of Search
gordonisnz@...
Send Email Send Email
 
--- "Charles K. Clarkson" <cclarkson@...>
wrote:

---------------------------------
>
     Will users have the ability to edit their
messages?
<

No - Not yet (at least)...

>
    If they do, the files to be searched are not static
and the word database will need constant updating.
Make
certain you are using a proper file locking mechanism
to avoid corrupting the database.
<

No - I'll only update the database every hour or every
2 hours (very few messages pass through the system -
currently)..

>Will message files contain just the "guts" or will
they contain markup as well?
<
Currently - no one uses HTML in the messages - so its
plain-text... - But i'll change the search system to
strip-out HTML - just in case (thanks)..

>
    Using a text file to hold a message has some
advantages. Using this method incorrectly has serious
drawbacks. Keep only the message in your files. Add
markup on the fly. Think about how difficult it would
be to change the web site design if markup was
embedded
in a few thousand files.

     I had a client who had a 30,000 file limit. And we
went over that limit when updating messages for a site
redesign. It took us a while to figure out where the
error was.
<

The messages are created by users - Much like Yahoo
groups - so it will be their choice to use HTML (in
future)..

>
  The better way to compare search efficiency is
probably through testing. Compare the speed of
different
methods based on a small, medium, and large number of
messages.
<

Ok - I'll tell you how we go - in a day or so...- See
how things approach...
I guess the word-dictionary/list thing is best -
Faster searching.

Off to bed



=====
G-Man
One OS to fool them all, One browser to find them.
One email client to gather them in, and through the security holes, worm them.
gordonstewart5@... for personal replies please.

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

#17639 From: "Jenda Krynicky" <Jenda@...>
Date: Tue Jan 6, 2004 6:58 pm
Subject: RE: [PBML] HTML Feedback Form
jendaperl
Send Email Send Email
 
From: "Charles K. Clarkson" <cclarkson@...>
> Vivien Mott <vivienmott@...> wrote:
> : Ben Maynard <liliafan@...> wrote:
> : He was not helpful - he didn't tell me how these
> : denial of services would occur, he didn't say
> : anything about cgi.pm. He did not help.
> :
> : Just strutted his stuff. Very macho. That is why so
> : few females go into computing. Basically I just felt
> : like a flame!  attack, I think that would have
> : helped much more.
>
>     Those of us who are used to Randal realize he is
> socially challenged.

Or quite probably just too busy and too worn out to care.
Explaining the same thing over and over again gets on ones nerves.

> When you see his signature on an
> email, you need to read what he says and try to ignore
> how he says it.

Which is exactly what you should do in any technical forum. If you
wanna socialize you should go elsewhere.

> Think of him as a drill sargent.

??? Not even Mariam-Webster has any idea what's "sargent".
It knows WHO was one Sargent: 1856-1925 American painter; known
chiefly for elegant portraits of the Edwardian gentry; caused a
scandal with his portrait of famed Parisian beauty known as "Madame
X"

Jenda
===== Jenda@... === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
	 -- Terry Pratchett in Sourcery

#17640 From: merlyn@...
Date: Tue Jan 6, 2004 7:27 pm
Subject: Re: [PBML] HTML Feedback Form
merlynstoneh...
Send Email Send Email
 
>>>>> "Jenda" == Jenda Krynicky <Jenda@...> writes:

Jenda> Or quite probably just too busy and too worn out to care.
Jenda> Explaining the same thing over and over again gets on ones nerves.

"Bing!" (From Groundhog Day, a great movie)

I don't treat the audience of this list as babies.  I figure that if
they want to know more, they can ask again for me to elaborate, or
write me privately and hire me to explain it to them (thanks for that
suggestion!), or spend 15 minutes googling for the extra information.

Otherwise, I'm not going to retype or cut-n-paste the same things I've
said here or elsewhere.  I say enough to nudge people in a useful
direction, then move on.  It's the old 80-20 rule in action.

If this is truely *not* useful, I think I'd be getting a lot more
hostility *everywhere* I go.  I don't see any public evidence for
that.

Although, I do take exception to the one who said I had no social
skills.  Perhaps you see me through your own filters of expectations
of me.  I was able to chat with someone about a year back who had
similar criticisms, and on reflection, he was unable to point to any
specific behavior he had *actually* witnessed.  He was instead passing
along and acting on an untested collective belief that I was rude and
crude, sort of a tribal mythos.  Perhaps you have a similar prejudice?

I didn't really ask to be a public figure, but I'm really sincerely
attempting to own up to the responsibility.  I welcome feedback, and I
do accomodate.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17641 From: Brad Lhotsky <brad@...>
Date: Tue Jan 6, 2004 8:01 pm
Subject: Re: [PBML] HTML Feedback Form
brad@...
Send Email Send Email
 
I think you just got rubbed wrong by Randal's straight forward writing
style.  Yes, perl encourages you to do things your way.  You have to
admit there are certain things that people have done which eclipse your
own abilities.  There's a reason why the script you pointed to is not
included as part of the Core distribution, whereas, CGI.pm is.

Certain individuals, doing things their own way with community support,
are capable of producing a quality product above and beyond a single
person's own abilities.

CGI.pm is an AWESOME example on an ideal BlackBox design.  Do you speak
native HTTP 1.1 ? If not, it is far better to leave this conversation to
CGI.pm who does. If you're a lawyer and a programmer, I doubt you've had
time to read through the relevant RFC's to be able to handle a
multipart/form-data POST from scratch which also includes query string
arguments? :)

TIMTOWTDI, but sometimes, one way is exponentially
wiser/smarter/easier/more comprehensive to use.

There is no excuse to NOT use CGI for standard cgi model web
programming, or DBI for database interfaces for that matter.
More work than you could reproduce in a lifetime is available to you for
free, no strings attached.  Plus, what happens when I want to provide
feedback and attach a picture of something?  Not an unrealistic request
in these days of increasing high speed connections.

Please, do _NOT_ encourage people to decypher query strings using that
archaic cgilib.pl style code block that makes me cringe.

On Tue, Jan 06, 2004 at 05:25:26PM -0000, Vivien Mott wrote:
> Hi Randal:
>
> Yes, you have the right to say how you feel, but I have used them on ALL my
> customers web sites for the many years. Perl was supposed to be lots of ways
> to do things, do it your way ... but it's authoritarian and hectoring behind
> the smiles. No doubt like its founder. Executable line noise.
>
>
> >
> >
> > Vivien> http://tesol.net/scripts/CGI-Subscribe/
> >
> > I'll challenge the "written very well" from a technical standpoint.
> > In a few minutes of scanning, I see they are using hand-rolled
> > CGI parsing routines instead of CGI.pm.  That was fine in 1995,
> > but completely unacceptable in 2003.  Denial of service attacks and
> > security holes result from such code.
> >
> > Just based on that, I'm scared to put those anywhere near any server
> > that *I* have an influence on.  You should do the same.
> >
> > --
> > Randal L. Schwartz -
>
>
>
> Unsubscribing info is here:
http://help.yahoo.com/help/us/groups/groups-32.html
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/perl-beginner/
>
> To unsubscribe from this group, send an email to:
>  perl-beginner-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

--
Brad Lhotsky <brad@...>

#17642 From: "drenzii" <drenzi@...>
Date: Tue Jan 6, 2004 10:56 pm
Subject: Embedding protected videos
drenzii
Send Email Send Email
 
Hello,
is it possible to serve a short video file in html page without
caching it? In other words, I want to show the video to the user,
but I don't want that the user can download it or retrieve it from
its cached files. Perhaps there is some way in cgi programming that
allows to show a video from the server, but that don't actually send
it to the client.

Thanks
D. Renzi

#17643 From: merlyn@...
Date: Tue Jan 6, 2004 11:10 pm
Subject: Re: [PBML] Embedding protected videos
merlynstoneh...
Send Email Send Email
 
>>>>> "drenzii" == drenzii  <drenzi@...> writes:

drenzii> is it possible to serve a short video file in html page without
drenzii> caching it? In other words, I want to show the video to the user,
drenzii> but I don't want that the user can download it or retrieve it from
drenzii> its cached files. Perhaps there is some way in cgi programming that
drenzii> allows to show a video from the server, but that don't actually send
drenzii> it to the client.

In brief, no.

To elaborate slightly... how do you think it is being shown, unless
it is also being *transmitted* to the client?

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17644 From: Brad Lhotsky <brad@...>
Date: Wed Jan 7, 2004 12:19 am
Subject: Re: [PBML] Embedding protected videos
brad@...
Send Email Send Email
 
Well, there is a way. don't know if its what you're looking for, its
called "Streaming Video". Though, that's not a foolproof solution either
as there are a number of streaming video capture tools.

Ever heard of Real Networks? If this is a business thing, look there,
and probly Akamai.  Google a bit for "Streaming Video Servers" or
something along those lines.  Undoubtedly this will lock a user into
using a proprietary video format with little alternate OS support and
lesser quality than regular formats.

This is kind of a low hanging fruit problem as well.  If you have a
video, just disabling right click over the link maybe enough to deter
the most number of straight downloads.  People wise enough to look for
the video in Cache directories are also wise enough to search around for
DRM circumvention tools anyways.  If not search, create (very very very
very very very very small minority, but it only takes one).

Whatever the solution, its outside the scope of "normal" CGI problem.
Given that certain web browsers (*cough*MS IE*cough*) will ignore
caching directives of the HTTP Environment ("HTTP-Equiv: no-cache" or
something like that) AND the EXPLICIT preferences of the particular
user, it'd be all but impossible to prevent the movie from showing up in
the cache of the browser.

On Tue, Jan 06, 2004 at 03:10:59PM -0800, merlyn@... wrote:
> >>>>> "drenzii" == drenzii  <drenzi@...> writes:
>
> drenzii> is it possible to serve a short video file in html page without
> drenzii> caching it? In other words, I want to show the video to the user,
> drenzii> but I don't want that the user can download it or retrieve it from
> drenzii> its cached files. Perhaps there is some way in cgi programming that
> drenzii> allows to show a video from the server, but that don't actually send
> drenzii> it to the client.
>
> In brief, no.
>
> To elaborate slightly... how do you think it is being shown, unless
> it is also being *transmitted* to the client?
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
>
> Unsubscribing info is here:
http://help.yahoo.com/help/us/groups/groups-32.html
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/perl-beginner/
>
> To unsubscribe from this group, send an email to:
>  perl-beginner-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

--
Brad Lhotsky <brad@...>

#17645 From: "Bhargava, Deepesh" <deepesh.bhargava@...>
Date: Tue Jan 6, 2004 11:59 pm
Subject: create the folder using perl..
deepesh.bhargava@...
Send Email Send Email
 
how do we use perl to check if a folder exists, if the folder exist,
then do not create a folder. however if the folder does not exist, then
create the folder.

Thanks
DB
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

#17646 From: Paul Archer <tigger@...>
Date: Wed Jan 7, 2004 12:01 am
Subject: Re: [PBML] create the folder using perl..
tigger@...
Send Email Send Email
 
<randal>'perldoc perlfunc' and search for directory</randal>

Tomorrow, Bhargava, Deepesh wrote:

> how do we use perl to check if a folder exists, if the folder exist,
> then do not create a folder. however if the folder does not exist, then
> create the folder.
>
> Thanks
> DB
> **********************************************************************
> This message is intended for the addressee named and may contain
> privileged information or confidential information or both. If you
> are not the intended recipient please delete it and notify the sender.
> **********************************************************************
>
> Unsubscribing info is here:
http://help.yahoo.com/help/us/groups/groups-32.html
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/perl-beginner/
>
> To unsubscribe from this group, send an email to:
>  perl-beginner-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

--------------------------------------
My New Year's Resolution is 1280x1024!
--------------------------------------

#17647 From: merlyn@...
Date: Wed Jan 7, 2004 12:01 am
Subject: Re: [PBML] create the folder using perl..
merlynstoneh...
Send Email Send Email
 
>>>>> "Bhargava," == Bhargava, Deepesh <deepesh.bhargava@...> writes:

Bhargava,> how do we use perl to check if a folder exists, if the folder exist,
Bhargava,> then do not create a folder. however if the folder does not exist,
then
Bhargava,> create the folder.

I would just create the folder regardless, and then ignore the "already
exists" error.  Otherwise, you're creating too much work.

You create folders (called "directories" in Perl's native tongue) with
"mkdir".  See "perldoc -f mkdir" for details.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17648 From: merlyn@...
Date: Wed Jan 7, 2004 12:03 am
Subject: Re: [PBML] create the folder using perl..
merlynstoneh...
Send Email Send Email
 
>>>>> "Paul" == Paul Archer <tigger@...> writes:

Paul> <randal>'perldoc perlfunc' and search for directory</randal>

Unfair... I said more than that. :)

At least you spelled my name as my mom does this time.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

#17649 From: Paul Archer <tigger@...>
Date: Wed Jan 7, 2004 12:06 am
Subject: Re: [PBML] create the folder using perl..
tigger@...
Send Email Send Email
 
4:03pm, merlyn@... wrote:

> >>>>> "Paul" == Paul Archer <tigger@...> writes:
>
> Paul> <randal>'perldoc perlfunc' and search for directory</randal>
>
> Unfair... I said more than that. :)
>
True, true. But I couldn't resist. 8-)

> At least you spelled my name as my mom does this time.
>
And yet, amazingly enough, I've never asked your mom how she spells your
name...

Paul



--------------------------------------
My New Year's Resolution is 1280x1024!
--------------------------------------

Messages 17620 - 17649 of 27470   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright İ 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help