Friday, October 31, 2008

Believe it or not, I've just spent the last several hours spelunking around FreeBSD, and end it with a smile lol.


I got tired of a program I was writing (and a minor headache), so... I turned my attention to something that's been on my todo list for ages. Tracking more and more of how the system handles it's startup procedures. It would certainly be a bit more helpful to my understandings, if I had ever had time to learn x86 assembly. Maybe someday, I'll get to that part of my todo list, lol but by then AMD64 will probably be old as a Pentium :\


Well after 0500 now, time to get some sleep.... Flibin' work early tomorrow, and another day of... annoyance.


Terry@dixie$ uptime && shutdown -p +2 'head hits keyboard, begins to snore loudly'
 9:23AM  up  6:15, 2 users, load averages: 0.07, 0.09, 0.06
Shutdown at Fri Oct 31 09:25:48 2008.
shutdown: [pid 3624]
Terry@dixie$                                                                                
*** System shutdown message from Terry@dixie.launchmodem.com ***             
System going down in 2 minutes                                                 
                                                                               
head hits keyboard, begins to snore loudly                                     
                                                                               
                                                                                                                                                             

This is so recursive, it hurts


# this is so recursive, it hurts
for topdir in args:
    for root, dirs, files in os.walk(topdir):
        for file in files:
            for regexp in patterns:
                if re.search(regexp, file):
                    file = os.path.join(root, file)
                    if verbose:
                        sys.stdout.write("file name: %s\t" % file)
                        p = os.stat(file)
                        a, m, t = (
                             time.strftime("%Y-%m-%dT%H:%M:%S",
                                        time.gmtime(p.st_atime)), 
                             time.strftime("%Y-%m-%dT%H:%M:%S", 
                                        time.gmtime(p.st_mtime)), 
                             time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()), )
                        sys.stdout.write( "atime: %s\tmtime: %s\tnow: %s\n" %
                             (a,m,t))
                    else:
                        print file
What a huge, ugly, monster, I'm glad the finished code doesn't look like that lol.

Thursday, October 30, 2008

h man, if I never see apt-get mania again, I'll be happy lol.

$ sudo apt-get install -y foo
 ....
$ sudo apt-get install -y foo-doc foo-eggs foo-ham foo-spam

To be honest, if whoever organized this thing... doesn't know what database normalization means, I'd be shocked as shit lol.


I've been using a mixture of vim/ssh to setup sal1600 with my standard operating environment, thankfully Ubuntu has a decent package search site hehe. I still need to sort out Java (jdk, jre, browser plugins), flash plugins (maybe anyway), realplayer, and codecs for mplayer. But for the most part, I'm up to go. I'll need to go over libraries with a fine tooth come, to make sure I don't lose anything. I really don't like GNU/Linux, I like the Linux kernel well enough, but the mish-mash of parts pisses me off. But, given the choice of Windows or GNU/Linux, I'd rather put up with it. As far as Linux distributions go, Ubuntu is probably one of the best desktop systems. It's certainly not my favorite distribution (Slackware), but it likes my desktops hardware much better... Something no other GNU/Linux distro has done lol. One thing I regret about my desktop, it usually needs kicking into obedience a lot of times under any OS.


Tomorrow, I've got 3 main goals after work:

  1. Setup XFire plugin for Pidgin
  2. Tweak my dual head X.Org configuration
  3. Combat test SWAT 4: TSS for performance


If I can play SWAT comfortably on GNU/Linux, I'm more then willing to switch back to a single monitor. Which really, is a shame b/c the X Windows System truly offers a better experience then what I've had with Windows multi-monitor support. The real concession will be having to shift to a usable resolution to play SWAT :\.


For the most part, I've only used the 2nd monitor as a dumping ground for extra programs. Most of the time, I'm alternating between 2-5+ programs. On my laptop however, I've found it perfectly comfortable to arrange 3 virtual desktops to "split" the workload. I guess, I will probably end up with something similiar on my desktop now. 1600x1200px on a 19" CRT is just to small for the amount of programs I interact with; but the 2880px wide (-monitor edges in the centre) that my current setup gives, is also a bit too darn big... optical scrolling sucks. This really makes me wish I had one big 22" LCD, but I'm not sure if anything with a /sane/ price and good performance for action games, has caught up yet (probably has).


My original design specs for sal1600, did call for an LCD - not because I /like/ them, but because it's a pain to lug a CRT around haha !

Wednesday, October 29, 2008

Installing SWAT 4 TSS on GNU/Linux

Disclaimer

The game is not supported by code weavers, and I don't support users of this posting ether. However, comments and corrections are always welcome - spam will be killed. Also note well, I prefer the command line interface, so I do not use file mangers such as Explorer, Nautilus, or Filer often.



Prerequsists:


  • Basic understanding of GNU/Linux user accounts and permissions
  • Having a working GNU/Linux distribution installed (Ubuntu or Debian recommended)
  • The ability to understand file paths and simple file operations (e.g. copy) without a photograph or explanation of how to copy/move/delete files.
  • Legal copies of both SWAT 4 and SWAT 4: TSS, total of 3 CD-ROM


Step one: Purchase a copy of "CrossOver Games for Linux" from CodeWeavers, or download the free 7 day trial.

Step two: install Cross Over Games for Linux, hence forth called simply cxgames -- for brevities sake!


The installation process is simple, the format I suggest is to install it as root for all users. This basically amounts to executing the install shell script as root, either with su or sudo

$ su - root
# ./install-crossover-games-demo-7.1.0.sh

$ sudo -H ././install-crossover-games-demo-7.1.0.sh

Either way, root will need access to you're display. Via the su method, on a secure system to will have to grant root this access. The proscribed method is you'll need to run
xhost +local:root
, and set your $DISPLAY value accordingly once you've su'd to root. N.B. a lot of documents say
xhost +localhost
, which will grant everyone on your machine access to the display; instead of adding root.


Once you've launched the install script, it will walk you through it -- mostly by a graphical installation wizard.



Step Three: Install SWAT 4

Insert your SWAT 4 disk #1 into the drive, and make sure it is mounted. Some Linux distributions are set to automount it like Windows (Ubuntu), others require you to manually mount it. N.B. that secure systems will only allow root to mount file systems by default.

Launch the cxgames windows program installer; this may be in your applications menu (gnome/kde users) or have to be run manually from a prompt. If you have to run it manually, the program you want to execute is /where/you/installed/cxgames/bin/cxinstall, for example: /opt/cxgames/bin/cxinstall.


Since SWAT 4 is not one of the supported games, you'll want to go with the "install other games" option, and pass by the disclaimer. You'll thne need to tell it where to find the disk, usually this is just clicking a checkbox but it is quite flexible. You should install SWAT 4 into it's own "bottle", because Linux doesn't care much for spaces (and command lines are fun), a good bottle name is "SWAT4".


A bottle is just a simulated windows installation, so if desired - every game can be installed into it's own separate place. This really makes back ups a snap, limits one program screwing with another, and improves situations if you need to make 'tweaks' to the bottle. The installer will then create the bottle in your personal space, e.g. /home/terry/.cxgames/SWAT4. N.B. that .files-and-dirs in Linux are considered 'hidden' files, in a GUI file manager, you'll need to b/p to deal with that.


When the installer starts, run it, there is no need to change the default install paths, unless you are installing into a very customized bottle. Since SWAT 4 uses two CD-ROMs, you will have to umount your first disk, and mount your second before pressing "retry" on the change disks dialog. Same thing happens again at the end of the install, to put the play disk back into circulation. When you're done, you can close the install program and tell the cxgames installer that it has completed, it will warn you for paranoias sake -- close it.


Step Four: Launch SWAT 4

SWAT 4 uses a SecuROM based copy protection system, when I set this up - it thought cxgames version of wine was a cd-rom emulator! And refused to run, a quick fix is to google for the 'swat 4 no cd'. You will need to backup the old Swat4.exe, and then replace it with the no cd fix in order to launch the game.

Since I prefer the command line, I use cp and mv to copy and move files around; rather then copy/pasting icons in a file manager.

$ cd ~/.cxgames/SWAT4/drive-c/Program\ Files/Sierra\SWAT\ 4/Content/System
$ mv Swat4.exe Swat4.exe.orig-1.0
$ cp /path/to/fixed/1.0/Swat4.exe ./Swat4.exe.nocd-1.0
$ cp Swat4.exe.nocd-1.0 Swat4.exe

Now launch the game, either via your applications menu (gnome/kde users), or manually with the wine subsystem of cxgames, e.g.

$ /opt/cxgames/bin/wine --bottle ~/.cxgames/SWAT4 ~/.cxgames/SWAT4/drive-c/Program\ Files/Sierra\SWAT\ 4/Content/System/Swat4.exe

Then go ahead and test the training level or something like that. SWAT 4 must take care of first run chores before you install the path. When you're done, just exit the game like normal. In the vent of catrostrophic disaster, you should be able to ctl+alt+function key to vtty, login to a command prompt, and us the ps and kill commands to terminate the process, cxgames also has it's own way of nuking bad windows processes hehe.



Step Five: Patch SWAT 4

Because the patch checks for a legit copy of SWAT4, we have to replace Swat4.exe with Swat4.exe.orig-1.0, otherwise the patch will fail and scramble a few game files.

$ rm Swat4.exe
$ cp Swat4.exe.orig-1.0 Swat4.exe

Now insert you SWAT 4: TSS disk and run the installer, just like when you installed SWAT 4. Except use the same bottle, by selecting it from a list of existing bottles when prompted for a bottle to use. Once the TSS installer pops up, click the button to install the SWAT 4 1.1 patch.



Step Six: Test run SWAT 4 1.1

