1 less job of the week…..

I spent most of the morning scrubbing globs of dog hair off baseboards at work… not fun, but I’ve had much worse tasks over there. The great thing was only having to work half a normal day!

It looks like I might be looking at having Thursday’s off work. The financial situation of todays client, is stiffening up, and as usual with my mothers choice of business: we’re the among the first to be let go. For all the countless times my mother has driven me out of my freaking skull over there, I’m not going to miss having to suffer through that job every cycle, nor am I going to miss spending a few _hours_ of the day just lugging crap up and down staircases!!! Although, I do have to admit it was always good exercise… lol. Consistently Thursday has always been the hell-job, usually the one out of the week, that most closely equates to torture. I’m too used to having to work Thursdays to ever have peace… whatever the future holds, I don’t expect it to become a restful day.

The problem is that it means H.R.P. is going to be digging into me even about her own finances then before; its already started. As far as I am concerned, any attempt to reinterpret_cast<CashCow_t>(Me) from a Slave_t is not valid code… she forfeited that right years ago. Ma is looking at a $100/month loss in her bottom line, and the bottom line is the overruling factor in every thought and action for most people in my family. I’m perhaps the only only one who rejected mercenary behaviour, as a way of life.

Now I need to put up with her jabs about having to pay off a loan, the one she took out to cover my glasses. Somehow I don’t think I will ever hear the end of that one, even though she only had to do it, because she already had to “Borrow” every damn sent I had in order to fix the car, lol. Other wise I would’ve paid for them myself, and it’s not like I was the one who pissed away the rest of the loan money on stock piling stuff.

Combined with everything else that’s going on, it just slams Operation Redeemer and my freedom further back; this damn equation is never going to get solved at this rate. In order to get my license *and* be able to make use of it, I need to solve the petrol problem, the problem to that, is how the bloody hell to solve that one, without her royal pain trying to dig hooks into it. The rest of operation redeemer is also dependent upon solving that in order to proceed with the next factor. Why do I even bother any more? There may as well be a big bulls eye on the back of my head.

I’m nether bank nor animal, but when is it remembered that I’m a person?

Much of the weeks coding has been focused around exploratory coding with OGRE and related libraries. My star fighter game was originally planned to be built around SDL, but if this goes well I might actually use OGRE, and replace GIMP/.png with Blender/meshes for the entities of interest in it lol. Being the thing I am most familiar with, the prototype work is focused around a First Person Shooter type environment for right now.

My current thing to muck around with has been input; I’d rather like to set things up to use runtime choice of OIS/SDL for handling input and OpenAL/SDL for audio; right now I’m using just OIS for the prototype (and no audio).

This type of program is quiet a different beast then I am used to working on, most programs that I write usually can care less about individual keystrokes and mouse movements lol. So I’ve laid out some thought in how to deal with things. I’ve decided settings will be saved in XML format and will employ a key = command style mapping(; whatever is considered normal, I’ve been around quake/unreal games enough that my brain thinks that way about mapping controls lol). Each command will be an instance of a subclass of a more general command class, in charge of figuring out what the heck /should/ happen when the command is given. The games input manager is to register a std::map of key sequence = command object pairings (hard coded for now, since I’ve to busy to muck with an XML parser right now). Whenever input occurs that an interested command object has registered itself for, the command listener has a method called with the details about the input it wanted to know about.

One of my reasons for doing this, is I would rather like to implement a Quake style console for communication with the game; which is a style of program more up my avenue of expertise… lol. And it seems that it would make it easier to use the same interface for both the input manager and the console, in order to dispatch commands.

The thing I have not figured out just yet, is how these command objects will relate to actually getting their work done; but hey, I have got to get some sleep eventually and life sucks anyway; the code ain’t going to go any faster then life is!

Time for me to crash to a pillow, work cometh on swift wings…

A shocking first… even for Windows!

In checking the documentation for some method, I ended up wondering what ‘_StringBase’ is (as I already knew Ogre::string was a std::string). Taking a look at OgrePrerequisites.h I found an interesting define and typedef:

00148     typedef unsigned char uchar;
00149 typedef unsigned short ushort;
00150 typedef unsigned int uint;
00151 typedef unsigned long ulong;
00152
00153 #if OGRE_WCHAR_T_STRINGS
00154 typedef std::wstring _StringBase;
00155 #else
00156 typedef std::string _StringBase;
00157 #endif
00158
00159 typedef _StringBase String;

Since my project is set to use the unicode character set, it would be more convenient if Ogre::String objects were basic_string instead of basic_string at heart. Because Ogre is being used, I have a Source/Ogre folder so I can compile whatever I want without effecting “my base set” and SDK files else wheres; then just move the libraries over to my Buildtarget area afterwards.

