Das eez kaput! Sometime around 2002 I spaced the entire database table that mapped individual entries to categories. Such is life. What follows is a random sampling of entries that were associated with the category. Over time, the entries will be updated and then it will be even more confusing. Wander around, though, it's still a fun way to find stuff.
You do not use Passepartout for writing text, because it is only a layout editor. Basically speaking, Passepartout is in the business of taking the different parts that make up a page, such as text, photos, graphics, and "gluing" them on piece of paper. Passepartout can import from several different bitmapped image formats as well as EPS files. You write the text in your favorite text editor (e.g. Emacs or VI) in an XML-based format. The XML file is then typeset using a typesetting engine called xml2ps.
I maintain however, that using [URLs] as names is confusing because it violates the niave users expectation that they're addresses.
The reason that Class::DBI and the Template Toolkit work so well together is simple. Template Toolkit templates can call methods on objects passed to them--so there's no need to explicitly pull every column out of the database before you process the template--and Class::DBI saves you the bother of writing methods to retrieve database columns. You're essentially going straight from the database to HTML with only a very small amount of Perl in the middle.
can call methods on objects passed to themshe means both an object's accessors and it's mutators. This is not necessarily a problem if you are running your web application in a read-only situation and the web server, for example, doesn't have permissions to alter the contents of the database. But as soon as the program that processes templates has authority to muck with the database you had better have confidence in your TT kung-fu and/or the designers who are mucking with the templates. Not only could you do this :
[% some_obj.foo("bar") %]
[% some_obj.update() %]
You could also do this :
[% FOREACH this_obj = some_obj.retrieve_all() %]
[% this_obj.foo("you lose, sucka") %]
[% END %]
(Note that
retrieve_all
is actually a package method but there's not much to prevent the object
from calling it too.) All this with the both the
EVAL_PERL
and
LOAD_PERL
config flags explictly set to false. You can get around this, sort of,
if your object doesn't have any circular relationships (e.g.
A->has_a(B->has_many(A))
) by adding a
read_onlymethod that sets a trigger to die before an object is updated or deleted. But there isn't really any way to cascade setting those triggers so there is always the possibility of mucking with the original object in a round-about fashion:
# this syntax may not be quite right [% (foo.bars)[0].fooid.delete() %]I've spent a little bit of time investigating ( 1 , 2 ) how to make cascading readonly objects but it's still an ugly hack that requires mucking with private functions in Class::DBI. The proper thing to do would be to abstract all of this stuff into a CDBI::ReadOnly package but that might be a while in coming yet. Know you know. via paranoidfish
MT plugin authors, those of you who don't also agree that Amazon is one the evil-doers, go forth and wet yourselves with excitement!Net::Amazon provides an object-oriented interface to amazon.com's SOAP and XML/HTTP interfaces. This way it's possible to create applications using Amazon's vast amount of data via a functional interface, without having to worry about the underlying communication mechanism.
ORDER BY
style parameters to the
SQL::Abstract
_recurse_where()
method which is called by the
where()
which is called by the
Class::DBI::AbstractSearch
search_where()
method, which I'm trying to tie into the
Mail::Miner::Mail
select()
method so that it can stop using the
Class::DBI
retrieve_all()
and
search_like
methods. The former has no simple way of defining an as-needed ordering
criteria and the latter has no way of returning all the records in a
table since it will freak out if you tell it to search where
1=1
. I still need to teach
_recurse_where
to DWIM when it encounters
%
characters...
No ass at all.
ex. My man has noassitall.
Cupidity \Cu*pid"i*ty\ (k?-p?d"?-t?), n. [F. cupidite, L. cupiditas, fr. cupidus longing, desiring, fr. cupere to long for, desire. See {Covet}.] 1. A passionate desire; love. [Obs.] 2. Eager or inordinate desire, especially for wealth; greed of gain; avarice; covetousness. With the feelings of political distrust were mingled those of cupidity and envy, as the Spaniard saw the fairest provinces of the south still in the hands of the accursed race of Ishmael. --Prescott. web1913
cupidity n : extreme greed for material wealth [syn: {avarice}, {avariciousness}, {covetousness}] wn
Wastrel \Wast"rel\, n. 1. Any waste thing or substance; as: (a) Waste land or common land. [Obs.] --Carew. (b) A profligate. [Prov. Eng.] (c) A neglected child; a street Arab. [Eng.] 2. Anything cast away as bad or useless, as imperfect bricks, china, etc. [Obs. or Prov. Eng.] web1913
wastrel n : someone who dissipates resources self-indulgently [syn: {waster}] wn
Gregarious \Gre*ga"ri*ous\, a. [L. gregarius, fr. grex, gregis, herd; cf. Gr. ? to assemble, Skr. jar to approach. Cf. {Congregate}, {Egregious}.] Habitually living or moving in flocks or herds; tending to flock or herd together; not habitually solitary or living alone. --Burke. No birds of prey are gregarious. --Ray. web1913
gregarious adj 1: tending to form a group with others of the same kind; "gregarious bird species"; "man is a gregarious animal" [ant: {ungregarious}] 2: seeking and enjoying the company of others; "a gregarious person who avoids solitude" wn
Eschew from old French eschever, "to flee from" (Job 1:1, 8; 2:3; 1 Pet. 3:11). easton
Eschew \Es*chew"\ (es*ch[udd]"), v. t. [imp. & p. p. {Eshewed} (-ch[udd]"d); p. pr. & vb. n. {Eshewing}.] [OF. eschever, eschiver, eskiver, F. esquiver, fr. OHG. sciuhen, G. scheuen; akin to E. sky. See {Shy}, a.] 1. To shun; to avoid, as something wrong, or from a feeling of distaste; to keep one's self clear of. They must not only eschew evil, but do good. --Bp. Beveridge. 2. To escape from; to avoid. [Obs.] He who obeys, destruction shall eschew. --Sandys. web1913
eschew v : avoid and stay away from deliberately; stay clear of [syn: {shun}] wn
brio n : quality of being active or spirited or vigorous [syn: {animation}, {spiritedness}] wn
"Penalties," sighed former Nordiques coach Michel Bergeron . "Five for Boston, hostie, none for Montreal. It was like that when I was in Quebec ."And in case you think it's just me, you should also know that the jurors in the double murder trial of the head of the Quebec chapter of Hell's Angels were let out of their deliberations early yesterday so that they might...yes, watch the hockey game .
If you are a spoil-sport, you are borejoysy
ex. I dont want to go to the barn dance, I'm feeling rather borejoysy
Female form of the word "dork." As in the possible Spanish form. Dorkano for males. Used meaning stupid (in a funny way) or just not thinking. This is not a mean term, but rather a term to jokingly make fun of someone and bring attention to her action that caused her to look so goofy.
ex. Sally couldn't believe what a dorkano her friend was when he licked the ice cream store sign's large ice cream cone.
user.html.callbacks.fileWriters
callback without too much trouble. It is unclear to me whether or not
there is also a callback framework for "fileReaders". I haven't read
the docs yet and there is no
fileWriters.ftp.read
table in my ODB. 10)
Apparently, you
can not blog to the past
[W]ho in the hell does the word of the day??? agitprop??? gah!And while I confess to not being entirely sure what she's talking about it did remind me that I had written a whole whack of code for munging the data files at pseudodictionary.com . Since then, however, they've rejigged their back-end but with a little help from the mighty mighty HTML::Parser I was able to whip up a package that exports a single class method named
random
which returns a hash reference :
asc @ localhost in /home/asc/bin/perl/pseudodict
144 ->./parse-random
$VAR1 = {
'example' => 'ex. My new job allows me to clock dollars.',
'permalink' => 'http://pseudodictionary.com/word.php?id=5911',
'submitter' => 'Jerome Greco',
'id' => '5911',
'www' => 'http://jgreco.homestead.com/jeromespage.html',
'word' => 'clock dollars'
};
I fear that if 2001 was the year of writing code, 2002 is going to be
the year of the
pedant
...