Now you need to use a no cd fix for SWAT 4 1.1 in order to continue, download it and do like in Step Four.

$ mv Swat4.exe Swat4.exe.orig-1.1
$ cp /path/to/fixed/1.1/Swat4.exe ./Swat4.exe.nocd-1.1
$ cp Swat4.exe.nocd-1.1 Swat4.exe


and launch the game as in Step Five.


Step Seven: Installing TSS

If you left the TSS installer open from Step Six, fine, if not, open it again -- same exact way.

You will have to replace the no cd fixed Swat4.exe with the original one from the path, else the TSS installer will bomb out on you.

$ rm Swat4.exe
$ cp Swat4.exe.orig-1.1 Swat4.exe

Now get the TSS installer up and click the install swat 4 tss expansion pack button. Then proceed through the installation process; you shouldn't have any major problem, as long as you remembered switch executables first.

Step Eight: Run SWAT 4: TSS

Now you should be able to launch SWAT 4: TSS, when I did it... there was no problem with the Swat4x.exe file in the expansion pack, but the game soon refused to run, having verification problems, despite being a legally paid for copy, with the legally paid for copy in the drive. So one will need to employ another no cd fix to be able to use this legally paid for copy of the game.

$ cd ~/.cxgames/SWAT4/drive-c/Program\ Files/Sierra\SWAT\ 4/ContentExpansion/System
$ mv Swat4X.exe Swat4X.exe.orig
$ cp /path/to/fixed/Swat4X.exe ./Swat4X.exe.nocd
$ cp Swat4X.exe.nocd Swat4X.exe

You can launch it the same way as SWAT 4, but in the case of the command line, the path changes. Just like on Windows, from Content\System\Swat4.exe to ContentExpansion\System\Swat4.exe.



Known Issues


If the game and your display are not running at the same resolution, moving your mouse pointer to the 'edge' will make it scroll outside the window, effectively creating a pan and scan across your display. I have a 1600x1200px primary screen and a 1280x1024 secondary screen. Having SWAT in 1024x768px mode, was horrible... edit: this happens even when the game and X screen are at the same resolution.


I have yet to determine under what conditions dual heads will work, but luckyally most X Window Managers handle dual heads better then Microsoft Windows (in my indignant opinion), at least that has been my experience under FreeBSD 7 and Ubuntu GNU/Linux 8.04 with X.Org 7.2,a nd Windows XP Media Center Edition. So the main problem is a question of mouse handling.


Because of the way things work, people who use mods (e.g. SSF) may have problems launching them, without a corresponding no cd exe. Other wise the game seems to be useable, I've only to acertain whether or not graphical performance can be maintained.


Free Image Hosting at www.ImageShack.us


My word, wouldn't it be heaven to only need windows to play Raven Shield once in a blue moon?

getting bored

#!/bin/sh
#
# usage: vimbuild [tag]
#
# fetch indicated release tag of vim, compile, and test it.
# Requires the Concurrent Versions System (cvs) or  Subversion (svn) client,
# and a suitable make tool.
#
# environment:
#
# $TMPDIR will be used as a staging area if defined, else /tmp is used.
#
# exit status: non zero on failure, zero on success.
#

PATH="/bin:/usr/bin:$PATH"

WORKDIR=${TMPDIR:-/tmp}
VTAG=${1:-vim}
CONFIGURE_ARGS="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-rubyinterp --enable-cscope --enable-fontset --enable-gui=gtk2 --disable-gtktest"

mkdir -p $WORKDIR || exit 1 
cd $WORKDIR

# fetch latest vim
if [ -x "`which cvs`" ]; then
    echo using cvs
    cvs -z3 -d:pserver:anonymous@vim.cvs.sf.net:/cvsroot/vim checkout $VTAG
elif [ -x "`which svn`" ]; then
    echo using svn
    svn checkout https://vim.svn.sourceforge.net/svnroot/vim/branches/${VTAG}
else
    echo 'error, could not find a cvs or svn binary in $PATH!'
    exit 1
fi

cd $VTAG
 ./configure $CONFIGURE_ARGS

#
# set the make command
#
uname | grep -i linux > /dev/null
if [ $? -eq 0 ]; then
    NCPU=$(expr `cat /proc/cpuinfo | grep processor | wc -l` \* 4)
    MAKE="make -j${NCPU}"
else
    # assume GNU make is gmake, like on *BSD
    if [ ! -x "`which gmake`" ]; then
        echo "Warning, GNU make not found!"
        echo "This will probably make a GTK gui build fail..."
        MAKE=make
    else
        uname | grep -i bsd > /dev/null
        if [ $? ]; then
            # check number of cpu via BSD sysctl
            NCPU=$(expr `sysctl hw.ncpu | awk '{ print $2 }'` \* 4)
            MAKE="gmake -j${NCPU}"
        else
            MAKE=gmake
        fi
    fi
fi

# now build and test it
$MAKE
if [ -x ./src/vim ]; then
    ./src/vim --version > /dev/null
    if [ $? -eq 0 ]; then
        echo "I think the Vi IMproved build was a success"
    else
        echo "I think the Vi IMproved build was a failure"
        echo "Do you wish to test it manually?"
        read REP
        echo $REP | grep -i y && exec ./src/vim
            # NO RETURN on yes
    fi
fi

cat << EOF
    run: `echo $MAKE | awk '{ print $1 }'` install
    as root to finish installing vim
EOF

exit 0



I wonder, if I'll ever bother to use it lol


Hey, it actually worked lol.

Uploaded it to my server, tweaked the configure args and bingo -- freshly updated via

$ vimbuild vim7
...
$ su - root
# cd /tmp/vim7 && make install



Just for the heck of it, I've made the script adapt $CONFIGURE_ARGS based on what it finds installed, hehe.

PC, Mac, Linux, FreeBSD

http://www.flickr.com/photos/netmonkey/388310909/


roflmao !


EDIT: Maybe one of my friends is right, Apple can win

Monday, October 27, 2008

From approx 1615 UTC, when I got up... Almost all the way to 0330 UTC, my families succeeded in monopolizing my day, and mostly having me miserable during it :\
Ok, some luck after all... We're not going any where. So hopefully, I might be able to get sme work done, while Ma and my Brother chat it out. I've managed to transition myself into my room, in front of a laptop, with headphones on and some good music. If anyone needs to get to me, they can use AIM/MSN/YIM/ICQ, pick an Jabber/XMPP account, or try me on Freendoe or [SAS] Comms.


I'd rather like to have some work done, to show for this weekend...



edit:



Scratch that, fucked again!
Oh joy, now only did I get dragged out on a shopping expedition as soon as I got out of bed.... Now it's probably that my brother will make sure I am dragged out, on a wasting time expeidition.


Why can't people just let me _C_O_D_E_ and be

Looking through my live journal

Been perusing old entries, starting from Day One.

Somethings to catch my minds eye, I was a LCpl in [SAS] at the time. My laptop is at leas 2 years old, found the day I was made a Cpl. A few memories of my early programs (mostly C), the time I started to learn HTML. Read a fair bit of my computing history, and certainly hoping that my grammar has improved a /little/ bit since then, haha. General reminder, that I hate cups and samba for the most part, then again? I hate printers to start with lol. My initial encounters with various programs, and even testing PC-BSD, gee... it always has been lacking polish, ain't it?


Certainly notable that over the past year and a half, my use of profanity has had it's surges and falls, but much higher then it once was.


Found my PC-BSD Users Review, which kinda took on a small life of it's own, I eventually locked the commenting for spams sake, the PC-BSD v1.2 release is ancient history; to most people other then myself. Found one on how I joined [SAS], and some history since. Found what looks like an extended version of my ~/.vimrc file. Which has seen at least 2 or 3 rewrites for all intents and purposes over the years. My current vimrc, residing safely in a private CVS server, where I can quickly check in / out revisions to it from any of my boxes.



Hmm, I remember how pissed I was at the Win4BSD incident, in which the lead developer of PC-BSD released a PBI that broke the rules; but hey, it was done for a company, so he changed the rules on us... We later got them to change it back, when PBIs were at, so far there 1st or 2nd lowest in quality control. I say 1st or 2nd, because I'm not sure what was worse... The amount of people it fucked, or the other most worse one, which was largely a maintenance problem. This looks like my cool down, now that I read it, I'm actually kind of disappointed when I look back upon PBIs history; between then and now.


Dug up an old memory, ahh... When the idea of automating the creation of PBI was purposed and laughed at as "impossible", I took up a personal challenge to try and create a tool to do it. I learned a lot about designing programs from it's successes and failures, whatever value it had, the fatal flaw of it all? Was having to depend on PC-BSDs PBC program to create the PBI files. That is basically what derailed the project, so it never came to fruition. I can even see how much the scripting API for PBC has changed since those days, now instead of being useless, it's a brain damaged form of assembly; unless you want to make horse crap.


I feel just how abusive my todo lists and such things have been over the year, abusive to my free time. But, well? I do have my reasons, and their are worse solutions to workohol.


Just stumbled on the first version of my Vi User How-to. I used to have that in my sigblock on PC-BSDs support forum, until I decided it was time to rewrite it into something a bit better for learning Vi form. In fact, I've got the LaTeX files in my home directory somewhere, but I never finished it. Just to much other crap to take care of :\. Hmm, something on PC-BSD and QEMU (the emulator).I've still got the text of it stored in ~/Documents/Computers/HOWTOs/QEMU_Howto.txt.


I can see, some of the ebbs and flows in my ways of programming things. And how much I've come to like revision control for some things hehe. Although, I still operate on a system of zip/tar files for most of it. I've got things that I really want under revision control, tucked away in the CVS server. I'm kinda glad, that I post more links in my journal entries now; there were a few things, I really would like to check the cross references with. Heh, a lot of times when I post, I can see these little [1] boxes in my sentences, where my brain makes wiki-links to the thoughts they represent. Now, I just post links and save myself the trouble 2 years later ^_^. And I can see some of my frustations, past and present in my posts. Sometimes I wonder, is my life better or worse then it once was? Although, I have to admit... There were times when I was much more miserable then these times of late.


Heh, found the time I went paranoid with upgrading seamonkey. Kinda before I really started logging various interactions with my system. (Later) posts on setting up Samba, MySQL, various upgrades and what not remind me just how much I've used (and abused) my live journal as a post it for notes. I can also see, just how slow my studies of the German language have been... to little time. Honestly, I don't think I'll ever reach my goals, but at least I can enjoy as much of it, as I am able to learn. I would love someday, to be able to read/write/speak German well enough, that I could get around a German city just as good as an American city. As long as I have access to a dictionary for words I don't know, I can generally read well enough, but composition is a bit crappy. And I'm not even going t comptemplate my speech, let's just say; my voice does not do such a fine language any justice!



Mmm, just found a report on my fifth live op. I've playd in many a live op, not so many these days... Since the maps these young whipper snappers, hell? What am I saying lol. I'm talking about our current SNCOs >_>, but any ways... They tend to dig up maps, that I've played on or used to train myself on. I guess, that's a price of being around [SAS] so long. That reminds me, I still never got the sound bites done; I need them to finish my "live week" that became a live year, that's now been over 2 years in the running I think lol.


I could count how many live ops I've been in, and how many I have conducted... but I'm not gonna lol.



Even found an old script that I made, a more complex version of a quickie I did when the Amarok PBI broke a few things. I've used a much better and simpler form of it, on numerous occasions. Both for my own projects, and occasionally in PBI's that I had made. Hmm, here is one of the very few times I've felt threated for my families safety.



I can see, in reading my old posts, how much life has gotten to me in some ways. To quote myself, "I think, I hate my life.... dispair out rules joy I think, for me any way. ". Despite the various ups and downs I've had over the past 5 years, life is still pretty much the same, only I have even less of a life worth living.


Found an old posting on system backups under PC-BSD, never finished it. Still got the file, but never finished it. That reminds me, last year I had started work on a backup program for PC-BSD. It was a learning project for Qt, maybe 40% finished. Hmm, here is when Wiz, Me, Rasa, and Rouge; were promoted to troop captain, squadron sergeants major *2, and regimental sergeant major, respectively. As SSM, I always had to find work for me to do, as Captain poor Wiz had to work himself to the bone.


Hmm, a note about the Technical Manual to the NCC-1701D U.S.S. Enterprise, been ages since I've read that book. I loved reading that book when I was younger, lol. I can see some of the various mission plans and tactical ideas I've posted here between public/private. I can als see, the times when my work load in real life was at it's more extreme levels. There was a time, when I was working 2 to 3 gigs a day, every day of the week, with only 1 or 2 days off during the entire month... Oh man, that was living hell.



I can see how very much, my family has managed to piss me off during my off work hours, usually spent trying to work on things, or wasting time until I could work on stuff lol. Less of a problem now, more of a way of life... Even my general response to it, seeing the choice for destruction or construction, I took the constructive route.


Ahh, the eventual fait of my Lexar UFD. I remember being happy I got my e-mail and stuff off the drive, before the case finally split. $65 wasted, because of laying in bed with a laptop, and having to get up every five damn minutes to do things around the house lol. The USB drive got bent apart, picking up / putting down the laptop on the bed all the time, *sigh*. The search to remedy the loss, was a long one. Spanning Samba, SSHFS, NFS, and eventually falling into total disuse lol. As well as various attempts to solve the e-mail/bookmarks situation, which has ended in webmail (gmail) and online bookmark storage (ma.gnolia)


I see, my rise from admin teams little helper, to admin team member, and getting transitioned to webmaster in [SAS]. Various posts of humour, media, songs I've liked, dreams I've dreamt, etc. Various screen shots of my laptops user interface, been a long time since I've rearranged it. Been a long time since I've /needed/ to, I guess that my work flow has gotten more of a efficient rut to it now lol. Hmm, notes on various stuff I've made note to buy, but usually never had the chance :\. Hmm, even found an interesting system tweak, that's so old it doesn't work anymore hahaha.


Various things about movies and programs. Hmm, that how evil are you thing.



You Are 16% Evil



You are good. So good, that you make evil people squirm.

Just remember, you may need to turn to the dark side to get what you want!

Looks like I've put on 2% in the past year and 3 quarters, not sure if I like that :\.



Ooo, the first time I ever made it into the stance, mmm, wish I was a more athletically inclined person really. Hmm, found a link I never got around to reading, about in-line assembly under GCC, never got around to learning much of assembly on the Pentium either...


Various projects that I've worked on, a few unpublished SWAT 4 mods, the [SAS] skins, Neo Ports Manager, various helpers or time passing apps, site work, work on the SOP rewrites, diving deeper into code, and a more recent but classified programming project. Hmm, first dates with Qt, Sockets programming, the Curses library, Python, OpenBSD, pax(1), AWK, Scheme, diff/path, gdb, particle physics, gcc front ends, MySQL, whatever.


Found the date, that I converted Vectra from FreeBSD to OpenBSD. It was my first install of OpenBSD. Some nice quotes. Various books I've read, some that I never finished. Groans of portability concerns, and trying to wrap myself into suitable tools. Mmm, the programming language I never had time to learn, but really would like to someday!


Hahha, my screen shot of abusing Firefox... with huge numbers of tabs open. Something that woke me up when I was sleepy, and made me go track it down, now if I still remembered the solution without having to dig up the code, lol.


The general notion, that the odds of ever having a job, which pays me for using my brain, is next to null... And more then a couple periods of frustration, with my family making it very hard on me to learn stuff of interest. Hmm, a number of times that I posted about the training sessions I've held in [SAS], it's been awhile since I've really done those, Jonsi is a Trp now ^_^. Found a few screen shots from games, result of various personal training exercises. Times when data structures and algoritims were one of my most intense fascination's. Oh, the day the freezer died, man if I had strength left, that would've been a long post lol.


The Troopers Call, something I wrote back when a teammate was still a young trooper.


Problems sleeping, being drowned in work, and a number of writings, some of which I actually forget to store in my personal folder.


Hmm, the time I was promoted to Regimental Srgeant Major in [SAS], Rouge to Captain and Wiz to Major, and a sigh of releaf on my face lol. Hmm, my notes both public/private on the "Claudia affair". Some encounters with *DD* and other clans. A short story I wrote one late night, related to Volume III of a project I never finished.

The day Macy died in my arms, one of several short gigs out in the country, one of the several times I was stung or pissed off by PBI, and the incompentence of PC-BSD....


A review of a PC-BSD Beta release. Various todos, lists, plans, etc of work I've done on my laptop. I've installed PC-BSD on it several times over the years, even had Debian, Ubuntu, and FreeBSD on a 2nd partiton I rarely used. But now she runes FreeBSD, all the way baby!

Hmm, I see Live Journal just toggled to their "Undead Journal" theme ^_^.


Oh, this is a movie I haven't seen in awhile! Hmm, a post about How old I am in terms of Recruits in [SAS], need to make a more up to date one of those one day. some plans for live ops, hehe. A rare but real ROFL momenet in my life. Getting interested in binary, hexadecimal, bitmasks, Strong Space. Ahh, some jokes.


Various looks public/private at maths related stuff, I really regret that I never had time to learn more of things that are of /real/ interest, way life is around here, I probably will never get to either :\. Various postings, about software, todos, schedule, opinions, feelings, whatever. Hmm, even getting heavy into using Perl for a lot of programming/scripting stuff. I don't use Perl a lot these days, but I often use it in situations that call for quick data processing or a game of golf. But I've really been trying to use Python for that stuff now, since I've been using Python as my standard scripting language now're days.


Having to watch one of my master pieces crumble, that was a hell of a day, and I tell ya... that post doens't even have half of the agony of it. Hmm, flirtation with lisp and the scheme dialect, been awhile since I've had time for scheme. Mmm, notes public/private on the Damocles Project, a semi-classified research and development bit I did when I was RSM. Hahaha, I haven't said this in a little while, been leaving out the profane part most of the time ^_^.



Various stuff on my time in [SAS], public/private reflections. I do have a general policy, of keeping the necessary level of confidentiality, down to whats posted "for my eyes only" on my live journal. LOL, learning the ingredients of Riesens the hard way. Ahh, an important note on the Damocles Projects findings, think I've still got a (newer) hard copy somewhere. Note to self, encrypt it.



The blog file I kept during my 2nd working vacation, which was not as stressful as the first. Vacation, as in as close to one as I would get. Working, in the sense of having to take care of the bosses dogs, maintain area security, and clean lol.


Hmm, another reminder of a book I was writing. The first upgrade to my file server. Ahh, my stealth run on SAS hallway, found my attempts and frustrations trying to complete the 'Spidey Speed Run Challenge', which I had issued as an RSM, to encourage a higher level of training among recruits. It really nagged me, that I couldn't do what I was asking others to do, so I had to set out and do it myself. Strangely, to this date, I am the only asshole to pull off passing my training challenge..... Ahh, my motto. And getting pissed at SWAT 4s game design.



The 10th Anniversary of my grandmothers death, which reminds me of the day just before the 11th anniversary. Mmm, a post I made about C Keywords, sorted by dialect (traditional, c89, c99). Java on FreeBSD, so easy hehe. This had to be one of my most frustrating times ever.



