Friday, February 27, 2009
A curse on all the worlds shitty web browsers
it seems that Firefox 3 runs better under WINE then it does Windows XP or FreeBSD, wtf man? But at least the plugins still suck... haha
Fools Gold
Oh man, it brings backs some memories, I really miss Florida about now...
Something wrong? Why would anything be wrong? We just had sex in a church - and we're not even married - and now we're gonna dig up a grave! I mean, what is that, like a triple sin? I'm surprised we haven't been struck by lightning.
Tess
How crazy can you get? >_>
Sunday, February 22, 2009
So far I've had...
- Random crashes, maybe AI or Geometry related
- Fell though a solid wall -- wow
- the shotgun has become a paper weight; give me a M9
One thing that both pleased, and pissed me off... in the mission to night-sneak into a building a few blocks down, without being detected. I kept perfect stealth until the AI decided to "take point", walk into the light, and get us shot at lol.
The AI also can't cover worth crap.
Two irksome things on one mission, about to drop down a hole and one of the NPC shouts, "think we should flash'em?", and the PC replys, "Hell YES". I had already dropped my flash before the exchange, and guess what -- I drop down, the bang landed in their faces and nothing worked ^_^
The auto-reload on weapons dry, and auto-reload on ammo-box pick up is also as annoying as I remember. When the gun goes dry, ya don't reload - you draw a pistol and keep movin' but, I guess the developers never thought about that. Stumbling over an ammo-box and nearly dying, because you are suddenly stuck reloading a CAR-15 in a shoot-out ain't nice either ^_^
git rules, cvs drools
CVS can go rot in hell, someone actually wrote a real system ;-)
As much as I try to keep my OpenBSD box lean & mean, git is fairly light on runtime dependencies:
Terry@vectra$ cat /var/db/pkg/git-1.5.6.4/+REQUIRING libiconv-1.12 p5-Error-0.17009 curl-7.18.2 rsync-3.0.3
libiconv is required by other things I use, and I believe gettext depends on it, and a lot of stuff uses gettext lol (uh, almost everything). curl and rsync are also useful to have around, and rsync I actually would want installed anyway (just in case I need it someday). So really, there is no serious dependency issue from it, since OpenBSDs standard git package doesn't include the TK gui tools like FreeBSDs does. TBH, although I usually keep tcl/tk on my development systems, I never use tcl or tk-bindings. And I really have no desire to use any git front ends, nor gitk/git-gui for that matter.
Using git after getting used to living with CVS for so long, I can't help but wonder..... why the **** anyone uses CVS anymore. Even Subversion is easier to live with then CVS, but not always a fun thing to install/manage at times, 'least it is well documented (and tirival for cvs users to pick up hehe).
git... simple, effective, fast, and not brain damaged.
Saturday, February 21, 2009
Finally.... I got some sleep.
Now I feel like running a marathon...
Friday, February 20, 2009
This lack of sleep is driving me fscking crazy
http://www.sleepeducation.com/Hygiene.aspx
http://en.wikipedia.org/wiki/Major_depressive_episode
Thursday, February 19, 2009
Pondering near-future operations.
Wednesday, February 18, 2009
A quick conversion from cvs to git
- I store all files related to services under /srv, or provide symbolic links.
- Personal files are stored in a CVSROOT of :ext:Terry@vectra:/srv/cvs/ and are filed under module 'Terry', for lack of a better name lol.
- server is vectra, workstation is dixie; communication done via the Secure SHell protocol.
- I don't use graphical software for these kind of tasks. GUIs are available, but I don't want them wasting my time
- The contents of my personal CVS module will be stored in it's own spot as 'cvs-head' for backup purposes: I have no plans of committing to CVS or merging stuff back into it.
- Access git is more or less just me and occasionally root@hostname, but may be expanded later
OpenBSD server: # su - root ... # pkg_add git cvsps ... # groupadd -g 2005 git # cd /srv/ # mkdir git # chmod 7755 git if you want to lock down the CVS, go to the CVSROOT and revoke write access on your modules files e.g. chmod -R ugo-w fooproject # cd git # git cvsimport -ikv -d /srv/cvs -C cvs-head Terry ... # mkdir Terry # chmod 0750 Terry; chown Terry:git Terry # su - Terry $ cd /srv/git/Terry $ git init ... FreeBSD workstation: $ su - root # pkg_add -r git # pw groupadd -n git -g 2005 -M Terry # exit $ git clone vectra:/srv/git/cvs-head /tmp/Terry $ cd /tmp/Terry; mv * .* ~/ $ cd ~ $ git remote add origin vectra:/srv/git/Terry $ git push origin master ...
In a little while, I'll probably refine things. Originally, I used the old mv file.ext file.c-vN.M and (cd ..; tar cf - project | gzip -c > /tmp/project-N.M.tar && mv /tmp/project-N-M.tar ./project/backups/) style approaches to my stuffs. The first time I went into using a source code management / version control system for a project, I selected Subversion (also known as svn) and enjoyed it quite a lot. Later on, when I decided to start checking in my configuration files, well... I like to keep my OpenBSD box pretty lean & mean; thus I used what came in the base, which was cvs (concurrent versions system). Subversion and CVS are so much alike, that I could live with CVS very easily (after all, it's just my config files and an occasional project). I prefer svn to cvs, but hey, I'm a cheap bastard!
I've been thinking over the merits of Subversion, Bazaar (bzr), and git for various projects. I generally ruled out Monotone on inputs from another programmer, and having a general lack of interest in it myself. I also considered Mercurial (also known as hg), but I'm more familiar with git then hg. One of my friends uses hg for submitting patches to Mozilla and what not, and there is a project I'm involved with that I feel would benefit from using bzr; but either of those would mean a dependency on Python. Despite my levels of fluency in Python, my file server doesn't have need of a scripting language like Ruby or Python; because OpenBSD provides Perl, SED, and AWK. So for me, git is a smaller package and it is just as easy to choose to pickup git as it is bzr. My workstation will always have Python, but that's because I write python code lol.
Several of my various micro-projects use git on my work station, because there is no real need to stick them in the CVS server - and I don't like CVS or rcs enough to employ them for the task lol. I've also considered replacing cvs with git on my laptop, and using it to fire off final commits to the CVS server, but eh... fuck CVS.
Tuesday, February 17, 2009
Tired of shitty software
Firefox3 -- CPU user time usage jumps up the chart just when scrolling a freaking page, often reaching 97% !!! I really didn't like the change over from Firefox 1.5.x to Firefox 2.x but this is ludacris man... (and yes, I almost _never_ restart my web browser, I shouldn't have to, especially when it's as big, fat, and ugly as all Mozilla products!)
cvs -- created a shell function that given a short message, auto-generates the kind of CVS log messages I want in my personal repository; then runs cvs commit -F tempfile. Causes CVS to shout about aborting because you can not specify both a message (as in -m msg) and logfile (as in -F tempfile) at the same time. Yet!!! I checked cvs log, and guess what? The son of a bitch committed it [each time] anyway.
I thought Microsoft's 'ERROR_SUCCESS' error code was funny, but that one is just stupid :/
And I am not even going to dig into things like UE2, XFire, Pidgin, various APIs and mobile devices ^_^. There are just some things in the computing world... that really piss me off; is it to much to ask for some decent software....? Interestingly, almost all of the software that I use, which doesn't piss me off regularly -- is predominantly portable UNIX software. *sigh*
Monday, February 16, 2009
Writer's Block: In a Former Life
Do you believe in reincarnation? If your answer is "yes," describe some of your past lives.
Live Journals Writer's Block
Not really, but if there is such a thing... it would be nice to come back as a cat or a dog.
Dogs get to sleep all day, and don't have to share. Cats get to sleep all day, and always find the best napping spots xD.
Sunday, February 15, 2009
Useful way to pass the time
#!/bin/sh
#
# kill X client by window name
#
if [ -n "$1" ]; then
xwininfo -name "$1" | grep 'Window id:' | awk '{ print $4 }' | \
head -n 1 | xargs xkill -id
else
echo "usage: `basename $0` windowname"
fi
xkillname xconsole and poof - the xconsole window is killed, hehe.
Friday, February 13, 2009
Thank or punch?
Good thing:
learned what a ballistic coefficient is
learned about bullet sectional density and form factor
learned a bit about drag coefficients
found a helpful pseudo-constant for standard gravity
bad:
don't have enough ballistics data
don't have enough weather data
Spent a few hours in thought that I could have spent in game, but enjoyed the process lol. Hmm, I don't think I've tried anything like that since the cows came home.
Thursday, February 12, 2009
Writer's Block: Dream Job
If you could have any job in the world, what would it be?
Live Journals Writer's Block
I would take the BEST job in the entire country. Forget the presidency, it's all about triple dee.
http://www.foodnetwork.com/diners-drive-ins-and-dives/index.html
Come on, Guy Fieri has like the best job in the USA -- crusing in a classic ride, and eating ten times his weight in food xD. Better yet, just being his side-kick would be a great job too! As long as it comes with a chance to eat, hahaha.
Hmm, I can just imagine everyone who knows me, rolling their eyes about now lol. (of course it's gotta involve food)
Wednesday, February 11, 2009
Common Lisp ?
Decisions, decisions ^_^
Today was really, the only chance I had to sleep... but like normal, I didn't
get any rest this morning. Work on the otherhand, went fairly smooth. Came home
and got to record most of my thoughts (and designing a window manager) before
chow time. Later, I just crashed for a nap and woke up a few hours later.
Since then, I've been been experimenting with links / links-hacked / elinks
some more. Really, elinks is almost exactly what I want... except for the lack
of GUI support. links-hacked, hmm I'm not so sure about right now; I just don't
see it's "hacks" as a big enough improvement over links proper. The minimal
adjustments I would need to make to links 2.2, is working with it's cookies,
user agent spoofing (well, not neccessary, but desired), and add a few hooks
here and there (text entries, key to open new window, etc). In links-hacked,
I'm not sure yet. links-hacked seems to have much more primitive text area
handling, and much like how links lacks a key to open a new window
(links-hacked also lacks it!), there is apparently no key to just open a new
blank tab. Like, what kind of idiot makes a keyboard command to close a tab,
but doesn't make one for opening one? (at least, if there is, it sure ain't
documented, and the 't' command from elinks doesn't work in links-hacked). I
suppose, I could always find a way to stick that in...
EDIT: done, it now opens new tab, hehe.
Now that was kind of cool, I'm wondering what open_in_new_tab()s second
parameter does, and why it always seems to get passed NULL as the 2nd
parameter. Sure enough, I checked the function defition again -- and it doens't
use it for jack, hahaha.