Mann verses Android

So today was back battling with VC2010 and Android. Got the asset copy working and it wasn’t too much of a job (a couple of script changes) to get the F5 run working. Decided to take another look at the GDB debugger. That has a number of interesting issues. The first being that it’s actually in two parts, you have the GDB client that runs on the host and then the GDB server which runs on the target. So first you need to copy the gdbserver bin over to your lib directory on the Android tree. Then create and deploy your package. Once it’s installed you run it. This will create a user under the package name. You then need to run the server under the same user name as the package and attach it to the running process. This needs to be done or you get into all sorts of permission problems. Then you start the client and connect to the host. Managed to get that all working but still no source level debugging yet, I may look at a graphical front end for GDB tomorrow. I also added release build configs and finally checked it all in.

Walked the dog. Jamie had one of his LBF’s (Little Blue Friends) round, it was really sweet, they were playing Sonic games and comparing toys. I was going to take them milk and cookies so they had enough energy for group fapping.

Had a quote back about the boiler. I did a gas safe trace on the bloke and came up with nothing. Had an email back to say he uses a number of contractors….that’s all a little odd, will see how that pans out.

Sent a mail to the cleaners about starting soon, no reply yet. Went to the gym, ran for seventy five minutes. Torture porn night, so still no time to write up the butt cheek incident.

Total trick or treater’s – zero. The Haribo is mine.

So still trying to convince Android to build on VC2010. Solved the link error, it was caused by link ordering issues. I tried editing all the scripts to wrap -Wl,–start-group libs -Wl–end-group but this didn’t help, so ended up including some of the libs again using additional dependencies. So now it builds and deploys to my phone. Final couple of things to sort out are the copying of assets in the build script. And then may be some GDB support, but we never had any to start with, so doubt we will miss it much. It still works fine with logcat anyway.

New motherboard arrived, so had a play with that. Got the old Proxy server case out, that has a 60W external PSU but the internal connector is a plane ATX and the board required an extra PCie 4 pin 12V connector. Also needed was a SATA power connector, so it was out with the soldering iron. Twenty minutes later the PSU had been converted and the board was powering up. So I removed the old 2.5 hard disk and replaced with the spare SSD drive. All powered up and bios set, it then amusingly tried to load Windows 7 from an i7 Intel quad core. It failed, unsurprisingly, but did try and recover its self, it failed again. But that’s hardly the point, I need to install Ubuntu on it and then restore a backup from the this server. Job for another day, but so far so good.

Had another boiler quote, this one was a bit strange, invited the guy to have a look, he just said it was a fixed quote, I don’t think I’ll bother with him. Also was given a card from a friend, did a trace on the number, it goes to no less than five plumbing company names. Another one I won’t be bothering with.

Will give the new cleaning company a call tomorrow and try and get that arranged for next week.

Lots of new t-shirts have arrived. I may take them out of the bags at some point. Walked the dog. Went to the gym and ran for seventy four minutes. Ate salad.

On the good news front I may be getting the money back I’m owed from about 18 months ago and my salary restored back to it’s existing level. I’ll believe it when it’s in the bank, but something positive anyway. On the bad news front, Jamie is still fat. Oh yes, there’s still that butt cheek incident….but out of time tonight.

Am I using the internet to cruise porn? No, I’m looking at bathroom tiles

So today I was looking at improving Android processes. Mainly trying to ditch Cygwin as it’s incredibly slow. Found something that does work quite well and allows me to compile for Android from VC2010. Sample projects work wine, our own projects now build but I’m getting some weird link errors. Also had a good blast at trying to get the source debugger to work, now that’s a real shit. Will probably do battle with it again tomorrow.

The boiler man came, well the plumber man. Looks like he knows his stuff. Will wait for his quote, he’s also going to quote me on the bathroom.

Dogs annoying me, three days following she’s pissed on the floor over night.

Went to gym, ran for seventy two minutes. Now looking at sinks….may be some porn later. Oh yes, must write about that butt cheek incident soon…

BDRThermea and Domestic and General, today’s people who’ve pissed me off

Started with upgrading Perforce integration, and for once it worked and didn’t cause major problems. Then it was events, not the gig kind but the trigger-able kind. So added time outs and manual resets to them. For once the POSIX version wasn’t too much of a pain in the ass, but iOS of course has to be awkward so that had to convert from micro seconds to nano seconds just for the fun of it. Still all worked in the end. So made all my command queues use events, that all worked fine. Then had to do some header stripping and odd things to do with compiling without codec’s. Fixed a couple of odd bugs.

Had a phone call from Domestic and General from a person I could barely understand, asking me to contact BDRThermea about my complain about the boiler servicing. So he gave me the email address, to which I’ve now forwarded. I’m none to thrilled as Domestic and General being their agent they should really sort the problem out. So looking forward to a small war on that one.

Went to gym quite late so only did fifty four minutes. Walked the dog (that was lunch time, but who said anything about this ever being chronological). Now I’m finishing work at about eleven thirty so must be time for salad. More fun things to work on tomorrow.

Android and Eclipse, you are wank

So today’s challenge was to get the Android dev back up and running. Problem being last time I installed it was over a year ago so everything has moved on a bit in terms of version numbers. Android NDK was fine, Cygwin wanted to install about 45 gigs of crap including Apache so that needed a good talking to. Then Eclipse, what a pile of wank. All it ever does is want to restart and clean and build and clean and build and still come up with countless errors. By the end of the day I did manage to get it all to build. Well got it to build Beaver, then eventually got it to build the audio test example. Found a couple of Android specific bugs in it so finally got that sorted. Did find I need to do a couple of extras though to properly compile out the codecs if required.

We can apparently start on the mobile game we were doing again, I got as far as making it compile with the current libs. I guess I better get on with that at some point.

Walked the dog. Went to the gym, ran for sixty eight minutes. Bought cheese, ate cheese, also bought crackers. Had salad, may have crackers, may not.

And don’t talk to me about cleaners….lets just say that’s another one gone before even starting, that must be a new record.

Were ‘Atomic Kitten’ really about interlocking young cats?

So spent most of the day working on a lock free ring buffer. Code that I actually wrote years ago, but now converted to iOS / Android. Now lock free things depend on atomics, iOS not so much an issue, Android on the other hand doesn’t really do atomics and as for 64 bit atomics forget it. So that was an interesting one to solve but got there in the end. Didn’t really do much else.

Watched a good film last night “The Hunger Games”, ok so I’ve read the book and enjoyed it, but the film was a pretty good representation.

Walked the dog. Did a home check right by the gym for a lovely lady and a lovely existing dog. As it was right next to the gym I had no excuse really not to go although I said I wouldn’t. So ran for an hour and one minute. Now have sores under my arms where they were rubbing against my vest. War wounds.

Come back, ate salad. I was going to watch the new Red Dwarf, but due to a timing clash it won’t be ready until later. It’s torture porn night, so got a film ready.

Jamie’s birthday tomorrow, no presents, no card, welcome to your future, it’s all down hill from now on.

Solved the cleaning situation, dog friendly cleaner starts Monday. Nothing wrong with the old cleaner except she seems to be working all hours and I can’t really blame her for avoiding my bathroom. I have no idea where those brown stains come from.

In laws down tomorrow. Deep breaths. Could be worse, could be my mother. Taking old mattress down tip. Going to cinema. Eating out. At least I get the chance to give a restaurant an appalling review, although this one is usually pretty good.