Generally MSVC++ is a pretty fricken fast C++ compiler on Windows compared to MinGW, but Ogre is not a midgit. I setup a batch build for release/debug dll/static of all the required libraries and plugins in VCExpress, then I launched SWAT 4. The game takes a little while to startup so I went about my usual stuff; when I returned I found that Windows XP had crashed!

A blue screen of death complaining about a page fault in a non paged area, and noting an nv4_disp.dll (nvidia) file.

Sometime when I can afford the downtime, I’ll likely conduct tests of the machines memory (…), graphics card, and do a reformat of Windows XP. Before any of it, I will also likely compile a custom FreeBSD kernel on the machine as a pre-test of her integrity.

I have never, ever, under any circumstances had a system crash while compiling code., no matter what I throw at it (although I admit, 90% of the time I compile code on a FreeBSD box lol). Run out of disk space yes, shout barely intelligible linkage errors yes, muckle buckle about crappy dependencies yes… but never, has any of these *****s crashed during a compile! So this is starting to worry me a bit… oi, it’s always more trouble when a computer has been both obsolete and off warrentee for a few years.

Dreams of haunted Hexadecimals

I dreamt there was two of us exloring a large house, of the dark and scary kind, like a brother / sister pair; much younger. The house was rather dark but vaguely reminds me of a real one somewhere; perhaps a strange composite of several places I’ve been. At one point I caught a roach, and she ordered me to put it out side, so I opened the door and let it scurry away – never mind that it was probably on the 2nd floor, but oh well lol. I noted that the clouds were rolling away into the distance, looked like a storm would be done passing by soon. We again returned to the search of the house, the girl being drawn to one of the doors and wanting us to split up; let’s just say, even without any lucidity, I’ve seen to many horror films over the years to fall for that ^_^. So, we headed in, it looked somewhat like a childs room, but not quite the nursery feeling that came to mind; for some reason it makes me think of an old movie about a haunted house, but I can’t remember the name of it. There was a strange picture and the girl appeared to be memorized with this room :/.

My “Spider sense” if you wish to call it so, started busing – ducking my head out the door, I saw Hexadecimal creeping about downstairs, and urged us to flee. No luck, the girl was to hypnotized by the room, another look out the door, showed Hex was creeping up the stair case; I flung open an inner door and rushed into a side room, calling for her to follow. No such luck, so I slammed it behind myself and bugged out FAST, catching sight of Hexadecimal going into the room… In a last ditch (insane?) effort, I shouted until I got Hexes attention, then flipped myself over the stairs railing; making a set of “Drops” until reaching the ground floor. Ok, guess I’ve played to many Tomb Raider games in my life on that account lol. On hanging from the last railing, I excerted some kind of influnce, taking control of the house and demanding that all return to normal; resulting in Hex being deleted lol.

The next thing I can remember, is the two of us looking around again, and going through a hallway on the ground floor, with large windows overlooking the grounds, but it was dark as night out; where as before it had merely been a stormy evening. Someone warned us about our parents being due home soon, and I suddenly got a notion of what happens to movie Vampires when the sun comes up! In further exploring we found a wall that ‘rolled up’, revealing an old man with a work shop. I remember the visuals more then how to describe it, but it involved Python, dots, and a stuffed rabit. The last thing I remember, is chasing a leaping frog around, trying to catch it with a shoe box and get it into the bug catch. When suddenly it became a giant roach, like one of those rain forest critters the size of your hand. When it got lose and tried crawling over my foot, I woke up around 1015Q with my leg kicking at the covers! I haven’t had a wake-up like that in a looong time. Maybe it is a good thing that in the morning, Willow switches from my bed, to the couch in the living room.

My dreams are usually non sense, even at their finest moments.

So far, no luck in trying to sleep, even have tried burning more energy then normal, alas it appears to be hopeless. On the upside, tonight I’ve managed to overhaul my shell profile.

I spend most of my time behind a zsh, but also have regular contact with bash and various ksh; generally I avoid csh/tcsh on the grounds of muscle memory [sic]. The various Bourne style shells are a lot a like, but also a lot of differences once you grow past the /bin/sh of 30 years ago. I don’t care much for maintaining a profile/rc file for each shell I use, so approximately last year: I just wrote one central ~/.Terry_shrc file. The intention was for that file to be able to handle any OS/sh pair I’m likely to bump into, keeping to a portable subset of the scripting language & general unix. It only makes dialectual assumptions that functions (name() { list }) and aliases (alias name=’repl’) are supported; lesser portable constructs such as the $() and $(()) notations are totally ignored. My profile is so portable, that the bloody thing has even been easily adapted to Interix/SFU and Cygwin environments. The more OSes I encounter, the more portable the thing tends to get… lol. SFU/Cygwin basically required nothing, I just extended the platform detection stuff for the sake of creating workable aliases.

