How hard can it be to route 15M of cable?

Started reasonably early I guess. Well on time anyway. I had a nasty bug left over from last Friday. It probably took me the best part of five hours to trace it. One line slightly wrong. Always the bloody way. Then I had hud rendering flickering all over the place, that needed a bit more tracing. The weather has been shit, constant rain. Walked Sasha in the drizzle. Went to the gym and did Combat. Was okay. Came back and did another hour or so, have to resolve a lot of code and data now before I can check it all in. Hopefully will be quite quick tomorrow as I want to get on to something a bit more interesting.

Keep trying to work out how I can get this hdmi cable from the bay window up to the ceiling. I reckon I can get part of it under the floor, then up the stud wall. I may have to do some exploratory drilling and sawing of flooring. It will be an interesting project anyway.

Changing seasons

So once again I was up like a shot. Okay, may be not then. As the weather has now certainly changed it’s time to knock Geocaching on the head and crack on with the DIY. So I was lying in bed researching DIY projects. I’m going to get someone in to do the bathroom, so as long as I get that sorted that’ll be fine. It’s just not worth me attempting it. I’m sure I could do it eventually, it would just take about five years. So I’m going to crack on with the living room. First things first is preparation, and that means running cables. Lots of cables. I need to get an HDMI cable up from behind where the TV is to a mid point across the ceiling. This is for the projector. I think the best way to do this is cut a hole through the floor behind the TV, then another over by the door, pull the cable across here and then another hole over by the archway. Then pull up here and drill through the bottom of the studding, then up the wall (I’ll put a speaker cable up this way as well), through the ceiling, then through the floor of the landing and across the floor of the wardrobe, then across the ceiling. I also need to run power and probably a network cable as well. I’ll probably run two HDMI cables for redundancy. I reckon theres a good couple of Sunday’s work there to start with. Also I’m thinking of some wifi controllable down lights.

Got up, boiled eggs, picked up dog poo. Drove to Tytherington. Did the puzzle cache which was the last remaining one there. That brings me up to 315 now, happy with that. Message from captain James that the fog was lifting. Drove to Staverton. We had the air field pretty much to ourselves due to the weather. We did lots and lots of autos. Pretty much got the hang of them now. Took the ‘Operational Procedures’ exam again. Got eleven out of sixteen. Had another pop at it and got fifteen out of sixteen. We had a look at a couple of questions, there was one there that neither of us thought was correct. Some of the semantics of the answers is just bizarre. Anyway, passed. So now on to radio telephony.

Came back. Went for a quick run. Imported helicopter footage of today. Have a bath. Drink wine.

So where will the dog sleep?

Okay, so I had a bit of a lazy morning, which kind of drifted into the afternoon. Read the paper, studied ‘Operational Procedures’, almost got the hang of that now. Finally got up and walked Sasha. Had some toast. Then I went to do a home check for a horse sized dog. Hmmm. “Where will the dog sleep at night?”. Lets just say an incorrect answer was supplied. There’s a few other things as well. I think I have only ever failed about one home check before. But have to think of the dog, wrong type of dog this time for the situation. Drove to Curry’s, tried to find a Hero 4 black edition, no chance. Got stuck in the car park. Got back home, then went out for a couple of hours, there was a fairly new Geocache over towards the station so walked there. Spent about ten minutes standing under a bridge up to my ankles in water. Found it eventually. That takes me up to 214, which sounds much better than 213. Did the accounts. Think I’ll have a bath now. Flying tomorrow.

Well if it could be threaded it now is

So started a bit later than I should, mainly as I didn’t have a great deal of enthusiasm for it. Anyway, cracked on. Got the threading stuff I was working on working, then on to another bit. That’s about it now, if it could be threaded it pretty much now is. We’ve come a long way from the first monotonic renderer eight years ago.

Went to Pump. Did a session with Laverne. Had pretty much enough of this week it must be said. I’ve got a few bugs to trace next week and then it’s actually on to doing something vaguely interesting for a change.

Got no real plans this weekend. Have to do a home check, may be flying Sunday. See how it goes.

46 litres of wine now brewing

Work was rather dull, which made a bit of a nice change this week. Working on moving some GUI stuff to render on a thread. As exciting as it sounds, oddly worked first time though which is always quite worrying as it means it will comeback and bite me in the ass in about a weeks time. Walked Sasha. Then my wine kits arrived. I got three lots of white and a red. Together with a a bottle cleaner and a load of corks. Went for a run. It’s getting really dark early now, so had to cut it a little short. Still managed about seven miles though.

