Friday, June 12, 2009

I've a haiku-inspired thought in my head, that applies to fixed / liquid / fluid elements... todo write it when I have a clear'er mind

Thursday, June 11, 2009

Today has been a fairly good day. Dreams not to bad and I only over slept by an hour... lol. Spent most of the day conducting training for our newest recruit. Personally, I find the long winded chatter of some of the trainings I do quite boring; so I always try to keep sessions MOVING, try to keep people focused and moving forward. Recruits learn better when they are focused and not just trying to stay awake \o/. That's also one of the reasons I try to do a lot of training that's more hands on stick and throttle these days. Most of the time I do training, I usually think of a class room'ish and hands on sector, yet try to avoid breaking it up as such. The older I get at teaching CQB tactics the easier it gets.

The recruits very good to work with, and perhaps more dedicated then most I've seen enter the selection course over the years. Heh, it also makes me think back to the days when most of our senior NCOs were going through the selection course: they could be a bunch of rowdy pains in our neck but eventually learned xD. Since 2005 I have seen and done much in [SAS], but getting to teach I think is still one of my very most favorite parts of this team.


After the prolonged session (thanks to all the live fire, hehe) I also got to spend time with Walker. I gave it him the mission in a way he is not likely to be used to yet: I gave it to him [SAS] style, pro all the way. The kinda raids us members conduct periodically and love doing. Where it is nether set in stone nor left to chance, but sublimely tactical in nature.

I am quite happy with all of our Recruits at the moment, I haven't spent most of the last couple months with my eyes focused on our senior RvS recruit for nothing hehe. I always tend to rotate and slide myself into where ever I can lend a hand in [SAS], to me that's just how a team works. I also have always liked it, when I have the chance to become useful in many trades. Through my path, my teammates cover me and I cover them, and we all get it done sooner or later.


I don't drink, but cheers to that b||b
Sheesh, I think it's gonna take this crappy-printer longer to print my lesson plan, then it took to write it lol.

I used restructured text and fed it through rst2html, then generated a PostScript file using Mozilla Firefox; it's only about 3 pages long...

It took about 7 minutes per page... and it's all plain text :-/


* printer is a Deskjet D1455 supported by GS/HPIJS/Foomatic and hooked up to the LPD/Line Printer Daemon.

Miserable night....

My family does nothing but make the things missing in my life that much more apparent.

Reese's monitors FUBAR so he came over to pik up his spare; so I had to put up with my mother and my brothers usual pissing contests. After listening to essentially the same set of conversations repeated at least 15 times, I started laughing and offered an analogy. "If two and two is equal to two and two, and two and three is equal to three and two,m and so on, do we really have to walk through the entire set of real numbers, which just happens to be pretty darn infinite?". Combined with my comments on having to hear the same damn convo again and again and AGAIN! They eventually got the point and changed their broken record to another! 20-30 minutes later I said screw it, and sat down on the computer.


Family is excellent at using you, making you feel miserable,


One of the people we work for was having a computer issue and of course offered to help, in reply to her reply, I explained: there is being used and there is being useful, and I like to be useful; I left out that my immediate family only knows my name when they want something 8=).


Tonight I've also been badgered over my eyes which are not as good as they used to be; being cooped up at home so much with nothing else to do but sit in front of a computer, what do you expect? And that I obviously will need glasses (or contacts, not that I was asked which in their debate 8-) before I'll be able to get a license. (Duh, I'm not a dumb ass!) And the list just goes on - I'm tired of putting up. I love my family dearly but I honestly wonder why I have bothered to speak to any of them, since at least 1995~1994; the year reference is because by 1995~1996 I already knew things were headed for the shits, and had already been so miserable for a good while....


I really don't want to have much to do with my immediate family. I think if I ever moved out, I'd probably call them each once a cycle and leave it at that for the most part, lol. It's just less painful to avoid unnecessary involvement. In my general opinion, I think they really ceased to "know me" years and years ago: when me and a few friends were essentially swapping how well do you know me type quizes, in writing mine, I had a sinking feeling at what my family would do if given it (I don't dare lol).



All in all the more I am around them the worse I feel, and ever more so do I long for what I seek in life: and wonder if I shall ever find it. It is the hope of finding what I seek, that keeps me moving, and I refuse to be shaken.

Wednesday, June 10, 2009

You know... I am basically living on about 1 1/4 to 1 2/3 litres of water a day, and since I've mostly given up on snacking/junk food, basically 2 meals a day on average lol.

I'm not quite sure if that is good or bad \o/.

Another reminder of my life in darkness

I was sitting on near the foot of the bed with the laptop, puttering about on IRC and hashing out some stuff in vim, etc. When I see something black with 6 legs scurry along the edge of the bed to my right - a cockroach. Despite having a prior "inmate" in it from this morning, I managed to get it into the bug catcher without much problem.


The things that bother me?


I saw it in my peripherally vision well enough to identify it, as well as gauge threat level.

Leaning over, I could see it in great detail

I managed to get off the bed and begin the capture procedure without alerting it (vibrational)


Turning on the lights wasn't necessary to improve my vision... it was plain as day without them.

and I was more alert then the dog :-/. Maybe it's a good thing I don't have a cat, lol.


What can I say, I've been forced into the dark for so many years.... my eyes and brain practically work like light amplification goggles -> I'm not even going to comment about how it feels to ride in a car on an unlit road at night, lol. Even worse, I have yet to lose my mastery of stealth. I can still maneuvre and creep with remarkable ease for a civi; learned out of necessity. In my reading of the Count of Monte Cristo, when it mentioned Edmond's vision in the dark, I couldn't help but feel, "Dang, it's not just me then". But alas, to late now.

Tuesday, June 9, 2009

Right now the only positive aspects of life, are the animals and the computers... that's the most joyous thing I can think of, outside continuing to breath in and out. The realization of my goals through Operational Redeemer are imperative at this point, for the sake of my spirits survival.

In a way I think I have become greedy due tomy time on the Internet; being treated like a human being rather then an animal, can really spoil ones stomach for life in this family. I am tired of being treated like an asset, like a machine (actually, I treat my machines better then my family treats me lol). Most of the time, I feel like the only time anyone knows my name is when they want something; and that is about it. Capping it all off, I am virtually stuck here with subjugation not far away. Today only further ratifies my POV that they nether care nor listen; it is time to go for broke, and plod on with these aims.


It will be years in realizing my goals of being free again, and I fear in some ways the pace of movement is much to rapid for maintaining stealth. Betraying the presence of any concerted efforts would be dentimental to Operation Redeemer. In order to have the best odds of success, I very much want everyone to be like a frog in cool water; my liberation must be like slowly raising the heat until it is to late to be actively opposed by anyone. I've always considered myself to be calm, cool, and calculated in whatever actions I plan out throughly ahead of time: but this is at uncharted depths. I've yielded more then a decade to this misery, only to watch the shackles bind me ever more closely. I grow weary of crawling through darkness in search of a light, so tired, so very tired... Some day I will leave this place behind and GOD as my witness, I will never have to suffer like this again. My patience is renown here (as my family is as patient as a gold fish out of water), but this operation will stretch its timbres to the breaking point. but will be well worth it... or so I pray.


Why stand we here idle? What is it that gentlemen wish? What would they have? Is life so dear, or peace so sweet, as to be purchased at the price of chains and slavery? Forbid it, Almighty God! I know not what course others may take; but as for me, give me liberty or give me death!
-- Patrick Henry, 1775-03-23

reStructured Text, intersting...

Hmm, reStructedText / rst is looking to be very interesting the closer I look at it — maybe the next best thing to Plain Old Documentation / POD.

I could see this stuff possibly displacing a major chunk of my use for LaTeX and troff, since I have little need for typesetting mathematics or other complex stuffs (think troff p*-processors), it could be quite valuable! Of course, I would have to mate it with the m4 macro processor (or roll my own, or just abuse and filter the C Pre Processor hehe) to get exactly what I would want, but hey, it would work pretty nice!

It would have one chief advantage over LaTeX, not even the people I have to share documents with on occasion, could foul it up toooo badly... lol.

Monday, June 8, 2009

You know, SWAT 4: TSS is really starting to spoil me :-/.


You might have to shoot the stupid prick 6 or 9 times to take him down, but you can be sure the bullets are hitting where the gun is firing ^_^.


Since I tend to follow up with head shots in S4 more readily, it is even more comfortable lol.

A short rumble on RvS weapons design

I think arguably one of my biggest beefs with Raven Shield is the aiming fundamentals.

In real life the muzzle represents where the bullet comes from, obviously; however in Raven Shield it is closer to the eyes or eyebrows, despite the animations — its the top of the head that must be "clear" of an object in order to shoot around or above or under it.

The level of accuracy you have has nothing to do with reticles or scopes, it is all about magifnication. If you fitted a snipers scope to an H&K MP5A4 you would be incredibly accurate compared to firing zoomed without scope from the same weapon. In real life, well obviously you would have a pretty darn good scope in such a scenario — but you would not be able to exceed the precision your weapon is mechanically capable of offering. Raven Shields precision is a factor of accuracy rate and magnification. In my experience the accuracy rate only reflects how much you must "feel" your point of impact, more so then what the weapons can do. Fit a sniper scope on a Mac 9/11, and you basically create a 9mm clip fed light machine gun xD. I should know, when I was in my skills "prime" as an [SAS] Trooper, I was able to score headshots at 30-50m using our double tapping training and a Mac 9/11+SD. I also wonder how Raven Shields accuracy is effected by changes in screen resolution; all of my game play has been done on 800x600 and 1024x768 resolutions, running respectively on 15" and 19" CRT displays.



Whether through game design of latency in the online game play (most of which in my experience does not have to much to do with PING time), often it is as if bullets never go where they are physically required to be going. Imagine looking down your rear sight, with your front sight not even within view... that's what I sometimes feel; often times I make remarks about firing a potato gun. That is because what you are shooting at has no real connection to what you are hitting; I have even seen bullets land BEHIND where the tango was standing, only to be killed by said tango. Also just recently I enjoyed the experience of firing down a scoped M1 shotgun zoomed on the tangos upper chest (full run, straight at target) only to have the shotgun shells entire payload (buckshot) land 1/3 a metre to the targets right crus; effectively the lower right hand corner of the screen. While I reckon this is possible in real life, it doesn't connect with the reticles in game; as I have often held the theory, the reticle spread does not actually reflect where you bullets can go — only where you are aiming. That's also why I can use an H&K MP5A4 without attachments and no reticles, just using the on screen gun and reflexive shooting in RvS.

Raven Shields model of penetration, damage, and general ballistics is also screwed. Normally I fire 2-3 round bursts on fully automatic, but when having to shoot through a window I've developed the 1-2 punch. Use an initial trigger pull to shatter the window and the follow up (full) burst to drop the target. The initial bullet may or may not penetrate the glass and do meaningful damage to the threat, so it can not be relied upon. Using a 3-round burst can also be suicidal in some cases. Use of Jacketed Hollow Point ammunition especially exacerbate this problem. The only good thing(tm) about it, it only takes 1 bullet to completely break the glass; if the tango fires just after your first shot, well you are dead. I have often wondered why there seems to be so much bullshit surrounding the use of Sniper Rifles up close, being able to do more damage with a P228 pistol (9x19mm Para) round then a suppressed WA-2000 (7.62x67mm Magnum) round; at a range of less then 3 metres. Where in, damage is defined as the number of times my pistol has killed the tango in 1 hit, but the sniper rifle has required 2 hits. After some time, I have concluded that the FMJ/JHP problem in SWAT 4, which has to do with muzzle velocity, mass, range, and force needed to penetrate, appears to be the cause. Weapons like the M82A1 fire at such a high MV, that the bullet over penetrates the target without doing enough damage. After many weapon tests using both JHP/FMJ loads with and without a sound suppressor in Raven Shield, I have come to believe this is the case. I have also begun to think this may also explain why the FN P90/Five-Seven, after all we are talking about a muzzle velocity in real life that is nearly double an MP5s... lol.


And needless to say, when you have a weapon designed to deal a killing shot from over 800m away, having to hit them twice at 3m is kind of retarded if you are packing a gun big enough to kick the fucker on his ass, even if it doesn't kill him \(^_^)/.



I suppose I should just count myself lucky that RvS doesn't screw up FMJ/JHP loadings as bad as SWAT 4 does.
*sigh* after smashing my toe into a step on Saturday (The joys of working on your day off!), I think the nail dug into the side of the toe... which was almost properly healed: now everything is even more fuxor then it was previously! Just finished soaking it, this is beginning to piss me off, the only good thing I can say is that I ain't lost the nail _yet_.

It's probably a good thing that I wasn't energetic enough for exercising this afternoon. I can't really do anything that needs to put pressure on my larboard big toe, which rules out a lot without walking in sandals lol,


Spent most of the day in SWAT 4 playing with COT, Walker, Cara, and a few others. As long as I am on the EU proving grounds, I don't seem to get to much bad lags in SWAT, kind of ironic when you consider that I am an American \(^_^)/. I very much try to keep myself current in all fields of SAS gameplay, among others hehe. The onyl time I've saw fit to lax that, is during my tenor as SSM, in which I took care of RvS as my fellow SSM Rasa oversaw SWAT4, all the while with RSM Rouge being our direct superior. When I became RSM, the only thing I welcomed with the position was being able to return to equal-attention between both games.


I've always preferred SWAT 4 since SWAT 3 became historical interest, yet "back in the day", it was more economical on time for me to complete the selection course though RvS, SWAT 4s had not even been developed yet lol. I think SSM Noer was our second recruit through SWAT, and the first of many Mighty Troopers.


I also have a habbit of being where ever the best recruitable material can be found ;).

Saturday, June 6, 2009

Oh give me a project ....

Oh, give me a project, where the perls roam,
Where the join() and the split() play,
Where seldom is heard a discouraging error,
And the Makefiles are not cloudy all day.

Project, project on the web
Where the map() and the grep() play
Where seldom is heard a discouraging warning
And the lusers are not cloudy all day

How often at night when the heavens are bright
With the light from the glittering stars
Have I stood there amazed and asked as I gazed
If their glory exceeds that of ours

Project, project on the web
Where the push() and the pop() play
Where seldom is heard a discouraging error
And the Makefiles are not cloudy all day

Where the code is so pure, the expressions so free
The operators so balmy and light
That I would not exchange my project on the web
For all of the jobs so bright

Project, project on the web
Where the reverse() and the sort() play
Where seldom is heard a discouraging error
And the warnings are not cloudy all day

Oh, I love those wild regex'rs in this dear land of ours
The lusers, I love to hear scream
And I love the white $scalars and the @list flocks
That defref on the mountaintops green

Project, project on the web
Where the substr() and the eval{} play
Where seldom is heard a discouraging die $!
And the warnings are not cloudy all day

-- missing my favorite language

GCC spitting error: stray '\1' in program (etc)

Ok, so I am wondering why the bloody heck I'm getting messages like main.o:x:y: error: stray '\1' in program and related errors * near infinity whilst nitting object files into an executable .

Note to self: never allow your Makefile to say g++ -x c++ foo.o ... -o program !!!!


I don't know what is worse....


(EDIT: actually this reminds me, a friend said it sounded like an encoding error; and in retrospec it looks like GCC was interpreting main.o as a C++ file because of the -x flag lol)

Friday, June 5, 2009

Since it has become quite obvious that it will never get thrown away.... I've moved the old dresser from in front of the closet (i.e. next to the bed) to the other side of the room in the corner, and rotated the cubby-half turned night stand from there to whence the dresser came. The effect of this is such, that my general space in the middle of the room is massively increased. The immediate benefit of this is clear: more room to walk about. On the other hand, this also means more room to exercise, even when being crowded out by the cloths racks that always push me out of the damn room every laundry day!


I've also rigged it up with one of the drawers so I can safely balance the laptop on it, and work fairly comfortably whilst *standing*. This is probably better then shifting side to side on the bed, competing for space with the dog whenever I'm on the laptop lol. It also gains me a more effective arrangement of storage in my room, hehe.


I am not so sure how well this will work out for my neck, but it is fine on my eyes. Another off-bit, it decreases the privacy of my screen somewhat, but I'm not in the habit of surfing porn so it really doesn't matter lol. The point under which I am most often concerned about the privacy of my monitor on the other hand: is preventing anyone from reading my conversations (or jorunal) over my shoulder ;).


Let's see how this works out, if it doesn't well it is easy enough to just re-route the cable and sit on the bed as normal.

Thursday, June 4, 2009

An awakened hash-table of a memory

Just finished watching Awakenings, which I have not seen in a few years. Towards the end one of the scenes with Robert De Niro's "ticks" and the robe, it made me think of one of the residents at the nursing home where my grand mother stayed. My word, that place was horrible. My brother wouldn't even go, and I never wanted to stay very long, but hey... she was our grand mother and I love her, so I went a long whenever Ma went to visit, which was regularly. It's been maybe 13 or 14 years, but I can vaguely remember the layout of the building even. I can remember around Christmas when we brought her a little miniature tree and everything for her room; we still have it some where. I can even remember one of her birthday parties (would've been late 80s or early 90s, I think it was 89); it was probably the biggest event to touch that place (everyone there was invited). I still remember after ma had finally gotten to sick of the place, Nanny came back to live with her (My brother couldn't pronounce "Granny" properly as a child, so "Nanny" stuck, and that's what we all called my grand mother).


When the Alzheimer's had started to get worse, Nanny had come to live with us: always fine by me. Worsening Alzheimer's, diabetes, and a broken hip eventually accelerated things towards the end game. I still remember getting up one morning to find out that ma had found her sprawled out on the floor from a stroke; I remember sitting in the hospital waiting with my brother. And I remember the day before she died, ma and I had gone down to visit her; I wasn't allowed in because I was still fairly young and they didn't want kids runnin' around. After a while though, given the situation, a nurse took me back and I got to see Nanny. It was about the next morning that we learned, she had passed away in her sleep during the night; a quick Google via site: shows me the when it happened. Watching Awakenings and that one scene, has made me think of a lot of things in greater detail.


I haven't really thought about the home that much, was glad when she came back to stay with us for a while. But in the end, do I ever truly forget anything? Heh, I can still remember back to the day we moved into our last apartment: I remember it well because it was raining cats, dogs, and alligators down in Florida, and I was forgotten over the commotion, and left in the car for a while lol


Memory is an interesting thing.

What I would do if I had steady pay with limited expense...

Organizational concept (untried, would be wonderful to test some day and expand in the future)

Divide pay into

good deeds | petrol | operations | savings

funds

about 10% where viable to a "good deed" fund: cash to be used for positive and unselfish aims, as well as a margin :-/. You could say, my concept of a tithe when such is able to fit into the bottom line.

At least $20 off a weeks wage for fuel, so Her Royal Pain wouldn't have to foot the entire bill.

and crack apart the remainder into operations and savings: where operations represents available funds for the current cycle and savings gets saved, for what it's worth lol. And hopefully if there's anything left from operations at the end of cycle, dump it into savings or petrol.


Without any bills atm, getting steady pay would allow me to *_S_A_V_E_* some money for a change. The hard part of course would be keeping as much of the details in secrecy, otherwise if my family ever found out viable data, they would F'ing bleed me dry in no time... statistically proven.


The concept that interests me most is a working at a gas station: simple work and light enough that I won't be dead as a door nail between it *and* having to suffer through current the working schedule, or should I say any deader then I already am in that regard lol. I would probably give H.R.P. $10 off each pay cycle for gas/use of the car, since if everything goes according to plan: it won't cost H.R.P. anything for it, that she won't already have to put up with in motherly fashion; plus it would (theoretically) enable me to cover my own fuel costs! Simply put, if she's not entailing any large expense on my behalf... fuck her. Ma can put up with her own boat and let me take advantage of the situation — since I can do it less painfully then the way she has taken advantage of my existence on this damn planet! Don't get me wrong, whenever I've had money I have almost always used it wisely: and often generously. But I am not a bank, and I am tired of paying for other peoples life decisions, at the expense of having MY LIFE sucked out into the vacuum of space.... I might not be able to fix that problem, but I sure don't have to part with anything green as an reward for hurting my life either.


With some luck, I might someday be able to afford a car and then find a way to get out of this hell hole, for once and for all.

Wednesday, June 3, 2009

Dreams, exercise, math, and spiders

Oy! What a night.

I didn't even wake up to turn off the alarm clock this morning, I was dead to the world.... crazy dreams. Ironically though: I was thinking, "Oh crap, I'm oversleeping!" and then woke up xD. Did some stretching and light exercises, felt good. The only down side is most of it has to be completable with a 13 pound chihuahua sitting on my chest \(^_^)/ but other wise things went fairly well. Because of my toe I excluded push ups and anything else that might put to much strain on it. The only problem I had was reverse lunges, couldn't get the balance right on that side lol.

Curiously, I've learned that their is a dojo teaching karate and aikido, located down town. That might be worth looking into in a few years; both are martial arts I would love to learn some day. In the mean time I'm mainly interested in "getting back into shape" so to speak. The last 3 years have only had working beyond exhaustion for PT, so yeah it's time to make a run for it! My upper body strength is no worse and actually those muscles are might be the only things that has gotten enough exercise :-/. My focus right now is lower body muscles and legs - I also long to include running. I've also begun incorporating combative elements: it's been so long that I've forgetting many things. Most of the guards and footwork has drifted off into mental history, but hey... my last fight was at 16~17 or so, and I avoid unnecessary engagements lol.


Got a couple games of SWAT 4 and had a short chat, but otherwise it was a pretty uneventful day. I also started working through the maths books after dinner, when I went to bed I figured that I would restart. Guess what? I'm standing there in front of the dresser with the book & book light — and something black comes running out from it! The Spider drops the the deck and begins movcing, I whacked it down flat with the book light and put my water bottle on top, so I could get a paper towel (squish!) and bug catcher. Pulled the book light off and of course, it "popped" itself back up and tried to scurry away; nabbed it with a crunch with the paper towel. When I laxed my grip to see if it was dead, the bastardo dropped back to the ground and ran. Lost track of it as it was going up the side of the dresser, close to the drawer sides. After much looking and drawer slamming and inspecting, and no luck finding it: I decided to pull the empty drawers out and look around on the inside of the dresser. I found a black mark on the same side and draw-height I had last seen it... took a look and it looked vaguely arachnid like. Fetched a nutpick (~5 inch metal rode /w awl) to use as a probe, confirmed... dead or the best possum of a bug I've seen in 2 decades. Pushed it out onto the paper towel for an inspection. No real telling how old the corpse was but it is certainly the same kind of spider. To me it looked more like the abdomen had been smashed then punctured - and it was fairly empty. Cutting it apart with the nutpick, I found it slightly gooy inside and what passes for leg muscle still "working" when flexed. So I doubt if it was sucked dry by another spider, but still didn't rule out the possibility of cannibalism. In inspecting the side of the dresser inside, I noticed no signs of guts beyond a leg that fell off. Checking the side of the drawer, I noticed a black mark (as if part of the spiders skin) and further away in a fairly suitable spot, what looked like something had been "mushed" onto it... so I assume the poor S.O.B. got mashed by the drawer whilst trying to escape.


Why am I starting to think of Star Trek 6?

Tuesday, June 2, 2009

Ahh, tomorrow I have totally off work... just got off 4 days of light work+extra stress, and Thursday/Friday will be heavy work+extra stress.. but Sat-Mon are at least off, hehe.


In cleaning out and shuffling around some old things, I found two things of interest. One was a short story (18~20 pages) I came up with in school. Sometime I think I will sit down and read it, and perhaps enter it into a computer or update it just for the heck of it. I've always been a person with ideas, but not always with the means to chase after them :'(. Although I have never considered myself as much talent for writing (let along English), it has always been among my many varied interests. The other thing I found was a folder full of old designs I did in my early-mid teens, the days when I was always found walking around with a pen/pencil, a pad, and a calculator, and occasionally walking into things.... haha!

And also for what it is worth, a time before being relegated to a computer, turned my handwriting into chicken scratch lol.

A rant from behind the shell

Earth 2100 is perhaps one of the most alarming scenarios I have ever seen or heard in my life. It paints a bleak picture of what failure to change could mean for the human race. It makes me think back to watching Captain Planet and the Planeteers has a child. I remember very well, an episode where Wheeler changed history: preempting the creation of the planeteers: leading to a future world where nature had been pommeled into devastation. Which obviously, isn't diddly compared to what earth2100 models.

Heh, just think what effect 15 years can have?


For anyone with kids or wanting to have children in the future, I think you will be wondering soberly just what kind of world we will leave our future to deal with, after seeing earth2100. For me, it has very much a reaffirmed my beliefs that man can't afford to stand individually against the challenges that plague our world. It can't be American technology, it can't be Russian technology, it can't be Chinese technology, and it can't be Indian technology: it must be human technology. All the politics, all the petty differences, all of the endless bullshit: it all just sucks peoples attention from doing things that matter. What if there was no fear among neighbors? What if even 10% or 15% of every powerful nation devoted a year of their life to doing some good in this fouled up world?


Remove politics as usual and all of the social cruft from the equation and the globe could be painted anew within a few centuries time. Hunger, famine, it could all be washed away into the history books, if only the human race would stand together as one race: not white, not black, not Chinese, not French, but human!. United towards a set of common goals, my word it could be a paradise by the year 3000 — even Star Trek could be within our reach.


I generally avoid politics, since a global democracy would be more to my tastes then national governments. It'll never happen, if it ever did happen we would fuck it up royally. One of the reasons I have always loved Battletech is because its histories display human nature. Above all, the tale of the push into space, of the Star League and the golden era, and mans fall into dark age.... it displays our nature to destroy ourselves, ever more so when we do finally have "a good thing" going, does that nature manifest itself in full. We are the greatest plague of locusts ever created — the human race.



In my own life time, I know the things I would like to see.

More and more data centers turning green inside and out. Hardware and software are getting to the point that we will be able to squeeze the machines for all the are worth in a few years. Power and cooling of a large data center is an immense task, imagine if data centers could supply their own power indefinitely for as long as wind blows and sun continues to move across the sky? Throw in the hookups to existing power resources used across data centers, and the obvious on and off site insurance policies against a "Oh shit, the power is out" kind of moment, can you really lose? IMHO it would be in line with the core rule of being in business: to remain in business!

What of technology? Just about everyone in this country has an iPod. (Except me, I prefer laptops haha!) What if by 2011 every iPod produced by Apple was powered by solar energy and only used its rechargeable batteries as a back up? Just think if that same technology was applied to every cell phone in the world! What if laptops could be made that charge themselves off a solar collective skin, rather then relying on AC adapters and batteries you eventually have to replace? What if by 2020 the sale and manufacturer of fossil fuel burning automobiles was banned in the United States, and replaced with an everlasting source of power? Heck these days even high end tactical watches are made with solar power + battery reserves, I've even heard the U.S. Navy SEAL teams have begun making use of them - you can't afford a dead battery in combat! Why can't we have the same on cell phones, ipods, laptops, etc? It would be much less headache and landfill, if the battery companies would find a new business model \(^_^)/



It is innovation and a will to stand together that can bring about CHANGE in this world. And it is the piss-ant scum bags who will do nothing but maintain their status quo, who I curse, and prey that they see their business ripped apart by those businesses who will innovate the market place. Innovation and hard work helped make America the fat country it is today, its what brought man from sticks and stones to rocket ships and iPods — and what most so seriously be protected. And it what could bring us into a golden age...... if only we faught for it, if only we could do it.... and not fuck up more then we succeed! lol.

Operation Redeemer: immediate goals

goals - 5 year scope


decent pair of boots
decent sunglasses
learners permit -> drivers license
cell phone


Thoughts?
 Boots?  -> 3mo~1yr
 Sunglasses  ->  ~6mo
 Learners permit -> ~1mo
 cell phone -> ?

Monday, June 1, 2009

Writer's Block: Rabbit Rabbit!

It's the first day of the month. If you could have one wish come true this month, what would it be?
Live Journals Writer's Block

If wishing for more wishes wasn't a valid wish, haha!

I would wish for the gaping hole I feel, to finally be filled...

Fun night on PG US (RvS)

Had IE2-M and a bunch of noobers, had to kick two of them before they would settle down.

I put up with them blowing the mission for a while.
I tried giving them a hand in the part most find 'sticky'

Then when everyone else died, while I was forcing the obj. to remain secure: I gritted my teeth to an 'oy' and went about clearing the entire map....


It was worth being patient, just to show that an [SAS] man can kick some ass ;)

Saturday, May 30, 2009

The future is what we make for ourselves

The future hasn't been written yet, I can never accept anything else as fact. The future is only what I build of it...

I'm so tied of this place, so tied of being surrounded by fools. They are everything I reject: I refuse to be cruel, I can not hate, and I will not be like them.

For a better part of my years, I spent time learning to fight, to defend agaisnt whatever might come. Now I find myself, facing a new demon: one inside the head. The only way, to win the war is one battle at a time.

The future is what we make for ourselves.


There will be a day when I no longer hurt, when there is no more fear, and I am no longer alone. I will stand tall and plant my feet upon this rock, and I shall not be shaken from my path.


Sun May 31 03:44:23 UTC 2009

Wednesday, May 27, 2009

Step on my toe, and I'll scream...

Got to bed fairly early, it was only 04:30Q when I logged off; not sure when I fell asleep but at least the sun wasn't up yet.

Got up for work, and was annoyed that my shoes hadn't dried out yet! My old "Utilishoes" are to tight period, let along for working in; and my mains have a very short outsole, so the inside got pretty drenched yesterday at work lol. Tried cramming my foot into the shoe with socks on, that went over like hitting a lead wall... So no real choice except to put up wit hit. Yeah, battered foot and wet shoe, not a good mix.



Really what I would like is a good pair of jungle boots. There are three things every soldier deserves for equipment: a good pair boots, a decent weapon, and canteens that don't leak on the quick march. What better way for a civilian to find a decent set of boots? One reason why jungle boots interest me, by definition they more or less need a good balance between the heat and the soak lol. With so much need for desert boots over seas now're days, who knows, maybe surplus stores might even be in surplus of jungles... haha. They certainly can't be any worse then the kinds of shoes I've had to deal with over the past 20 years :-/

Tuesday, May 26, 2009

It's been a very long day

I was up to around 07:00Q, miserable when you've got to be up by 10:00Q :-/ Every night, it's getting worse... having trouble thinking clearly at night lately in so far as coding goes. Always tossing and turning with thoughts between my ears that have to wait, driving me nuts! To bad life is not like a cartoon, where you can just whack yourself in the head with something big and heavy, and take a nice nap xD.

Work today was probably best described, as "Dead'er then the horse I rode in on". With how much the toe was trobbing, instead of pacing during my busy...wait portion of things, I sat down... bad idea. Nearly ended up snoring, and when it was time to get up, my foot was so numbed (and sound asleep lol) that I nearly fell flat on my face... getting down 4 flights of stairs was not fun.


I was actually kind of happy though, it was raining. Plus it started getting worse when I had to be outside lollololol. I am kind of a strange person, I like being out in the rain for the most part: everyone I know, just loath's it. Eventually it got bad enough that I conceeded to using an umbrella, instead of walking around in a T-shirt: horizontal wind and rain is a good time for an umbrella. Really, if I had the proper kit and footware for it, I wouldn't mind walking in the rain, yeah... mad as a hatter.


Managed to get home and *eventually* tend to my foot. Ma's shouting at Coco, reminds me of why I don't take things out on other people... (I prefer to avoid such things, unless its in regard to someone directly causing the problems lol.) To top it all off, Willow ran over my bad toe, going about 15-20mph, sigh.


Today's work on the servers, also makes me seriously thing that Windows NT is ridicules in a network centric capacity...
Wow.... I politely ask the dog if I should have a spot on my own bed, and Willow looks at me, as if such a thing was a crime!

This calls for going "BEEP", until she moves lol.

troff and family, is there anything you can't do?

I've been thinking of writing an article on some of my tactical experiences for whatever value they may offer, and as such the obvious question would arise: what to write it in?

Anyone who says Microsoft Word or some variant of that light, you can go stand in the corner right now :-P


Most of my documents lately have been done in POD, since I've only been writing Plain Old software Documentation over the past couple months. Normally for regular documents, I just use LaTeX. I have also been contemplating learning more about the more 'black magic where few people care to thread' parts of LaTeX, really I'd like to dig up a few books on it as well, but hey, whose got that kind of cash? (I wonder if the local library has anything on mathematics worth a fart: typesetting in LaTeX with or without an air on the math side is not there either.) But I also have a soft spot for troff / nroff: I rarely use it, even for manual pages if it can be avoided. Yet I really like troff, even raw troff. It would be a perfect excuse to study the ms macro package and possibly even take the time to learn how to use pic!

The question I posed to myself, was how would I go about handling references in troff? I know it is possible, just couldn't remember how: so googled for
bibliography system for troff
. That lead me to a paper named 'Some Applications of Inverted Indexes on the UNIX System.', written by M. E. Lesk. So far that seems to be quite simple and would get the job done fairly easy.


The only thing I am used to, is working with Bibtex. So the whole refer thing is not too alien to me.



If it wasn't for technology like TeX/LaTeX, troff/nroff, POD, ReST, Texinfo, or various Docbook/SGML/XML type stuff — I would likely use plain text and [ab]use the C Pre Processor from my C compiler in order to implement simple textual macros xD. There is no 'perfect' system in my eyes but POD is my favorite... (Hmm, I really should look at MOD someday!)



Yeah, obviously I am not a fan of word processors: despite having used them heavily for years.

Monday, May 25, 2009

I've spent the last half hour or so, trying to keep a straight face lol. Friend tried to pull a prank on me, and I was trying to stall to compute the implications of pranking back, or just exacting a revenge... in various ways. He's so lucky I don't have a cruel nature. And if you are reading this, the thoughts I mentioned were only part of the possible retaliations that came to mind :-P



When you can look at something serious, and find about an 8-15% chance they're not trying to pull your leg, you know it is tempting... to not have a lot of sick fun with it at the pranksters expense. Some how, I think either I know some crazy people, or I'm just to kind hearted lol.

Sunday, May 24, 2009

Icon, the programming language?

http://en.wikipedia.org/wiki/Icon_(programming_language)

Geeze, it looks like a nifty language!

http://en.wikipedia.org/wiki/Unicon_programming_language suggests something exceptionally fun to work with as well...

Quote of the day: 2009-05-24

No man is an island unto himself, nor a pillar of stone or bust of marble to be adored for pureness sake: evil lurks in every mans heart, just as surely as goodness may lay nestled in thy bosom?

Saturday, May 23, 2009

Writer's Block: Word for Word

How many (if any) songs do you know by heart? What are they?
Live Journals Writer's Block

I don't think I know any single song by heart, since I generally avoid singing outside of church lol. With how much silence life requires at home these days, I do sing 'inside my head' so to speak, since that is really the only place outside the internet where I have a free voice of any sort :@.

Generally it's the songs that I either feel a connection with, or end up hearing the most that start to stick. Most of Folsum Prison Blues, which is also arguably one song I would want to pick up: if I ever learned how to play the guitar lol. I believe it might also be the first or second tune I've ever heard from Johnny Cash. A number of Trace Adkins, Taylor Swift, and several Alan Jackson tunes also rattle around my brains every now and them. One song that I know fairly well, is the Cocaine Blues, because I've heard it played toooo many times! And like wise with major portions of Picture, it's mostly the sequencing that I need remembering.



I came here to live is probably the song I know by heart, if any song at all. Often at work, I sing it softly to myself I'm going up or down the stairs.



I grew up in a town where tough was a cigarette, and a souped up car on the county road. Nothing much to do back then so we'd make bets, on how much a drink a guy could hold, and I held my own. I learn'd to hold my own. Daddy worked some dead end job at the concrete plant, momma taught the Sunday bible class. For eighteen years I remember thinkin' there was more to life then that, so I ran the streets to beat the devil: goin' just as fast as I could fly. 'Cause I came here to live, I didn't come here to die... Momma used to wait for me with the porch light on, worry about her little boy 'til I got home. Daddy, he'd say "Listen son", but back then there wasn't much, that I didn't already know. I reckon I was doing close to eighty, when I felt the tiers slip out from underneath. And I never set out looking for Jesus, so I guess Jesus came looking for me, and found me upside down in a ditch. Smoke and gas in my eyes, HE said son, you came here to live: you didn't come here to die. Sunday morning I got up, and I went to church. That summer I got a job and I went t' work. I met a girl in town, put some money down... on a little place with a yard.. Our little boy was due in September, but he came early in July. For eighteen days all I remember, was sitting there at his side, saying son open up your eyes. Just open up your eyes, 'cause you came here to live. You didn't come here to die, son you came here to live.
Oy my rhythm is totally screwed up..... maybe now that I've got some time off work, maybe things can be rotated back into place, before I finally do pass out from lack of sleep.

Friday, May 22, 2009

fortune -aes

Yesterday is a memory,
Tomorrow is a vision,
Today is a bitch!


Ain't it the truth.

Thursday, May 21, 2009

Operation Redeemer... green light or die.

For the past week or so, I have been plotting to free myself of this life: bit by bit, byte by byte, phase by phase...

To be honest, I've never really feared death, but then again, I have never counted on living very long either. I've always expected that I'll pop off somewhere in my 30s or 40s — but would rather live to a ripe old age and a half. Anything after that... well, I guess you could say it would be like a gift from GOD. Genetically, one thing i have going for me is most people in my family are long lived; going at least as far back as (linearly) distant relative in Italy, who is said to have passed 100 lol.

I've always looked at the future, planning is a part of me; I often fly by the seat of my pants but I know when things require the effort of planning, and when they don't.



Growing up, we survived on social security (a check for each kid), ma basically decided to milk it for all it was worth plus interest lol. Ironically, although no one actually had a job when I was a kid, I was raised that you get up, you go to work, no matter what. The standing thing was, the respective funds would run out when we reached the appointed age (16, plus way back when it continued into HS if you took long enough), so obviously it would be job time. Imagine, growing up with an impending doom hanging over your head: that someday your entire world would be tipped on its hinge, and all would fall to earth. Never being one to accept such bad omens; I largely disregarded thinking about it as a kid, and instead focused on growing up and decided that I would worry about that when it was time to cross the bridge. My agreement was to get a job when the time came, no problem, no challenge, just a simple fact of life... no problem, yeh? When I hit high school, her royal pain decided to start up this business as a way of making some extra money in preparation for the [i.e. my] last check running out. The cleaning would help pay off the high school course, and earn up some savings.... yeah, fat F'ing chance! Fast forward through the last 5-6 years of living: never saved a freakin' dime, her choice of starting this business ensured not only that I did not have to go and get a job (as ground into me since an early age lol), but that doing so became impossible... thanks a lot ma.


One positive if not perfect thing of it, that change of plans also allowed me to go further into my personal studies (technology, science, etc), I should be thankful in some sick way: because other wise, I might never have discovered coding with such vigor.


On the other hand, that same change in plans also cost me most of my studies! Math/physics died out for the longest time, aeronautics required way to much effort in computation, history couldn't fit into the day anymore, even my regular exercises and CQC practice all went out the window... and then proceeded to suck out every decent part of my life, that does not involve a fscking computer! So all in all... I ain't that thankful. I'm largely trapped here these days, ffs I don't even have the freedom to choose to walk to the damn blasted mail box; can it get much worse, I dunno, and I dun't want to know.


After some careful thought, I've decided to call the plot, "Operation Redeemer", which is in my honest opinion quite appropriate considering the meaning of the words redeem and redemption. Pretty soon, I'll be turning 21 years... a point where *no one*, not even my mother can contest that I have some measure of legal right to freedom.


I have, in my own opinion: both a meticulous and sincere nature. As the latter controls the former from doing harm, it is not always benitfious in a family like this. Lately I have been applying that meticulous attention to solving problems, the problems of how to get from where I am shackled — to where I want to be headed in life.


I wish I knew better and at an early age, what I wanted out of life: the last decade has passed fairly quickly, and the last 3-4 years almost like a blur of toils. I always figured growing up, getting a job at ~18 as expected would open the doors to moving on with life... despite the issues involved, I suppose it was worth looking forward to. I also figured by the early/mid 20s things would hopefully be at a good place in life, and to let nature take its course; with the hopes of eventually settling down around late 20s: and being free of the years of family-in-fighting.


So much for that 8=)


I divide Operation Redeemer into outlooks, objectives, and phases. Outlooks are the short term, mid term, and long term scope: objectives fit into the outlooks. The phases are the principals of the objectives. It is also somewhat a depressing series of mental-processing tasks....


short term — the next few years

drivers license.
Currently the only way I can cover the costs of maintaining one, is for H.R.P. to foot the bill, which she would do fine... the only problem being, of course why I currently don't have a license as is: http://sas-spidey01.livejournal.com/318927.html
petrol supply.
best way to get around the aforementioned issue set, is to GET IT IN F'ING RIGHTING!!! Or should we say.... a signed document stating that HRP covers the gas usage as composition, irrevocably or I 'revoke' my presence in this business... which would bring the hole life tumbling down period: however through applied positioning it would become Mutually Assured Destruction (MAD). The goal would be to utilize her promises in order to move towards reclaiming my freedom: and when she forgets and threatens to pull the plug (on what would hopefully be a much freer form of living then I have now), have it in writing to remind her: along with the MAD clause ;). Of course, said document would likely have no legal value what so ever, it would just provide leverage over the "forgetful, opinionated, and automatically right" nature that so many people have.
freedom of motion
with that assured: it should actually be possible to GTFO out of here periodically. Having to put up with the limitations of a learners permit slows it down but hey... I've only had to watch most of the last sequence of years be squandered for the benefit of my family, I can afford to be patient. Once the times up... it will be time to make use of every avenue possible. One of my first intentions, is the library. It's an old saying of those who know me:
"He would live in the library if he could", and I would lol. It is also a nice, quite, comfortable place to BUG OUT of here, and be able to relax, read, maybe even bring my laptop and hack at some code while the battery lives. In point of insurance policy: by 22, I am sure no one on the face of the earth (who is still alive!) can deny I have a right to exercise free will, and go where I like, in a free country, subject to the law. As for car access.... that HRP has legal authority over; in the planned case however without it, I would simply adapt "or else". Because quite simply if I can't drive, I'll walk -- and take my chances getting run over. Actually, especially in the libraries case (2-3 miles) I would prefer to walk (exercise!!!). With the way GA drivers are, that threat might even work to my advantage if it became neccessary... lol.

mid term — intermediary

The means to actually make use of newfound freedom... that means pocket money. Actually one odd thought that popped into my head last night; a job with light enough work that I won't be freaking dead 24/7, yet with hours that could be squeezed in around existing business (since there is no escape from it). Ideal, would be working nights: just in time to come home around 5am and pass out before work, lol. With some measure of reliability to scheduling, even most weekdays could be open; since I'm generally off work from 15:00Q until 09:30~10:00Q the following morning. Heck, even if it was only 12 hours a week (which is ludicrous imho: barely worth the gasoline lol) and at minimum wage.... Let's say, its as much as $4 an hour after the compulsory government and business related skims. Even that level would be good... *if* it was all turned into profit, as opposed to say, family bleeding my dry for every penny they can dig. Then it would be possible to save up and still have a bit of pocket money for once. In considering whats around here, the only thing that seems like it would have a chance of working out for, would be working at a gas station; probably not likely to find that these days. Maybe it's some form of irony, that such a thing would come to mind: since my pa worked at a gas station when he was younger, and learned from the mechanics. Then again, full-service stations were probably the normal back then and I bet modern self-service stations were designed to cut man power costs!

Another thing I've thought about, is trying to scrounge up some decent web work, just shorties preferably. Something that could generate a bit of capitol to put towards continuing the effort. Funds permitting, it wouldn't be to hard to score a years web hosting, setting a site offering design / training, and try to make use of available media for advertising; you would be surprised how much you can do in this place, if you have the money to make money: and a fair measure of luck. All in all though (especially with the luck I've got in life), I doubt it would ever make enough income to be self sustaining, let along profitable for me, but alas, a spider can dream (and plot).

Find a solution to the gaping hole in my life... well that is easier said then done, but having the means to move in that direction would certainly help!!! Either way, a large part of this objective is in GODs hands...

long term — coming to the close of the next 10-15 years

Be saving and close to the point of being able to get my own wheels.

I've always planned to move out by 30, married or not. Personally, I would prefer to first option but could be happy enough with the means to do get out of here.



and that's as much, as I can stomach writing down for now...
Maybe it's the lack of sleep in the last ~72 hours
Maybe it's the war between fine and depressing
Maybe it's life sucking the energy out of me
Maybe it's the lack of peace in my life
Maybe it's always being pressed for time

but I feel like s***!!!
I dunno what is worse... that it is only 06:30Z, that I've been awake so long, or that there is nothing I can get done before work 2morrow that I actually feel like doing.... despite the fact that I can't sleep, lol


oy

Wednesday, May 20, 2009

Waking up to bullcrap

Not even taking the time to boot into X, writing this from a vtty for later posting; gotta start getting dressed for work in about 5 minute.

This morning, I was informed that H.R.P. and Prince Asshole (haha) are no longer talking, when told that if my brother wanted to talk to her, that I would have to be the relay.... I told ma *NO*, "I've had enough years of doing that, to last me a life time". I can still remember the years, I spent relaying their messages over the phone; that's part of while I've shunned phones for most communication purposes (the others being lack of privacy here, and that IMs lend itself better to abusing multi-tasking then phone conversations).

It seems they are moving nearly a decade back, as opposed to taking a foreword direction of travel... and doing it gladly on both sides! This time around: my neutrality will be suitably respected during their waring &mdash or to borrow H.R.P.s speech pattern, I'll 'excommunicate' them from the family!


I've had enough of this horse shit to last several dozen life times.




/* their 'alternative' forms of address are chosen in order to avoid proper names, and still be as "polite" as possible */

Delightfully enjoyed this article

http://freshmeat.net/articles/stop-the-autoconf-insanity-why-we-need-a-new-build-system

I can also sympathize with the fictitious Joe and Jane in the examples — I have no love for the GNU build system / autotools. I've also had to waddle though ugly auto* files and deported documentation on occasion ;). The only part of autotools I do like, is GNU Make: because it is the most portable make implementation available, short of limiting things to a subset of the standard syntax.

I don't quite understand the authors comments about m4, because it is a pretty simple tool. Heh, I still remember watching The One on TV one night, and interspersing it with learning the m4 macro processor. IMHO m4 is an incredibly useful tool: being a fairly generic (yet expressive) macro processor lends itself to virtually any tasks that can benefit from pre or post processing. Although to be fair, for what most (smart) people would use m4 for doing, I typically (ab)use the C Pre-Processor (cpp) into doing for me \(^_^)/. The main reason I avoid using m4, is because I can never seem to count on a *consistent* set of behaviours whereever m4 can be found/ported, the last time I required m4 for a project, I ended up in a "F it, I'll make a C||C++ compiler a dependency" like situation: because the platforms m4 would not behave IAW the norm. It is a shame really, GNU M4 adds some nifty features (and even more shamefully, it was a ported/tweaked version of GNU M4 that was the problem child in the aforementioned situation lol)


When it comes to building things of my own, I usually create a Makefile; exception being Qt based stuff, in which case I generate makefiles with qmake ;). I've also considered implementing a Perl script that automagically does the right thing (or should I say, the infering the right thing) through a quick bit of build rules written in XML — but why do that, when there is a tool like ant? I personally like makefiles and GNU Make; then again I'll put up with virtually any make with $() and documented inference rules... hehe


SCons has been something tha thas been increasingly interesting to me, but unfortunately time constrants mean writing custom makefiles is a more economical use of time then learning a new tool like SCons :-/. Like wise, the main reason I have never adapted the Boost libraries is no time to fiddle with their build tool, which also interests me.

Tuesday, May 19, 2009

I **really** need a fsckin' vacation!!!

I think, given the choice: I would just sail away, away from the things of man, and let everyone rot... since that's what they love to do the most.

*sigh*

Random thoughts on working with XML

It's no real secret that I love XML but truly hate working with XML parsers in general (^_^).


Xerces-C++ and libxml++ are not to bad but I have never met a parser that I love. The main reason I choice Xerces was the painless'ness of compiling and linking against the library; I really do not want to go through the bother of setting up libxml++ in MSVC. Especially when taking a look at the pkg-config output on my workstation:

FreeBSD$  pkg-config libxml++-2.6 --cflags --libs                      18:07
-I/usr/local/include/libxml++-2.6 -I/usr/local/include/libxml++-2.6/include 
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glibmm-2.4 
-I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 
-I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include  -L/usr/local/lib -lxml++-2.6 -lxml2 -lglibmm-2.4
-lgobject-2.0 -lsigc-2.0 -lglib-2.0  


SAX, DOM, or whatever else, the parser style doesn't really matter to me that much: as long as it gets the job *done*. Although obviously, I am more familiar with DOMs (thank you JavaScript). I tend use XML for storing structured data without having to resort to a binary file/database, or a curmudgeon of files within a zip archive. So operations tend to be very straight forward using a couple of glue functions.


Personally, my idea of fun XML parsing is to take data this as input:

<rootnode>
  <child1 attr="val">string of text</child1>
  <child1>
    <child2>another string of text</child2>
  </child1>
</rootnode>

and to in turn receive a nested data structure like this as output:

# example in Perl
$structure = { 
    node       => 'rootnode',
    attributes => undef,
    data       => [
                      {
                          node => 'child1',
                          attributes => { attr => 'val' },
                          data => 'string of text'
                      },
                      {
                          node => 'child1',
                          attributes => undef,
                          data => [
                              {
                                  node        => 'child2',
                                  attributes  => undef,
                                  data        => 'another string of text'
                              }
                          ]
                      }
                  ]
};

Probably because that is how my brain sees the preceding XML xD.


Not to mention it makes writing something like a pretty printer easy as pi:

# for some reason, writing this subroutine was very relaxing...
sub pp_xml {

    my $xhr     = shift;
    my $depth   = shift;
    my $indent  = sub { "\t" x shift };
    my $node    = $xhr->{node}  or warn "XML node has no data!\n";

    if ($xhr->{attributes}) {
        while (my ($attr, $val) = each %{$xhr->{attributes}}) {
            $node .= " " . $attr . "='" . $val . "'";
        }
    }
    print $indent->($depth), '<', $node, '>', "\n";

    $xhr = $xhr->{data};
    if (ref $xhr eq 'ARRAY') {
        pp_xml($_, $depth+1) foreach @$xhr;
    } else {
        print $indent->($depth+1), $xhr, "\n";
    }
    print $indent->($depth), '</', $node, '>', "\n";
}

pp_xml($structure, 0);

Making it accept a callback ident function as a 3rd argument, is left as an exercise for others who are equally in need of R&R 8=).

Terry@dixie$ perl -Mstrict /tmp/xml.pl -Mwarnings                         21:57
<rootnode>
        <child1 attr='val'>
                string of text
        </child1 attr='val'>
        <child1>
                <child2>
                        another string of text
                </child2>
        </child1>
</rootnode>
I think I've had about 2~3 hours sleep... it was after 06:00Q when I logged off, guess fiddling with Xerces and G++ took longer then I expected; had planned to finish up, grab a bowl of cereal, and hit the hay before 04:30 lol.

No luck what so ever trying to sleep, 7 o'clock passed by like lighting as birds chirped outside, by 10:30Q I was woken up in order to be dragged out on a shopping expedition 8=). Managed to cram my flubbed up toe into an old shoe, and limp most of the way though... oi.


Due to a disagreement over my brothers (2nd) wedding, my mother has effectively decided to blackball the event and excommunicate him from the family — again. As usual, I avoid becoming involved in the conflict: it is none of my business, its his life, and she is not the planner. Unfortunately I still have to listen to the endless whining, I really need to learn how to "tune" people out someday! *sigh*. Courtesy of said arguing, Reese refused to pick up the stuff Ma asked him to get from the grocer, hence this mornings wake up call. A few weeks ago, they 'made up' over issues of ancient history (my family never forgets anything!), and have been on increasingly nice terms until this week: now they are back to pissing each other off. My private thoughts on the matter of them settling old wars, were along the lines, "He must want something", guess I was right. As normal, my family interacts with one another on a mercenary-like basis \o/.


The toe has managed to survive another outing, but now it is band aided with tape keeping the band aid in place: epoxy adhesives are not always useful! At least on the up side.... my life has given me higher then average pain-thresholds both emotionally and physically, for better or worse.

Monday, May 18, 2009

quick note to self

once tpshs implementation of shell script is more mature: transition the windows machine to running a shell script on init, rather then the \Startup\ system used by Windows NT, and compare performance.

I've fallen asleep 3 times, and I've had 3 crazy dreams.

The first, we were baby sitting in a very large house and the "worst storms in 20 years" are in bound. For some utterly stupid reason, we were retreating to the upstairs... when one I feel a tap on my shoulder, I look behind and see another baby levitating behind me! At that point, I was starting to wonder "Oy, not one of these crazy dreams" lol. Some time later when the storms were very bad, I found myself on my knees praying and suddenly the storms stopped. Looking outside, I heard someone below being sentenced by a judge (and losing), and thought of Homer J. Simpson (Having watched The Devil and Daniel Webster a few days ago is perhaps why lol). Later I was doing somethings outside, probably in preparation for leaving; when I heard a voice come to me in the wind, can't remember the exact words but it made me worry for some reason, it also mentioned that I would be meeting something with this silly name, sounded kind of like a twix bar. I remember thinking, voice of GOD or someone else...? Or am I just cracking up! Sure enough, I ran into a stray dog with the exact 3 words of the name on his collar. The last bit, I guess can be owed to having read Job a few days ago, before bed. The rest of the dream was fairly placid.

The second dream was more of a private nature, and somewhat different because I knew it was a dream and could control aspects of it. You could say, I made use of the situation in ways I would never do, having know it was a dream and nothing more.


The third, I had talked about the dream, and my family was shopping at a shopping mall, and me and my brother were arguing vehemently about the dream. I eventually one the argument, having thought of something about his past that would "close" the argument at the cost of hurting him, but passed up the avuneue of counter attack for one that settled for a non-painful stalemate. On the way out, it was discovered the I had left Ma's bag in the store, so I went back and got it. Not surprisingly security had to check me out, they bagged it. Then an officer stopped me, "Yeah, I figured you would have to check it out before they let me take it", he checked it and tossed it for someone to carry off, then went to leave. And I called back for him to wait a minute - S.O.B. even tried to pull the gum out of my mouth lol, when I asked for a receipt or something to go claim it later.

It was about this point when I was woken up.



Really, that is the most dreaming that I've had in a while now :-/

So freaking tired lately....

Been rebuilding / revising a bucket list I created long ago, and also applying some of my machine-like thinking to furthering those ends, along with what I desire in life; but all in all, I just find it a very depressing project. I am used to hammering though problems: suck up information, study the situation, plot a course of action, and conduct it subject to in flight adjustments. That's basically how my brain works, whether it takes five hundred milliseconds or five hundred hours to come to a viable conclusion.

There seems to be no way to dislodge the obstacles in my way, aside from turning my back on my own character... and that is much to high a price to pay. Perhaps further precise analyzation of things will prove other wise, but I am rather doubtful that it will :'(



*sigh*

Friday, May 15, 2009

Why commercial EULAs are stupid.

1. INSTALLATION AND USE RIGHTS.
a. Installation and Use. You may install and use any number of copies of the software on your devices.
....
4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.


-- from Microsoft DirectX SDK (March 2009) EULA



Maybe it is because I don't deal in legalize daily, but I am still laughing :-D

Old but not dead, yet

Sometime during my SDL-related studies, I was interrupted and ended up in somewhat of a fire-arms quiz: it has really been a lustrum since I've followed developments, but I used to be quite knowledgeable for someone who doesn't spend their time on a shooting range lol.


Actually, I find it kind of curious when I look back over my "focal points" of study. Toys and games got me into the study of weapon and vehicle technology, it was a design/engineering interest in aeronautics and 'mechs that made me realize that math was useful, and it was computers that refined my analytical mind: training it beyond the obsessive-geek analyzation of Sci-Fi and technology, into what it is today. And it also seems, that computers are pulling me back into mathematics slowly bit by bit.


All in all, despite the time-loss: I was quite happy to see that while the study of firearms were largely displaced from my routine interests years ago, I am still not an ignoramus on the subject hehe :-)



^_^

Thursday, May 14, 2009

The Simpler Direct-media Library (SDL) has proven more impressive then originally anticipated. I've downloaded the MinGW (GCC) and MSVC (V8.0/2005) development libraries along with the source code: much to my surprise, the Borland and Watcom compilers are also supported. While I'm using GCC for the unix side of things, I fully intend to make use of Microsofts compiler for the windows builds. My desktop system also has the OpenWatcom compilers installed on the Windows partition, never have used them, but they are available (I them installed ages ago, mainly out respect for the old watcom-c compiler). Since I need the DirectX SDK to compile SDL from source on Win32, and it is like a 512 meg download, it'll have to wait a while lol. The binaries available are from MSVC8, so I really woul dprefer compiling SDL from source: not to mention feel more comfortable using the combination for projects, knowing it built well.... hehe.


I've been taking the effort to study the Visual Studio-style build system in preparation, it will get the job done. My desktop has the Express Editions of Visual C++ (V9.0/2008), C#, and Basic installed; along with MinGW and OpenWatcom, but I avoid C/C++ development under Windows as much as possible -- just not a comfortable environment. If I ever opened a shop, I would probably nab a few copies of Visual Studio proper, and just use it for building stuff ^_^.


I'm accustomed to having an entire operating system as my integrated development environment, so I do not care much for traditional IDEs, they are just not my bag. Visual Studio (particularly the more professional oriented versions) however are one of the best as far as such things go; and perhaps the only Microsoft product that I have ever met, and did not *hate* eventually. The various Visual {lang} Express Editions are also sufficient for many things; I have them setup because it was the quick route of getting something that might come in handy later, and I have no need to buy VS Standard or Professional.


GCC for Unix and Visual C++ Express for Windows, will do fine for SDL, but I have yet to decide on an XML parser... The only XML parsing I've ever done in C++, has been done though the Qt toolkit. Normally, I would expect to use libxml++ for this, but using libxml under MSVC might be more annoying them I am willing to tolerate at compile/link time. Another option I reckon, would be to try out Xerces-C++.


All development is basically going to be done on a FreeBSD machine, as that *is* my concept of an IDE lol. The only interest I have in Visual C++, is to get the most 'bang' out of the Win32 builds. So with luck, I will never have to bugger with the S.O.B. beyond getting my project built, hehe.

Tuesday, May 12, 2009

2 Razor blades, 3 years? Oh my

For the first time in a long time, I've a sort of smile on my face. I think age has somewhat taken away my grin (the spitting image of pa's smile, mixed an even bigger shit eating grin lol), but it feels quite nice...


It's been 3 years since I've had a resupply on razor blades, with two cartridges that have passed their end of life marks a few times over, to say the least! I hope these fresh 4 won't have to last 6 years, but either way I am thankful. Haven't had this smooth a shave in a very, very long long time: not to mention the speed factor lol.



Thank you GOD, at long last fresh razor blades! And thank you ma, it is better late then never!

Monday, May 11, 2009

Sunday, May 10, 2009

Mother's Day, past Zero hour

Just sorted Ma's ecard, if she doesn't check her email in the morning, well that's her problem lol.

It's always been a bit of a tradition of mine, to prep cards at the last minute: and usually hand made. Except the usual forced family card list for all the major holidays... lol.

In recent years, do to, you could say some rather unpleasant experiences, I have adapted ecards for my family. It has also been somewhat of a recent row, that I never gave her a card last Mother's day, nor wished her a happy one. (Or was it the year before last, honestly I don't keep track of all this shit!) There was a bit of a hateful argument involved, so I bugged out -- the you can vent all you want to the wall, but I ain't listening kind. It was my feeling, that such a sign of 'weakness' would be pounced upon and thrown back in my face, because really, that is the kind of family I've had to grow up in. We forget nothing, we are not capable of it; the question is what capacity is it maintained in...

As things are more docile this year, she gets both a card and a happy Mother's Day... assuming she checks her email lol.


In my experience, members of my branch of the family, generally are better at exhibiting cruelty, hatred, and the like, then any inverse emotion. Such is the hell, called family. One of the things that differentiates me and most of my family, I choose to not be that way... most of the time that is. Because while I do not believe in hurting people more then necessary, I also will "bite" when hurting someone else, prevents them from hurting me even worse....

Only my family, has ever really had the power to wound me, and they are generally good at it, whether or not they intend to; so I always take any positive action on my part, with a grain of salt -- in consideration of it invoking a backfire. That is one sad part of loving family, anyone you love, has infinite power over you: however they utilize it.




I honestly think, someday I will look upon most of my memories, as just another feeling to burn in the fire.

Friday, May 8, 2009

more tpsh: control flow stuff

I've been trying to find a way of hooking in proper shell control flow keywords into tpsh, without uglifing the existing code. At the moment, tpsh understands executing singular command sequences, scripts, and a queue of command sequences. It's fairly easy to modify the parsing/lexing portions to adjust the internal data structures IAW control flow keywords, the problem is how to handle execution phase.

Originally, I had in mind setting up nested data structures and doing a delayed execution: evaluate the control flow statement and modify the data, then execute the remaining commands (e.g. if CMD0; then CMD1; else CMD2; fi, would execute CMD when the statement needs to be evaluated at execution phase, then reshape the strucure so that only CMD1 or CMD2 remains, and then feed that back into the executor).

Last night, I had an interesting idea... on the case specific code generation.

Shell control flow basically amounts to very simple if, while, for, and case statements; and the more modern until and select statements. Normal execution patterns amount to using a single command sequence (e.g. cat f0 f1 f2 f3 | sort > f), or a queue of such command sequences. Why not replace that executor with a section of code, that understands how to handle those as well as control flow (etc), and then generate the desired code to execute the result.


Exempli gratia:

tpsh_cgen( ( [ 'if', 'test command' ],
             [ 'then', 'other commands' ],
             ....
             [ 'else', 'other other commands' ],
             ....
             [ 'fi' ] )
)

might return something like:

sub { 
    if (evaluate the 'test command' and test the exit status)
    {
        execute the 'other commands'
    }
    else {
        execute the 'other other commands'
    }
}

and so on and so forth; so that if we call the generated code ref, we have a set of code that will execute the correct commands, whatever they may be, and with quite a lot less fuss.
One way to tell I'm miserable, is when I stop coding...

I've effectively, not written a line of code since the third week of April or so... feeling a bit better now though, and the ideas have been cooking for the last 3 days... hehehehe :-D

Thursday, May 7, 2009

Something I would do just for fun ;)

Build a modernized Galaga like game, that is simple, fun, highly addictive, and could be played for countless hours until you forget what day of the week it is -- without needing quarters xD. Most definitely one made for a fast pace and long-haul style of play, like old arcade games, hehe.


It would also be a fun way to learn a few libraries ^_^.

What I would do if I had 20 years to squander on a software project

Building a better Video game.


or, a game that is a lot of fun, but doesn't eventually piss me the heck off, due to lots of stupid bugs, that will probably still appear in the sequels sequel ^_^.


Of course, 3-5 clones would be helpful, along with 20 years of spare time lool.

Wednesday, May 6, 2009

My poor meatball

Todays lunch is leftover meatballs, potatos, and a smothering of gravy, as the old timers call it.


One of the meatballs went flying, if the laws of physics were different, it would've rolled out the door with the dog in hot pursuit looool.

Tuesday, May 5, 2009

Sometimes I hate dreams

I dreamt that we were hold up in a house, there was about 4 XL-sized automatics on a table with a bushel of magazines, and a head on the wall...

Like anyone stuck in an RE like nightmare, take two, load up, and try and secure a parameter; bad idea. After a bit of a zombie filled encounter, it's down to the last room... Stick my head in, looks clear; but 4 corner hole problem: move in and risk getting ambushed from 1-3 sides. Handed my brother one of the autos and told him to cover the remaining sectors. Spider sense tingling, but area secured without ambush... good. On the way back to the front of the building, we were ambushed by a strange 'fusion' of a Model 101, T-1001, and a Vampire like Zombie; put the thing down with a few mags of ammo. Then a 2nd one showed up, having expanded everything on the first, it was necessary to retreat and take the other set of automatics; ejecting the mags, dropping them on the table, "Slap in a fresh mag, and pull the slide back", taking the other automatics and moving to head off the mutated terminator.... several retreats for reload and shouting "LOAD", and no help what so ever lol.


Somehow this reminds me of a strange dream some years ago, about Aliens taking over a school; and ending up in a knife fight with an Alien Queen trying to break down the door; no help from anyone lol.


Somehow I wonder, if ever up a creek without a paddle, would anyone lift a darn finger to help?

bored...

src: http://www.heuse.com/cphumor.htm


Interviewer: "Is studying computer science the best way to prepare to be a programmer?"

Bill Gates: "No, the best way to prepare is to write programs, and to study great
programs that other people have written. In my case, I went to
the garbage cans at the Computer Science Center and I fished
out listings of their operating system."


There are 10 types of people in this world.
Those who understand binary, and those who don't.

DEBUGGING : Removing the needles from the haystack.

Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

"It is practically impossible to teach good programming style to students that have had prior exposure
to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration."
-Dijkstra

"The three most dangerous things in the world are a programmer with a
soldering iron, a hardware type with a program patch and a user with an idea."
- _The Wizardry Compiled_ by Rick Cook

"The primary purpose of the DATA statement is to give names to constants; instead of
referring to pi as 3.141592653589793 at every appearance, the variable PI can be given
that value with a DATA statement and used instead of the longer form of the constant.
This also simplifies modifying the program, should the value of pi change."
- FORTRAN manual for Xerox computers

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg."
- Bjarne Stroustrup

"Programming graphics in X is like finding sqrt(pi) using Roman numerals."
- Henry Spencer

"Never put off until run time what you can do at compile time."
- David Gries, in "Compiler Construction for Digital Computers", circa 1969.

BASIC programmers never die, they GOSUB and don't RETURN.

Real programmers are surprised when the odometers in their cars don't turn from 99,999 to 99,99A.

FORTRAN is not a language. It's a way of turning a multi-million
dollar mainframe into a $50 programmable scientific calculator.

C is almost a real language. Even the name sounds like it's gone through
an optimizing compiler. Get rid of all of those stupid brackets and we'll talk.

Any sufficiently advanced bug is indistinguishable from a feature.

Programming is 10% science, 25% ingenuity and 65% getting the ingenuity to work with the science.

Science is to computer science as hydrodynamics is to plumbing.

We don't really understand it, so we'll give it to the programmers.

COBOL programmers understand why women hate periods.

Computer interfaces and user interfaces are as different as night and 1.

The human mind ordinarily operates at only ten 10% of its
capacity, the rest is overhead for the operating system.

A computer scientist is someone who fixes things that aren't broken.

The computer is mightier than the pen, the sword, and usually the programmer.

Programming is an art form that fights back.

After a number of decimal places, who cares?

"Virtual" means never knowing where your next byte is coming from.

If at first you don't succeed, you must be a programmer.

"It's 5:50 a.m., Do you know where your stack pointer is?"

If God had intended humans to program, we would be born with serial I/O ports.

There are two ways to write error-free programs; only the third one works.

You never finish a program, you just stop working on it.

Deliver yesterday, code today, think tomorrow.

PL/1, "the fatal disease", belongs more to the problem set than to the solution set.

Yea, though I walk through the valley of the shadow of APL, I shall fear
no evil, for I can string six primitive monadic and dyadic operators together.

Programming is a lot like sex. One mistake and you could have to support it the rest of your life.

Another Glitch in the Call
(Sung to the tune of a Pink Floyd song)
-
We don't need no indirection
We don't need no flow control
No data typing or declarations
Did you leave the lists alone?
-
Hey! Hacker! Leave those lists alone!
-
Chorus:
All in all, it was, just a pure-LISP function call.
All in all, it was, just a pure-LISP function call.

You can't make a program without broken egos.

Monday, May 4, 2009

What I really need is aerobic exercise, and a way to [re]build [lost] endurance but that is kind of a major problem lol. If I actually had something to work with in terms of raw materials, I could at least build a primitive exercise bike or a treadmill, or something... I used to love running.


As good as no space, virtually no money (that reminds me, family hasn't paid back most of my life savings yet!!!!), and essentially no freedom to go anywhere, or do anything outside the rats nest of a home, without 'business' to attend too. So, basically I am totally screwed anyway you slice it. Light strength training is about the only option, and even doing that here is like pulling teeth. I have enough physical strength to do most things I've ever had to do; only failure I ever had was trying to move a UPS, that likely weighed more then I did at the time lol.


It feels like living in a freaking prison, but one with decent food... and not much else.

Rats and Bats

my room: ~112 square feet on a wall to wall basis, but effectively 100 square feet due to the design cutting down on the *habitable* volume of the room

my free space: 4 square feet of open carpet


I.e. my room is basically a square, but when you take in to account what passes as furniture and all of the crap I'm stuck living with; that gives me a 4 1/2 by 6 1/2 foot area, whenever I am not sitting on the bed.


Last night I was watching a movie called Carbine Williams, about the genius; after looking at the scenes of the "hole" he was thrown in, really made me glad that I at least get to stretch my legs. Unfortunately, my life at home is just as good as dead, for all practical intentions...

oy.

Writer's Block: How'd You Get Here?

There are many roads to LiveJournal—how did you first hear about LJ?
Live Journals Writer's Block


Although I am sure the page has changed a lot since August/September 2006, my first knowledge of Live Journal likely came through Wikipedia's "Blog" page. I spent at least a month or so researching blogging, in order to see how it might be useful for replacing my hodge-podge of log files and scripts. Wikipedia and a bit of Googling The Fine Web allowed researching various blogging sites.

I rarely stick my neck out into something without first doing reconnaissance in depth. I guess when it comes to things I perceive as a big deal: I have inherited more of my parents collective meticulousness then dads spontaneity.


After completing recon and general thinkin' and plannin' operations, Live Journal appeared to be the most favorable site at the time; never have regretted the choice either. Much to my joy, Live Journal has managed to kill off the incalculable log files on various hard drives.


Memory: Day one, followed by the inevitable first task ten minutes later. Him, that was around the time I was struggling to apply C in my after-hours time. Wasn't very smart at the time, just persistent lol.

Feeling old, angry, and depressed

dang gum it.... charting ones television viewing history just has to lead to those, "Oh **** was that really that far back?" moments, doesn't it? I really am starting to remember just how old I am, and how much I've been through over the years.

I stopped charting when I hit '97, oy. I more or less 'gave up' on TV around 2003 or so: got to tired of never getting to watch anything worth watching without so many countless interruptions, that it became more stressful then 'relaxing' to just watch TV.


Funny, in all the years that I was a couch potato (cica 1992-2003), I was always in good shape -- ran everywhere like a bat out of hell; didn't want to miss a thing. Since giving up on that life, I stopped running, and ended up working more -- end result is that I lost all of my running endurance. I used to be able to run long, hard, and fast for as long as my body physically could stand it. Haha, I still remember a foot race from many years ago, everyone thought I didn't stand a chance because I was the short kid in the group but I was on the long legged pack-leaders ass all the way; while everyone else was choking on our dust so to speak ^_^. (That, and [ab]using a rudimentary knowledge of physics to optimize my route for acceleration rate, hehehehe).

I also spent a lot of my time every day practicing: kept myself nimble and thinkin' on my toes. That also disappeared soon after because I was working "all the time", it really started to get hellish. If you could imagine working to be burning fuel, life moved past afterburning, and becoming equally a burned out, shit for brains dead on arrival as the entails: or as I usually state it more politely, "I have known everything from working 1 day a week, to working multiple shifts, with only 3 days off in a month". Actually having exercise, and being able to *enjoy it* got replaced with be hammered into the mud and made miserable every day of my existence.


I used to be a couch potato, first class with honours; in recent years TV has just been so much background noise rather then an interest. More recently, I get a few hours of pleasurable programming every couple months or so but still not a lot of real TV watching, no where near what it used to be.



By looking back over the programming I used to watch, and framing it in perspective with their times in history: it also helps me recall what life was like 'back then', in more a progressive way. So.... what has really changed that differentiates life between then and now? Less interest in TV in general, less freedom to go/do as I please, less going out *period* (****!), less of family infighting making trouble, less of 'ducking' the waring factions schemes^, less time for... hmm, let's just say I got retired early from some things.


WTF man, I think I actually had a better life as a couch potato: at least back then, I actually got to go out, and leave this hell hole, outside of working hours......



Life right now, makes me feel like living in prison: only without the guards and even fewer good points. I'm still miserable most days of my life, but hey.... at least as an up side, fairly often I get 2-3 days off a week.

most of which get spent trapped here, or being monopolized by self-serving family. I also fin dit somewhat depressing, when it becomes realtivly easy to equate peoples actions tot he scope of getting what they want; FML