From the get go, the various shell specific rc/profile files were set to source my central profile, which in term was set to source a ~/.site_shrc file for site local changes; which of course is a symlink to ~/.site_shrc.hostname ;). Tonight I’ve extended it to source a .sh_funcs and .sh_funcs.osname for additional stuffs, as well some real improvements on how it goes about doing its magic.

Occasional SAS related stuffs, fiddling with my profile, and hashing out the various rs-* scripts for my rsync system aide, it’s been about 2 weeks since I’ve done any coding, and probably two or three months since I’ve done any hard core coding :-/. I’m always happier when I’m coding more….

Relax or ignore….

The desktop is still powered on, left her downloading the ISO image for later; right now I’m in front of the laptop. My status message on pidgin, is set to indicate that anything not related to relaxing, is gonna get >/dev/null‘d!
]

I plan to take the rest of the afternoon off to myself, if I can’t get a decent nights sleep, I may as well get a decent day off work, lol. Let’s see, what’s the plan…. Hmm, I need to get a few things typeset, tend to odds and ends—like catching up with a razor blade and a hot shower. Dixie is powered on, so that I can leave her unattended with the music streaming, while I get stuff done. There isn’t much on TV, but that is fairly normal 8=).

The dogs have been chasing me down, they’re angry that they can’t go out for a walk because of the rain :'(. In all fairness, I could use a walk myself; and the rain would help. The only problem is the idea of a 6 kg dog dragging a 73kg man through the mud >_>. Hopefully the rainy weather will subside a bit, so they can get their walks in for this weekend, and the internet connection will stay stable again 🙂

A few Thoughts turn to PC-BSD

Considering recent threads in the PC-BSD forums, largely centred around the projects deficiencies I’ve made a decision.

I have the DVD version of PC-BSD 7.1.1 x86 down loading, when it is complete, I’ll load it into a virtual machine for testing. Once that is done, I will conduct a ‘deep’ inspection of the systems current state—including the source code. The aim of it is to analyze the distributions weak spots, noting the areas where it does need improvement. After that is completed, I intend to publish my catalogue of the projects deficiencies along with suggested paths for improvement. It’ll probably be posted here on my LiveJournal, with links shared in the appropriate forums and mailing lists.

Why do I feel like doing this? Well, PC-BSD while it has some good qualities, generally fails (in my honest opinion) because of how it is handled. As I have often said and people can feel free to quote me on it, PC-BSD feels like a project born in Kris Moore’s garage: that never left. And like wise, as I have often expressed, PC-BSD development practices do *NOT* reflect those of a real BSD project.

In my experience getting anything done there, that is also worth doing: has usually been caused by the community screaming the developers ears off… perhaps consistently so. So writing an open letter might poke the project into cleaning up their ship, or at least demonstrate to the rest of us what “Not to do”, lol.

No luck what so ever in trying to get to sleep, I logged off with about 9 minutes of battery power left on my laptop, and spent the rest of the night pondering as usual. It might’ve been 0400-0500Q by the time I finally crashed.

Woke up around 0830Q, having dreamed of Buzz Lightyear leading the Predacons against Optimus Primal and the Maximals, in an attempt to renew the Beast Wars. I know everything is well, when my dreams are total non sense lol.

So much for a nights sleep…

Well I tried, I really did try! Woke up from a nap and was so tired, I decided to skip the shower, shave, and computer for tonight, and just go to bed and try to get some sleep for a change. Just took care of odds and ends, threw on The Simpsons Movie for something to watch, and made ready to pass out.

Then her royal pain woke up and needed her back scratched, then she woke up Willow who decided to tackle me; *sigh* it is just impossible to win some times!!!!

Upon sleep proving to be a hopeless affair, I gave up and dug up some strawberry ice cream for a quick snack. Largely gave up junk food a long time ago, but sometimes I’m in the mood for something sweet. Finished the movie a lit’ bit ago, then decided to boot the laptop off batter power, and try and pass some time.

Si much for a nights sleep…

I’m sorry, but do I look like a moron?

I spent some time getting stuff sorted on SourceForge, until I was interrupted by [SAS]_Rct_ESCRT, who was being plagued by a trio of Dummköpfe terrorizing our SAS Proving Grounds server. After resolving trouble via remote, I chose to enter the server and deal with things “Personally” and give the vagrant offender one last chance. In the end, these trouble makers with many names were sorted when the worst was banned. The screen shot below sums up him and his friends efforts:

One thing I failed to tell them in that moment, is I was also the Web Admin from before, who Feldjäger tried to convince me his buddy was talking to 8=). On top of that, I also forgot to mention that I had kicked him previously, but I didn’t want them to feel tooo stupid.

Maybe I am not terribly bright at times, but hey, I am not a fool!