Older blog entries for brlewis (starting at number 6)

remle: Pretending you've received QUIT does not imply you must pretend you've received CRLF.CRLF.

I've made a lot of progress on my BRL tutorial. Now anybody with Tomcat or similar servlet engine can unpack learnbrl.war and get right into it. Instant web/database app development!

It's great when management is supportive. I got approval for us to pay the author of Kawa Scheme for work that will improve BRL debugging. Two coworkers got their first Scheme lesson yesterday.

Got my Ask Your Sweetie app working. It lets you make a page with a yes/no question for someone to answer. They get back your prepared response according to the answer. You are e-mailed their answer.

Self-correcting bug: My script for transfer of diary entry from Palm would overwrite an old entry rather than create a new one, so the entry in which I posted the code got overwritten. Hopefully nobody copied the old code before it Darwinized itself. I'll edit the old entry with corrected code.

My hosting provider is lame. JServ has not been running for some time. They never got back to me on any bug reports. I would finally phone them days later to get the latest promise. Now they say they're moving to JRun. We'll see. Meanwhile, the only place where I can demo BRL is BRL Cabaret. This is a free service shared by thousands of other apps, and the entire BRL environment gets unloaded after a short period of inactivity. This makes the first page load exceptionally slow. For now I'll wait and see how things go with my regular provider. If it doesn't improve I'll have to consider paying more than $17.95/month for servlet+db hosting.

12 Feb 2001 (updated 13 Feb 2001 at 14:46 UTC) »
#!/bin/sh
# script to copy memo from Palm "advogato" category to diary
# Memo must be filed under "advogato" and have 1st line "diary.txt"
 
topdir=$HOME
tmphtml=$topdir/diary$$.html
 
memos -d $topdir
 
cat > $tmphtml <<EOF
<form method="POST" action="http://advogato.org/diary/post.html">
<textarea name="entry"
EOF
 
(echo ' cols=60 rows=16>' ; \
 tail +2 $topdir/[Aa]dvogato/diary.txt \
 | sed -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g') >> $tmphtml
 
cat >> $tmphtml <<EOF
</textarea>
 <p>
 <input type="submit" name=preview value="Preview">
 <input type="hidden" name=key value="-1">
</form>
EOF
 
netscape -remote "OpenFile($tmphtml)"

Actively working on BRL.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!