Sat, 12 Sep 2009
- The master copy of the blog contents is no longer on the server. It's now on one of my personal machines.
I'm managing site history using git .This was a nice idea, but git and blosxom have a fundamental difference of opinion on the importance of file datestamps. blosxom relies on datestamps to assign dates to posts and git deliberately updates datestamps to work with build systems. There are ways to reconcile the two, but it's not worth the time right now.- Uploads to the server are done with rsync invoked through a makefile. (ssh's public key authentication makes this blazingly fast and easy.)
reddit this! Digg Me!
[/tech/this_blog] permanent link
Mon, 28 Aug 2006
The implementation is pretty simple: it uses mktemp to create a temporary file and touch -r to copy the modification dates from the post file to the temporary file and back. Be sure to modify the #! line to point to your installation of bash, should you decide to use this script. A nice generalization of this script would have it prompt for a description of the update and add the text to the post.
#!/usr/local/bin/bash
if [ $# -ne 1 ]
then
echo
echo "This script expects a command line argument: the
echo "name of the post to edit."
exit 1
fi
DATE_MARKER=`mktemp /tmp/date_marker.XXXXXX` || exit 1
touch -r $1 ${DATE_MARKER}
${EDITOR} $1
touch -r ${DATE_MARKER} $1
rm ${DATE_MARKER}
reddit this! Digg Me!
[/tech/this_blog] permanent link
Thu, 17 Aug 2006
reddit this! Digg Me!
[/tech/this_blog] permanent link
Thu, 22 Jun 2006
reddit this! Digg Me!
[/tech/this_blog] permanent link
Tue, 06 Jun 2006
reddit this! Digg Me!
[/tech/this_blog] permanent link
Mon, 20 Mar 2006
reddit this! Digg Me!
[/tech/this_blog] permanent link
Thu, 23 Jun 2005
About ten years ago, a good friend of mine went to work in Texaco's IT Shop as a summer intern. One of his job responsibilities was to develop an intranet website. I forget the details, but somewhere along the way he decided he wanted to put a fancy banner picture atop the page. At the time, we were both interested in ray tracing, so we decided to throw together a raytraced version of the Texaco Star logo.
Using our copious free time, we found an online copy of the Texaco logo, took measurements of the star and rendered it as a white solid set against a metallic red hemisphere. We even went to the trouble of animating the star so it rotates, generating a bunch of frames and using a GIF tool to put together an animated GIF. The final result was a nicely animated Texaco logo with an "attractive" (This is by 1995 intranet standards, remember) banner to the side. Since then, I've dragged the model out, re-rendered it at higher resolution, and stuck it in a little Raytracing Gallery I have set up.
reddit this! Digg Me!
[/tech/this_blog] permanent link
Fri, 03 Jun 2005
To make it easier to distinguish traffic from me, and traffic from other folks, I've added a symlink to my configuration that makes it possible to hit the blog from a different, private, URL. That way, my hits and other folks hits are nicely bucketed out in my ISP's reporting. This is a cheap and easy solution, and I reccomend it.
reddit this! Digg Me!
[/tech/this_blog] permanent link
Wed, 01 Jun 2005
Since people tend not to read online, and blogs are often read in huge volumes via an aggregator, my hunch is that the title (and maybe the first paragraph) have to convince people your article is worth the time...
More established bloggers, with a better track record of writing interesting stuff, might have more leeway.
reddit this! Digg Me!
[/tech/this_blog] permanent link
Fri, 04 Mar 2005
The problem with making general interest posts at the root of a topic is that there's then no way to watch only the general topics. If you look at the root topic, you get the whole topic.
reddit this! Digg Me!
[/tech/this_blog] permanent link
Tue, 22 Feb 2005
reddit this! Digg Me!
[/tech/this_blog] permanent link
Wed, 09 Feb 2005
None of this is all that earth shattering, but it was all trivial to do in Bloxsom. For a one-file, 16K Perl script, Bloxsom brings a lot to the table.
Next on the adgenda is getting a web form set up for posting and
hopefully editing blog posts, and then setting up a web-based
way to upload images into the blog. My current workflow for posting
to the blog involves two levels of nested SSH logins and the use
of vi. *shudder*.
reddit this! Digg Me!