The time I found some jokes when I was half a sleep, after debugging some code. A rare couple of days off work for some R&R. Hmm, the time I tested KateOS, when I switched from KDE to WindowMaker on my PC-BSD install. One night when I got a bit playful with an algorithm for finding greatest common denominator (gcd), that I found on Wikipedia. I did a lot of tests later on, wonder if I still have the extra results stored... Hmm, some old links I posted on learning to manage stress, loool one of the times I've managed to drain my laptops battery, because I never plugged in the adapter, it's really that rare I unplug it lol.


Most of the end of 2007 and beginning of 2008 was spent working on NPM, a project I really would like to finish sometime... but I've got so much other crap that demands dong :\. Oh man, the Tiger Stripe skin prototype, I never could get it to work....



Oh yeah, the [SAS] Christmas Party, I wonder what we are doing this year hehehe. And something a bit more closer to the holiday.



I don't know if I'm going to bother and look through the last ~10 months or so, One thing that does make me happy, there's less of the things that litter my various document folders, then I managed to post between the start of this journal and the start of 2008. One thing I do know, I'm either grabbing some crisps or some ceral, and hitting the hay.


The only question is, will Willow let me have a place on my own bed, dogs take eveththing and they don't give it back !!!

Sunday, October 26, 2008

Muahuaha !!! I love this thing.

$ vim pf.conf.new
 ... write new packet filter configuration file
$ pfctl -nf pf.conf.new
  ... silent output if no errors
$ su - root
Password:
# cd /etc
# mv pf.conf pf.conf.old
# cp /home/Terry/pf.conf.new /etc/pf.conf && rm /home/Terry/pf.conf.new
# chmod 644 pf.conf && chown root:wheel pf.conf
# echo 'pfctl -F all -d' | at hhmm
  ... unlock the door if we screw up
# pfctl -e 

enabling or disabling the packet filter (-e, -d) kills the SSH connection, but in the event of any embarrassing "oh crap, I've locked myself out" accidents, the at job will flush the firewalls settings and disable it. Believe me, if you've got a system running with no head or physical inputs (e.g. no monitor, no keyboard), ya really want to use such a thing... I still remember coming home from a *very* bad day at work, working on my rule sets, and locking myself out 5 times, and having to hook up a monitor and keyboard to the server each time >_>.


What wonders you can learn from one bad day, huh?


At least tonight, I've not locked myself out once... despite the days troubles, hehe. One of the reasons I like OpenBSDs packet filter, it's simple, it's powerful, just read the fine manual, use your gray matter, and it works! The rule sets are fairly easy to read, and OpenBSD documentation is second to none. Heck the manual page even gives the pf.conf syntax in Backus-Naur Form. The only complex part of pf, is the networking stuff - not the configuration. And of course, I love anything that is configured through a sane text file, rather then having to fire up some cornball program lol. Really, I wish I had the resources to replace my router with an OpenBSD machine, that way I wouldn't have to learn my way around a new web-interface whenever one pops its final cork.



Ahh... At least one good thing happened this weekend!!!

Saturday, October 25, 2008

*SIGH*

It seems to more time I spend around my family, or the more time I spend thinking about my /life/, the more miserable I get.

  • I have 5 programs to complete, 1 in C, 1 in C++, 3 in Python, only 2 of which are mostly done. The one in C, unfortinely is a windows app.... And that's a sentence worse then death in it's own right.
  • I have a ton of homework piled up, which at the moment on the _short term_ amounts to finishing one unit of a 2-year course.
  • I have a library to finish testing, 2 modules to rewrite, and a mock up of a website to do.


I've had part of my Friday and Saturday wasted, and I will probably have part of my Sunday wasted, and I don't even want to think about Monday! So of obviously nothing is going to get done before I go back to work on Tuesday. Anyway you slice it, I just keep getting fucked.

Son of a bitch !!!

I just finished a little personal training time... MP Peaks, I snuck past the terrorists, killing only about 3 of them on the whole map. All the while while having XFire doing video capture, so I can analyze it later, moved on to later trainings and guess what?

No recorded files for any of the rounds played, combined with Xfire In Game (XIG) chat not working anymore in RvS, becoming more buggy in SWAT 4: TSS, and Xfire is getting to be next to useless these days.



[switching to mental log]

My first session was perfect.... I spawned, checked my weapon, made a quick scan of the safe house at insert. Then moved up the hill line, checking the hill line cautiously for snipers... matching my profile against the terrain to avoid sky lining my body -> tangos can see through trees, and shoot through them without having to worry about bullet proof snow >_>. Dropped on my belly prone and crawled up, noting the positions of 4-5 sentries on the opposite side of the bridge, crawled around using the parked car for cover. Checked out the other snow bank, it was a clear trip through that sector; except for a lone tango crouched in the snow, watching my approach vector. Positioned myself to recce the site lines of more distant threats... only one that might notice. Plugged the tango with a controlled pair to the neck, since I would've had to stand up (and risk being scene by him) in order to go for a centre mass or head shot, or choose to shoot his legs out... Not good in RvS, usually results in runners who are only limped once they stop moving lol.


Crawled forward and dropped into the ditch, when I noticed another sentry moving to investigate... I let him get close to the body, and plugged him, a quick look & see for any other threats, clear. So I moved up, keeping prone to avoid exposing myself along my 12 o'clock, and noting sentry positions along the way. All was going smooth, until I came to the crest of a small hill, and noticed a group of four sentries. One staring out towards the bridge, and three by a tree near a hill. No one looking at me, but one decided to walk a patrol, so I had to take cover pronto.


I watched the enemies patrol carefully to anticipate his movements, but kept out of sight. Once he settled into position, I switched back to advancing, noting the positions of sentries by the cottage next to my escape point. Luckyly there was just one in a position to see me; plus 1 or 2 on the hill where the patrol man was. So I slide down into a narrow part to avoid being seen, if that creep started patrolling my way! One final obstacle, a lone tango guarding the escape point - a quick double tap centre mass and head, tango down


Stood up to a crouch and moved closer to the cottage for cover, then quickly to the escape point (green smoke). Victory!! Game over, when finally a tango comes around the far corner of the cottage and see's me standing there, so I abused the bug in the game, scoped on in full auto and emptied my mag into him lol. The game has a bug, that when the round is ending, you can scope on and hold fire at the same time, and discharge your weapon without doing any damage (tangos can fire free, since they rarely use scopes lol).


It was a perfect exercise to limber up my stealth skills, but unfortunately no video to analyze my game play, and try to find ways to improve :\. When we heard about viacom acquiring xfire, me and a few friends started joking about how long it would take for XFire to go down hill, but it has been faster then we expected haha.


The moral of the story?


XFire is a piece of shit

Song of the day: 2008-10-25 / Still Alive

So stuck in the head....

You have changed
I have changed
Just like you
Just like you

For how long
For how long
Must I wait
I know there's something wrong

Your concrete heart isn't beating
And you tried to
Make it come alive

No shadows
Just red lights
Now I'm here to rescue you

Oh I'm still alive
I'm still alive
I can't apologise, no

Oh I'm still alive
I'm still alive
I can't apologise, no

So silent
No violence
But inside my head
So loud and clear

You're screaming
You're screaming
Cover up with a smile I've learned to fear

Just sunshine
And blue sky
That's just how it goes
For living here

Come fire
Come fire
Let it burn and love come racing through

Oh I'm still alive
I'm still alive
I can't apologise no

Oh I'm still alive
I'm still alive
I can't apologise no

Learn to lose
Learn to win
Turn my face against the wind

I will move fast
I will move slow
Take me where I have to go

Oh I'm still alive
I'm still alive
I can't apologise no

-- Still Alive, Lisa Miskovsky

Mirrors Edge






Now that looks like a game worth paying for, a real adventure game is much harder to find these days, especially that's much more then run around shoot'em all, then when their all dead, try to ask a question or two about where the exit sign is >_>

Oh, what a nap lol

laid down around 2300Q, set the TV to th end of Multiplicity, since Gung Ho was going to start after it. I figured, lay down a bit and then get to work on stuff. Next thing I know, I've barely got one eye open and Gung Ho is almost over. Next thing I know, it's over and the time is past 0139.


I need to get my todo list sorted, as to what I'm going to be doing this weekend. Gee, wouldn't it rock if I didn't have to plan 3 days in advance or something lol.

Friday, October 24, 2008

oy vey

Woke up early, ~0730Q for a leak, so I was still fairly awake around 0900Q when things picked up.... A wonderful leaking pipe in the utility room, += fixed after 1100Q, == late for work and *too* late to bother with the days op. So yet another day off work, without wages.


On the up side, I managed to catch ALIENS on Cable. I'm off until Tuesday afternoon, so hopefully.... pardoning any more desasiteres, things can't get much worse lol.


Oh man, I should shut my mouth while I still can lol.

Thursday, October 23, 2008

Writer's Block: Fright Show

'Tis the season for scary movies. Some rank The Evil Dead as the best horror film of all time. What is your favorite scary movie?
Live Journals Writer's Block


For me, that's a relatively hard thing to think of. There has only really been one movie that ever really scared me. There have been a few that have made be uncomfortable over the years, but nothing 'scary' for the most part. Simply put, I know it's a movie lol.


I don't particularly care much for horror movies, unless their is something much more interesting then trying to freak people out. Books and games are better for that, because it's a more immersive medium. Hmm, that reminds me... There was one game that did scare me a fair bit when I was younger, Resident Evil. But that was fairly minimal, because I was strongly decided, that if such an absurd thing as zombies ever appeared out of no where taking over most of the city, my arsenal of squirt guns, super soakers, and other weapons would have to also be capable of firing a zombie melting fluid, that never runs out >_>.


