Seth Woolley's Blog

Occasional Musings

editblog script(0)


I've added a draft of a script to canonicalize managing my fsweblog blog tool.

For people who don't want to read the documentation or don't know filesystem details, it makes it easier to administer my blog tool.

Seth Woolley's Blog bloginfo

fsweblog now has categories(0)


I added category support to fsweblog.  Now I can add categories to my posts that are aggregated and searchable.

Seth Woolley's Blog bloginfo

image support to fsweblog added(0)


A Picture of SethI added entry image support for fsweblog.

inside [img][/img] you put:


loc is left/center/right.  center blocks wrapping around it.  left and right wrap text around the image, but of course this is all controlled by CSS, so what wrapping takes place isn't even in the blog code.

Update: added topright to place the image in the topright in the header area (moved farther to the top right) to match the front page.

Seth Woolley's Blog bloginfo

manual page viewer caches now(0)


I added some logic to make the manual page viewer cache now:

I also installed konqueror and the free opera to take a look at their css rendering.  It looks like I'll have to do some finagling to get the CSS in the footers of the man page style to line up correctly.

Seth Woolley's Blog bloginfo

todo part 1(0)


write whitepaper on a more cooperative and secure blogging ecosystem avoiding proprietary buzzwords and using existing technology:

  • scp/ssh instead of xmlrpc to manage blog tool:
    • unix permissions for drafts, publishing, and comment control instead of xmlrpc
    • can also be used for group blogging if need be (think of symlinks too)
    • no stored passwords to give up (contrast with openid and further contrast that with openpgp)
  • http-referer analysis instead of pingback/trackback


  • added more style support to blog posts (done)
  • built-in refer(r)er analysis (done)
  • unique id for comments and url forwarding (beware http response splitting) allows easy comment permalinks (done)
  • possible .plan/fingerd support (done)
  • make more arrays into hashes for easier readability (done)
  • factorize common code in templates and make search results templates (done)
  • possibly remove pointers to raw text files, or change them so title points back into blog (shelved)
  • rss feed should point to blog, instead of raw files, based on toggle (done)
  • 404 PATH_INFO support for comments and blogs in fsweblog (done)
  • 404 template in woolweb (done)

Seth Woolley's Blog bloginfo

dot plan suppot added(0)


I've added .plan support to this blog tool (fsweblog).  It will make a latest blog symlink to a known file that can be symlinked to via the user's .plan file.

Seth Woolley's Blog bloginfo

more web work(0)


I've revamped the style a bit for this website to look even more like unix manuals.  I hope unix users will get a kick out of it.  I planned on implementing a "gnu info" look, too, but I didn't want a bad interface to be made even worse.  Enjoy and feedback is welcome.

Seth Woolley's Blog bloginfo

fsweblog progress so far(0)


Well, I've made quite some progress on fsweblog.  Here's a short review:

First, I've cleaned up a bit of the code I've wanted to clean up regarding templates, and my next step will probably be to write a plugin architecture for the variable ties to the templates.  If you're not familiar with variable ties in perl, it's kind of like operator overloading, so for example when a variable is accessed, you can have it call a function, and since it uses a filesystem that has built-in modification times, you can easily setup a caching system.

But before I do that, I've been considering how to make the comment metadata a bit more friendly. Instead of using the entire title to store the metadata, I think it will be better to store such data in symlinks in the filesystem.  As most peopel are probably not aware, in unix, symbolic links can simply store any free form text up to MAXPATHLEN (4096 on linux, 1024 on many BSD flavors).  This would be a great place to store the cryptographic hashes, and the author, for example.  One can even make a file that is a symlink to the blog be the reference for how comments are commented to.  This can even allow a nice heirarchy to be stored for displaying threaded comments, if say you are replying to a comment instead of to a plain entry.  And with two directions of links, you can establish a full unidirectional graph that can be traversed with speed as fast as the filesystem file can be searched (which on, for example, reiserfs, is very fast).

Seth Woolley's Blog bloginfo

fsweblog updates and a forest protest(0)


So, I've done some hacking on fsweblog, here, and, so far, I've changed how I refer to the filesystem times so that you can see both status change and file modification times (ctime and mtime), added a regular expression searching system, and did a few tweaks here and there to my blog style to make it work well in IE.

No, I'm not going to make a web front end to posting.  The shell is the way things should be done.  However, I might add a way to auto-update the .plan file for fingerd to respond to.


Secondly, I thought I should mention what I did over the Fourth of July Weekend.  On Friday, I took a biodiesel bus (it's actually a regular bus but filled with biodiesel, as no mods are actually needed if you're using filtered and refined biodiesel) named "COOL" that a couple of my friends bought on credit cards for using on logging protests.  This group known as "Back 2 the WALL" reformed after the original WALL (Witness Against Lawless Logging).  WALL was formed out of the now famous Salvage Rider that Clinton signed in 1996.

