today | current | recent | random ... categories | search ... mail | who ... syndication | wtf

posts brought to you by the category “xsl”

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.

posts brought to you by the category “xpath” ←  → posts brought to you by the category “zope”
 

My Canada XIncludes RDF

Assuming all the boring namespace setup, consider the following chunk of RDF to describe a person and their phone numbers:

<rdf:Description rdf:about = "x-urn:aaronstraupcope:knows:who:~foobar">
 <rdf:type rdf:resource = "http://xmlns.com/foaf/0.1/Person" />
 <vcard:TEL>
  <rdf:Bag>
   <rdf:li rdf:parseType = "Resource">
    <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#home"/>
    <dc:identifier rdf:resource = \
       "x-urn:aaronstraupcope:knows:phone-number:~123.456.7890" />
   </rdf:li>
  </rdf:Bag>
 </vcard:TEL>
</rdf:Description>

Similarly, consider a second chunk of RDF to describe an organization and it's phone numbers:

<!-- observant readers will note that this is not really
     a list of phone numbers and that if it was the
     code used to query it (below) would fail. but that's
     just syntax and doesn't change the fundamental point -->

<rdf:Description rdf:about = "x-urn:aaronstraupcope:knows:who:~workplace">
 <rdf:type rdf:resource = "http://xmlns.com/foaf/0.1/Org" />
 <vcard:TEL rdf:parseType = "Resource">
  <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#work"/>
  <dc:identifier rdf:resource = \
     "x-urn:aaronstraupcope:knows:phone-number:~555.555.1212" />
 </vcard:TEL>
</rdf:Description>
 

So, if it's known that :~foobar works at :~workplace it stands to reason that there's no reason to write the same thing twice. Rather, the correct approach would be to reference the latter's work phone number in the former's work phone definition.

There doesn't appear to any way to do this RDF; specifically to reference a discreet subset of another resource's properties. I was able to find a proposal descrbing a fragment identifier syntax [in] RDF but it is only a proposal and already three years old.

More importantly, my own needs for this kind of data involve being able to process it with XSLT. No, I haven't had a sudden change of heart about RDF/XML, but judicious use of xsl:template match = "..." has made it suck just a little less.

Enter XInclude. The following is valid RDF that doesn't really help you connect the dots in a directed graph context but since you can't do that anyway, it doesn't cost you anything either. On the other hand it makes managing, and rendering, disparate but related pieces of data easier.

<rdf:li rdf:parseType = "Resource">
 <xi:include xi:href  = "x-urn:aaronstraupcope:knows:who:~workplace"
             xi:xpointer = "xmlns(r=http://www.w3.org/1999/02/22-rdf-syntax-ns#) \
                            xmlns(f=http://xmlns.com/foaf/0.1/)xpointer(*// \
                            r:Description/r:type[@r:resource= \
                            'http://xmlns.com/foaf/0.1/Org']/following-sibling::* \
                            [name()='vcard:TEL']/r:type[@r:resource= \
                            'http://www.w3.org/2001/vcard-rdf/3.0#work']/parent::*/ \
                            child::*)" />

 <!-- I am still trying to figure out why IsaViz spazzes out
      when I add a xi:fallback directive -->

</rdf:li>

You may want to poke your eyes out after looking at that for too long but, then, nothing's for free and it's the kind of hairiness that could fairly easily be hidden by a GUI client. It goes without saying that the query itself could be optimized.

If, like me, you are using URNs as URIs you'll need to add corresponding rewriteSystem entries in your catalog.xml file so that the XInclude processor is able to resolve the path to the resource you're pointing to.

<rewriteSystem systemIdStartString="x-urn:aaronstraupcope:knows:who:~"
                   rewritePrefix="file:///path/to/you/know/who/" />

Later: the following fixes the bugs described above and doesn't care whether or not phone numbers are wrapped in a rdf:Bag container. It also makes sure that only telephone numbers for a specific resource are included, in case there are multiple resources defined in a single document:

