I have a shed full of PC’s

but when it comes to the crunch I can’t get any of them working. Not quite a shed full actually, just a few. At the top of the pecking order is my old laptop with its dead screen and no battery, and currently experiencing random blue screen crashes accompanied by hard drive noise. I don’t hold much hope for how much longer it is going to last so have been backing up data to an external drive during "uptime". So the idea is that a PIII 550mhz donated by father-in-law is in reserve. I decided to commision it the other night and besides sounding like a fridge, seemed to work OK until I installed XP SP2 and then it refused to speak to the internet. so I thought i’d stick suse linux on it, but it wouldn’t boot from CD and the bios is password protected… In reserve behind that another PIII 500 mhz with suspect motherboard and intermittent reluctance to recognize that there is a keyboard attached. Third in command an Athalon 300mhz that used to run nicely on red hat 8 until red hat 8 became unsupported and I raided it’s hard drive for a different machine. Bottom of the chain (and only because i’ve been to the tip recently) is a dog slow pentium 1 with a tiny hard drive, no fan on the processor, an ancient version of suse linux, maximum of 256 glorious colours and no CD-ROM drive or floppy drive. Last night it was the only one that worked, but… i’ve forgotten what the login password is..

I’m sure that I could knock something together between all of those, but having wasted two evenings now i’m reluctant to waste any more time, especially when work are providing me with something shiny that should be arriving next week 🙂

Posted in Uncategorised

you can tell when skating is in your blood when…

…you are sitting in Teohs, a fantastic pan asian restaurant based in an old Tobacco factory known fittingly as "The Tobacco Factory" on north street in an area of bristol known as southville / bedminster / ashton gate, depending on who you talk to (oh yeah the phone number is 0117 9021122 if you have just googled your way in) when,… what was I on about? Yep you’re in the restaurant having fantastic food and a fantastic night, but you keep finding your attention drifting towards the door where there is a perfect steel ledge for grinding, tailslides etc and there are benches scattered around the place..

Plus the floor surface of old tiles I know to be particularly skateworthy as I used to work a couple of floors up, which is about as close as I will (and should) get to skating it, being an eating establishment..

Posted in Uncategorised

plone get relative url


archived comments

Thanks a lot took me hours (sad but true) to get this (not so) far. Is there some easy reference or something anything that will help me do basic stuff with zope/plone (can comparing strings be done in tal or do i need to write a python script list all available methods/attributes on the here object ..) any help is appreaciated

Chris 2007-01-30 14:16:24

Posted in Uncategorised

i’m cynical, get me out of here

so i’m sitting here on the sofa resigned to the fact that the next six years (or something like that) will be spent avoiding watching z-list celebrities eat caterpillars. thank god for gadgets, skateboards and guitars

Posted in Uncategorised

forward and upwards (in a geek way)

I surprised myself the other night by using some of my valuable free time to start making moves towards migrating hypothecate away from blogworks xml and towards plone. Bizarrely this first step was to create a mysql database to hold the posts. why? well I haven’t touched XML or mysql in python/plone and I think the most valuable one to learn first would be mysql. well, that and the fact that using mysql with zope/ plone is really easy once you’ve set the connection up (apparently). I know I can write some ASP to go through the XML (where all blog content is stored) and fire the blog contents into a mySql database. Then it will be a case of copying the mySql somewhere where plone can see it and writing some python to create SimpleBlog entries for everything in the resulting database. Hmm.. i’ll need to retrospectively set the creation date (change SimpleBlog to use effective date instead?) Probably more adventurous would be to write some python to read directly from the XML and create blog entries directly, but this feels like too many steps at once.

Posted in Uncategorised

plone – How to make folders accessible for only certain users

this was a requirement we had at netsight a while back and we worked it out, but never got round to documenting how we did it. In case I forget, here is someone else describing exactly the same solution

(Summary: in ZMI create a new role, then remove aquired priveleges for protected folder and assign approprite priveleges for new role, then in plone go to sharing tab for folder and add selected users to the role)

Posted in Uncategorised

disable context menu in kupu

one way to disable the right-click/ context menu in kupu, comment out a few lines of kupu/common/kupucontextmenu – I commented out everything within this.initialize seems to have done the trick

Posted in Uncategorised