So today I was looking at the atomic problem again which I spotted yesterday. I traced it in the end on the PC version, it was due to a unsigned int32 being shifted right 32 times, which I would have thought would have made it 0, on PC it doesn’t it seems to shift by the modulo of 32, so 33 would shift 1 etc. After 25 years I still get the odd annoying surprise. Then it was back on to Android, which has no 64 bit atomics. Found a nice big bug in my emulation for them which wasn’t locking the atomic properly. That’s now all working on Android but I want to play around with spinlocks a bit more as it’s a little bit thread happy.
Good news on the mobile game front, it’s been set as ‘ready to publish’, which means it’s been approved by Apple, the only thing stopping it from appearing on the app store is pressing a button and a large room full of lawyers. Wait until Friday then I’ll finally announce what it is.
Walked the dog, went to the gym. She’s off to doggy day care tomorrow. Cleaners coming tomorrow.
Then spent a bit of time pissing around with my favourite subject, pfSense. Jamie was trying to connect 360 to XBox live, of course it’s set to strict NAT. I did try and set it upo for UPNP, it managed to open one port and passed the tests but failed to work correctly. In the end I just set it up with it’s own IP address which worked, but I do really need to revisit it again at some point.
You re not eating enough. If you a re burning off 600 calories you must make sure you are eating 50o calories without burning them off. You ate not eating enough. Your body is constantly in starvation mode. How do you survive on so little food every day?
Then I can tell you for a fact that it doesn’t work. My standard basal metabolic rate is 1895 calories. I generally knock up around a minimum of 700 calories a day in exercise. Giving me around 2500 calories to play with. I eat normally around the 1000 calorie a day mark. So that’s a 1500 calorie a day deficit. I’ve done that for the best part of fifteen years. Today I’ve had 598 calories and done 692 in exercise, so that’s -100 calories. It’s all bollocks anyway, go out eat a pizza, drink beer, just don’t do it on a daily basis. BTW, all that wine turned up today.