Ahh, the imagination of children... Sometimes scary, sometimes a safe guard against fear. It's always good for a kid to be able to tell the difference between make believe, and reality, without losing the ability to be creative.




When it comes to movies, I much prefer comedy, action, and science fiction flicks.

Wednesday, October 22, 2008

What a screamin' and hollerin' filled day, AGAIN!.

Let's see, where do I start?


Stuck getting up for work, overslept and got bitched at..

When we're about to leave for work, the battery is discharged.

So I end up walking the dogs, but Coco doesn't get her turn because their is no time.


So Ma calls the place from yesterday to get someone out here with jumper cables for the car...


Then it's a waiting for the road service, because the place from yesterday don't know their ass from a hole in the ground. And coco is whining because she didn't get to go out.


The guy with the tow truck and jumper cables explains the battery problem is bacause the internal lights were stuck in the always on position -> BP or PAC, piss on you!


So we head to the normal family mechanic... Good guy, know him and his wife from church.


The alternator is still working (thankfully), so the battery charges and passes sanity checks when hooked up to a voltmeter. He also dismantled something on the engine and whatever he pushed had the same effect as putting the gas pedal flat on the deck,


Ma decides to get a new battery, since it was 3 years old... Which is roughly another $100 between battery / service / warranty / whatever.


I spend ~50% of my laptops own battery charge righting code.


5 minute down the road, the engines running worse then ever... return to mechanic, and guess what? I hose up top near the crankcase was cracked. As far as I can tell from google and his description, it was probably some kind of breather tube for a PCV system.


Son of a bitch, replacing that tube has fixed the cars chugging up and down the road, which has been driving Ma crazy, for what? Nearly 3+ years by now loool.


It is always the simple things in life that getcha !!! Be it a broken serpentine belt driving the alternator and power steering among other things, leaving a light on, just righting to the teletypewriter device, or replacing a stupid hose that helps regulate the amount of air / gases in the chamber to the right levels.


Get stuck going shopping, since we missed work, and I bloody hate grocery shopping !!!!!


I managed to leak the trooper by accident over instant messenger, and had to change it in a hurry, then report myself for stupidity.


To top it off, there is almost nothing on TV; just Keeping The Faith.

Scratch that, to make it even worse! I just ended up having to rub her royal majesties feet.


If tomorrow is like today, yesterday, or worse, I am really taking the weekend off doing shit for awhile loooooooooooool.



Bartender: Let me get this straight, I'm talking to a priest who went on a
bender, because his best friend; a rabbi, stole his girl.

Priest: Right

Bartender: I want to thank you for telling my this story.

Priest: Why?

Bartender: Because now I can retire.

Priest: You have to give me advice, that's what this is supposed to be about.

Bartender: Oh GOD, what do I know? I half Punjabi Sikh, one quarter Tummel
separatist, my sister married a Jewish doctor from New Jersey, and our
other grandmother was an Irish nun; who left me this bar, which is a VERY
long story.

Priest: You're a Sikh, Catholic, Muslim, with Jewish in-laws?

Bartender: Yes, yes, it is very complicated... I'm reading dynetics.

Priest: I don't blame you.

Priest: I thank you for listening to me, I feel like I should ask you for my
penance


Bartender: I don't do penance, I do shots!

both: *snorts* Hahaha

*pours them both another shot*

Bartender: I tell you what I know

Bartender: May those who love us, love us. And those who don't love us - may
GOD turn their hearts. And if HE cannot turn their hearts, may HE turn their
ankles, so that we may know them by their limping

Priest: *nods agreement*

Tuesday, October 21, 2008

Ever wonder just what gcc does?

Terry@vectra-$ cat > test.c
#include <stdio.h>

int
main(int argc, char **argv) {

        int i;

        printf("%s ", argv[0]);
        for (i=1; i < argc; ++i) {
                if (argv[i][0] != '\0') {
                        printf("%s ", argv[i]);
                }
        }
        return printf("\n");
}

Terry@vectra-$ gcc -v test.c -o test-bin
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.3/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
 /usr/lib/gcc-lib/i386-unknown-openbsd4.3/3.3.5/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=5 test.c -quiet -dumpbase test.c -auxbase test -Wall -W -Wpointer-arith -Wbad-function-cast -std=c99 -version -o /tmp//ccj26536.s
GNU C version 3.3.5 (propolice) (i386-unknown-openbsd4.3)
        compiled by GNU C version 3.3.5 (propolice).
GGC heuristics: --param ggc-min-expand=46 --param ggc-min-heapsize=30393
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
End of search list.
 as -o /tmp//cca26536.o /tmp//ccj26536.s
 /usr/lib/gcc-lib/i386-unknown-openbsd4.3/3.3.5/collect2 --eh-frame-hdr -e __start -Bdynamic -dynamic-linker /usr/libexec/ld.so -o test-bin /usr/lib/crt0.o /usr/lib/crtbegin.o -L/usr/lib/gcc-lib/i386-unknown-openbsd4.3/3.3.5 /tmp//cca26536.o -lgcc -lc -lgcc /usr/lib/crtend.o
Terry@vectra-$ ./test-bin arg1 arg2 arg3 arg4 arg5
./test-bin arg1 arg2 arg3 arg4 arg5
Terry@vectra-$

What a nightmare

One of the more sane but terrifying parts of my dreams....

A brunette sits down next to me, while I'm working on a project, and starts asking questions. Although she defiantly failed the computer-intelligence test, she was quite inquisitive...


The thing that makes it a terrifying nightmare?


I was more interested in whatever I was coding, then talking to the woman :\



I must be working to hard....

Whiskey for my men, beer for my horses.

Well a man come on the 6 o'clock news
Said somebody's been shot, somebody's been abused
Somebody blew up a building
Somebody stole a car
Somebody got away
Somebody didn't get too far, yeah
They didn't get too far

Grandpappy told my pappy, back in my day, son
A man had to answer for the wicked that he done
Take all the rope in Texas
Find a tall oak tree, round up all of them bad boys
Hang them high in the street for all the people to see that


Justice is the one thing you should always find
You got to saddle up your boys
You got to draw a hard line
When the gun smoke settles we'll sing a victory tune
We'll all meet back at the local saloon
We'll raise up our glasses against evil forces
Singing whiskey for my men, beer for my horses

We got too many gangsters doing dirty deeds
We've got too much corruption, too much crime in the streets
It's time the long arm of the law put a few more in the ground
Send 'em all to their maker and he'll settle 'em down
You can bet he'll set 'em down 'cause

Justice is the one thing you should always find
You got to saddle up your boys
You got to draw a hard line
When the gun smoke settles we'll sing a victory tune
We'll all meet back at the local saloon
We'll raise up our glasses against evil forces
Singing whiskey for my men, beer for my horses

We got too many gangsters doing dirty deeds
We've got too much corruption, too much crime in the streets
It's time the long arm of the law put a few more in the ground
Send 'em all to their maker and he'll settle 'em down
You can bet he'll set 'em down 'cause

Justice is the one thing you should always find
You got to saddle up your boys
You got to draw a hard line
When the gun smoke settles we'll sing a victory tune
We'll all meet back at the local saloon
We'll raise up our glasses against evil forces
Singing whiskey for my men, beer for my horses

We got too many gangsters doing dirty deeds
We've got too much corruption, too much crime in the streets
It's time the long arm of the law put a few more in the ground
Send 'em all to their maker and he'll settle 'em down
You can bet he'll set 'em down 'cause

-- Beer for my horses, Toby Keith and Willie Nelson.

automotive - econofix.com

http://www.econofix.com/index.html

useful

Monday, October 20, 2008

What a day !!!

Woke up early, fairly good for a change, but still... 30min before I had to get dressed for work lol.


On the way out of the complex I thought I smelled something, noted it for comment if I still smelled it in a bit, thought it was just something in the terrain. Also heard an odd raddle, but hey... She's a F.O.R.D.


About ~25 metre down the road, Ma is like "I can't steer!" and said the AMP light was on the display; so I told her to pull over while their was still a place to pull over.


