CAN I BE OF ASSISTANCE?
Shut it!

Saturday, March 31

Blog

Catagrees

Categories.  On the right.  On the category icons.  In the trees.  They're everywhere!  Eeeeee!!!

...

Sorry.

Fixed a couple of problems.  The MT->Minx transfer marked posts as unpublished under their individual categories (sort of, it's complicated), so they showed on the main blog page, but not on the category pages.  And a bug in the recent comments query meant that recent comments didn't show up at all on category pages.

Now, back to being driven crazy by this darn editor.

Posted by: Pixy Misa at 03:57 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 81 words, total size 1 kb.

Friday, March 30

Blog

Timing Is Everything

70ms for the main page without comments.
150ms with comments.
96 comments displayed (including the Recent Comments thingy).

Hmm. A bit disappointing, considering this is the fastest hardware I'm likely to get this year.

I just hope that Ace, who has 200+ comments on individual posts, doesn't try to do inline comments.

Update: Well, it's not broken, just a bit poky at certain tasks. An individual entry page takes 5.7ms (elapsed time) if you remove the Recent Comments. 2.9ms of that is the SQL queries. The forum page sans sidebar takes 54ms to list 20 posts; 6ms for the queries. (The query times are for cached queries; uncached takes longer in elapsed time, but that doesn't come into CPU efficiency of the application code.)

If I tweak the forum listing to include the body of the post, it takes exactly the same amount of time to within the limits of precision of the built-in timer. Which shouldn't be surprising I guess; all the data processing is done whether the template needs it or not, and Python's string processing is very efficient. It does point to where I need to concentrate my attention, though.

Update: Adding the planned [topics] selector and the associated [topic] data tags reduces the time for a forum page sans sidebar to 13ms. The sidebar adds another 13ms. Extending it from 20 to 50 topics pushes the time out to 42ms: about 500μs per topic, compared to about 2ms per entry.

Posted by: Pixy Misa at 12:06 PM | Comments (7) | Add Comment | Trackbacks (Suck)
Post contains 245 words, total size 2 kb.

Wednesday, March 28

Blog

Last Tags For Now

Simple, but neat:

[me] Pixy Misa
[you] you
[you=du] du

[me] picks up the author of the current post or comment.  [you] gets your username if you're logged in, or the name you used on your most recent comment if it's still retained by the session code, or the text specified, or if all else fails, "you".

Posted by: Pixy Misa at 10:48 PM | Comments (16) | Add Comment | Trackbacks (Suck)
Post contains 52 words, total size 1 kb.

Blog

More BBCodes

Let's give these ones a whirl:

more...

Posted by: Pixy Misa at 10:05 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 79 words, total size 4 kb.

Tuesday, March 27

Blog

BBCodarama

One of the features I've built in to Minx is BBCode support.  You can use this in both posts and comments.  At least, you should be able to use it in comments.  We'll soon see.


more...

Posted by: Pixy Misa at 10:07 PM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 117 words, total size 5 kb.

Saturday, March 24

Blog

Hidden Spoilers Not Safe For Work



Secret message:
Spoiler for any random anime series:


This message brought to you by the tags [hide], [spoiler] and [nsfw].

Posted by: Pixy Misa at 07:31 PM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 22 words, total size 1 kb.

Wednesday, March 21

Blog

Die, Spammer Bastids!

Got my first piece of spam since I moved across to mee.nu.  Took a look at the automated spam filter, and the cupboard was bare.

Minx uses two spam filters: A conventional URL/IP filter fed from a honeypot system, and the statistical system called Snark that I wrote late in 2005 to deal with trackback spam at munu.  Snark worked really well, getting rid of 99.8% of trackback spam with almost no false positives, until I accidentally clobbered its data files during the DDoS attacks.  New Snark uses MySQL, of course, making it less likely for me to accidentally clobber it.

Unfortunately, (a) the honeypot isn't catching any flies and (b) one spam isn't enough to feed a statistical anti-spam engine.

I think, first, I need to fix the honeypot, and second, I need to fix the comment moderation screen.  A Pixy's work is never done.  Particularly when said Pixy embarks on major web development projects...

Posted by: Pixy Misa at 06:22 PM | Comments (10) | Add Comment | Trackbacks (Suck)
Post contains 159 words, total size 1 kb.

Friday, March 16

Blog

Post Post

Test post...

Edit edit... test edit...

Huh.  Weird.

Update: Oh, template bug.  Right then.

Posted by: Pixy Misa at 11:40 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 16 words, total size 1 kb.

Sunday, March 11

Blog

Not Yet

No, you can't log in just yet.  I'll have registration up in a couple of days.  Just be patient!

Posted by: Pixy Misa at 12:50 AM | Comments (5) | Add Comment | Trackbacks (Suck)
Post contains 21 words, total size 1 kb.

Saturday, March 10

Blog

Feeding Time

We have RSS feeds now. I'm not sure how good they are, because I, uh, adapted the code from elsewhere, but they validate, and they actually work.

Which means that formatting tags also work.

Which means... that I have to document those little buggers as well.

I've also printed a copy of the RSS 2.0 spec so that I can make a nice clean feed template - because it is just another template.

Update: Okay, clean RSS 2.0 is available now. Again, it both validates and works (tested in Firefox, Thunderbird, Opera and Google Reader) so have fun.

Update: And now we have Atom 1.0 as well!


[Valid RSS]

[Valid Atom 1.0]

Posted by: Pixy Misa at 10:23 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 108 words, total size 1 kb.

<< Page 1 of 2 >>
68kb generated in CPU 0.0415, elapsed 0.5781 seconds.
56 queries taking 0.5605 seconds, 252 records returned.
Powered by Minx 1.1.6c-pink.
Using https / https://ai.mee.nu / 250