After numerous lawsuits challenging salvage legality on particulars and environmental laws, much of the forests were enjoined and protected, and some normalcy came back to the forests after lots of tree sits and civil disobedience delayed logging on national forest lands while the Roadless Areas soon gained some sort of protection as well under Clinton.

Then Bush was selected, and WALL reinvented itself as B2TW ( ).  Bush made cutting down national forests (public land) a priority, and used the Brown and Biscuit fires to showcase his new "forestry management" plan that was guised as a fire management plan.

What most people may not realize is that in Oregon (especially Southern and Eastern), forest fires are quite common and serve to clear underbrush.  In a mature forest, there's a top canopy that prevents fires from burning as intensely and the tree bark is often thick enough to avoid tree death.  Also, they tend to burn in a "mosaic" pattern, getting spots here and there, and not completely devastating the area.

What Bush's forestry plan does is throw out the window all forestry science and declare all burned areas fit for "salvage" because he considers anything uncut as money to the logging industry (his constituents) -- nevermind that this is not land they own, it's land that belongs to all of us and is reserved for public use for all, not private profit for some.

The Bush Administration, through the National Forest Service (which is basically a front for the logging industry as most people hired into it are there for the purpose of selling off national forests), declared the 2002 and 2003 fire salvages in Oregon "an emergency" in seeking to get the logs cut before judicial review could proceed under the claim that "rot" would set in and "damage profits".

However, talk to any student of environmental science and they tell you that the process of dead trees rotting keeps the soil nutrients in the ecosystem.  By taking logs out and using only one kind of tree, they do a number of fatal actions to the ecosystem.  First, as any agricultural scientist knows, they are removing certain nutrients from the soil that other plants can provide, but the natural ecosystem is prevented from providing it.  In agricultural science, chemicals and toxins are used to regulate nutrients.  Forests cannot and should not have this done to them -- for one, since they tend to not be in flat lands, it's very difficult on the soil and nature to use them, and fertilizers are often made out of petroleum products.  A natural ecosystem will have, for example, a complete nitrogen cycle.  In unnatural environments, they tend to complete the nitrogen using shipped-in nitrogen products.

Another one of the worst things that can happen to a forest ecology is erosion.  This is accomplished by the sheer act of cutting, burning slag, and road building.  One of the keys to the forest is existing logging roads.  The Bush Administration loves the idea that they can start logging in a burned mosaic and justify further timber sales outside of the burned area.  In fact, loggers can take "green trees" from a salvage just by felling a brown tree onto it.  The additional damage that roads do is that they prevent wildlife from traveling, as big game tend to keep their distance from large roads.

Well, I should get to the point.  On Friday, see, I went to a logging protest on 8-mile road on highway 199 near Grant's Pass, Oregon.  The Thursday night before we arrived from Stumptown (Portland) and camped out with a bunch of Earth First! activists ( ) at a local State Park.  From there, in the morning, we visited the Forest Service headquarters in Grant's Pass and met up with the 40' tour bus owned by the Oxygen Collective ( ).  After a short protest of the extension of the road closure (to all except logging trucks) covered by the local television media, we tried to get a permit to go witness the logging happening.  After that was denied, we went up to the road closure line in our biodiesel busses.  Since a roadblock was setup, it made it hard to do anything, so the guard was talked into letting some people walk in, however, since the site was so many miles up the hill, it was done symbolically, for a few hundred yards, to protest the constitutionality of the closure (it's being challenged in federal court, currently).

After that, we went a mile down to the Illinois River, went skinny-dipping, and had lunch.

Later that weekend, I went to a Croquet party with a few local Pacific Green Party members, and yesterday talked with Joe Rowe regarding his work on the local Pacific Green Party database and how it can be integrated with the state party database.

Seth Woolley's Blog bloginfo politics

Revamped Website Style(0)


So, I've recently revamped my website style: (or ).

New additions are that I've taken the manual page style and translated it to the rest of the website.  There are some issues with centering in IE because it won't work to spec, and I might fix them later with some IE hacks, but I'd rather not spend my time on it.  Instead, I just redirect IE users to download Mozilla Firefox.  I figure I'm doing them a favor.

So every page should look like the manual page viewer ( ), even the image gallery, although I need to eventually regenerate the html so that the images are small enough to fit inside the white pages.

In other news, I've shelved my plan to revamp the security of wordpress by isolating the 256 SELECT queries (and other sql constructs) into a proper code sandbox and library.  I get everything I want out of my own blog tool, and I figure anybody who is crutched into using wordpress deserves all their exploits and regressions.  I'm particularly still pissed off that they regressed a vulnerability that I reported in October of 2003 after they introduced their "template" coding.  Come on people (not just wordpress developers), get your act together and separate the SQL from the presentational logic.  Learn to do it right _the first time_.

(Notice how on the post below, I represent wrapped urls (and anything else long) backslash-line-continuation style. :) That's just sweet.)

Seth Woolley's Blog bloginfo

test blog title(0)


This is a test blog.

Seth Woolley's Blog bloginfo