A quick thumb through the cars manual to make sure of what the bleeding heck the amp light might mean, aside from a low battery (that's still got 2 years on the warrenty, and hopefully the specs to back it up) says to have the electrical system checked (real helpful). So I got out, popped the hood, and took a quick scan of things.


Sure enough a look at the alternator revealed a broken belt :-(


I was just happy it's the belt & tensioner instead of an electicral problem... That would be as good as totaled fincially, but getting the belt and the tensioner done is only ~$150 or so. Ma called the clients we were supposed to work for, and they came out and got us (their very good folk). I started work on the monster sized house myself, while Ma took care of getting the car towed.


Despite a very large work area, I actually made quite a not of headway... Expecting to have to complete everything but the mopping without aid.


Then Ma got in, and I had to brief her twice on what I had gotten done, to avoid her redoing it *grrr*. To be followed by a lot of interupts, hence a sudden drop in productivity... lol.


Got off work around 1630~1700, which is pretty late; usually we get done around 1500, but I only got to start solo around 1052~1058.


As usual, I skipped any concept of breakfast, but we got off late, so I skipped lunch -- stopping for lunch takes to long. I'm somewhat like a camel really; little food & water, good imunity to temparure change, barely any rest, and still works like a dog... lol.


At least though, the volume of dinner made of for the lack of lunch xD


A a side effect of everything, since the car won't be fixed until tomorrow, I'm off work... so it's just a quetion of whether or not I'll be both home and available to get stuff done.


Still, it does make me wish I knew more about cars. I know just enough to understand how they work, but not enough to fix them lol. Hmm... that reminds me of a family joke haha, about the person I'm named for. I was named after a close friend of my parants, who introduced them; but as the story goes. My Dad, who could rip an engine apart and put it back together again; called up my mom to explain that he wouldn't be making it into town, because Terry took apart the Corvairs engine apart, and had parts left over xD


Someday, I think I'd love to take an engine apart (with the manual as he did), and find out if I'd have parts left over or do it right. If I did have parts left over or fouled it up, I could just imagine my father cursing a blue streak from beyond the grave... lol.

Sunday, October 19, 2008

the general rant of the night

Oh what fun it would be to have Google Chrome + Plugins (that work) on FreeBSD or even just chromium + plugins (that works)... It would certainly beat the dozen or so others available (all of the main stream ones are also available in native & linux versions).


All the better, would be a cross platform web browser besides Lynx that does not suck... but Google Chrome at least presents a usable technology for surfing the web 10+ hours a day, even if it's essentially winsucks only for mere mortorals... for the time being.



And best of all, would be a web browser better then lynx, that didn't piss me off *eventually* or prove tiresome to use for such long periods of time.

Saturday, October 18, 2008

Hmm, I've just seen a movie, that I'll probably never watch again. Some of the thing troops go through in combat, are truly horrible. Even more terrifying, is what war can do to those that have been at it far to long. In a lot of ways, I'm glad I didn't pursue a military career, b/c I honestly don't know if I could live the rest of my life, if I had to experience some of the things that have happened to our fighting men. I generally have quite a hard exterior and the poker face to match it, but for this film, I shed tear.

Look at an infantryman's eyes and you can tell how much war he has seen.
- Bill Mauldin, Up Front, 1944.









And say a prayer of thanks and for their safety, with my hand over my heart in salute.
Off work until Monday, and working until Friday... I really like the weeks when Monday falls on a date that I am not working >_>, but that's only every other week :\.


Plans for the weekend:

Work on Rouges project
Work on fixing that bug in XYZ
Play RvS and SWAT 4
Chat with a few friends, if I'm sane by then <_<
Catch up on my postings.


Interference to goals:

Trying to pass level 8 of tetris.... This is what I get for not playing enough tetris as a boy lol.
Having to write the daemon portion of my note taker
Battle for Wesnoth being in the middle of an interesting campaign, and trying to create one of my own.
Any number of personal projects and homework that never seems to be completed on time.





There are two things that I really need, but not likely to see in a long time... In the mean time, I guess there is working to death lol.

Friday, October 17, 2008

Going tetris crazy

http://www.tetrisfriends.com/

addioctive, wonder if it works on flash7?

Thursday, October 16, 2008

Just two more days of work left this week....


To spend my weekend, ...

To be back in the grind come Monday.


*sigh*

Writer's Block: Unnecessary Objects

Oscar Wilde, a dandy’s dandy, once said that “we live in an age when unnecessary things are our only necessities.” What unnecessary possession can you not live without?
Live Journals Writer's Block


A unix box !!!




Computers are not a necessity, but I can't afford enough books or cellular minutes to replace the internet lol.

Tuesday, October 14, 2008

tonights to do

todo:

write up OPORD (OPerations ORDer)

post that message I wrote last night in T&T with OPORD attached

annotate the 12PoC for ]SAS] ELs and post in T&T


test 'side-step' method for more portably dealing with CMS issues

think about ways of learning more assembly

Sunday, October 12, 2008

Thoughts on my SAS Skin and past skinning ops

I've been working on a 'personal' project for a recent change of pace. A personalized skin for SWAT 4, the proper name of it would be '[SAS]_Spidey01' but there's not a lot of room visible in the loadout menu, maybe 9-11 char at the most.


The first prototype is based on the United States Navy's Working Uniform, the armour is currently a hybrid of the light armour vest from my teams 'SAS Black' skin, Miles made that armour vest and it is one hell of a great design! I've incorporated elements of the no armour vest, which is basically the games rendition of an Omega Elite Tactical Vest from Blackhawk. So the vest design actually combines two of my favorite kits lol. I'll probably use it for both my skins light and no armour setups; a few modifications perhaps, depending on how the game lays out the 'pouches' and crap. One sad thing, the game auto-places pouches and gear on top of the skin, wrecking some potentionally good designs :\. So I've kept the rear of the hybrid vest fairly plane; my name and a subdued but tell tail marker visible in the stack.


The BDU kit is a mixture of the new NWU the navy is working on, but with a little bit of my own 'flare' added to it, to help it blend into the games darker setting more readily. I used a sampling of the digital pattern to help get it right, but to be honest, I would prefer the woodland pattern... Let's just say, when I was growing up -- U.S. troops often wore a woodland camo; or a chocolate chip style desert camo, that I would describe as "I really hope the other side has CHS disorder", b/c it looks more like a bullseye then a camo in my opinion :\. In the US, the camouflage used by our troops has at least been moving in more realistic directions, this ain't 1955 after all... If you're going to use camouflage, odds are ya don't want to stick out.


Any ways, back to topic lol. The skin pack I made for [SAS] was fairly simple yet made to be distinctive -- when you see an [SAS] Member walking around in the SAS skins, ya gonna be happy your not a tango.


Vyro created a fairly simple black skin for us based on the Taiwan SWAT skin many of us had officially adapted, this is what I refer to as "Version 1". Later on I made a few adjustments with Miles and referred to it as "Version 2". The current edition, was a package with full installer. Containing the black, sabre, trainer, camo, and desert kits. SAS Black being a very distinctive yet attractive design, yet unrealistic in the sense that there is a huge winged dagger on the back of the vest, and "Special Air Service" written underneaths the members team glow-bar. Thats what I consider "Version 3", I lent direction to the project and Miles worked some magic to make it great. The SAS Sabre included in the package was however a more realistic skin, very lightly adorned and a fairly drab shade of gray. I greatly desired a skin that resembled one of the old Sabre skins from SAS Realism Mod (from SWAT 3). It would've been impossible without Miles help, thanks to him, the goal was successful :-). The other skins, I mostly made myself but used the same vests for. SAS Camo, which I created the BDU from a sample of British camouflage and then specially crafted the hood to go with it, it's my favorite BDU ;-),. The other one was designed in memory of one of our Live Ops, in which Lazko and I were the last members standing, injured from the tips of our pawns hair down to the toes, and barely a left bullet between us. It was just like the SAS Camo skin, a "second prototype" in camouflage BDU; but made with a British desert pattern.


Not included (beyond the textures) in the package were SAS Blue, Green, and Tigerstripe. The SAS Blue, we never could get right... either it would end up to bright a blue (resembling the GIGN skin) or become more maroon, so I chucked it. The SAS Green was chucked, because no matter what I did to it, I still felt it to much of an IFF liability (suspects use old-green, 3~4 colour urban camo, and blue-urban camo uniforms, but OG often enough for SAS Green to be mistaken for an enemy!), so it was chucked. The tigerstripe, I had created because the Vietnam war era pattern is one of my favorites. But ironically, the skin suffered both from a poor distribution of the camo and offered too bright a colour profile to be realistic :-(. So arguably, my first camo-prototype skin in SWAT 4 was a daister, while the second camo-prototypes hit release quality.



The BDU texture I've created based on the NWU, I hope will be both my third camo prototype, fourth camo skin, and second successful.....



Two things i need to figure out: arm patches and headgear. The SAS skins basically have the British Union Jack on the arm and occasionally (e.g. SAS Black) the SAS insignia on its arm. But, since this is my skin, it makes little sense to continue that path, because I'm not British. Rather then trying to create a US flag patch with suitably subdueded colors, I'm considering something a bit different both in the modern and classical sense.


For the hood, I'm undecided +S. I could make a balaclava to match the NWU, a blue one (not a colour I've actually had luck with), or even use the black/gray ones from the other skins. I've thought of modifying the SAS Trainer skin to have more of a beard; but realistically, one would want to keep their face hidden behind a flame retardant hood. I'll probably make tests with the faces from Trainer, Black, Camo, and Sabre, and see if making one to match the BDUs camo is worth the effort. Makign the hood for SAS Camo took a long time to get it "just right".





*CHS disorder - Can't Hit Shit disorder.

Friday, October 10, 2008

Birdy fortress

If the bird gets out of there, I'm calling Guinness!

If Coco gets in there, I'm reclassifying her as a mole, not a dog!


Mikes old set up was like this:

|-------Solid wall--------------------------
S |--------------------------|
o |                   |-----||
l ||------|  |------| | | | ||
i || cage |---      | | | | ||
d ||         playpen| | | | ||  << cloths rack
w ||      |---      | | | | ||
a ||------|  |------| | | | ||
l |                   |-----||
l |--------------------------|
|Table |           Netting
|      |

After we got the dogs, we cut up the box from my computer chair & wrapped it around the south-eastern border; to keep the dogs from eating bird seed off the rug. Well, that never worked to well... When it gets to thundering, Coco gets to looking for a place to hide. And her favorite is to push the box aside and sit under Mikes cage lol.




Now, there is wadding and barricade sealing the holes Coco made in the bottom of the netting, more boxing preventing Coco from pushing the box aside; plus reenforcement on the outside, creating a tripple-layered protection wrapping part way around the cage, and the opposite (north-eastern) corner has been sealed with wadding, barricade, and reenforcement tucked inbetween the (jam-packed) bookshelf built into the wall. And to top that off, the netting is secured in a way, that if Mike did penetrate the netting, he won't be able to flutter-up and away from the boxes, and into waiting jaws. It's like a birdy fortress protected by many overlapping redoubts ! hehe

Birds, Dogs, and Feathers on my...

I'm glad I'm a fairly sedate person, other wise I would need a tranquilizer...


stack trace:

