Introduction
Introduction Statistics Contact Development Disclaimer Help
mkphlog v0.5 and the Hundred-Year Bug
Tuesday Aug 7 9:12:20 2012
Well, another mkphlog release is out. This one is just a bugfix whi
was brought to my attention by fellow SDFer chals. Basically, if
you started a new post with mkphlog, it would not ask if you wanted
edit the post with your specified editor. The fix (which was relati
has been uploaded to bitbucket and the downloads section of my goph
This is not the only bug in mkphlog, nor will it be the last. Howev
preparing for the next mkphlog release, I found a particularly
interesting one. I've nick-named it the Hundred-Year Bug. Since mkp
creates post directories only using the last two digits of the year
post on the same date 100 years later will result in a naming colli
mkphlog will refuse to create a new post. It will only insist that
the post you made 100 years earlier.
I'm going to mark this one as WONTFIX mainly because I can't see an
practical reason to change mkphlog's structure for a bug most (or p
people won't even encounter. Also, I figure that this is plenty of
case anyone plans to live more than 100 years, or if anyone who wan
create a phlog which is passed down from generation to generation.
(That one actually isn't such a bad idea, but I doubt I'll even liv
for 80 more years, much less 100)
It's also worth mentioning that pharc, chals's phlog archiver, avoi
problem entirely since it archives each year's posts in its own dir
(which uses the full year as the directory name). Even if your not
living for approximately 100 more years, I still suggest you check
because it's quite useful!
Happy Phlogging! and may you all live long, happy, gopher-filled li
mkphlog download
chals's pharc
You are viewing proxied material from sdf.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.