What Jessie Did Next...

...being the inane ramblings of a mundane Yorkshire bird.

Page 14 of 26

BBC Micro creators Hermann Hauser, Steve Furber, John Radcliffe and David Allen are reuniting at the Science Museum for a CCS reunion “gig”.

I’d love to go to this but finding few details right now – anyone know any more? Also of special interest: “The Science Museum plans an exhibition about the BBC Micro and its legacy in 2009”. Wahey!

For those of you who can’t wait, there’ll be a special 8-bit exhibition (run by me and a few other 8-bitters) at the Wakefield Acorn Show on 26th April at Cedar Court Hotel. I’ll have the Domesday system running, and probably an Econet and a Music-5000.

(Thanks to Ollie who pointed me at the news article.)

Edit: It’s this afternoon. Cocks.

Edit(2): I’ve just realised Sophie Wilson is missing from the lineup…

The guy who played Captain Birdseye for years has died – BBC news article here

And Anthony Minghella (who directed “The English Patient”) has died too – he was a Hull Uni guy who spoke at Nicky’s graduation.

Update: They say these things come in threes. Arthur C Clarke has died as well.

I don’t know if I’m getting old or if cameras are getting more complicated – but I’ve had to once again refer to the manual for the G9.

This past weekend in Cambridge was the first real ‘outing’ it’s had, and last night me and N did some photography at O’Donoghues for the Not St Patrick’s Day celebration – I took the G9, N took the 400D. Sadly I had to ditch quite a few photos because of motion blur, red-eye (the reduction seems to do little) and excessive noise on high ISO. A bit of fiddling this morning has led to a realisation I misunderstood the image stabilisation function, so next time I’m out photographing in a pub I’ll see if I can get it to behave better.

(If you didn’t turn up last night, shame on you – good beer, free food, and Ryan+Alice singing some excellent songs.)

I occasionally get asked by shell users why, on boxes I admin, do I not allow them to run phpBB. Here’s another damn good reason.

Instead I recommend Lussumo Vanilla or SMF, both of which may be reasonably integrated into other websites.

Just been listening to Chain Reaction on Radio 4, with Arabella Weir interviewing Paul Whitehouse. You can probably catch it on Listen Again.

Whitehouse has always struck me as being a bit of a bastard, but that interview has turned the opinion around. It was very good listening (as has been the rest of the series).

OK, everyone knows Maxtor drives run hot. Really hot. So this morning Jon had an idea…

[@NavOffice] actually, I bought some crumpets yesterday – if some nutter can design a USB mug warmer then I’m damn sure I can have a maxtor crumpet toaster
[@NavOffice] 2 drives back to back with a 3/4″ gap, then just fire up bonnie 🙂

Now I know he’s crazy enough to try this…

I had a pint in O’Donoghue’s tonight, at the top of George Street in Wakefield. For a long time it was a music-pub stalwart of Wakefield until it was utterly bloody destroyed by the bloke from the pub next door. Anyway, it’s got a new landlord and landlady. They’re really nice people, and seem to want to return it to its musical backdrop! Hurrah! Sadly it’s a bit empty right now because nobody knows it’s open, but THIS WILL CHANGE 🙂

Aaaaaanyway, they’re booked up for musical treats all the way to the end of April, and next Monday (17th March) they’ve booked Ryan and Alice for St Patrick’s Day musical fun. Get down there, the beer’s good, and the atmosphere will most probably be wonderful.

And they asked when Bored Housewife will be available for a gig. Seriously.

Catching up on RSS feeds this morning I was extremely interested to see this technique for speeding up GROUP BY queries using approximation. In the first example, it knocked down the processing time from over 30 minutes to 30 seconds pretty much (as far as I can make out) because of MySQL’s speed in string comparison operations.

I can see this would be really useful for search tables…

In what’s now an annual event, it was the Wakefield Festival of Food, Drink and Rhubarb this weekend. Wakefield is of course slap bang on the middle of the Rhubarb Triangle, being the area of West Yorkshire where it’s impossible to get the ruddy stuff out of your garden.

I’d already promised Ellie I would take her since Ben had a party to go to, and I hot-foot it back up the motorway in time for a lunchtime wander. Wakefield’s precinct was full of marquees and tents selling ‘Yorkshire Fare’, nothing much different from the monthly Farmer’s Market but we did enjoy a wander picking up a jar of lime curd for me and some cheese for Ellie. At that point Ellie decided she wanted to wander up to the Cathedral, and read gravestones.

