Pat Gunn (dachte) wrote,
Pat Gunn

Subtle Mines

Out of curiosity, I did some statistics on my BLOG. So far I have a bit over 800 thousand lines in all my posts, with about 55000 lines. I whipped up a cute little Perl script to give me rough word frequencies. Going beyond super-common words in English, interestingly common words include:

  • people, at 3283 counts
  • really, at 1827 (possibly a sign that my style needs work)
  • think, at 1787
  • probably, at 934
  • interesting, at 876

I would simply post the results, but the summary tool presently doesn't skip over private posts or private sections of posts, so I'd prefer to be safe.

Rewriting my email client is going well - it's almost theoretically ready to replace the old setup, although I'll probably keep working on it for awhile after I start using it -- with a cleaner codebase there are several features I'd like to add. In writing scripts and programs like this, I'm finally reaching the point where I regret that most of my code isn't done in OO modules, and I'm inclined to convert most of it to be so -- my Unix environment depends heavily on Perl, and I'd like to more easily be able to reuse data concepts and the like. I regret that PERL5LIB feels like such a wrong solution to tell the system where libraries are -- for development purposes I'd rather pick up modules at runtime, which feels even more awkward (eval {use lib "mypath" ; use MyModule;} gets a bit old with proper error checking and repeated for every component that wants to buy into the larger structure). Dynamic component loading tends to be fragile and/or ugly in most languages though (I mostly like C(POSIX)'s dlopen() function family though).

I recently read a little bit about the various truces in World War I held by the soldiers on some holidays, sometimes including leaving trenches for some sport or partying with "the enemy", despite the best efforts of their higher-ups. Especially given the messy causes of WWI, it makes it seem all the more tragic that so much death and conflict came to people who really had no quarrel with each other. Even in WWII, where there were some legitimate issues at stake and people presumably bought more into the ideologies that were shaping the involved countries, there were a number of people that were either drafted or were in it to defend their society with little ideological involvement. I find it regretful that in WWI at least the soldiers didn't, en masse, decide to stop fighting each other and go home to depose their governments. I guess maybe that would be both difficult and perhaps unthinkable though. Militaries acting on their own sometimes have had interesting effects on world history -- compare Kemal Ataturk to the Freikorps.

I'm interested and pleased to read that Sea Shepherd is continuing its work to prevent whaling. I keep thinking that it would be an interesting way to spend a few years joining them (although if it would work out, I would really want to do so with at least one friend, ideally a significant other).

Tags: blog, programming

  • Testing functions in Perl

    (Nothing particularly profound or my-idea-centric here, and I was tempted to post it to my personal blog instead, but it's worth trying to learn…

  • Abstract strategies for abstraction

    There are a few purposes of abstraction in programming; one of them is to construct a uniform API that is independent of the backend that can work…

  • Statistical Software Components

    A few months ago I mentioned my big library of useful generic C/Perl functions (libpgunn). There are plenty of other general-purpose libraries out…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded