I t hink I’msnapping..

I’ve tried switching to my laptop, practiclly locking my self in a room on the other side of the house.

Putting my laptops volume to the max with near max HW volume + 50+ % on Amarok & blasting music

Turning the TV volume as high as it goes and the Cable Box up so you not only can here me accross the house but probably in the next apartment and the apartment building !

AND I STILL CAN’T BE LEFT ALONE TO DO MY WORK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

For petes frigging sake I should make these people read K&R Cover to cover and write a bloody operating system kernel and see how they like torture !

Dying a mad mans death bit by bit.

Morning:

Can’t do shit, have to walk dogs, clean up, do stuff, deal with ma’s computer functional illiteracy.

Afternoon:

Lunch, forums, first login, web-chores. Can’t do shit – dog and bird driving me batty.

Evening:

Dinner followed by can’t do shit

Wee Hours of the morning:

Freedom, can work till I collapse.

If working – probably can’t do shit, have to get up early.

TRYING TO DO ANY THING IN THIS HOUSE IS LIKE TRYING TO STUFF MY PH|-||_|{|<1||6 HEAD IN THE STREET IN THE PATH OF A FRIGGING 18-WHEELER AND LIVING AFTER BEING RAN OVER !!! I’m going f***ing crazy here. Peopole get paid to work for then 60 fucking hours a week on this shit and they won’t even alot me a few hours a day to work in piece. Even if I switch to my room, use the laptop. Kick the TV up so you can here it outside put headphones on and blast heavy metal till my ears hurt. THEY WONT FUC@ING LET ME SIT THE FSCK DOWN AND THINK ABOUT WHAT THE F&CK I’M DOING !!!!!
Its intolerable ! and moving out is not even a frigging hope let along an option.

Force Building

An old hobby of mine, designing military hardware and organizing units. Maybe
its one of the reasons I got into the CBT (Classic BattleTech) side of things in
my MechWarrior career and love RTS (Real Time Strategy) games.

Any ways what I’ve been pondering over to night.

A simple ‘Element’ being the lowest level of the fighting force. Consisting of
ether 8 Infantry, 4 Land Vehicles, 2 Air/Sea/Space Craft under 500 Tons, or one
ship over 500 tons.

Two classes of infantry, soft armored and battle armored. Soft armored would be
more or less what we have to day. Using soft-body armor or hardened ceramic
armors (think Marines from ALIENS) and standard weapons. While battle armored
infantry would be fitted with a suit of armor. Figure avg trooper becomes
about 2 meters tall with a 3 meter jump height using the heating/cooling
management systems to assist the trooper. Armed with 6.2mm Rifles and 10mm
Pistols. And enough hard armor to shrug off a few standard rounds.

I remember reading that a round has to be > 22Cal but < 30Cal to really be
effective so I think a 6.2x48mm rifle round would be an interesting experiment.
As a trade off between 9mm and .45Cal pistols 10mm is also interesting in
concept. Instead of normal ammo the rifles would fire a special round. A 6.2mm
armor piecing round thats designed to explode when hitting hard objects. Like
walls or cars. Yet made to fragment instead of go kaboom when hitting soft
targets like people. If you figure the blast could have enough force to take
most of an arm off. Its much more humane to just kill the sap not blow them up.
And to have the balence that the micro HE stock is good reason for the enemy
to rethink how they armor their own troops while improving joe rifle mans
ability to hurt armored fighting vehicles 🙂

I think being centered around the idea of a Combined Arms Operations Company is
the best plan.

4 x Mechs, 1 Support unit, 1 Command unit, 2 Assaulter’s.
3 x Main Battle Tank
1 x Command/Control/Communications/Intelligence vehicle which can tow a pair of
field guns for use as part of an artillery unit.
1 x Self-propelled missile artillery or Infantry Fighting Vehicle (IFV).
8 x Infantry in battle armor or gun crews.
2 x Close Air Support units.

My ideal configuration would be. 8 Battle suited infantry supported by a
tracked or hover-craft driven IFV /w 4-tube Anti-Tank missile launcher & 45mm
Autocannon. Toss on a pair of 12.7mm Anti-Near-Anything fifty cals on the top
for balance.

3 Main Battle Tanks maybe 45-75 Tons each. 135-142mm rifled cannon with 40-60
shells. 3 12.7mm MG, two top mounted + one coax with about 1600 Rounds. A pair
of triple tube smoke discharges on the front of the turret plus a pair of
single shot recoilless anti-tank rocket tubes on the sides of it.

Yes I’m kind of a nut about packing in as many weapons as possible followed by
as much armor as she’ll hold without losing the desired level of agility/speed.
🙂 Hehehe

Two CAS units consisting of STOL (Short Take Off & Landing) capable strike
fighters powered with dual-engines. A pair of 25mm Vulcan cannons, pair of wing
tip mounted Air-To-Air medium range missiles al cine to real world AMRAAMs.
4 Internal bays for deploying two 3-tube micro-missile stations and two
stations holding two smart bombs or 3 air-to-ground missiles. (HRTSG-ATG) 2
Under wing stations (per wing) for 2x bombs or 3 x air-to-air /or air-to-ground
missiles + 1 more under wing stations (per wing) for an Air-To-Air missile. All
of these under wing stuff being at the cost of stealth that is. More or less a
pair of harrier jump jets on steroids !

Or even a pair of helicopters packing a 17mm chin gun slaved to the gunners
head. Dual 12.7mm electronically fired forward mounted machine guns for the
pilots use. Wing tip mounted 5-Tube rocket pods and two stations for 4x
Missiles on each stub wing. Where thers a mixture of TV guided wire controlled
fine stabilized anti-armor missiles and Hybrid Radar / Thermal Semi-self
Guiding Air-To-Ground (HRTSG-ATG) missiles. Now thats a painful combo hehe.

A ‘Mech element with a support unit with long range missiles, heavy cannon, or
long range weapons like a super long range sniper rifle/laser. Two general
battle configured ‘Mechs of the line, CQB Configurations, or Spec Ops Raiders.
Plus a Commanders ‘Mech.

Wheeled or Hovercraft based truck with AA ability to provide a mobile
command/control post with lots of communications and intelligence gathering
tools. Plus it could tow a few cannon for arty units.

8 Infantry in battle armor or a gun crew.

A Multiple Launch Rocket System (MLRS) like self-propelled missile artillery
unit for close’ish arty support on the go.

Total of about 4 mech, 3 tank, 1 MLRS, 1 command post, 8 infantry, 2 vtol/stol
units for air support.

A Lance Captain in charge backed by a lieutenant and a Gunnery Sergeant to run
the show. About 30 combat personal. Able to bring a lot of fire power to bear
on the enemy. Plus having enough combined arms to deal with most threats.

Now organize these CAOC into battalions of six + one company is full of
support personal and equipment. We have a big enough force to consider when one
counts armor and air power as the prime assets and infantry more so for close
in MOUT and Commando work.

24 ‘Mechs
18 Main Battle Tank
at least 6 pieces of missile artillery.
12 Attack Choppers / Fighter-Bombers
48 Infantry with battle armor
6 Command Trunks to provide logistics and communications.

Per battalion. Now if we organized the force into regional commands based on
Regiments of 2-4 Battalions where preferably we have a battalion capable of
operating on its own and a regiment capable of transporting itself any where in
or around the planet.

Organize logistics, support, and command systems around a Divisional level with
the Regimental Combat Teams making up the back bone of the military force. And
I think we might have a fun CBT style game to play, or a funky study in future
military tech.

Plus a naval unit to supply sea and space based operations. Plus air power like
what the USAF would be tasked with. You could say its my
battletech/gundam/macross loving background but I consider ‘Mechs and air power
the prime focus of a modular combined arms task force.

Hmm, if I had the time I think I’d write a TBS (Turn Based Strategy) game on
this…

UNIX Rules & DOS Drools !

In my cousre of trying to brush up on DOS CLI work I’ve come to a cacussion. Its a quick and dirty product that must have been written very fast or half hazardly. Because UNIX makes it look like a moronic idiot with 10bytes of RAM ! I just… can’t stand DOS give me a decent Unix any day… A real operating system.

Ahhh Rubin sandwhiches, a cheese bear claw and a litre of Mug root beer + a zonk’d out nap. Now thats how to take it easy after 3 sortes. Took the bosses dogs to the vet, came home got our dogs. Whent to work then dropped our dogs off at home. Then picked up the bosses dogs at the vet and took them to work. 0.o

Sigh, what do you do when life hands you a $>1+ burger and tells you to chow down ? To bad we can’t just send it back to the cook… I’ve got work extra early so I have to get to sleep ASAP, yeah like thats gonna happen. I know my self better then that. We’ve got to take 3 of the bosses dogs to get their teeth done. Then start a new job, then pick up the dogs. And Thursday not only do I have to do our biggest work day. But we also got to take the bosses other 3 dogs to the vet. Joy, me and Barny getting sat on and licked to death my Macy while Leo fiddles about… Barny is nearly 20 years old, blind and nearly deaf. Macy is bigger then me had if shes an ounce lighter then 70lbs I’d be shocked. Dogs the kind you give a WIDE birth and avoid getting sat on. But sweet as can be. Leo’s just a big loveable mutt of about 55-65lbs. And I’m gonna get sat on I know it, I just know it lol. I get up, I work, I try to get to sit on my ass for af ew. Try & get a few games in, do my work /w the [SAS] e.t.c. and its heck at times. While my moms ‘active’ on or off her couch. I can’t do a lot. Because I’m the errend boy and what ever I’m doing no matter what. Is and can never be more important then any thing she wants. Yeah, thats it. I see the FreeBSD kernel as a work of art to read, a thing of beauty. To my mom? Bah she’d probably call it worthless trash. When its just as much art as the works of Michelangelo (di Lodovico Buonarroti Simoni) Michelangelo had a talent with his hands and heart taken to sculpture. Just the same, in code form and engineering design from where I stand. So is the FreeBSD kernels sources. Damn its like reading the work of a master. Sigh, no coding to night. Since I have to go to bed.. not like I’m likely to sleep worth a fart in the wind. How can one sleep when ones mind is free in torment ? I dunno. Heck if I was a drinking man. I think I’d be stone cold by now, sad thing I’m not maybe.. *SIGH* Why, why… can’t things just work. I work like a dog, and what do I have to show for it? I’ve seen a do be treated better. Now thats kind of sad isn’t it? lol. ph|_|{|<. In a way, I miss times since past. Yet at the same times hate them with ernest. No longer a pet spider, not enslaved yet still forced to toil.. well I now I’m not making much sense but. To make a long story short. Don’t ask, just leave ‘pet spider’ alone, its an emotion thats not going any where fast. I remember, being able to spend hard times in the company of som eone ho cared.. it was a good thing. Who knows maybe I’ll again share such a thing with some one special. I know the relationship we had was, I admit in the end not the way it had began. Lol, the tease put out of conmission by the one who wouldn’t flex. Uhh never mind that too. Life was kinda good for awhile, but it did teach a very good lesson. When they stop complaining after you havn’t shaved a week and things heat up even more. Be alarmed, be very very alarmed. ph|_|{|< only one to get me to exersie. What the frig was I thinking man.. like I don’t get enough of that at work ha ! I dunno any more. Was life really any better that way then it is like this ? Some times I wonder..but I think it is, or at least no worse. Oh well, at least shes not around to tempt me… man I wish I could dive into some code for the night.. but no I’ve got to get to bed.

ASAP to do

Sort the files form the SAS James mappack Check my backup CD’s for a copy of the (CS) de_dust RvS Map. Send to Wiz.

late night

Well I spent an interessting night, still havn’t solved the issue of whats wrong but I did accomlish a few things. Better code checking with gcc How to use lint How to use the GNU Debugger Personally I think that graphical front ends can have some very great advantages. But one should be able to use the basic tools by hand when/if necessary. As being able to live in a shell (no gui enviroment) is a part of my studies. So Being able to use a debugger on the CLI is important to me. Oh well each in turn. Most IDE’s provide some sort of user interface to wrap around the make and debuging tools. The basic idea that most compilers (so I’ve heard) follow including the GNU Compiler Collection gcc/g++ (gnu c/c++ compiler) use. Are as follows. gcc source.file -o outfile Now we don’t need the -o outfile if we like for example to compile our source.file into an execuitable named a.out in this case ! With the -o option we can choose a name for the execuitable. So ‘gcc rf.c -o rf’ would create an executible named ‘rf’ instead of ‘a.out’ from our rf.c source file. Is this any harder then Build->Compile in an IDE /w a mouse? Not really in my humble opinoin. Especially if you can sider that CLI access is embedded in many editors and many editors work in the CLI. Lets turn on some simple warnings gcc source.file -Wall -o outfile Now while one might argue any code that compiles and works is good enough. But what if it doesn’t work as exspected or it’s not very good? The -Wall option will at least give us a stronger warnings and errors about bad practices. Since -Wall turns on a bunch of warnings I’ll walk through some of them at the end. I personally have used -Wall since I found out there was an all switch (Thank you FreeBSD KNF Style manual!). And when it trips a warning message it usually reminds me I’m doing some thing wrong or I need to go correct a magic typomatical error. I noticed a few other niffty things in the OpenBSD KNF style guide. gcc -Wall -W -Wpointer-arith -Wbad-function-cast source.file -o outfile Gives us plenty of useless-to-semi-useful-to-useful information at times. Theres even more options. Since this is a lot more to type and I’m to lazy to whip up a little Makefile for all my stuff. I made a shell alias for it. I think its worth while to explore the available warning options and sort them as one needs. Note to self, work on some Makefile templets. Another intereing tool I always wanted to toy with, is lint. lint is a code checker for trying to detect features in C sources that are likely to be bugs, non-portable, or wasteful, e.t.c. The lint program h as a good enouhg manual which documents its command line switches but the basic useage is. lint source.c So far I like the -cehuz options most often and have an alias for it. And the -s and -p options from time to time have use hehehe. One thing I found odd about lint, is that it complaned about my // comments. rf.c(5): warning: ANSI C does not support // comments [312] Normally I use only /**/ comments and occasionally a few // in C++. Or I’ll mix /**/ and // comments if I’m leaving my self comments of diffrent types in a non-source file. Like /* Change done to something */ What I changed // Note for later for a meeting about it When I’m writing up files for things as I do’em. In this partuclar file how ever, since rf.c has been floating between systems a bit and editors I placed a pair of mode lines in it to set some options for my editors.

/*
* rf read file to standard out
*/

// vim: set noexpandtab ts=8 sw=4 ai :
// vi: set ai nu sw=4 :

Basically turn on line numbering in Vi and make sure my indentation settings are consistant, then turn on auto-indent in case I want it. (I don’t often use it). I remember, why I started using strictly /* Comments */ when I had always used // comments before. Was because I was told that some (older) compilers had problems with the newer // Comments. To use the GNU Debugger gdb to debug a program, first we need to enable the debugging symbols in GCC. We can do this by appending a -ggdb option some where in our compilation. gcc -Wall source.c -o outfile -ggdb Then we can run gdb outfile to start the debugger. At first when I tried looking at the debugger ages ago I didn’t have much luck with it. But after reading the manual like I usually do _before_ toying with CLI software it makes much more sense. You can get a topic list by typing help and more specific help like help breakpoints With GDB we can step through the program line by line, set break points at lines and/or functions. Examine data since as what value does variable foo have ? Run backtraces, look at the stack, set the command line arguments and all kinds of stuff. Really GDB deserves its own attention to the subject. Its long been my practice to save and pump code through GCC every few minutes or routines just to see if I missed any syntax errors I may have made. You don’t want to know how many times I’ve been preplexed just because I used a comma instead of a period or a period instead of a comma. And after hours infront of an editor couldn’t see the difference in my font lol – yes I am looking for a better fixed-width font ^_^ Now with lint and the various options of GCC I can do more for less 🙂 Since trying todo ANY THING during day light is pointless in this family. And trust me, when your the kind that inhales good manuals. And it takes you 30 minutes just to get through the first paragraph of a manual on PHP Syntax you know you have a fucking problem. So si nce I can’t code during the day. I have to do it late at night and I can’t do shit for long. So like 0735 in the morning these tools do kind of help me correct errors. From man 1 gcc Warnings are diagnostic messages that report constructions which are not inherently erroneous but which are risky or suggest there may have been an error. The -Wall option I listed turns on all this according to the manual Warn whenever a declaration does not specify a type. Warn whenever a function is used before being declared. Warn if the main function is declared or defined with a suspicious type. Warn whenever a function is defined with a return-type that defaults to int. Also warn about any return statement with no return-value in a function whose return-type is not void. Warn whenever a local variable is unused aside from its declaration, whenever a function is declared static but never defined, and whenever a statement computes a result that is explicitly not used. Warn whenever a switch statement has an index of enumeral type and lacks a case for one or more of the named codes of that enumeration. (The presence of a default label prevents this warning.) case labels outside the enumeration range also provoke warnings when this option is used. Warn whenever a comment-start sequence `/*’ appears in a comment. Warn if any trigraphs are encountered (assuming they are enabled). Check calls to printf and scanf, etc., to make sure that the arguments supplied have types appropriate to the format string specified. Warn if an array subscript has type char. This is a common cause of error, as programmers often forget that this type is signed on some machines. Some optimization related stuff. Warn if parentheses are omitted in certain contexts. When using templates in a C++ program, warn if debugging is not yet fully available (C++ only). From man 1 gcc: The remaining `-W…’ options are not implied by `-Wall’ because they warn about constructions that we consider reasonable to use, on occa sion, in clean programs. And here they are stright from the fine manual.

-Wtraditional
Warn about certain constructs that behave differently in tradi-
tional and ANSI C.

o Macro arguments occurring within string constants in the macro
body. These would substitute the argument in traditional C, but
are part of the constant in ANSI C.

o A function declared external in one block and then used after
the end of the block.

o A switch statement has an operand of type long.


-Wshadow
Warn whenever a local variable shadows another local variable.

-Wid-clash-len
Warn whenever two distinct identifiers match in the first len
characters. This may help you prepare a program that will com-
pile with certain obsolete, brain-damaged compilers.

-Wpointer-arith
Warn about anything that depends on the "size of" a function
type or of void. GNU C assigns these types a size of 1, for
convenience in calculations with void * pointers and pointers to
functions.

-Wcast-qual
Warn whenever a pointer is cast so as to remove a type qualifier
from the target type. For example, warn if a const char * is
cast to an ordinary char *.

-Wcast-align
Warn whenever a pointer is cast such that the required alignment
of the target is increased. For example, warn if a char * is
cast to an int * on machines where integers can only be accessed
at two- or four-byte boundaries.

-Wwrite-strings
Give string constants the type const char[length] so that copy-
ing the address of one into a non-const char * pointer will get
a warning. These warnings will help you find at compile time
code that can try to write into a string constant, but only if
you have been very careful about using const in declarations and
prototypes. Otherwise, it will just be a nuisance; this is why
we did not make `-Wall' request these warnings.

-Wconversion
Warn if a prototype causes a type conversion that is different
from what would happen to the same argument in the absence of a
prototype. This includes conversions of fixed point to floating
and vice versa, and conversions changing the width or signedness
of a fixed point argument except when the same as the default
promotion.

-Waggregate-return
Warn if any functions that return structures or unions are de-
fined or called. (In languages where you can return an array,
this also elicits a warning.)

-Wstrict-prototypes
Warn if a function is declared or defined without specifying the
argument types. (An old-style function definition is permitted
without a warning if preceded by a declaration which specifies
the argument types.)

-Wmissing-prototypes
Warn if a global function is defined without a previous proto-
type declaration. This warning is issued even if the definition
itself provides a prototype. The aim is to detect global func-
tions that fail to be declared in header files.

-Wmissing-declarations
Warn if a global function is defined without a previous declara-
tion. Do so even if the definition itself provides a prototype.
Use this option to detect global functions that are not declared
in header files.

-Wredundant-decls
Warn if anything is declared more than once in the same scope,
even in cases where multiple declaration is valid and changes
nothing.

-Wnested-externs
Warn if an extern declaration is encountered within a function.

-Wenum-clash
Warn about conversion between different enumeration types (C++
only).

-Wlong-long
Warn if long long type is used. This is default. To inhibit
the warning messages, use flag `-Wno-long-long'. Flags
`-W-long-long' and `-Wno-long-long' are taken into account only
when flag `-pedantic' is used.

-Woverloaded-virtual
(C++ only.) In a derived class, the definitions of virtual
functions must match the type signature of a virtual function
declared in the base class. Use this option to request warnings
when a derived class declares a function that may be an erro-
neous attempt to define a virtual function: that is, warn when a
function with the same name as a virtual function in the base
class, but with a type signature that doesn't match any virtual
functions from the base class.

-Winline
Warn if a function can not be inlined, and either it was de-
clared as inline, or else the -finline-functions option was giv-
en.

-Werror
Treat warnings as errors; abort compilation after any warning.

Ever think about some thing and not be able to get it out of ya head? Then when you try to you can’t remeber the details ? Hah I’m crazy. Oh well back to BBC Radio 1 and some ANSI C.

A plan man

Ahhh a theory that proves its snuff.

The MP Warehouse map is a nice little hostage rescue. We have about 4 levels
and two buildings. Theres also a loading dock on one flank.

The first building is a loading area. Roughly 4 floors. Ground, Lower Window
(Sniper area) and Catwalk to second building (hostage 1). Briefing room with
upper window (Large room). Then an upper area with a storeroom and a skybridge
to the second building (hostage 2).

The second building is a large warehouse with stairs on its far Eastern flank
going to Level 2 with the first hostage. Also a stairwell in the center of the
warehouse in the hostage area. Where we have a room like this

  ___________________________________
__|________| |Stairs up||||
__D________D Window |
| | | -------------------------|
| | | | Cat | |
| | | | Walk| |
| | | |Above| |
| | | _______________|
| | |_____________|Stairs down___|
|_| |
| Few Boxes Many Boxes |
| Hostage |
|____________________________ D __|
| Stairs down|||||||||||||||| |
-----------------------------------

D = Door

Full of tangos. Theres two on that catwalk above the room that shoot the
hostage in the upper area. That window room has stairs going up to the catwalk.

If those guys are alive and you enter from the stairs ’round thew many boxes.
They kill the upper hostage. Oh most every time today, when we assaulted from
the stairs and catwalk from the other building (to the left of the window
room). The top hostage died, once we lost the lower one hehe.

When I plugged the guys on the catwalk, nada ! The top hostage was safe when we
took the lower. So we could proceed to save the top one as fast as possible.

I’ve been playing long enough with my analytical mind. To start finding reasons
why things work or don’t work. I also bet Hexen a virtual beer on the outcome
of one of the tests. My past tests won me one hehe. So we have to ether take
the upper & lower at the same time. Or take care of those goons. Personally,
what I’m liking when you can have an 8 man team. Set up to snipe the catwalk
guys, have an element bang the brains out of the top hostage area. While
another team or teams take the lower. With 8 men on duty with SD weapons one
could enact a risky but realistically fun (imho) plan of multiple entry &
simultaneous take downs.

Alpha / Red team of 3 to take the top hostage, must clear first building.

Bravo / Blue team of 3 to take the stairs to the lower hostage with bangs. The
RG breaks off, uses gas to cover his flank (left) and sets up to snipe the
catwalk guys using a scoped or automatic weapon.

Charley / Green team of 2 to enters building 1 from the ground floor, backs up
Alpha / Red. While Charley / Green moves onto the catwalk, Alpha / Red moves up
the stairs, threw the upper window briefing room. Up the stairs into the store
room and onto the sky bridge.

All teams report in position, hold for entry on pre-elected team leaders GO
code. On the go, Alpha / Red slides open the door, tosses in 3-4 flashbangs to
cover as much of the room as possible. Including the area near them, the boxes
to the right, and near the hostage at 12 o clock far / catwalk to his left.
Green / Charley kicks in or breachs the catwalk door on level 2 and floods into
the lower hostage area. As Bravo / Blue kicks in or breaches their door on the
stairs, flash bangs and clears. Bravo / Blue and Alpha / Red take their
hostages and get the heck out of Dodge while Charley / Green clears out any
remaining threats.

Just a short idea to thinker with hehe. Basically take all hostages and threats
to the hostages as close to the same time as possible. Using SD weapons to
sneak in to position. Then toss in a few firecrackers and over whelm the tangos
from multiple angles and in multiple rooms at once.

I ain’t no Spider for nut’n man.