<xi:include xi:href  = "x-urn:aaronstraupcope:knows:who:~workplace"
            xi:xpointer = "xmlns(a=x-urn:aaronstraupcope:knows:who:~') \
                           xmlns(r=http://www.w3.org/1999/02/22-rdf-syntax-ns#) \
                           xmlns(f=http://xmlns.com/foaf/0.1/) \
                           xpointer(*//r:Description[@r:about= \
                           'x-urn:aaronstraupcope:knows:who:~workplace' \
                           ]/child::*[namespace-uri()= \
                           'http://www.w3.org/2001/vcard-rdf/3.0#' \
                           and local-name()='TEL']/descendant-or-self::*/ \
                           r:type[@r:resource='http://www.w3.org/2001/vcard-rdf/ \
                           3.0#work']/parent::*/child::*)" />
 

meta

[x]

permalink

http://www.aaronland.info/weblog/2004/05/18/5490

pubdate

http://www.aaronland.info/weblog/2004/05/18

created

2004-05-18T11:34:31-04:00

last modified

2004-05-18T17:44:49-04:00

revision

1.7

changes

http://www.aaronland.info/weblog/2004/05/18/5490/changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

~/lib/xsl/jpegrdf/prepare.sh

I will post these stylesheets in the next day or so...

#!/bin/sh

# currently requires the saxon:distinct()
# function- I gather the xsltsl libraries
# define similar hooks but I haven't tested
# them yet

# I know this isn't how you're supposed to
# load java thingies : me.the.java.way.can.Bite()

EXEC_SAXON='javavm -jar /usr/local/share/java/classes/saxon.jar'

# XSL_EXPAND inherits : 

# /home/asc/lib/xsl/rdf/expand-resources.xsl
# base class/framework for expanding resources

# /home/asc/lib/xsl/rdf/expand-wordnet.xsl
# the rdf wordnet output is especially verbose
# so we perform some additional hoop-jumping

# /home/asc/lib/xsl/rdf/expand-asc-knows.xsl
# glue to expand x-urn:aaronstraupcope:* resources

XSL_PRUNE='/home/asc/lib/xsl/jpegrdf/prune-exif.xsl'
XSL_EXPAND='/home/asc/lib/xsl/jpegrdf/expand-resources.xsl'

# dump.rdf is the output created by 
# jpegrdf -s ~/photos/*/*/*/*.jpg

PHOTOS='/home/asc/photos'
DUMP=${PHOTOS}/dump.rdf
FINAL=${PHOTOS}/final.rdf

# see below

TMP1=${PHOTOS}/tmp1.rdf
TMP2=${PHOTOS}/tmp2.rdf
TMP3=${PHOTOS}/tmp3.rdf

# first remove all the exif properties
# except dateTime; further munge dateTime
# into a resource

${EXEC_SAXON} ${DUMP} ${XSL_PRUNE} > ${TMP1}

# do a first pass and try to expand
# all the foreign resources in the
# document - at a minimum this will
# expand x-urn:asc:knows:where# / vcard
# locality resources. think :

# <rdf:Description rdf:about = "some-picture.jpg">
#  <dc:coverage rdf:resource = "x-urn:asc:knows:where#montreal" />
# </rdf:Description>

# <rdf:Description rdf:about = "x-urn:asc:knows:where#montreal">
#  <rdf:type rdf:resource = "http://www.w3.org/2001/vcard-rdf/3.0#Locality" />
#  <dc:title>Montréal</dc:title>
#  <vcard:Region rdf:resource = "x-urn:asc:knows:where#qc" />
# </rdf:Description>

# <!-- and so on -->

${EXEC_SAXON} ${TMP1} ${XSL_EXPAND} > ${TMP2}

# this is a pretty clunky approach but
# it works as a proof of concept: do another
# two passes over the output in order to
# expand vcard locality/region and then
# region/country resources.

# a better way to do this would be to create
# separate stylesheets to expand only regions
# or countries since there may be other second
# or third level resources that you don't care
# about expanding.

# at a minimum there are hooks to prevent the
# same resource from being expanded twice in 
# the output document

${EXEC_SAXON} ${TMP2} ${XSL_EXPAND} > ${TMP3}
${EXEC_SAXON} ${TMP3} ${XSL_EXPAND} > ${FINAL}

# clean up

rm ${TMP1}
rm ${TMP2}
rm ${TMP3}
     

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2004/05/06/5472

pubdate

http://www.aaronland.info/weblog/2004/05/06

