2004-02-05 |
Wrote a 'HasItChanged' object to maintain a set of.. |
Wrote a 'HasItChanged' object to maintain a set of keys and string hashes in a database. This allows a quick test to see if the text associated with a key has changed and warrants further processing. This is mainly to see whether generated structured text needs changing into a text file as this is a very slow process due, I suspect, to the horrendous overengineering of the docutils stuff.
I'll probably go back to using structured text for my web site as I can do pretty formatting and direct you to docutils.
Can I do a table?
Can I
|
Maybe
|
Yes
|
It is just about possible
|
No
|
Not possible at all
|
|
posted at 15:36:32
#
comment []
trackback []
|
|
Figured out how to stop docutils putting warning.. |
Figured out how to stop docutils putting warning messages in it's html output:
return publish_string( strText, writer_name='html', settings_overrides={ 'report_level': 3, 'halt_level': 3})
This suppresses warnings totally and causes exceptions if there are errors. I don't see a way to make it print warnings while not inserting them into the html.
|
posted at 15:06:40
#
comment []
trackback []
|
|
WOL didn't work :-( I've been reading about using.. |
WOL didn't work :-(
I've been reading about using SSH for port forwarding. This may be an option but I don't know if the SSH port is blocked by the firewall here at work.
I've looked at PuTTY which seems like a nice GUI for SSH but I don't know of a public SSH server to try to connect to.
|
posted at 12:48:00
#
comment []
trackback []
|
|
Thought: |
Thought: why did the apache setup insist on an email address? Is it going to send it to every spammer on the planet?
Must have a play with a python apache module.
|
posted at 08:44:48
#
comment []
trackback []
|
|
Set up PC for WOL and in a moment of inspiration I.. |
Set up PC for WOL and in a moment of inspiration I put apache on it as something guaranteed accessible from work to test it with. Tested apache by translating it into german on the google site. Used routers scheduler again to control access.
WOL will turn PC on if it is swiched off, it does not have to be in hibernate (which is an O/S distinction). But it boots much quicker from hibernate. It also does not run the startup folder so sending email from there as a sign of life is not going to do much good.
|
posted at 08:34:08
#
comment []
trackback []
|