
<!DOCTYPE rss PUBLIC  "-//Netscape Communications//DTD RSS 0.91//EN"
"http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
<channel> 
<title></title> 
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi</link> 
<description>The work log of Bernie Simon</description> 
<language>en</language> 
<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/311044046800.html</link>
<description>
&lt;p&gt;
The problems with tozope were caused by the regular expression I was
using to parse the comma separated list. I replaced it with
Text::Parsewords and it worked fine. I gave it to Mike and I guess
he's happy with it. Then I backported the changes I made to the next
great version of tozope, which will preserve metadata. That version is 
held up because of an obscure (naturally) problem with Zope that
causes it to send the metadata of the folder rather than the metadata
of the document. Then I revised the shell script that bulds the
phonebook so that the publicly accesible files are put in a separate
directory from the other files. And Francesca had some questions about 
parameterized synphot files that I tried to answer.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/301043960400.html</link>
<description>
&lt;p&gt;
Mike claims that tozope used to handle lists of values but now that
feature is broken. I didn't think so, but I created a version of
tozope that does handle lists by dumbing down my new metadata aware
version of tozope. I also added better comma separated list parsing
code. The code has some problems in testing that I haven't
resolved. Harry gave another tutorial on the LDAP manager code in the
afternoon. And there was a problem with the external methods fix in
that some current content got lost on one of the pages and we had to
recreate it.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/291043874000.html</link>
<description>
&lt;p&gt;
Leigh found some problems with my external methods fix. I made some
changes, she tested it again and the fix was approved for installation
tomorrow. Leigh noticed that the printable_page exposes the url of the
page, which is bad. She put in a call to fix the problem. I think I
can call setVirtualRoot or setServerURL to get the "virtual" url. I
wrote the script to automatically build the phonebook and tested it
with cron. I then added some extra documentation on the LaTeX macros I
defined. The remaining work is to decide how to expose the modifiable
files via ftp.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/281043787600.html</link>
<description>
&lt;p&gt;
Leigh found some pages on the production web site that needed to be
modified for the external methods fix. I copied them to the
integration web site and modified them. Then I modified the phonebook
LaTeX file so that it format correctly on letter sized paper, which
seems to be the new phonebook standard. Tomorrow I'll write the shell
script that runs the phone book script, runs LaTeX, and copies the
file to the ftp directory.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/271043701200.html</link>
<description>
&lt;p&gt;
Today I went back to modifying tozope.pl to read metadata from
existing files. The project ran into a roadblock: The method I am
using to dump the metadata gets the metadata from the folder
containing the object and not the object. Neither Harry or Jim could
help me solve the problem.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/241043442000.html</link>
<description>
&lt;p&gt;
I wrote up the test plan for yesterday's fix. Mike has moved the change to 
test. I felt the need for better log file searching tools, so I
modified scanlog.pl so it can perform ad hoc searches. Then I did some 
reporting for the LDAP project. The proposal submission deadline is
past, so we seem to have weathered the web werver performance problem.
I hope my two fixes will resolve the problem when they get in next week.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/231043355600.html</link>
<description>
&lt;p&gt;
I spent the day taking the three most commonly used Python scripts on
our web site and converting them to external methods. And also
converting the dtml code that calls them. The bug that is causing the
slowness looks related to the Python scripts and it's my hope that
getting rid of them will solve the problem.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/221043269200.html</link>
<description>
&lt;p&gt;
Today I modified STObjects to remove mutable method defaults, tested
the changes, checked them into CVS, and wrote up a test plan.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/211043182800.html</link>
<description>
&lt;p&gt;
I read the Zope developers documentation overnight and it warned not
to set a default argument in a function definition to a mutable
variable. I checked out the code for STObjects and it turns out that
we've been doing that. So I identified a short list of places in the
code this was occurring and emailed a message to the group. Then Jim
reminded me that I had promised to revise the torture script so we
could benchmark gojira. I spent most of the day doing this and started 
the script running. I also started making the modifications to
STObjects, I promised to have them done tomorrrow.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/201043096400.html</link>
<description>
&lt;p&gt;
I wrote a script that extracts a time range of hits from the web
server log files. Tomorrow I've got to remember to write a similar
script that extracts a range of days. Then I tested the modified
tozope script. There is still some confusion in my mind on the proper
way to handle metadata types. I spent some time looking at the server
slowdown issue, which looks to be a problem with persistent objects.
&lt;/p&gt;
</description>
</item>

</channel>
</rss>
