Wednesday, March 4th 2009
twitter

Over there, on the right, twitter updates. Did it a while ago, decided to turn it back on (well, give the root gwir user the magical canhastwitter permission).

Jim Finnis
2:35PM

Tags: gwir twitter
Tuesday, July 8th 2008
Ah, that's RESTful.

Yes, I have been playing with the Flickr API. Why do you ask?

Jim Finnis
4:08PM

Tags: www gwir programming
Thursday, March 20th 2008
warning

I've changed a couple of little things here, mainly so that my new toy (mmmm, new toy) works correctly. Hopefully they won't affect anything unless you're viewing at a very low resolution. Any problems, let me know.

Jim Finnis
1:57PM

Tags: gwir
Monday, March 17th 2008
comments

Yes, just when I'd written something moderately interesting here, I've managed to screw up the comments system. Bear with me. UPDATE: that's got it, or at least the errors you'll get make more sense. The only time you'll see "an error occurred" is if you just tried to spam me ;)

Actually, I'm really really beginning to like this blogging system - everything's now inline and AJAXy, the security model seems pretty powerful, and it's very extensible (although there's still some work to be done there). Nice.

Jim Finnis
10:58AM

Tags: gwir
Sunday, February 24th 2008
new comment system

This weekend I have mainly been hacking up a new AJAXy comment system, where the comment blocks are expanded inline, just like all the big kids use. Click on the (n comments) bit at the bottom of a post and the system will send a request to suck the comment data from the server, inserting it into the right place when it arrives. The add comment form works in a similar way, and if you get the captcha wrong you should just get a popup alert. Let's see how it goes. To be honest, I've only tested it on Firefox, but I think I've been working in fairly standard areas of the DOM.

Jim Finnis
1:37PM

Tags: gwir
Saturday, October 6th 2007
another hard day at the office

And I'm at work again, trying to get the epic golf game finished off. One day I'll tell you all about it, but right now the wounds are too fresh...

Oh, the RSS feed should be working again. Sorry about that, I changed a template specification and forgot to change the template use in the RSS page as well as the main page. Oops.

Jim Finnis
5:15PM

Tags: gwir work
Thursday, September 6th 2007
Facebook

So I'm on facebook now, having thought it was about time I joined the 21st Century. Just writing this here so that the Flog RSS reader thing picks it up - any links to this blog from there won't work quite right for a bit because there was an error in my rss feed code.They'll work once Flog refreshes all the entries.

Jim Finnis
11:09AM

Tags: gwir facebook
Wednesday, September 5th 2007
captcha errors?

Has anyone else seen the following while trying to post a comment?

"Fatal error: Call to undefined function captchaexception() (great big long thingy omitted)

If you have, could you drop me an email (the address is over there on the left, sorta). It's a bit weird, it's saying the code you're sending isn't for a valid comment. Hm.

Update

OK, it should be sorted now. The problem was first a dodgy line throwing the exception (missed out the 'new', doh), but primarily an over-efficient caching algorithm, leading to the following sequence of events:

  • Someone looks at post number N
  • Post N's code is generated, along with a captcha for it and an ID code for that captcha
  • Post number N is then cached, along with the captcha ID
  • Someone posts a comment, so that captcha ID is marked as used
  • Someone else looks at the post, loading the data - and the (now out of date) captcha ID - out of the cache, and tries to post a comment
  • The captcha server reports a 'stale ID' error, as it should.

There are some weirdnesses of the caching system that mean it still might behave oddly, though. Hm. Haven't got time to look at it properly now, so keep me posted.

For Mel

Mel, your email address keeps giving me SMTP permanent failure error 550 (mailbox unavailable). But you were trying to post comments while I was fucking about with the code online, something you should never do but the little laptop with the offline version running on it is elsewhere.

Jim Finnis
11:36AM

Tags: gwir
Thursday, August 30th 2007
All change

It's all a bit different, isn't it? Does it work for you lot? I've tested it under Firefox 2 and IE7 so far.

Jim Finnis
2:54PM

Tags: gwir

........... Older

Status

All very testy-testy at the moment. Please mail any problems to me at jim spot finnis monkey-with-tail gmail spot com. Hah, let's see the email scrapers decipher that.

RSS Feed

Current Page

the main page

Index

the main page
Gwir

Recent Comments

re Twitter posts for Sunday August 22 Catrin wrote:

It's actually going to be reviewed in a proper academic journal and everything. Well not actually everything, just a proper academic journal, but I think that's extremely exciting. It says so on the internet, it must be true.

23/08/10 11:28:33 AM

re Twitter posts for Friday July 2 Catrin wrote:

Hmm - that's a sentence whose meaning is changed completely if you don't realise that lame is in the French way not the English way.

02/07/10 10:26:05 AM

re 5536 Catrin wrote:

This was me trying to look like Amanda Palmer. I now realise I looked more like Tara Palmer Tompkinson. The reality check is always the one that bounces all the way to the Hong Kong and Shanghai Banking Corporation isn't it.

24/05/10 10:20:37 AM

re Twitter posts for Monday May 10 Catrin wrote:

