After more then 8 billion bytes of compressed data has been transfered, I now have *all* of my personal files under one hard disk; and am hoping it doesn’t HCF before I’m done with this lol.

Depressingly, this and a few things in my room, really is the sum of my existence here, isn’t it? *sigh* maybe this wasn’t such a good idea after all.

Everything is archived in the cold storage partition, once it is copied over to an NTFS partition (as FAT32 is havoc on unix file permissions), I’ll begin sorting, colating, and cleansing data. Very annoyingly hulu.com is not functioning correctly at the moment, so I’ve a bit of a battle for something to watch as well!

Once I’ve got all the data setup, it’ll be time to setup information distribution between each box… that’s gonna be tomorrow I am sure, considering the time of night.

Thinking and ramlbing out loud

Because of the games box, any solution needs to be efficient on the network; and only maintain an interesting connection on demand. While the laptop could (and has) put up with NFS/CIFS type solutions, I don’t want it clogging up bandwidth, the desktop is a bad enough piece of shit as it is >_>.

The concept that I was thinking of last year, was using a mixture of CVS and RSYNC to branch and version important files on a host specific basis, although important stuff like my $ENV and vimrc files are made highly-portable, not everything else is, hence the value of a VCS/SCMS. Whilist all the mumbo jumbo about the algoritm used by rsync would be used for mirroring file sets between boxen at login/logout.

I reckon now is a great time to abuse it into working.

Since I began initial testing, I have looong since moved to using Git for all my active projects instead of CVS and SVN. However the master source of everything still is Dixie, that is my laptop! While things have gotten fairly cramped on the desktop, mostly due to development files being shoe-horned into Windows XP; my laptop has plenty of free space, despite having A LOT of software and a plethora of development files.

My file server is still holding quiet nicely:

To days date is: Sun Aug 16 21:34:08 UTC 2009
Terry@vectra$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 147M 41.8M 98.1M 30% /
/dev/wd0h 393M 46.0M 327M 12% /home
/dev/wd0d 98.3M 670K 92.7M 1% /tmp
/dev/wd0g 6.7G 995M 5.4G 15% /usr
/dev/wd0e 148M 40.6M 99.7M 29% /var
/dev/wd1a 11.8G 275M 10.9G 2% /usr/local
/dev/wd1d 44.3G 14.8G 27.3G 35% /srv

wd0 is an old Maxtor 8GB EIDE drive, wd1 is an 80GB EIDE drive. I also have a 40GB disk somewhere with the systems original Windows XP Home install somewhere.

wd1a was used to off load installed software to a second drive; basically a way of moving /usr/local off the original /usr file system. wd1d was created primarily as a sotrage depot for use with NFS/Samba.

In lacking a suitable place to dump crap, and not having a notion to put it under /var; I created a /srv directory to hold data for services. As such, it basically holds my code repositories, backups, and webserver files. It would be easy to rebuild the partitioning on wd1, or just create a new bsd partition:

# disklabel -p g wd1
# Inside MBR partition 3: type A6 start 63 size 156234897
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: IC35L080AVVA07-0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total bytes: 74.5G
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
a: 12.0G 0.0G 4.2BSD 2048 16384 328
c: 74.5G 0.0G unused
d: 45.0G 12.0G 4.2BSD 2048 16384 328
#

‘c’ means the entire disk, meaning there is roughly 17GB held in reserve.

I think I will begin cleaning up stale files in /srv, and moving unimportants to the desktop, which has around 40-50GB of free space for cold-storage.

tbc

I’m feeling one of those moods best marked as, “some people train cockroaches, I write things” in nature.

I think if I don’t find something to do right now, pretty soon I’m going to go stircrazy1. I’m really not in the mood for games, I know it too well… I reckon the best thing atm is continue to kick my operating environment into a higher order of work flow.