Came back, did a bit more work then sterilised two buckets and a load of kit. Poured in a rather expensive Voignoir and a Californian into buckets and topped them up with water. Added the various bits and the yeast. Now they are in the spare room starting to activate. They smell delightful.

Today is a bit of a sad day, a colleague who I’ve worked with at my current company for almost eight years and at a previous company for almost ten years, is leaving today. Haven’t seen him in a long time as he’s now in Australia. I wish you all the very best for the future Al and I hope we don’t lose touch.

All day spent waiting for an event

So started at 6:30 and took Dillon to daycare. Then tried to start on time. Basically spent about three quarters of the day tracing one bug. In the end it turned out to be a problem with an event. So here is the scenario. You have a thread that adds jobs to a ring buffer. It also increments a job count using an atomic. So if its the first job then it resets an event. Then pushes the job on to a queue. When the job is processed it decrements the count, if it’s zero then it triggers the event. The bug was to do with the event, the increment/decrement is atomic, but there may be a context switch before the event stuff, so it’s possible the event may remain triggered. Which was causing no end of fun. Fixed that. Picked up Dillon.

Went to the gym and did Pump. Then came back and had to fix yet another event problem.

Looking forward to a dull day tomorrow.

So memory caching is going to kill me

Spent most of the morning working on a problem to do with video bandwidth. Then in the afternoon and most of the bloody evening one to do with duplicate or invalid data. It’s no doubt caused by some kind of caching / false sharing weirdness that is just there to piss me off. It’s succeeding. Went for a run, had a bath. Been feeling somewhat snotty all day. Ordered four wine kits, will hopefully get those up and going by the weekend. That’s around 120 bottles.

Going to bed I think.

Shall I build a voltage regulator?, not when I can get it from Hong-Kong for 99p

Didn’t exactly start at the crack of dawn. Did start out doing some more work to do with photo exporting, but managed to pass that off to someone else when it was getting heavily into save / load type code. Then it was on to bugs again. All sorted except one to do with video bandwidth which I’m still looking into. Walked Sasha. Jamie’s knob jockeying friend came round and they vanished off somewhere. I went off to Combat, got a slightly sore foot. Wasn’t overly into it, but got through it all the same. Did a little bit more work. Now building data again.

Jamie wants to run his Sonic statue thing off the mains, it only takes batteries. I rigged up a ‘wall-wart’ power thingy but the output isn’t regulated enough. So I came up with a circuit to do it using an LM317, it only has five parts. I have four of them already. Tried to source the regulator, no problem, I can get it off Farnell for about 40p plus a shit load of postage. Maplin want over a quid for it. Or I can just buy it, on a PCB with the other parts, ready made from Hong-Kong for 99p including postage. I’ll be waiting for the postman then.

Happy birthday to him

So just to catch up, yesterday we spent the afternoon in Cardiff. Jamie wanted to go shopping, so for a change I decided to head to Wales. We had a nice afternoon there, it has a good shopping centre now. Came back from there, showered and then headed over to Lisa’s. Where they spent the next five hours talking about Tesco’s. I drank six cans of lager and two glasses of wine. We were driven home in a Prius. They are fucking weird, starship enterprise and silent with it.

Today we woke up and had a bum. I made Jamie squeal, apparently I almost broke something. Aways proud of that. We went out and walked into town. Came back, showered again and off we went to the pub for a mediocre meal with Jamie’s family. The service there is absolutely appalling.

So thats it really, a busy weekend of socialising and eating. Be glad to get back to work.

So I spent all afternoon chain-smoking then have to pay for a picture with an ugly baby

So I go running. Then end up calling into a house of people I thought I may know. I then spent all the afternoon chain-smoking while wondering about how it was going to effect my running. I had twenty quid in my pocket but I knew I needed a tenner to send off this government form with. I sat at the table and filled in the form. I’d just finished it when I was presented with a photo of me and a rather ugly baby with a big price sticker on it of £11. I said it was lovely but I couldn’t pay for it now as I needed ten pounds for the form. But it was okay as I was at the bureau de change on the ship. She had plenty of Euro’s but she was just about to close. Then thankfully I woke up.

After not very much time it was time to pick up the shopping. Came back, did a tiny bit more then we walked the dogs for an hour or so. Came back and finally got stuck in. Still all about photo processing and export today. What a mighty pain in the ass that was. Went to the gym and did Pump. Did a session with Laverne afterwards where we mostly rabbited. Came back and did another couple of hours. Finally got it all working. Now about to add annotations to a new video, then it’s pizza time.