Anything in this case being a tailor's mannequin made out of a Catrin, a tee shirt, and two rolls of gaffa tape. I just hope it's not voodoo if you stick pins into effigies of yourself.

10/05/10 12:22:35 PM

re Twitter posts for Tuesday May 4 Catrin wrote:

According to Google, it's a stencil thing for doing eyebrows. The only options are thin, medium or thick. Naturally, I'd want it to include "Option 4: Eyebrows A La Amanda Palmer. Except of course, if I were to do that, just at the point when I am applying the makeup, my brain would start playing the Victoria Wood monologue where she paints one really high up and the other really low down. "Now I look like a person who's had a pint spilt over them and they can't quite remember what to do about it". Hilarity would ensue, I would look like a div, and like Victoria Wood, would end up wearing a big brown raincoat and a picnic rug and a pair of knickers on my head.

04/05/10 01:49:22 PM

re Twitter posts for Monday May 3 Catrin wrote:

Red Dead Hand. Great name for a kid.

04/05/10 01:31:20 PM

re Amanda Palmer and Jason Webley Catrin wrote:

Absolutely fantastic gig - I had such a such a such a good time. People do look at me funny though when I explain perfectly reasonably that I went to see a bloke and a woman being a pair of conjoined twins. Do other people not do that then?

28/04/10 05:50:17 PM

re Twitter posts for Thursday April 22 wrote:

they won't let e write it` 'yS, i like 'a man

24/04/10 02:11:43 AM

re Catrin T.J.Bates wrote:

Ouch!

18/04/10 09:57:49 PM

re 5188 T.J.Bates wrote:

Alas! Poor doughnut!

18/04/10 09:34:07 PM

re 5405 T.J.Bates wrote:

Still a cutie!

18/04/10 08:10:17 PM

re 5495 Steve wrote:

Blimey it looks bare in the winter. I'm off to listen to some Chumbawamba unless Jubilee's on.

27/03/10 09:25:57 PM

re Greenspun's Tenth Rule Stephen Usher wrote:

...unless the program is written in FORTRAN IV, as that doesn't do lists/characters.

22/02/10 08:42:36 PM

re Twitter posts for Saturday February 20 alecm wrote:

come visit some time; i have a very pubby pub :-) i also like the "abandon" button, above. we need more abandon.

22/02/10 07:36:49 PM

re Twitter posts for Tuesday February 9 rac wrote:

great news!

09/02/10 04:29:42 PM

re 5465 Catrin wrote:

Look, explaining the finer points of Land Registration requires some visual aids ok.

25/01/10 10:53:36 AM

re Twitter posts for Friday January 8 Catrin wrote:

Going to Boganning.

13/01/10 05:22:25 PM

re Twitter posts for Saturday January 2 Catrin wrote:

Isn't that a hotel chain?

04/01/10 11:10:00 AM

re Twitter posts for Monday December 21 Catrin wrote:

Umph. I can explain....

21/12/09 10:29:18 AM

re 5443 Mel Rimmer wrote:

Mmm, purdy.

17/12/09 04:07:00 PM

re 5443 Catrin wrote:

Ooh, pretty picture. I couldn't work out for a while which side of the river it was.

17/12/09 01:14:57 PM

re Twitter posts for Monday December 14 Jim wrote:

Of course, but *read it again* They're not reserving the right to REFUSE to serve, they're reserving the right to SERVE.

15/12/09 10:08:53 AM

re Twitter posts for Monday December 14 Ben wrote:

That's completely legal. Any trading establishment can refuse to serve any customer without giving a reason. It's generally considered bad for the trader's reputation as a good place to do business, but they do have that option.

14/12/09 08:39:39 PM

re Getting festive in Shrewsbury Catrin wrote:

My God! I look like an advert for Werthers Original.

14/12/09 10:57:00 AM

re Twitter posts for Monday November 30 Catrin wrote:

You're not planning on dying of E Coli are you?

01/12/09 12:56:26 PM

re Twitter posts for Sunday November 22 Catrin wrote:

Muppet.

24/11/09 02:55:03 PM

re Twitter posts for Sunday November 22 Jim wrote:

Ah, but I don't think the installer could have reasonably foreseen that particular injury...

24/11/09 11:16:07 AM

re Twitter posts for Sunday November 22 Catrin wrote:

And clearly displaying better workmanship than the oaf who installed the thing in the first place - it needing to be replaced because it came apart in my hand. I could have been seriously injured...if the light pull had hit me in the eye, causing me to flail around blindly, then fall down the stairs and impale myself on a coathook.

23/11/09 11:09:52 AM

re Twitter posts for Tuesday November 17 Stephen Usher wrote:

Would you act in "The Wicker Man?" Edward Woodward would.

17/11/09 09:58:13 PM

re Irn-Bru Turkish Delight Jane M wrote:

I had the same petit four at that same restaurant in Edinburgh just yesterday - it was fantastic. We has the deep fried mars bars alongside. Superb.

11/11/09 10:35:53 PM

About

This is a test wiki/blog system called Gwir, implemented in php5.