that regexp haiku....
That regexp haiku I wrote a while back is on Java.net Today.
That regexp haiku I wrote a while back is on Java.net Today.
First off, it's now http://www.bluesock.org/~willkg/blog/
. I followed
Rael's
directions
and implemented the mod_rewrite adjustments. That worked super. Then it
created some mild issues that I'm sorting out now. Namely, I have all
kinds of content in different formats: html, shtml, php, and now
pyblosxom entries. So I'm going to do a massive normalization of all the
content and get rid of the stuff I don't update ever. Getting there.
Anyhow, so my point is that my entire site is now in a state of flux as it gets re-absorbed into more of a blog with a slight amount of static content.
This was published on java.net at https://weblogs.java.net/blog/poetry/archive/2003/07/regexp_haiku_by.html.
So I used to be an E2 noder way back and then didn't really have anything to node anymore so I stopped. One of the things I noded was Tom Lehrer. I did that way back in 2000--almost 3 years ago. My friend sends me an im today with this. Funnily enough, it's identical to what I wrote--the dude stole the links and everything!
Weird. Someone stole stuff I wrote and then built a web-site out of it.
added #antisubstitute
command
added action priorities
fixed #read
and #write
so they're inverses of each other
changed handling of IAC GA
and IAC TELOPT_EOR
changes to documentation and help system
fixes to Lyntin so we handle errant mud echo requests better
added a debugmode (#config debugmod
) for making macro writing easier
cleanup to plugin importing at startup
Read the ChangeLog for details.
This will be the last release before 4.0 which is scheduled around October 2003. There's some heavy things that are in the plans to be redone between now and then. Read the roadmap for more details and watch this site for news.
Thanks to the folks who helped make this a clean release--their help in the last few weeks discovering and diagnosing bugs has been great!
Wari has been noticing some scaling issues with entries. Of course, I don't notice anything like that since I only have like 73 entries (as of the time of this writing). So I hereby commence my effort to create oodles of useless chatter in order to better test out PyBlosxom. I will call this Project Content. All such chatter will go into the content category.
I highly suggest using the categories on the right side thing there to help in discerning the silly filler from the real content. You know. Important things like Lyntin status (3.3--working on 4.0).
The title of this entry comes from this funny story in college. This dude was in the DEClab with us and we're all quietly typing away working on whatever it is we were working on. Then he stands up all of a sudden and slams his hand on the desk (WHACK!) and says in this thick accent, "NEEEDS MORRRE MEMOREEE!"
It doesn't look so funny written down but my friend Chris does this imitation of it that's got to be criminal. Hilarity ensues.
There were two things I did in the last 6 months that have significantly changed my life for the better:
I stopped watching TV
I stopped reading Slashdot
In regards to TV, almost everyone I know watches too much TV. And it's not as if they're watching good TV--they're watching things like American Idol. What possible value does that show have other than pure unintelligent entertainment? (Sociologists are excluded from this question.) People tell me they feel like they're being bombarded by advertising. If you get rid of your TV and find a browser that allows you to disable pop-up ads--over half of the advertising in the world melts away. Save yourselves!
I'm another anti-Slashdot person. Best of luck to the admin who try their best in building a moderation system that allows me to read comments without having to interact with the ignorant (yet exceptionally vocal) masses. The only value I think Slashdot has at this point is as a venue for political activism and education. Most of us have no clue what's going on in the wiley world of legislation and it's nice to have a couple of one-stop-shops to catch up on the list of things I can't do any more.
Read more books! Get outside! Fight the powers that are crushing you like bugs! Exercise! Brush your teeth! In these ways, you have the habits for a healthier and happier life.
This plugin handles registry kinds of things. I use it (now) for the Lyntin code registry. It's soooo much easier to deal with than the one I wrote in PHP.
Code here.
I checked in some changes I made last night which affect how variables get expanded and what kinds of things we can do with metadata variables. Now, we can expand the following variable things:
$foo
This is a regular variable with nothing fancy that we could handle before.
$foo::bar
This is variable bar in the scoping foo. Variables can now be grouped in categories. Categories can be functionally oriented (utils, calendar, date, file, communication, ...) or plugin oriented (pycalendar, pyarchives, ...) or whatever.
$foo::bar("arg1", "arg2", "arg3")
This is variable bar in the scoping foo... but it's actually a function
call passing in three arguments all of type string. The arguments are
evaluated as Python code, can be of any type, and any quantity. We only
pass in the arguments if the value of the variable (in this case
$foo::bar
) is a function. This allows plugins to take in configuration
information from other places other than config.py
. For instance, this
is really useful for a fileinclude kind of plugin where you might want to
include different files at different points in your templates.... More
about that later.
So now the following examples are all valid variables:
$foo
$foo::bar
$foo::bar(1, 2, 3)
$foo::bar::bar2({"arg1": 1, "arg2": 2})
$foo("arg1", 1, {"foo": "bar"})
In typical fashion (and at Wari's behest), I wrote a quick plugin which uses this. It allows you to include files in your head and foot templates. I use this to include my .project file so people can see it on my web-site as well as finger me on my server and I only have to update it in one place.
Code is here.