created

2004-05-06T09:41:28-04:00

last modified

2004-05-07T17:17:56-04:00

revision

1.7

changes

http://www.aaronland.info/weblog/2004/05/06/5472/changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

A few atoms short of a molecule.

I have posted an XSL stylesheet for, more or less, converting XHTML 1.1 to the Atom syndication format.

I did this because as much I find the whole Atom thing extraordinarily tiresome I find all the hand-wringing from the RSS weenies even sillier. And given a chance to piss everyone off, I often jump.

I post this only as a public service . I have zero interest in maintaining this for anyone but myself. If you want to use it as fodder for a general purpose library, please be my guest.

I haven't bothered to remove private function calls and there is no documentation. However, there are comments enough for anyone with an understanding of XSLT to follow.

Update: this post generated much more interest than I anticipated so, for the curious, some background which has absolutely nothing to do with Atom (except maybe that Atom's content model maps better to my way of doing things than any of the various RSS efforts) :

The XHTML in question uses my shiny new weblog format which I wrote as a way to store all the data for a post in a static file. All the data but no form; foofy design stuff is added after the fact using, in my case, XSL . There are reasons why I didn't choose another, perhaps more expressive, XML application which will become clear below. I still use a database because it's faster for generating things like indexes but it is not considered authoritative. That is, the database reads from the flat files and not vice versa.

(It also lets me fob off the versioning problem on CVS and worry about other things.)

The single capital-R rule I've learned farting around with increasingly complex ways of generating this site is : the only thing you can count on is the web server being able to send plain vanilla HTML files — everything else will break. The only question you have ask yourself is how much pain will it cause and how much time you want to devote to fixing the problem.

Storing everything as XHTML and wasting a couple extra computrons on XML and XPath munging may not be pretty but when everything else fails at least the content is just there .

Meanwhile, this is sound of me adding a buzzword-bingo [meta] category to list all the damn acronyms used in any given post...

refers to

meta

 

I posted version 0.99 of the “Atom to RSS” stylesheets

— and gave them a proper web page .

The version number only reflects the fact that the documentation is incomplete. Let the bug reports begin...

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2004/01/25/5374

pubdate

http://www.aaronland.info/weblog/2004/01/25

created

2004-01-25T16:51:32-05:00

last modified

2004-01-26T18:53:54-05:00

revision

1.9

changes

http://www.aaronland.info/weblog/2004/01/25/5374/changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

I posted some XSL stylesheets for munging Atom (0.3)

— into RSS 1.0 and RSS 2.0 . At the moment there are only stylesheets for munging so-called minimal Atom feeds. I will get around to the fancier feeds, but don't hold your breath. If someone wants to take the work and run with it, please feel free to do so.

Update: Well, this proved to be a pretty trivial task. I have munged about 98% of a maximal Atom feed into RSS 1.0. I don't expect the multipart content feed or the RSS 2.0 stylesheet to be anymore complicated. I guess I will try and post all of this tomorrow morning.

Up your date: So, it's all done. Save the widget to convert a W3CDTF date string to a RFC822 date string which is making me feel, well, funky. Fortunately, someone else has already done most of the heavy lifting . Oh yeah, and some kind of kludge to deal with the fact the XSL spec seems to be seriously brain-dead when it comes to generating <![CDATA[ ]]> sections. But not tonight — there is a hockey game to watch...

Is that a date in your pocket? Steve Ball is my hero, even if the markup:cdata-section template is broken. And it goes without saying that the logic for fussing with dates in RSS 2.0 will result in bug reports. Life sucks — but often less than date processing. I will finish up some rudimentary documentation and post a tar ball this afternoon (Sunday.)

Please god, can we find something else to argue about now?

refers to

meta

 

Silly rabbit...

  avenue du Mont-Royal, Montréal, January 2004

refers to

meta

 

Ceçi n'est pas une poste.

Not much of interest has happened during the last week.

Unless you count the spat over XML error handling, which I don't. It was a controversial decision : I'm shocked! It's been borne out to be a good decision, HTML notwithstanding : Shocked, I tell you!

I briefly considered posting an open letter to television news executives imploring them to let, no force, their on-air personalities to wear toques when it's - 40° Celcius outside. If not for their sake then for the impressionable young children watching them.

A bunch of stuff got upgraded on the machine that serves as the staging server for this weblog and now the fancy-pants program that does all the heavy lifting, generating pages and indexes, is dumping core whenever the XSLT function aa:permalink() is called. I leave it as an exercise to the reader to find the Deep and Meaningfuls in that one.

I'm not overly concerned about this, right now. It will get fixed but I'm not going to turn my life upside down over it. And some pretty awful stuff has happened in the neighbourhood, recently, that helps keep things in perspective.

In the meantime, this is one of the best stories I've heard in a long time:

“You killed my girlfriend's fish. No, you made her kill her fish.”

meta

[x]

permalink

http://www.aaronland.info/weblog/2004/01/17/5371

pubdate

http://www.aaronland.info/weblog/2004/01/17

created

2004-01-22T10:21:14-05:00

last modified

2004-01-22T18:12:34-05:00

revision

1.5

changes

http://www.aaronland.info/weblog/2004/01/17/5371/changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Me : Net::Blogger.pm 0.86_02

Fixed some minor bugs and major typos. Added missing MovableType mt API methods. This is probably it for version 0.86 but I don't have the time to finish debugging right this moment so I throw it out for the brave and reckless. see also changes; note that the HTML docs have not been updated yet.

refers to

meta

 

We saw this ad yesterday and wondered what it was supposed to mean.

Make sure you wipe your ass because you never know when someone will look up your skirt? I wipe my ass with my underwear? We're getting ready to start marketing anti-skidmark pads? Ultimately, the question it really begs is : who the fuck did they focus-group this ad with?

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/04/27/5019/

pubdate

http://www.aaronland.info/weblog/2003/04/27

created

2003-04-27T20:04:55-04:00

last modified

2003-10-11T10:40:12-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/04/27/5019//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

I see t-shirts and posters and all manner of swag.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/04/15/4997/

pubdate

http://www.aaronland.info/weblog/2003/04/15

created

2003-04-15T19:07:27-04:00

last modified

2003-10-11T10:40:34-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/04/15/4997//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Dominic Mitchell : XML::SAX::Builder.pm

You can't have a tag called DESTROY.

This could be useful for XML::RSS.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/04/13/4992/

pubdate

http://www.aaronland.info/weblog/2003/04/13

created

2003-04-13T10:00:29-04:00

last modified

2003-10-11T10:40:39-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/04/13/4992//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Happy war to ya!

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/03/20/4928/

pubdate

http://www.aaronland.info/weblog/2003/03/20

created

2003-03-20T17:25:54-05:00

last modified

2003-10-11T10:41:43-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/03/20/4928//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The Many Date and Times of Perl

Efforts in the past to herd all the existing module authors towards a common API have failed, so rather than try that again, I decided to just write even more datetime code. As we all know, the best way to put out a fire is to pour copious amounts of gasoline on it. In order to make my project sound cool, I'm calling it the "Perl DateTime Suite", which sounds much better than "more date and time modules".

I am so with the Idea of RDF but it's never going to happen, certainly not the way people who wax poetic about it seem to imagine. RDF strikes me as the datetime problem writ large, an increasingly pendantic debate to define what the meaning of is is. By way of example, a careful reader will note that during the discussion of Daylight Savings Time in article cited no mention is made of the fact that Saskatchewan doesn't bother with the practice at all; most farmers are bit too busy for that kind of thing and who can blame them? So fine, go ahead and add another ruleset your RDF thingy but sooner or later all RDF thingies are just going to be little more than a collection of monster if/else statements (because the farmers aren't going adopt DST just to make your whiz-bang network enable font of knowledge happy. In every essay I've seen about RDF, the author say something to the effect of why is something so simple, so hard for people to understand? The answer is pretty straightforward : because, for good or ill, people are hell-bent on making it difficult. Why, if RDF is so simple, does it have all this baggage? What the hell is a Class and why do I need to care? Why, if all this nonsense, is meant for machines do people push as something that humans should feel all warm and fuzzt about? RDF is a perfectly good framework for exchanging data and describing things. Period. But please stop thinking that it is a suitable vehicle for condensing all of human experience and automating human interaction. see also : strikes me as more event-like than freebusy-like and banque de d&eacute;ppanage linguistique which, with a name like that, ought to tell you something.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/03/14/4909/

created

2003-03-14T16:40:18-05:00

last modified

2003-10-11T10:42:02-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/03/14/4909//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Nicole Maile : "The seduction process is what I find so interesting as a business person."

I don't know whether to laugh or cry...

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/02/20/4869/

pubdate

http://www.aaronland.info/weblog/2003/02/20

created

2003-02-20T16:13:43-05:00

last modified

2003-10-11T10:42:42-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/02/20/4869//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Simon Cozens: Mail::Thread.pm

This module implements something relatively close to Jamie Zawinski's mail threading algorithm, as described by http://www.jwz.org/doc/threading.html. Any deviations from the algorithm are accidental.

Maybe we've all been barking up the wrong tree with RSS and all the other syndication formats. Maybe we should just be storing everything as email messages...

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/01/15/4796/

pubdate

http://www.aaronland.info/weblog/2003/01/15

created

2003-01-15T18:33:36-05:00

last modified

2003-10-11T10:43:55-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/01/15/4796//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Me : eatdrinkfeelgood-1.1-to-indecard-fo.xsl 0.94

Added very simple image support while waiting for the various processors to implement the float property.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2003/01/10/4789/

pubdate

http://www.aaronland.info/weblog/2003/01/10

created

2003-01-10T01:28:00-05:00

last modified

2003-10-11T10:44:02-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2003/01/10/4789//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Ars Technica : Essential Home Wireless Security Practices

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/11/05/4698/

pubdate

http://www.aaronland.info/weblog/2002/11/05

created

2002-11-05T15:46:37-05:00

last modified

2003-10-11T10:45:34-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/11/05/4698//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Witness, the dogs of weblogging.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/11/03/4690/

pubdate

http://www.aaronland.info/weblog/2002/11/03

created

2002-11-03T17:44:55-05:00

last modified

2003-10-11T10:45:41-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/11/03/4690//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : roseate

Roseate \Ro"se*ate\, a. [Cf. L. roseus, rosatus, prepared from roses. See {Roseal}, {Rose}.] 1. Full of roses; rosy; as, roseate bowers. 2. resembling a rose in color or fragrance; esp., tinged with rose color; blooming; as, roseate beauty; her roseate lips. {Roseate tern} (Zo["o]l.), an American and European tern ({Sterna Dougalli}) whose breast is roseate in the breeding season. web1913
roseate adj : having a dusty purplish pink color; "the roseate glow of dawn" [syn: {rose}, {rosaceous}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/07/31/4513/

pubdate

http://www.aaronland.info/weblog/2002/07/31

created

2002-07-31T10:22:41-04:00

last modified

2003-10-11T10:48:38-04:00

revision

1.8

changes

http://www.aaronland.info/weblog/2002/07/31/4513//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The random pseudodictionary.com word of the day is : too hard basket case

A guy that you love to death but is too hard to get together with for reasons that are extremely annoying.
ex. Bob's a bit of a too hard basket case.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/07/29/4506/

pubdate

http://www.aaronland.info/weblog/2002/07/29

created

2002-07-29T17:22:45-04:00

last modified

2003-10-11T10:48:45-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/07/29/4506//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : disconcert

Disconcert \Dis`con*cert"\, n. Want of concert; disagreement. --Sir W. Temple. web1913
disconcert v 1: cause to feel embarrassment; "The constant attention of the young man confused her" [syn: {confuse}, {flurry}, {consternate}, {put off}] 2: cause to lose one's composure [syn: {upset}, {discompose}, {untune}, {discomfit}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/07/21/4482/

pubdate

http://www.aaronland.info/weblog/2002/07/21

created

2002-07-21T11:35:51-04:00

last modified

2003-10-11T10:49:09-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/07/21/4482//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : sang-froid

Sang-froid \Sang`-froid"\, n. [F., cold blood.] Freedom from agitation or excitement of mind; coolness in trying circumstances; indifference; calmness. --Burke. web1913
sang-froid n : great coolness and composure under strain; "keep your cool" [syn: {aplomb}, {assuredness}, {cool}, {poise}, {self-possession}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/05/06/4304/

pubdate

http://www.aaronland.info/weblog/2002/05/06

created

2002-05-06T16:09:58-04:00

last modified

2003-10-11T10:52:06-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/05/06/4304//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : blandishment

Blandishment \Blan"dish*ment\, n. [Cf. OF. blandissement.] The act of blandishing; a word or act expressive of affection or kindness, and tending to win the heart; soft words and artful caresses; cajolery; allurement. Cowering low with blandishment. --Milton. Attacked by royal smiles, by female blandishments. --Macaulay. web1913
blandishment n 1: flattery intended to persuade [syn: {cajolery}, {palaver}] 2: the act of urging by means of teasing or flattery [syn: {wheedling}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/05/03/4288/

pubdate

http://www.aaronland.info/weblog/2002/05/03

created

2002-05-03T22:25:16-04:00

last modified

2003-10-11T10:52:22-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/05/03/4288//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Karl Dubost : Show me Permalink (id)

"Ceci m'a fait penser à une bookmarket qui serait très efficace et qui permettrait tous les id d'une page contenu dans des "p". Voici c'est fait, si vous cliquez sur le lien Show me id. Vous devriez voir apparaître au dessus du paragraphe concerné le nom du lien à établir."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/03/11/4067/

pubdate

http://www.aaronland.info/weblog/2002/03/11

created

2002-03-11T16:36:05-05:00

last modified

2003-10-11T10:56:03-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/03/11/4067//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The random pseudodictionary.com word of the day is : zaiesque

(adj) Reminiscent of the appearance or character of Dr. Zaius from _Planet of the Apes_.
ex. Her sublime head of red hair was exotically zaiesque.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/03/01/4022/

pubdate

http://www.aaronland.info/weblog/2002/03/01

created

2002-03-01T06:13:08-05:00

last modified

2003-10-11T10:56:48-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/03/01/4022//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : contravene

Contravene \Con`tra*vene"\, v. t. [imp. & p. p. {Contravened}; p. pr. & vb. n. {Contravening}.] [LL. contravenire; L. contra + venire to come: cf. F. contrevenir. See {Come}.] 1. To meet in the way of opposition; to come into conflict with; to oppose; to contradict; to obstruct the operation of; to defeat. So plain a proposition . . . was not likely to be contravened. --Southey. 2. To violate; to nullify; to be inconsistent with; as, to contravene a law. Laws that place the subjects in such a state contravene the first principles of the compact of authority. --Johnson. Syn: To contradict; set aside; nullify; defeat; cross; obstruct; baffle; thwart. web1913
contravene v 1: go against, as of rules and laws; "He ran afould of the law"; "This behavior conflicts with our rules" [syn: {conflict}, {run afoul}, {infringe}] 2: deny the truth of [syn: {contradict}, {negate}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/02/12/3954/

pubdate

http://www.aaronland.info/weblog/2002/02/12

created

2002-02-12T03:26:39-05:00

last modified

2003-10-11T10:57:56-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/02/12/3954//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dictified dictionary.com word of the day is : mien

Mien \Mien\, n. [F. mine; perh. from sane source as mener to lead; cf. E. demean, menace, mine, n.] Aspect; air; manner; demeanor; carriage; bearing. Vice is a monster of so frightful mien, As, to be hated, needs but to be seen. --Pope. web1913
mien n : dignified manner or conduct [syn: {bearing}, {comportment}, {presence}] wn

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/01/30/3903/

pubdate

http://www.aaronland.info/weblog/2002/01/30

created

2002-01-30T18:33:15-05:00

last modified

2003-10-11T10:58:47-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/01/30/3903//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

boo radley : "[T]he end result is a set of packages under the Dia namespace,

chiefly Dia::UMLDiagram . The module provides a read-only interface into the layers of a Dia diagram which can be manipulated for output. Currently only class objects are supported; but this provides the functionality for generation of a skeletal module."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/01/29/3901/

pubdate

http://www.aaronland.info/weblog/2002/01/29

created

2002-01-29T15:01:34-05:00

last modified

2003-10-11T10:58:49-04:00

revision

1.10

changes

http://www.aaronland.info/weblog/2002/01/29/3901//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Larry Wall : Apocalypse 4

"The basic underlying question is 'What exactly do those curlies mean?'"

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2002/01/17/3851/

pubdate

http://www.aaronland.info/weblog/2002/01/17

created

2002-01-17T17:04:44-05:00

last modified

2003-10-11T10:59:39-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2002/01/17/3851//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Kip Hampton : XML and modern CGI applications

"I was initially skeptical of CGI::XMLApplication. As a card-carrying AxKit user I've grown accustomed to its speedy mod_perl foundation, and I've gotten quite comfortable generating my dynamic database-driven XML content using AxKit's eXtensible Server Pages implementation. The reality is, though, that the luxury of a dedicated XML publishing/application server like AxKit is beyond the reach and need of many developers. There is a large gap between the "just print it" of traditional CGI scripts and the high-octane XML-centric goodness of tools like AxKit. CGI::XMLApplication fills that gap nicely."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/12/13/3720/

pubdate

http://www.aaronland.info/weblog/2001/12/13

created

2001-12-13T09:45:11-05:00

last modified

2003-10-11T11:01:43-04:00

revision

1.8

changes

http://www.aaronland.info/weblog/2001/12/13/3720//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dict-ified dictionary.com word of the day is pantheon

| source : web1913 | Pantheon \Pan*the"on\, n. [L. pantheon, pantheum, Gr. ? (sc. ?), fr. ? of all gods; ?, ?, all + ? a god: cf. F. panth['e]on. See {Pan-}, and {Theism}.] 1. A temple dedicated to all the gods; especially, the building so called at Rome. 2. The collective gods of a people, or a work treating of them; as, a divinity of the Greek pantheon. | source : wn | pantheon n 1: all the gods of a religion 2: a monument commemorating a nation's dead heroes 3: (ancient Greece or Rome) a temple to all the gods

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/12/02/3681/

pubdate

http://www.aaronland.info/weblog/2001/12/02

created

2001-12-02T04:31:24-05:00

last modified

2003-10-11T11:02:22-04:00

revision

1.8

changes

http://www.aaronland.info/weblog/2001/12/02/3681//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

There's a cafe on the corner of Duluth and Hotel de Ville,

called Chez Jose, which is pretty much ground zero for what most anglophones in the city call the Plateau. (Convention says that the Plateau starts East of St. Denis, if you really want to know; Chez Jose is in what is generally known as the Portugese neighbourhood.) It's a nice, low-key place to go for a simple meal and coffee and they make killer fruity drinks. But they've got this 80s thing going. Hard. I don't think there has been one time I've gone, in the last year, when I haven't heard Video Killed the Radio Star played, often two or three times. I'm willing to cede enough ground to say that Tainted Love maybe proves that the 80s weren't all bad but I tend to think of that as the exception that proves the rule. Some things just shouldn't come back. People wearing sneakers that are fastened with velco straps, for instance. Please please please, just trust me when I say : you're not missing anything. Speaking of the 80s, I made the liner notes for the new Grim Skunk album.

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/11/10/3625/

pubdate

http://www.aaronland.info/weblog/2001/11/10

created

2001-11-10T20:06:37-05:00

last modified

2003-10-11T11:03:17-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2001/11/10/3625//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Movable Thoughts #13

MT builds with a handy template variable called $MTCommentAuthorLink$ with automagically tags a name with some kind of URI, if present. You can configure MT to force people to include an email address when they submit a comment which, notwithstanding the ubiquitous bob@bob.com, is understandable. You can also include an optional URI. The problem is that if you disallow anonymous comments and a user doesn't have, or doesn't include, a URL their email address gets stuck into the anchor tag. This is just bad form given the volume of spam-bots scraping the web. There are two hacks around this problem. The first is to update all your templates and change $MTAuthorCommentLink$ to $MTCommentAuthor$, but this has the side-effect of never including an author's URL which may be cause for further annoyance. The second is to alter the conditional by hand, at lines 412-414, in MT::Template::Context.pm. Neither of these options are really very satisfying, though. Rather, this should be a configurable option in the mt.cfg file; something like MTCommentsAtNoSpam. Unfortunately, none of the objects contained in the MT::Template::Context object contain instances of the MT::ConfigMgr object. In the days to come, I will submit a bugfix to pass $app->{ "cfg" } as an argument to the Context.pm constructor...

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/11/10/3624/

pubdate

http://www.aaronland.info/weblog/2001/11/10

created

2001-11-10T02:01:42-05:00

last modified

2003-10-11T11:03:18-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2001/11/10/3624//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Movable Thoughts #5-8

5) it appears that CGI parameters aren't being untainted anywhere, at all -- the reality is that this may not actually be an issue in an MT context, but it is disconcerting all the same 6) the $CGI::POST_MAX variable is not set for file uploads which means that a cgiwrap-less Movable Type can, potentially, be used as a DoS tool -- to be clear, this problem exists for any and all CGI (wrap-less) scripts; it's just that MT does it out of the box 7) MT is hard-coded to prevent you from updating an already uploaded file 8) there isn't much in the way of validation for email addresses and URIs in the comments form. Now, lest you think I'm just being an asshole and picking on people who've generously donated their time and code to the general public I assure you that I wouldn't have spent as much time as I have on MT if I didn't think it was an otherwise excellent piece of work. But some of these bugs are the kind of thing that no amount of feeping creaturitis or ease of use should ever trump. You can dress it up in a pretty package and try to make it "simple" for "average" users to setup but, and this is not directed at the clever people who've written MT, it doesn't change the simple fact that this computer stuff is hard and complicated and fraught with pitfalls. Where possible I have sent the developers possible fixes, or workarounds. Whether they care to listen to anything I have to say after everything that's been said to date remains to be seen...

refers to

meta

 

Kevin Lenzo : YAPC.pm

"contains documentation and some support code for proposing, planning, and executing a technical conference. While the specifics are relevant to a series of conferences supported by the Yet Another Society, the content may be informative for any group with an interest in promoting collaborative efforts and discussion on a focussed technical topic."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/10/22/3555/

pubdate

http://www.aaronland.info/weblog/2001/10/22

created

2001-10-22T18:21:10-04:00

last modified

2003-10-11T11:04:26-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2001/10/22/3555//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Gregory Nickonov : "It’s the same as buying a loaf of bread,

and when you find the middle isn’t baked, you come back to show the baker and get put in jail."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/08/31/3326/

pubdate

http://www.aaronland.info/weblog/2001/08/31

created

2001-08-31T01:23:45-04:00

last modified

2003-10-11T11:08:01-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2001/08/31/3326//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

Jonathan Eisenzopf : XML::RSS.pm 0.97

"[adds] support for the Taxonomy module (taxo). It only works inside the channel or item elements and only supports one form of the module syntax. See the XML::RSS documentation for examples."

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/04/05/2926/

pubdate

http://www.aaronland.info/weblog/2001/04/05

created

2001-04-05T16:23:03-04:00

last modified

2003-10-11T11:14:30-04:00

revision

1.9

changes

http://www.aaronland.info/weblog/2001/04/05/2926//changes.html

categories

license

http://creativecommons.org/licenses/by-nd-nc/1.0/

external links

[x]
 

The dict-ified dictionary.com word of the day is fillip

| source : web1913 | Fillip \Fil"lip\, v. t. [imp. & p. p. {Filliped}; p. pr. & vb. n. {Filliping}.] [For filp, flip. Cf. {Flippant}.] 1. To strike with the nail of the finger, first placed against the ball of the thumb, and forced from that position with a sudden spring; to snap with the finger. ``You filip me o' the head.'' --Shak. 2. To snap; to project quickly. The use of the elastic switch to fillip small missiles with. --Tylor. | source : web1913 | Fillip \Fil"lip\, n. 1. A jerk of the finger forced suddenly from the thumb; a smart blow. 2. Something serving to rouse or excite. I take a glass of grog for a filip. --Dickens. | source : wn | fillip n : anything that tends to arouse; "his approval was an added fillip" [syn: {bonus}]

refers to

meta

[x]

permalink

http://www.aaronland.info/weblog/2001/04/03/2919/

pubdate

http://www.aaronland.info/weblog/2001/04/03

created

2001-04-03T01:13:21-04:00

last modified

2003-10-11T11:14:37-04:00

revision

1.10

changes

http://www.aaronland.info/weblog/2001/04/03/2919//changes.html