Parenthesis here: Ellie’s doing lots of reading. It’s hard to stop her reading, she got a school trophy for ‘Literacy’ on Friday, and today her particular penchant was street signs, a map she’d picked up from the Ridings Shopping Centre, and gravestones outside the Cathedral. As a result of the latter we found – quite unexpectedly – the grave of one of Luis Fernandes’ daughters. Fernandes was one of Wakefield’s brewers whose story is told in Aspects of Wakefield 3 and is whom the current Fernandes Brewery is named after.

Back around the marquees to the ‘Local Government’ one where we managed to pick up info about the sort of school dinners Ellie has – great, since she never tells us and we have no idea whether she’s into turkey twizzlers or carrot sticks. The local fire service are running a drive to replace smoke alarms with their ‘recommended’ model free-of-charge so I signed us up for that, and discussed bicycle routes with a local group who were kind enough to provide maps of where the children could ride their bikes when the weather gets warmer.

Sadly we weren’t in time for any of the presentations and the queue for “example” food was waaaay too long, but it looked like fun. Ellie would like to try some Thai food which considering we have problems getting her near anything spicy is an absolute bloody miracle.

Finally after picking up the groceries from the market we saw some street entertainers and wandered back to the car.

Ben’s in the office with Nicky today and I’m sat at home waiting for my car to be ready.

As seen in another window:

okay – so Ben doesn’t want to play with the games on CBeebies, but he is enjoying looking at the source code for the site.

🙂

I’ve been using 10.5.2 for a couple of weeks now, and maybe I’m alone in this but I’m finding it more unstable than any of the other 10.5 “Leopard” versions:

  • Weird Finder bugs when using two monitors, reproducable by dragging/dropping where it ‘locks’ the destination window. Depending on which screen has the focus window in it, the Finder window ‘slides’ back and forth across the desktop.
  • Frequently my MacBook Pro fails to wake from sleep or – even worse – doesn’t properly go to sleep leaving the fans going while it’s in my bag (since then I’ve learned to check for this).
  • Application switching is a lot slower, there’s a lot more of the coloured ‘please wait’ spinner even when I’ve just got a couple of low-memory applications loaded such as Terminal and Address Book.
  • Occasional keyboard failure, still – all seems to be happening in the USB bits of the kernel (com.apple.iokit.IOUSBFamily or com.apple.iokit.IOHIDFamily).

For a machine that’s got 2G RAM and a reasonable CPU (Intel Core 2 Duo 2.3GHz) it seems Apple is still walking backwards. If it wasn’t for Coverflow/Preview I’d probably sod off back to 10.4 this weekend.

The sort of work I do is usually to do with end user services – websites which allow a user to create a login and password to give them access to larger featuresets, etc. You know the kind of thing – social network websites are a prime example: as part of that I frequently get asked to log information a user may do, recording the source IP address of any messages they may leave in order to protect from abuse.

A frequent mistake folks make in writing code to do this is in the IP address which made the HTTP request. Most larger ISPs enforce transparent proxying on the user, meaning that instead of having the IP address of the end user themselves you’ve got the IP address of a proxy which may handle hundreds of thousands of users! It causes issues not just in traceability, but also in things like bandwidth logging if you’re doing it at an application level.

Enter X-Forwarded-For. It’s an HTTP header which most proxy software will add, giving the source IP address which requested the page through the proxy and preventing proxy servers becoming anonymising services.

This is exposed to PHP through the $_SERVER superglobal, so you can use it like so:

if ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) ) {
logEntry("User connected from ".$_SERVER['HTTP_X_FORWARDED_FOR']);
} else {
logEntry("User connected from ".$_SERVER['REMOTE_ADDR']);
}

Now there’s a gotcha here. A lot of ISPs such as AOL and NTL allocate ‘private’ RFC1918 IP space internal to their network. That means if you get 10.5.3.4 or similar then you’re on a hide into nothing because you’ve not got the proxy which may be ‘seeing’ that address – so you need to log both when you find a proxy:

if ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) ) {
logEntry("User connected via proxy ".$_SERVER['REMOTE_ADDR'].
" from ".$_SERVER['HTTP_X_FORWARDED_FOR']);
} else {
logEntry("User connected from ".$_SERVER['REMOTE_ADDR']);
}

