Kongzi Online

SRS in the Classroom

One of the things that Anki seems to do well is handle collections of cards called “Decks”. Decks are an analogy for cards in a specific tag or category group. One of the things Anki doesn’t do well is user profiles. If you want to keep all students in a classroom on the same deck for consistency,…

All Technical Problems Solved

Finished up some grunt work today to beautify the site for public use; login scripts should be working as expected settings page should be working as expected added change password form to settings finished up flashcard display scripts I then realized a great and wonderful thing; for the first time in years all technical problems have…

It’s rained 8 days in a row.

I was sick, then it started raining. For eight days. Not a joke. I haven’t coded anything since the last post, I’ve been too bored. What do you call this, code affective disorder or something? What a rip. This isn’t the first time I’ve put off coding. When there’s something I don’t want to code,…

Fixing wp-cron.php

Okay so I fired up the old blog today, haven’t been on all day — and what do you know — a 10 second page load?! First thought in my head was, “Yep, time to fix wp-cron.php.” Step 1. Disable wp-cron.php Add the following lines to wp-config.php:

Step 2. Create a ‘real’ cron job…

MyWiki v0.4

With MyWiki v0.4 we bring many important new features to the wiki. A lightweight markup language (MyWiki) which contains support for inline typographic styles, links, lists and tables only. Sticky namespaces: links which do not specify a namespace point to a page within the namespace (active in Creole and MyWiki markups only). Many small changes…

When PHP is faster than C++

I never thought I would say this but what I have discovered is very true. There are many cases — more than you might think — when PHP is faster than C++. I tested two versions of the MyWiki lightweight parser — one where 7 or 8 of the pregs (including the monospace & escape…