0 - Sitting in bed, writing code
1 - Ma walks by the hallway on the way to the bathroom: "I thought you were sleeping", "I was", "Go to bed", (walks away), "fuck off" (or something to that effect).
2 - I heard the bird screaming and flying about
3 - Willow jumps off the bed
4 - *sigh*
5 - thinking if the bird doesn't stop in 3, get up and calm him down.
6 - Ma comes and tells me somethings wrong with Mike (The birds name is Mikey).
7 - Get up, bulldoze through hall, into kitchen, flick on the kitchen and dining room lights on at once
8 - found Willow near the cage, keep visual-scan according to SAS SOP.
9 - Bird found laying on it's backside on the ground half under the table
10 - Willow lunges a the bird
11 - Bird tries to flee
12 - I try to capture him, until finally nabbing him
13 - move into kitchen for visual exam
14 - bird sinks his beak into my hands in reactitory-fear; hardest bite he's ever given, but he wasn't playing.
15 - bird gets loose and is recaptured both by me and the dog a few times
16 - Quick analysis shows lower mid-chest wound and bleeding
17 - switched on the water fosit and let it flow on the wound
18 - dose wound and surrounding area in hydrogen peroxide
20 - Applied flour to his abdomen and rubber it gently on the wound area (to help clotting)
21 - Held bird tightly trying to calm him down
22 - Bird feels warm but beyond having the strength to resist
23 - wrapped bird in dry wash cloth and continued to try to calm him
24 - placed bird in shoe box, wrapping in cloth, to keep him in a secure (hands free) place.
25 - Instructed Ma to prep cage for entry (e.g. remove covers, clear wide opening in the netting, etc)
26 - Bird attempted to flee from shoe box
27 - recalmed bird and began computating contigent next courses of action
28 - Placed wash cloth in bottom of open cage
29 - Picked up bird and wrapped snuggly in my hands, to keep him from flight
30 - Garbage truck arrives, thanks guys, you're days late and come around 0400 in the morning!!!
31 - Ma, while holding Willow; opens door to verify my audiary senses.
32 - Bird appears alert, aware of changing lighting conditions and the door being opened and closed.
33 - Placed bird in cage on cloth
34 - Closed door quickly as he jumped off, in case of flight
35 - Bird leapt to the cages middle perch
36 - Began search for his cages water bowl
37 - Bird climbed (I think climbed anyway) to the highest
38 - Filled his water
39 - Filled his seed
40 - Rotated his seed and water bowls, just in case he drops off the upper perch... for fear that he might drown in the water bowl.
41 - Resecure netting, just in case the bird figures a way to force open the food/water-dish holding/door things and escape
42 - Check bird
43 - Wash hands
44 - Remind willow she's been bad, "You can't play with birds! They're too fragile"
45 - clean up the mess of feathers and pin feathers on the floor
46 - noted that his missing tail feathers came out at the calamus (quill); reminded me of some duck feathers me and my brother had when I was 5~6 years old.
47 - throw out feathers
48 - check bird, he's looking as if to say, "Why am I in the cage?"
50 - put out the lights so the bird could rest
51 - wash hands
52 - move laptop (on the bed) so the lower vent is also clear
53 - Remind Willow what shes done
54 - strip down and washed up for the night
55 - check bird, he's calm
56 - finally free to search google
57 - searches for data (survival rates, treatment) of bitten birds becomes futile
58 - searches for dog health returns positive, he's always been a healthy bird.

Willow wasn't trying to hurt him, she just wanted to play. Nothing less then any other dog would've done, but she was playful, not predatory. Reminds me, Macy once ate a wild bird, presumably whole, and was fine.


Mike I think is fine injury wise, my primary concern wa the stres of it all. If Willow had really done harm or "bitten him", I think the birds abdominal injury would've looked more like the cut from harakiri or a persons chest slashed with a large knife. Odds are he just had feathers ripped out in the scuffle, b/c I don't think he'd have survived long if it was a serious cut.



But birds can't take a lot of torment, they just can't hold up to it. Extreme fear or stress, or flying into things is really bad for birds. I remember Mrs G (first person we worked for) once told me, that if a humming bird got trapped in one of the orb-webs outside, the thing would die from the ordeal of fighting through it (humming birds are really fragile, nimble creatures with a super rapid-heart-beat).


Mikey must be tough enough to be in this family, 'cus he managed to survive it without dying of shock. At least, I think he would've died a long time before the whole thing ended if he got to seriously into it. Mikey is loud and stubborn enough to prove he's in the right family, so I hope he's got the titanium-disposition to... He drives me crazy at times, but I would never wish him serious harm, I love the little critter.


We got him like May of 2000, and he's been "netted in" to his play area (cage on table, play pin on stack of boxes, cloths rack full of toys) for years. He's a smart little bugger, so I'm sure he could figure out a way out if there is one. Coco also tends to burrow through into the bottom of the netting and sit under his cages-table when it thunder...


Odds are he'll be confined to the cage indefintitly, in case of a repeat performance.I think if he isn't KiA by the time I get up tomorrow, he'll probably be fine unless he gets an infection. But I guess, Willows mouth is probably cleaner then mine is lol :\


It's about ten after 0600, need to be up for work in a few hours... best try for some sleep.



EDIT: He's doing good so far, just missing a lot of tail feathers. He was really pissed off when we got home from work, at having been stuck in his cage. The current problem is what to do next....
By some odd twist of luck, I didn't have to work today lol. I guess GOD knew hw much I was dreading it.... But I still ork the way I was raised. When I was growing up, it was a long time before *anyone* was workin' but I was raised that, work don't stop until you're dead; it doesn't matter if your head is falling off or you feel like death warmed over -- you geet off your ass and go into work. That's the way I was raised, that's what I expect to have to do, even if I'd rather not lol.


One nice thing, I've received a new order, one that opens up quite a lot of possibilities on how I complete it. The jist of it, I had to "fix" the website from using something totally 'insane' to something that both works and works as it say it works... A side effect of that, being the sort order of the ranks changed slightly; most notably screwing up the special assignments wing, cadets, and veterans. So what if I'm listed at the tail end of the mighty page? I've got a lot more important tasks then what I consider a vanity fix for myself; when I could be doing other things that need doing. Well, my new order basically amount to fixing that, and taking the ol'sledge hammer to thing where necessary.


The code involved I think, is copyrighted from 2002, and I know it's been hacked by at least 3 different admin team members since 2005. The code is to dependent upon a set of assumptions about the format of the data it manipulates. So there is no simple or quick fix to it, without digging into it. One good side effect, fixing it *properly* also means fixing a few other things in need of fixing, that I ain't had time for fixing yet lol.



Hmm, maybe Operation Excalibur will happen one of these days just yet... but on a much grander scope then I had originally imagined.

Thursday, October 9, 2008

Work, Swat, Wesnoth, Work, Wesnoth, Work, Swat,... I'll be happy when the weekend comes... Or when I finish this campaign in Wesnoth lol.



Like always, as work increases... E-Mail, Journal, School, Sleep, Games, and Codea decrement their places on my priority list until work levels out again. Just thinking about work tomorrow, just makes me sick. I really need a !@#$2 vacation! No work, no code, no games, no nothing... just blissful rest and relaxation.




Fat chance of that happening within my life time.....

Sunday, October 5, 2008

For one reason or another, I seem to end up browsing /usr/src/ whenever I encounter curious program behaviors, I wonder...


Does this mean, that I would be bored stiff without access to the system sources; or do I just spend *to much* time in front of a code editor lol.

Saturday, October 4, 2008

What I love about English

Unfortinetly I missed a great classic with Bette Davis, but at least I got to catch
National Lampoon's Christmas Vacation, and Fort Apache is on now.




This is the one thing I actually like about the English language:


Clark: Hey. If any of you are looking for any last-minute gift ideas for me, I have one. I'd like Frank Shirley, my boss, right here tonight. I want him brought from his happy holiday slumber over there on Melody Lane with all the other rich people and I want him brought right here, with a big ribbon on his head, and I want to look him straight in the eye and I want to tell him what a cheap, lying, no-good, rotten, four-flushing, low-life, snake-licking, dirt-eating, inbred, overstuffed, ignorant, blood-sucking, dog-kissing, brainless, dickless, hopeless, heartless, fat-ass, bug-eyed, stiff-legged, spotty-lipped, worm-headed sack of monkey shit he is. Hallelujah. Holy shit. Where's the Tylenol?



Christmas Vacations a hilarious holiday film, but it reminds me. If I ever end up conducting something to scale of an old fashioned Griswold Family Christmas, I'll have to remember watch out, for things going so horribly wrong, that even a SWAT team comes crashing through every oriface of the building hahaha. Clark Griswold tries, but some how, every thing just gets royally screwed up lol.


Clark: Where do you think you're going? Nobody's leaving. Nobody's walking out on this fun, old-fashioned family Christmas. No, no. We're all in this together. This is a full-blown, four-alarm holiday emergency here. We're gonna press on, and we're gonna have the hap, hap, happiest Christmas since Bing Crosby tap-danced with Danny fucking Kaye. And when Santa squeezes his fat white ass down that chimney tonight, he's gonna find the jolliest bunch of assholes this side of the nuthouse.


Ahh, that was a good rest :-)

SWAT time + looking at the games enemy weapons

I finally got to play some swat :-)

Spent the day testing a new common-ops load:

  1. MP5 9x19mm Suppressed SMG, FMJ or JHP depending on primary OPFOR
  2. M1911A1 11.43x23mm Pistol, JHP or opposite of primary
  3. 3 M84 Stun grenade
  4. 1 Hornets Nest stingball grenade
  5. 1 Door wedge
  6. 3 C2 breaching charges
  7. Tactical Assault Vest (No Armour)
  8. The games ol'lucky helmet or AN/PVS-7 night vision goggles; depending on lighting conditions and method of engagement