But what if users are stringing proxies together? Well, that’s dealt with too. The proxy software appends itself to each X-Forwarded-For header, separated by commas.

Of course this should be treat as a first line of defence – if someone’s really wanting to hide themselves they can, through IP spoofing or fiddling their own proxy software to remove the header. However, it’s a neat way of preventing false positives and – more importantly – finding out who’s really behind stuff, now RFC1918 endpoints are becoming more and more common.

Wikipedia has a bit about X-Forwarded-For here, if you fancy a little more reading.

The BBC’s Have Your Say sections are usually full of opinionated tits spouting utter cack at each other, but today’s has been utter comedy and – in some cases – utter genius.

Michael Winston’s got a nice dog:

They say animals can sense a ‘quake coming – well, my dog Nipper woke me up with a cup of tea shortly beforehand, told me it was coming and not to worry. They say that they’re intelligent but he forgot that I don’t take sugar! Perhaps it was for the shock.

I felt quite sorry for Katy:

Why did this have to happen just as i was catching vomit from my daughter. It did make it a little more difficult.

Wasn’t long before the politics started to flood in:

We felt it. It was quite disturbing. I heard on the TV that the quake was caused by too many immigrants. They are making the UK lopsided.

If someone’s bored in Leicester maybe they can knock on this guy’s door:

I thought it was a ghost so i hid under the quilt, I’m still here now with my laptop and no food or drink, please help.

Back to the politics:

It’s just typical of new labour – we never had earthquakes under the tories. I blame their stupid namby-pamby politically correct attitudes. Just because other countries have earthquakes doesn’t mean WE have to have them.

At least Les in Kenny was prepared:

Me and the wife were fast asleep when the earthquake rudely awoke us. I thought an aeroplane was landing in our front garden. I couldn’t believe the intensity of the whole experience – we quickly evaccuated the family into our special quake bunker and awaited the all clear from the local seizemologist. The provisions I had stockpiled for such an event came in mighty handy.

This guy from Malvern seems to have a hell of a rodent problem:

My sister thought it was mice.

If you get bored, the Reader Recommended ones are still coming in… 😛

Edit: I’d forgotten about this, but there’s more pisstaking of ‘Have Your Say’ over at the spEak You’re bRanes website.

Me and Nicky shot bolt upright in bed at 1am after a really loud rumbling noise, as though the chimney breast had fallen in or something.

I did a quick walk round the house but nothing seemed bad, putting it down to the bins being blown around. The only odd thing outside was a blackbird sitting on the pavement looking up at the streetlight outside our bedroom window (which seemed a bit weird, but anyway…).

Fast forward to 7:30am, just been woken up by the news. So that’s what an earthquake feels like, even as far away as WF2.

Some of you out there may remember Granny’s Garden, an educational game for the BBC Micro which was released by 4Mation in 1983. It was a staple of primary-school classrooms all over the country and those who are aged around 30-31 probably played it at school.

In a little experiment this morning I booted up a BBC Micro emulator and loaded Granny’s Garden into it, suggesting to Ellie (aged 6) that maybe she’d quite like to play it. Now before I continue you must remember that this game was prior to any sort of controller or speech synthesis – so there’s no mouse, and you have to read stuff on the screen.

I was actually pleasantly surprised – she cottoned on to reading the prompts instead of having instructions spoken to her; likewise the keyboard, although I had to explain a few times about that (especially when choosing ‘the magic tree’, where you have to type in a grid reference such as ‘A3’ or ‘D1’). She took logical steps involved in solving the basic puzzles such as the word ‘FIG’ on the cottage, and when the witch caught her she was anxious to have another try. Yay for MODE7 teletext graphics and some odd noises from an emulated sound chip!

All in all I’m really quite pleased, and I think I may set up a basic Beeb with the game in the studio – either that or put Beebem on the Mac Mini upstairs.

(Pics here).

Next step: ‘A Day At The Shops’, or some other similar educational game we played in Mr Mordue’s class, aged 10.

Note: I’ve just been asked about a copy of Granny’s Garden being downloadable or distributable – 4Mation got very stroppy the last time someone tried this and won’t enter it into the public domain, so you will need to source your own copy; this is presumably because there is a Windows/Mac version still on sale. I would suggest eBay or somewhere like that – I picked up a legal original in a batch of kit I rescued from a primary school some time back, so YMMV.

« Older posts Newer posts »