Lately a lot of things have been passing through my mind, until the marbles resemble scrambled eggs better then brain cells; and as much as I enjoy thinking, sometimes one can overthink. I’m all thunk out at this point, I can’t take anymore. As such, I really need something to focus on right now…. which is problematic with being driven crackers in this place at every twist and turn :-/.

Since I’ve been spending a lot more time on my desktop lately then my laptop (I miss the late nights with my darling Dixie :'(, but SAL1600 compiles faster). This again puts me in the old boat – sharing data between systems; as well as having to deal with shuffling between tools. After 3 weeks of using Windows XP for development tasks, I’ve learned a few new curse words and how to use the childish cmd.exe for automata needs.

Basically the problem at hand is thus:

  1. operate on the ‘same’ fundamental data set across all ‘working’ environments
  2. be capable of going mobile (laptop), and continue to work even without access to ANY network
  3. make the usage of backup and version control packages more uniform
  4. further refine the Standard Operating Environment (SOE) to my ever evolving needs

The biggest problem of them all, is Windows XPs user interface really kicks a huge freaking battle-ship sized hole in my ideal work flow…. lol. Alas, at least I can always build up tools as I go. GOD bless Perl, Python, and the rest ;). In the end, I hope to likely be using rxvt/rxvt+tpsh or console2+tpsh for my main user environment; rather then console2+cmd.exe and rxvt+screen+zsh.

1 In reading further on this issue, I can’t help but wonder if the way life has been, has influenced why I so often take pleasure in being out in rainy weather lol.

Several hours of testing has shown where the problem lays in regards to the kinks in tpsh’s basic control flow…. a strict ficken implementation lol.

Without a few extra ‘;’ between language elements, the parser doesn’t see the keywords as keywords, and instead they get fed into the code generator as arguments to the preceding keyword. Testing the same test code against the version of bash with MSYS1.0, their shell doesn’t give a hoot, nor should any other bourne-style shell I have access to. So in a way, you could say my code took a stricter interpretation of the sh script syntax, then what is required (and desired).

Somehow this actually makes me feel better, lol.

Also something that needs working on, is dealing with crappy old-style paths like CP/M, DOS, and Windows NT use.

$ P:/Editors/Vim/vim-personal/gvim.exe
tpsh: command not found: P:/Editors/Vim/vim-personal/gvim.exe at S:Visual Studio 2008Projectstpsh-dirtpsh line 883.


$ cd P:

$ P:/Editors/Vim/vim-personal/gvim.exe
tpsh: command not found: P:/Editors/Vim/vim-personal/gvim.exe at S:Visual Studio 2008Projectstpsh-dirtpsh line 883.


$ /Editors/Vim/vim-personal/gvim.exe

$

It seems to have a bit of an issue about drive letters.

In more detail, the search_path() function that converts an external command name into the direct path to it (done in order to avoid a dependency on the systems shell, e.g. /bin/sh or %COMSPEC%), fails to find a valid file when the drive-letter: notation is used. Since the function returns undef to indicate program not found, simply put search_path() needs fixing. The change should be trivial though.

I managed to get some coding in today, maybe that’s why I’m feeling a bit better. On the down side though, my cable connection seems to be running half as fast as normal lately, games were nearly unplayable for much of this afternoon for some reason.

I think my shells codegen branch has lived to the virtual extent of it’s usefulness. Today I sorted a few minor things and enabled nested control flow for statements using the ‘then’ and ‘do’ keywords, e.g. control flow statements can contain control flow statements as well as commands within their block. There are still a few kinks to iron out but the most important are done; I’m currently uncertain if the remaining problem lays in the code generation phase or somewhere further up the processing chain, but I expect it lays in generating the perl code.

Basic conditional flow and looping is ready, which was the primary purpose of this branch of development: to explore implementing the shells scripting language by dynamically generating Perl code for it, as well as replacing the static command sequence executor by generating it as well.

