November 20, 2002 – 12:00 am
Dan Lyke wrote about the Perl regular expression for extracting XMP from Adobe files:
In the XML extractor, try replacing the grouping for $3, currently “(.*)”, with “(.*?)”. “*” and “+” are default greedy, so the rest of the match will match the last occurrence of that in the document. The “?” makes them non-greedy. Almost [...]
November 17, 2002 – 12:00 am
Over at w3.org, Dan Brickley wrote a web tool to extract Adobe XMP data from Adobe files such as PDFs and Photoshop files.
I asked him about the script, and he wrote that the key is a Perl regular expression applied to the document:
m/id=’W5M0MpCehiHzreSzNTczkc9d’\s*(bytes=’)*([^']*)’?\?>(.*)<\?xpacket end=’([^']*)’\?>/sg
The XMP is returned in $3.
You’ll want to experiment with this expression [...]
October 30, 2002 – 12:00 am
Chamas consulting put together a set of Web Application benchmarks on Apache, comparing the throughput and memory usage of a ‘Hello World’ application written in various frameworks (mod_perl, PHP, JSP, XSLT, custom Apache Modules).
As you’d expect, the custom Apache API modules were the top performers, but mod_perl appeared to outdo mod_php, in both throughput [...]
October 29, 2002 – 12:00 am
[ via Daring Fireball ] Oh, so that’s why the QuickTime installer balked…
More like this: apple, perl
|
Posted under Uncategorized
|
October 29, 2002 – 12:00 am
Propaganda from my employer about Macs and the Human Genome Project. One of the researchers keeps a copy of the Human genome on his iPod. If he’s a Neil Young fan, does that me he’ll ‘rip, mix, burn’ himself a Cinnamon Girl?
October 23, 2002 – 12:00 am
[ via Camworld ] O’Reilly’s published a book on HTML::Mason, which I’ve not had the opportunity to work with, but I’ve seen some extensive demos. Mason drives Salon and The Nation.
September 27, 2002 – 12:00 am
Looking for an Apache 2.0 to run under OS X.2? Server Logistics has packages for Apache (which install under /Library), Perl, PHP, Tomcat, and other server components.
September 9, 2002 – 12:00 am
Kevin (Morbus) walks you through building and installing Perl 5.8 on Mac OS 10.2.
More like this: apple, perl
|
Posted under Uncategorized
|
August 30, 2002 – 12:00 am
[ via BoingBoing ] Mena and Ben released a stand-alone Perl implementation of Moveable Type’s Trackback that you can wire into your own weblogging tools. It’s released under the Artistic License. Yay!
[ via XML Database JuJu ] Woah. A shell, written in Perl, for editing, piping and manipulating XML.
More like this: perl, xml
|
Posted under Uncategorized
|
Callisto’s a CMS built on top of mod_perl and AxKit.
Tim O’Reilly gave a version of his essay on Inventing the Future as his keynote talk at the Apple WWDC this afternoon. He put a Mac spin on things (of course,) and said some things that make me proud to be a Mac Partisan: the Perl 6 internals team is using Mac OS. James Gosling’s [...]
April 21, 2002 – 12:00 am
In a comment on Edd Dumbul’s O’Reilly WebLog, Mike Champion reminds us that 95% of what SOAP does can be done in a few lines of Perl or sh.
Update: In his WebLog, Mike clarifies: “For the record, I said that 95% of what ordinary people would do with SOAP (e.g. the infamous “Hello, Stockticker” example, [...]
February 17, 2002 – 12:00 am
Dan Lyke provides this comment on the state of Perl 6 development.
January 30, 2002 – 12:00 am
Spammers are using a hole in the popular formmail.pl CGI-bin script to send spam. The script’s authors list several changes you can make to secure your installation. They may be completely devoid of morals, but they are clever. At least this clears up the mystery of the format of the spam I’ve gotten lately.