My knitting blog is now located at the Needle Exchange!

Question for the geeks

July 27th, 2006 at 1:05 pm (The Internet)

I’m trying to set up a cron job on my server to run a php script every hour, and for some reason the only thing that works is usr/bin/wget. Which is really annoying, because every time it runs the script it writes a new file and I end up with piles and piles of files all over the place. Anyone have any idea which command I should use?

2 Comments

Eve’s Drupal Tutorial Series, Episode #2

July 25th, 2006 at 4:17 pm (The Internet)

How do I add something to the menu?

Menus in drupal are really weird. Instead of hooking onto a function, they hook onto the path of a page. At least, that’s what I’ve gathered from looking at the code. I’m sure drupal experts don’t think about it and just visualize it in another way, but what you’re essentially doing is grabbing a series of ordered arguments and basing everything you write on that. So if your path is /node/add, arg(0) is “node” and arg(1) is “add”.

2 Comments

Fair warning

July 25th, 2006 at 9:45 am (This Blog is Self-Referential, The Internet)

The “popularity contest” plugin for Wordpress is the buggiest piece of garbage I’ve ever seen. I installed it on this blog and it worked, but then suddenly it started doing all this weird stuff to my admin system. I tried installing it on my other blog and it didn’t work at all. Support is also garbage; at least four people have listed the same problems as I have and none of them have gotten any responses.

Turns out it’s a problem with mysql; the plugin directly accesses the mysql database without an abstraction layer, and of course it uses queries that are dependent on a weird, older version of mysql. So there’s no hope of it working, ever.

I’m rather disappointed, but I’ll find another plugin that hopefully does the same thing.

Comment

We’re clear-cutting British Columbia for this?

July 24th, 2006 at 11:29 am (Tales of the Swamp)

I’m doing corrections to an electronic course right now for the third time. I don’t actually mind at all having to do these corrections; what really bothers me is that despite my request to have the corrections submitted electronically, for the second time I’ve been given a stack of paper with corrections marked in pencil. There are only 23 corrections to be made, but the entire course was printed out and the pages to be corrected were marked with post it notes.

I just measured the width of paper in my office, and there are 500 pages for every cm. That means that the 2cm high stack of paper I was just given contains at least 150 pages. (I’m cutting off 50 pages because pages are less compact when they’ve been leafed through.) Because I know the person responsible for the course has printed out at least 2 copies of the course for his own use, as well as another set of corrections for me a few weeks ago, that means that for this one single electronic course, at least 600 multi-purpose, 0% recycled, single-sided pages are going into the recycling bin this week.

We’re clear-cutting British Columbia for this?

4 Comments

I Cheetah all the time

July 23rd, 2006 at 2:48 pm (Cute Things)

Photobucket - Video and Image Hosting

Cheetah Babies: perhaps not as fast as Ben Johnson (yet), but like 10,000,000,000,000 times cuter.

3 Comments

The Day the Cow Sneezed

July 23rd, 2006 at 12:48 pm (Arts & Culture)

The Day The Cow Sneezed

Here’s a great post from Ward-O-Matic on The Day the Cow Sneezed by Jim Flora. Fantastic artwork, and a great insight on children’s book printing in the 50s.

Comment

ACT-R Gang Bang 5.0: An Orgy of Cognition

July 21st, 2006 at 5:51 pm (Psychology & Cognitive Science)

This is the paper I wrote a little while ago. Ignore the lazy melodrama at times, I was really scrambling for an introduction.

Sixteen years ago, Allen Newell argued for a theory of how the individual parts of the mind are combined. He pioneered the SOAR architecture, and is considered one of the fathers of modern cognitive science. Using many of the guidelines that Newell proposed, The Adaptive Control of Thought theory (which has undergone several version changes since the seventies) has become the most sophisticated theory of human cognition. It recently underwent a name change to become The Adaptive Control of Thought — Rational (ACT-R) theory. Developed primarily by John Anderson (in concert with a number of other researchers over the years), ACT was described by Newell as “the first unified theory of cognition.” A recent version of ACT-R was the subject of discussion in “An Integrated Theory of the Mind” (2004), and it is this paper that I will be discussing.

2 Comments

« Previous entries ·