Oddly, the main things that need doing in the short-term are actually script related, rather then interactive. But then again, tpsh has always been meant for interactive usage first and support for batch jobs as a secondary concern. Main points of lacking at the moment, is a concept of “exit status”, in Bourne shell parlance the $? variable isn’t used for a hill of beans yet. Likewise all $variable expansion is done on the fly during tokenization, so:

for X in 1 2 3; do echo $X; done

The value of $x in the loop body would be expanded before the code is evaluated, resulting in the following:

for X in 1 2 3; do echo; done

because X is not defined at the time the statements are being parsed, the expansion is “”.

I haven’t decided how this will be solved yet. Solving it however, is well outside the scope of the codegen branch. I would say the only thing left to do in the branch, is implement the break num and continue num to enable a way out of the while/until loops. The former will take a bit more testing but the latter, is not likely to be to hard. Perl supports a robust way of breaking out of loops that can be easily used. Once that stuff is done, I’ll likely merge the branch into master and move on to other tasks.

Since I’ve been stuck working more often on the NT machine, development of tpsh gets a slightly higher priority lol.

Pondering: should I ever go back (regularly)?

I used to spend a lot of time at the PC-BSD tech support forums (forums.pcbsd.org). As some should know, it is not one of my ‘favorite’ projects for numerous reasons.

I haven’t been active there in I guess, nearly a year now. Should we say, shuffling though like 50 threads a day and being one of the few paying attention got quiet old, when I’ve so much else to worry about after work. Ending up as little more then a spam-patrol man wasn’t very interesting either. Although things have been realitively docile since FreeBSD opened their own forum, I hang my hat over at DaemonForums.org – a place that’s worth visiting.

One of the alarming things about forums.pcbsd.org even while I am inactive, I still have several orders of magnitude more posts then everyone else… Man I used to check that forum several times a day. At one point, I may have been the last skilled snook left, I hope that has changed….

Just woke up about 15 minutes ago, thought I would jot down what I was dreaming before I fall asleep and it washes away. Unfortunately between having to admin our servers and bumping into a few people on IRC, I ain’t so half a sleep any more lol.

I was dreaming that we were visiting a friend of my mothers, when her son Alex and his wife dropped in. I went off to get dressed. The next thing I can remember is walking around Walmart with my brother, we went to get a drink; juice in his case, water in mine. When the jackass tried walking out the door, I reminded him that we had to pay first <_<. I then asked my bro to spot me a dollar, since I forgot my wallet; remembering that it is in its usual place (H.R.P.s purse lol) Almost everyone linked up at the store front, we went out and started to pile into the car; Ma, her friend, my brother, and his ex wife; and to much crap that there wasn’t room for me. I was told to catch a ride with Alex and his wife, and pointed in the direction of the car to wait by, so went towards it.

Only thing is, by the time I’ve crossed the parking lot, it doesn’t seem to be there anymore :/. So I go back inside, only to a few minutes later find that the store has become a Publix instead; so I go back outside and everything has changed: different lot and from night to day. I then see the aforementioned car coming in, and flag it down, and then we all went inside and joined everyone—standing in line at a Chinese restaurant. More people around, including some additional parts of my family.

We stood in line, and then there was something involving in egg plant, but not quiet an eggplant; imagine an Italian eggplant that is smaller and covered in an almost cabbage or spinach like wrapper :-/. Chinese eggplant is smaller, but not like that, in so far as I’ve ever encountered it before…

Fudge, between this and IRC, I’m wide awake now lol.

Writer’s Block: Proven by Science

Do you believe everything has a scientific explanation?

Submitted By mesnyder_92

Live Journals Writer’s Block

I believe that virtually everything has some logical explanation if you are willing to look long and hard enough to find it, but you just might have to be Dutch in order to understand it.

(and no, if you don’t get it, I’m not going to explain it lol)

sigh, woke up a bit early compared to normal, and still about an hour left until it is time to leave for work :-/