I rather like using no armour in SWAT 4: TSS. When suspects deal 2 times the damage we can, walking around in heavy body armour really doesn't help. Well, if the enemy has an M1911 (many maps give them Bereta M9s) or the sawed of shotgun with the "low" ammo type (50% chance of low ammo). Then heavy armour might save your virtual life, but other wise it's just dead weight. A single AK47 FMJ fired from ~1050 unreal units away, will kill a player wearing heavy armour during a Multi-Player Co-Op game. And worth of note, all but a few weapons have a maximum range of 4000 unreal units, in TSS the exceptions are the Remington M700 Sniper Rifle (remote control only) at 3000uu, breaching shotgun, and the Taser/Cobra (Stringray) stun guns


Suspects always use JHP in these weapons according to the SwatEquipment.ini file fr SWAT 4: TSS:

  • M1911A1
  • MP5
  • MP5 SD
  • Desert Eagle
  • M4A1

and 10% of the time, suspects with FN P90 can get JHP rounds in TSS.


The rest of the time the enemy uses FMJ for clip based weapons (e.g. hg,smg,ar,lmg) and buckshot for round based weapons (e.g. shotguns). Some weapons use a "_LowAmmo" a certain % of the time (Python, M9, SawedOffSG, all come to mind). But generally the only differences between SWAT weapons and Suspect weapons is cosmetic (e.g. no tactical light) and numerical (they get less magazines for reload, not that I've ever seen them reload -- they are smart enough to switch to secondaries in a firefight instead).


All things considered, plus the games ridicules concept of ballistics.... I'd rather have the speed of no armour, then the protection of light armour. Simply put, I don't plan on getting shot often lol. The light armour vest will protect in some situations and in those, heavy armour does better. But most of the time, you get hit, you get dead, so why bother? The ability to cuff, reload, and switch between weapons at a more realistic pace is also worth the trade off in protection hehe.






Weapon popularity in the regular SWAT 4 maps, as noted by 'cmd> grep identifer Content\System\EneemyArchetypes.ini | wc -l'. Note that many suspects (especially terro-type) have access to plenty of weapons and a chance=precentage of how likely they are to use a given weapon type; to control just how often they will use an item in the available weapons list. This is just a summery of how many times a given weapon was specified as available.


Pistols:

M9 found: 43
USP found: 21
PythonRevolverHG found: 14
ScorpionHG found: 12
IngramHG found: 10 (This is basically a MAC-10)
1911 found: 5
Glock found: 0 (Model 17)


Sub Machine Guns:

UMP45 found: 15
MP5SMG found: 13
UZISMG found: 11 (Suppressed)
HK53 found: 9
SilencedMP5SMG found: 0


Assault Rifles:
G36kMG found: 10
M4MG found: 8
AK74suMG found: 8 (Proper name: AKS-74U, U = Ukorochenniy)
AK74MG found: 6

Pump1SG found: 12
SawedOffSg found: 11
M1Super90SG found: 8
M4Super90SG found: 0
Pump2RifleGripSg found: 2


I've yet to check the TSS maps for the enemy weapons though.


The USP40, HK53, AK47, and Colt Python being some of the most deadly of enemy weapons. The Uzi (accurate headshots), Ingram (very heavy bullets), and Scorpion sub-machineguns are also quite hazardous. By comparison, the only weapon available to players in MP Co-Op that really works well, is the AK47 :\. The FN P90 added in TSS helps out, if you are willing to pump in a lot more rounds, heck... I remember on one live op map. I took the P90 because I knew there would be little time to reload, if we had to go dynamic. I ended up using like 32-38 rounds per kill at near maximum range (if not occasionally beyond!) to drop tangos, which is tricky because the weapon is very inaccuate at long range in TSS lol.

They call this a day off work?

  1. waiting on my mother hand & foot
  2. trying to chat with friends
  3. walking two dogs
  4. trying to port some code into my python library
  5. trying to learn a dialect of lisp
  6. tending to chores
  7. hoping to eventually play swat
  8. and wanting to finish that level of wesnoth from the other day

lol


-- written using xfire, python, nvi, and chrome.

Friday, October 3, 2008

Had a nice nap, but a strange dream.

The earliest thing I can remember, was a gathering of family. I remember we were getting into boats and were rowing out, my Grandfather was at the other end of my boat and said something about a everyone taking 'swim'. I said I didn't know how to swim, which is technically true. So plans were changed and the water was covered with this huge blue canvas and we all piled out of the boats and setup for the get together, or whatever we were doing there...


I laid back on the canvas and thought to myself. About how the last time I felt like this without having to worry about the swaying waves washing over me, was years and years ago to when I was about three years old; sloshing about in the huge pool in the back yard with a snorkel, fins, and an inflatable tube. Hmm, it's probably been at least twelve years since I was last in a pool, let along those days lol.


Then it began to rain, so we draped green canvas covers over our 'camp ground' and went about business. Someone asked me to look something up, so I fired up my laptop battery power.As the weather got worse, the group split: some went in search of better shelter, a few stayed; I was assigned to stay put. Sometime later, I got thumped on the head, pulling off the canvas to take a look; I saw that I had been hit in the head by a failing tree branch, and the corner of the area was riddled with such debree.


So I decided it would be better to get out of here, even if it meant getting a bit wet lol. In the ensuring action, which in the real world would've resulted in a laptop yielding electro-shock therapy... The last of the group moved into the building like structure at the center of the area, as the rain got even worse. I helped with setting up the stetting up the ticker storm-guard on the point of entry.


Next my attention turned to food prep and emacs. Then Aunt Ruth and some others were trying to get in, so I removed the storm-thing from the point of entry to let them in, and then was set in search of emacs, xemacs, and another funky coloured pen labeled '3.5.1' or was it '3.5.8', or '3.8.1', or '3.8.5' or something like that; it was supposed to be a fork of XEmacs :\


Why on earth would a Vi-lover dream of emacsen!?




That's when I woke up in a cold sweat, looooooooooooooooooooooooooooooooool.

Thursday, October 2, 2008

Losing the war: On evading lisp

AAGGGGHHH !!!!


Why does Lambda Calculus and Scheme have to be so damn interesting!!!


I need to be kicking myself into a standard tool kit of language+libs+utils, not learning a new one lol. But I have an addiction to learning things :\

Perfect choice from a favorite raido station

If tomorrow all the things were gone,
I’d worked for all my life.
And I had to start again,
with just my children and my wife.

I’d thank my lucky stars,
to be livin here today.
‘ Cause the flag still stands for freedom,
and they can’t take that away.

And I’m proud to be an American,
where at least I know I’m free.
And I wont forget the men who died,
who gave that right to me.

And I gladly stand up,
next to you and defend her still today.
‘ Cause there ain’t no doubt I love this land,
GOD bless the USA.

From the lakes of Minnesota,
to the hills of Tennessee.
Across the plains of Texas,
From sea to shining sea.

From Detroit down to Houston,
and New York to L.A.
Well there's pride in every American heart,
and its time we stand and say.

That I’m proud to be an American,
where at least I know I’m free.
And I wont forget the men who died,
who gave that right to me.

And I gladly stand up,
next to you and defend her still today.
‘ Cause there ain’t no doubt I love this land,
GOD bless the USA.

And I’m proud to be and American,
where at least I know I’m free.
And I wont forget the men who died,
who gave that right to me.

And I gladly stand up,
next to you and defend her still today.
‘ Cause there ain’t no doubt I love this land,
GOD bless the USA.

-- Proud To Be An American, Lee Greenwood

Wednesday, October 1, 2008

Days roaming

Hmm, a most unusual day...


I was invited into the meeting in #pcbsd-team today on freenode. Some interesting discussion, but still a bit boring; well, what can I say? I'm still tight lipped about my own operations ^_^. At least though, the developers are trying to improve things, but there are somethings I keep to myself for the time being. And hope they take care of the more serious things. The whole time I was busy with a SSH session to my laptop, working on code haha! But I did pay good attention while I was present. Somewhat of an odd feeling really, because I've generally kept a good distance from PC-BSD.



As to other business of the day, I've been working on my little 'nag' app. The basic premise of the program, is to take notes, keep them, and when necessary, shout at me about them. In the past, I've tried applications with sticky notes, which usually take control of my second monitor or a spare virtual desktop. I've also tried PIM software, but I find I always end up spending more time in programming the useless thing around my schedule or arguing over portability issues :\. The only problem I have with it, is the choice of either file-system, sqlite, or xml based storage for notes and metadata. The SQLite way would be the fastest for me to write code for; but somewhat a sidestep around my love for accessing data through textual interfaces.


Something like:

~/.nag/
      notes/
            1/
              title
              text
              ...

would be the most fun to have to work with as a user of my own program, which I'd be using daily lol. Actually, it kind of reminds me of the Process File System, but procfs'es usually live in memory only. Standardizing myself around Python for most stuff, has really helped me get work done... Now if only my old friend Perl wouldn't keep starring at me when ever I see the need to process text........



I've also gotten the priority 'go code' on one of my projects in [SAS], at least with this... It's far enough displaced from the old-sludge I have to maintain, that I can actually define it's behavior correctly, and do it in a sane way the first time around. And make sure that this project, will result in something that *will* stand some test of time, without pissing off the next coder!



Now if I could do something about camping out [SAS] Proving Grounds #3 and playing Battle For Wesnoth every chance I get >_>. But hey, I've was stuck in front of a code editor for almost a 4 days straight!!!! Then I had to go back to work :-( :-( :-(, so a lit' game time ain't that bad a change of pace hehe.