ACME-QuoteDB

 view release on metacpan or  search on metacpan

lib/ACME/QuoteDB/DB/DBI.pm  view on Meta::CPAN

      #ACME::QuoteDB::DB::DBI->set_sql(func( 3600000, 'busy_timeout' ); 
}


sub get_current_db_path {
    return $QUOTES_DATABASE;
}

sub _untaint_db_path {
    my $sane_path = abs_path(dirname(__FILE__));
    # appease taint mode, what a dir path looks like,... (probably not)
    $sane_path =~ m{([a-zA-Z0-9-_\.:\/\\\s]+)}; #add '.', ':' for win32
    return $1 || croak 'cannot untaint db path';
}


1;

__END__

=head1 NAME

t/data/python_quotes.txt  view on Meta::CPAN

I suggested holding a "Python Object Oriented Programming Seminar", but the
acronym was unpopular.
      -- Joseph Strout, 28 Feb 1997

Strangely enough I saw just such a beast at the grocery store last night.
Starbucks sells Javachip. (It's ice cream, but that shouldn't be an obstacle
for the Java marketing people.)
      -- Jeremy Hylton, 29 Apr 1997

    A little girl goes into a pet show and asks for a wabbit. The shop keeper
looks down at her, smiles and says:
    "Would you like a lovely fluffy little white rabbit, or a cutesy wootesly
little brown rabbit?"
    "Actually", says the little girl, "I don't think my python would notice."
      -- Told by Nick Leaton, 4 Dec 1996

When I originally designed Perl 5's OO, I thought about a lot of this stuff,
and chose the explicit object model of Python as being the least confusing. So
far I haven't seen a good reason to change my mind on that.
      -- Larry Wall, 27 Feb 1997 on perl5-porters

t/data/python_quotes.txt  view on Meta::CPAN

         file extensions, 30 Jul 1999

(On the statement print "42 monkeys"+"1 snake") BTW, both Perl and Python get
this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer
is clearly "41 monkeys and 1 fat snake".
      -- Jim Fulton, 10 Aug 1999

I expect that what you really object to is the absence of control structures
other than goto, and the LT/GE/etc spelling of comparison operators. That was
common enough in its day, and even by the time Pascal came around the keypunch
I used still didn't have a semicolon key. It looks ugly in retrospect only
because it is <wink>.
      -- Tim Peters on SNOBOL4, 17 Aug 1999

Theory and reality rarely are kissing cousins.
      -- Christopher Petrilli, 1 Sep 1999

Features generally don't exist in isolation, and you have to look at all the
consequences, not just the one that attracts you at first sight.
      -- Tim Peters, 3 Sep 1999

The danger in this line of thinking is not realizing that the computational
effort involved in big NP complete problems is *so* huge that even in optimized
micro-code, the algorithm might take a million years to run. Tweezers or shovel
-- it makes little difference when you are trying to move a universe...
      -- Sean McGrath, 4 Sep 1999

On a scale of one to ten I'd give it a tim.
      -- William Tanksley, 13 Sep 1999

Statistical analysis shows that the junk looks like human text, which clearly
shows that it is actually used in some yet unknown way. (docstrings?)
      -- Fredrik Lundh, writing about junk DNA, 5 Oct 1999

If I engineer code that I expect to be in use for N years, I make damn sure
that every internal limit is at least 10x larger than the largest I can
conceive of a user making reasonable use of at the end of those N years. The
invariable result is that the N years pass, and fewer than half of the users
have bumped into the limit <0.5 wink>.
      -- Tim Peters, 11 Nov 1999

t/data/python_quotes.txt  view on Meta::CPAN


Very rough; like estimating the productivity of a welder by the amount of
acetylene used.
      -- Paul Svensson, on measuring programmer productivity by lines of
         code, 19 Jun 2000

I vote for backward compatibility for now, and not only because that will
irritate /F the most.
      -- Tim Peters, 30 Jun 2000

A comment is in order then. If the code is smarter than it looks, most people
aren't going to think it looks very smart.
      -- Jeremy Hylton, 6 Jul 2000

You and I think too much alike ?!ng. And if that doesn't scare you now, you
should have a talk with Gordon.
      -- Barry Warsaw, 12 Jul 2000

Isn't it somewhat of a political statement to allow marriages of three or more
items? I always presumed that this function was n-ary, like map().
      -- Paul Prescod, on the proposed name marry() for a function to
         combine sequences, 12 Jul 2000

t/data/python_quotes.txt  view on Meta::CPAN

were either never black-boxable or the black-box versions didn't do a good
enough job.
      -- David Ascher, 28 May 2001

    "Oh, read *all* Kahan has written, and if you emerge still thinking you
*know* what you're doing when floating point is involved, you're either Tim
Peters, or the world champ of hubris."
    "I find it's possible to be both <wink>."
      -- Alex Martelli and Tim Peters, 20 May 2001

Wow, this almost looks like a real flamefest. ("Flame" being defined as the
presence of metacomments.)
      -- GvR, 13 Jun 2001

    "Maybe we also have a smaller brain than the typical Lisper -- I would say,
that would make us more normal, and if Python caters to people with a
closer-to-average brain size, that would mean more people will be able to
program in Python. History will decide..."
    "I thought it already has, pretty much."
      -- GvR and A.M. Kuchling, 14 Jun 2001

t/data/www.amk.ca/quotations/python-quotes/page-2.html  view on Meta::CPAN

<hr />
<p class='quotation' id='q37'>I suggested holding a "Python Object
Oriented Programming Seminar", but the acronym was unpopular.</p>
<p class='source'>Joseph Strout, 28 Feb 1997</p>
<p class='quotation' id='q38'>Strangely enough I saw just such a
beast at the grocery store last night. Starbucks sells Javachip.
(It's ice cream, but that shouldn't be an obstacle for the Java
marketing people.)</p>
<p class='source'>Jeremy Hylton, 29 Apr 1997</p>
<p class='quotation' id='q39'>A little girl goes into a pet show
and asks for a wabbit. The shop keeper looks down at her, smiles
and says:
"Would you like a lovely fluffy little white
rabbit, or a cutesy wootesly little brown rabbit?"
"Actually", says the little girl, "I don't
think my python would notice."</p>
<p class='source'>Told by Nick Leaton, 4 Dec 1996</p>
<p class='quotation' id='q40'>When I originally designed Perl 5's
OO, I thought about a lot of this stuff, and chose the explicit
object model of Python as being the least confusing. So far I
haven't seen a good reason to change my mind on that.</p>



( run in 0.338 second using v1.01-cache-2.11-cpan-64827b87656 )