Recent blog entries for Krelin

Some of us love it and are good at it (in spite of ourselves).
Some of us don't love it, but are good at it anyway.
Some of us love it, but can't code our way out of a paper bag.
The rest write Java.

-- Brian "Still Working out 'class PaperBag : public Bag { ... };'" Crowder

(s/Java/your_least_favorite_language/)

That's my poem for the day, don't know/care what it means.

My life is directed acyclic graphs lately. I wrote some neat code (imho) for representing sequence-pairs in a 2D bin-packing problem. I'm about 10-20 lines of code away from making it actually do something cooler than build a huge graph and traverse it from left->right and bottom->top. And then some dependency-tree fun at work.

Lots of visitors lately. Trying to get a guy hired (who shall remain nameless for now) to work with me.... wife and I had dinner with him on Friday at the Chart House in Cardiff. They munged my wife's fish (unevenly cooked), but my food was good as was (he reports) his.... the service was miserable. As usual, though, the view was worth it.

Then, the very next day, and old old old friend (whom I have known longer than nearly anyone else in my life -- we went to the same daycare when I was 3-years-old), and her brother joined my wife and I for dinner at The Fish Market (on Harbor Drive, south of the San Diego airport). The food there was excellent, and we laughed so outrageously as to bother the tables nearby.

Sunday, took The Dog to The Dog beach. Cooked a lovely pan-seared filet mignon with boiled/seasoned new potatos. Too much garlic on the new potatos? I can still smell it, in spite of much showering, tooth-brushing, flossing and hand-washing.

Today, we basked at work, in the glow of our recently completed prototype milestone. The game is shaping up nicely, and it is easier to become excited about this thing emerging from the nebula that was hundreds of thousands of lines of code that didn't seem to do much, but now seems to be pretty cool technology. I've been cranking code like a madman lately.

I just met Curt Schilling. At work. Got his autograph, too. Cool, eh?

8 Apr 2002 (updated 8 Apr 2002 at 16:17 UTC) »

Good weekend. The missing hour totally blows; I'm still jet lagged. Might be jet lagged because of the Harry Connick Jr. concert last night.

How come Advogato doesn't allow <dl> tags?

Went to go see Big Trouble on Friday. It wasn't really as bad as everyone seems to be saying. Some parts of it were pretty silly, but it was humorous... written by Dave Barry. I think the timing of the release (with respect to when it was originally meant to be releaed) will probably kill it off quickly, though.

Went to the Dog Beach on Saturday. It was the first time I have been there at low tide. It's remarkably different at low tide. (These pictures there are of high tide, from a previous visit) At low tide, these really unusual mossy-green rock formations are revealed, and the beach itself becomes enormous. It was pretty cool.

Then we took the dog to a "Do-It-Yourself" Dog Wash... that was an adventure. Then we went to go see Van Wilder. Must've been corny-movie week. It was pretty bad, but there were some funny parts.

Somewhere in there, on Saturday, we went to Best Buy and I bought myself a copy of "Dungeon Siege" and a copy of "Jedi Knight 2" (I forget JK2's subtitle)....

Dungeon Siege is a fun game, an RPG of the Diablo/Diablo 2 breed, but in my opinion better done in a number of ways. Their engine is an excellent one, truly 3D and looks gorgeous. The art itself isn't quite up to par (by which I mean to say that individual elements of terrain, fauna, flora, etc. aren't themselves that great) with what one might hope for in a genre where the bar has been set so high by Blizzard, but the engine compensates by displaying a very detailed and textured world, leaving the player with a very immersed feeling. The camera controls are a little goofy, and perhaps the game doesn't really do enough to automate the camera, so you find yourself spending a lot of your time just aiming the camera usefully. The camera might be slightly better if it worked a little harder to keep your party and immediate opponents in view; fortunately most of the time you'll be grouped closely enough not to care (except when your packmule runs off into the darkness of some dungeon while you're surrounded by angry giant-spiders.)

There's a LOT of hack'n'slash in this game; it might be moderated by slightly smaller "dungeon crawl" sessions in between plot/town visits, but the dungeons themselves are interesting, and the monsters are pretty cool.

The combat system is very cool; far less carpal-tunnel-inflaming than the systems found in games like Diablo (I was crippled for days after an evening or two of the original Diablo: *clickety clickety clickety*) or even Diablo 2. The combat system in "Dungeon Siege" allows you to select individual stances for each of your characters which describe fairly thoroughly all of the possible actions you might plan for them to take during your next fight. For example, you can configure your fighter/tank types to charge into the fray fearlessly, while your archers and mages lay back, staying just close enough to use their ranged attacks. Generally this works exactly the way you'd want it to unless you get surrounded. :)

The skills system is very limited (or is it elegant? I haven't decided for sure). You can improve your skill in melee combat, ranged combat (archery, basically), combat spells, or nature spells. That's it. You have three stats, Strength, Dexterity, and Intelligence. Your stats will progress relatively slow, most of my characters, for example, cannot make use of a large portion of the loot I've run into, because the armor and weapons that depend on stats require stats higher than my characters have.

The other inconvenience in the game was the unfortunately small shortcut bars provided for players. Only 4 "weapon" choices, one of which is melee, and one of which is ranged, leaves your casters with only 2 free slots for spells! Switching between spells is a real pain, so having an attack spell, and a heal spell in those slots leaves you having to change spells after combat if you need to transmute items or do some other post-combat spell-casting.

Overall it's a pretty decent game; good graphics, decent art, and very good gameplay. It may be slightly lacking in breadth, and very slightly hampered by overly ambitious level-design (it seems like it's been ages since my party has returned to a town, mostly because it would take me a half-hour to walk all the way back to town... I've been hoping instead to get to the _next_ town -- which means I've been transmuting a lot of my loot instead of loading up the packmule and heading back to town); but otherwise it's quite good, with some very unique and well-designed combat mechanics.

Haven't played Jedi Knight 2 very much yet. The single player game seems remarkably hard and I don't much like the "twitchy-ness" of the Quake3-based engine. There is a lot of combat. You can't sneak through levels as you might have in early volumes in this series. I like sneaking. Having a blaster shoot-out with stormtroopers is only really cool the first couple of times, and then it's just frustrating watching the 'troopers dodge back and forth (becoming almost impossible to hit without wasting huge amounts of ammo). Luckily, they still have artificially horrible aim. :)

Went to see Harry Connick Jr. in concert last night. That was an excellent concert! I'm not even a Harry Connick Jr. fan; the wife dragged me to it. But it was really quite good. A good deal of the concert was spent high-lighting the really talented trumpet/trombone/sax/guitar players in the big band by giving them a lot of free reign to improv. Overall, great fun! So much fun, I was torn between enjoying the concert and regretting that when it ended I would have no way of ever seeing it or listening to it again. :)

I'm still the first "Krelin" in Google. :)

Man, that there was a long diary entry.

I'm the first "Krelin" result returned by google.

I've changed my mind about some of the projects I mentioned in my first diary entry. Guile is no longer cool. It's not threadsafe, its GC is difficult to programmatically control, and FP languages are too bass-ackwards for monkeys (ie. most game designers lacking formal CS education) to pick up and use easily. Oh yeah, and its license is poorly worded and difficult (and not even consistently applied across the source). Finally, the Guile community does not seem cohesive and well-directed. That's only my impression, though.

SpiderMonkey, however, is cool.

Evolution: Still cool, but I'm using mozmail lately, mostly because it seems easier to setup multiple accounts/POP/SMTP servers and combine them in perverse and intriguing ways. Their exchange connector doo-hickey might turn me to the dark side again, though.

Crystal Space is a monster that's too damned hard to build and use. Someone should create a lovely, fast, compact C- or C++-based client-engine (library) for 1st-person games (with a strong eye towards scalability for MMP), in addition to a clean tool chain for extending it (level editors, and such).

SDL still rules.

Mozilla rules more than ever. Especially with TrueType fonts. Gotta love them nightlies, too. :)

Finished Hawking's "Universe in a Nutshell." Not as good as "Brief History of Time" (nor as humorously titled). Some of the math and verbiage is difficult to follow, even with full color graphical accompaniment, and the overall work seems less significant. Nice coffee table book, though, perhaps.

Reading fluff until I can either get my hands on "Carnage and Culture" or make myself focus on "John Adams."

Wife and I are riding the train to work nearly every day, pretty cool.

Someone flipped a tank (yes, a tank. A big giant tank, with a turret and everything) over on an highway off-ramp here in north-county San Diego today.

Why do people on train platforms feel the need to lean out over the tracks and peer anxiously into the distance trying to spot the train? Do they fear that a thousands-of-tons hunk of metal, fuel, and passengers will somehow come to a grinding, screaming halt in front of them, disembark, and then hurtle away into the distance without them, if they aren't alert? Moral: People, relax. The train isn't going to sneak past you.

G'night.

Getting Involved

Well. I recently tried to "get involved," by sending both of my California Senators a polite non-form-letter e-mail regarding the SSSCA. So far, I have recieved only the following form e-mail (and this, as far as I can tell, was not even sent automagically, as I received it several days after my original e-mail):

Dear Mr. Crowder:

Thank you for contacting my office to express your views.

I believe that all citizens should become involved in our legislative process by letting their voices be heard. I appreciate the time and effort that you took to share your thoughts. One of the most important aspects of my job is keeping informed about the views of my constituents, and I welcome your comments so that I may continue to represent California to the best of my ability.

Again, thank you for your correspondence.

Not signed. That was from Senator Boxer's office. It turns out both of California's Senators have previously voted in support of the DMCA, so I doubt they'll be even slightly less predictable with regard to the SSSCA (which has serious implications -- both ways -- for California's economy, no matter how you look at it).

Recently finished reading The Rise of Theodore Roosevelt, and Theodore Rex. Can't wait for Edmund Morris to finish the third volume in this trilogy. TR is truly one of the most dynamic and amazing presidents in our history.

Picked up Stephen Hawking's The Universe in a Nutshell. Want to read Victor Davis Hanson's Carnage and Culture: Landmark Battles in the Rise of Western Power next.

Very busy at work lately, team is finding a very solid direction and moving forward at what seems to be a brisk, useful pace we did not have before, largely thanks to new leadership on multiple levels. I expect to learn a lot about RTS game AI over the next few months.

8 Jan 2002 (updated 8 Jan 2002 at 19:25 UTC) »

Pretty uneventful weekend/monday. Hardly worth an entry. Started playing with a little GTK code last night for a self-instructional project I would like to undertake... GTK doesn't really seem to do dockable windows quite the way I want... or I'm just not getting it. The MSVC feel of dockable windows is really what I'm after.

Went to see Lord of the Rings again this weekend (had to make the wife go). She didn't like it, but I liked it even more than the first time. What a great flick.

Oh, yeah! Also saw "A Beautiful Mind" (what's the proper bibliographic format for a movie title? Italic? Quoted?). That was a very good movie.... Russell Crowe ought to win Best Actor for it, except that the Academy will probably hesitate since they gave it to him last year fo "Gladiator." Really, this is a much more worthy project, in terms of Academy acclaim. Ah well.

Spent the bulk of Saturday shopping (it seems), or runningn errands. Took my dog to the dog park for 2 hours on Sunday... Barely got anything productive or fun done, otherwise. The weather was nice this weekend, though....

Still increasingly amazed by the life of Theodore Roosevelt.... the level of corruption he faced in the New York Assembly at the time he arrived is unbelievable. I wonder if our current political system is actually less corrupt, or simply more cunning/crafty at concealing it? Certainly, I have realized that the concept of a career politician is not a new one (nor necessarily a bad one). Here are a couple of nice (if slightly biased) quotes from TR:

"It is not often that a man can make opportunities for himself. But he can put himself in such shape that when or if the opportunities come he is ready to take advantage of them."

"...the more I see the better satisfied I am that I am an American; free born and free bred, where I acknowledge no man as my superior, except for his own worth, or as my inferior, except for his own demerit."

Now I can take the dog-ears out of those pages of my book... Of course, having slid down a grassy/leafy hill last week ON this book, I am beginning to care less about its pristine condition. :) Normally I am a book-freak.

Well, back to work.

No dear on the coaster this morning. Some nice waves, though. Caught up on laundry last night; getting sick of having heaps of clothes strewn across the floor in the house. More DAoC, more Theodore Roosevelt (he's about to get married for the first time, I think).

Got a free CD from work (God Save The Company), but they have drilled a hole in the jewel-case, to prevent ambitious employees from netting an additional $14/mo in Best Buy merchandise credit. The CD is Train, "Drops of Jupiter," I like the title song, but I think this CD will end up residing in the wife's collection.

Howard Stern says I should boycott France.

3 Jan 2002 (updated 3 Jan 2002 at 17:04 UTC) »

The San Diego Coaster cuts south (at least when I ride it in the mornings), along some of the most beautiful coastline I have ever witnessed. About 20 minutes into the ride, it twists away from the coast briefly and slices through a really amazing, green, lush valley (on the west side of the train). Today, that valley was coated with a fine mist, resting among the scrubby trees and leaving a wispy fog over the small streams and water-inlets that escape from the ocean into that valley. Even better, I actually saw a dear, with very dark markings, racing alongside the train!

I love riding the train.

My right pinky-toe doesn't have enough skin underneath it to stretch out properly, like the other toes. So when it lands on something where it gets stretched, it cracks. This is quite an irritating sensation. I cracked it open last night; it's like having a paper-cut that reopens itself on every step.

Considering upgrading to a newly released version of SpiderMonkey (the Mozilla one, not the Ximian one). shaver says it has many pretty bugfixes. Too bad the Windows build process blows so much.

Still reading Rise of Theodore Roosevelt (he's at Harvard now), and playing too much Dark Age of Camelot. Got the newest edition of "OpenGL Programming Guide" for Christmas, and I really should make myself do a project to master this stuff. I want to do a modellor.

Disregard all previous diary entries. What BS.

All my previous entries, I mean.

Took Coaster in to work this morning, as usual. Hard time waking up, probably because my sleep schedule is screwed from the holidays. Glad this is a 3-day week, I'm not entirely ready to face actual work again yet. Enjoyed having family visit, but it is a lot of work -- don't feel I had much in the way of actual vacation time.

Got Playstation 2 for Christmas (God Save The Company), dig on Grand Theft Auto III, but can't play for too long at one session. Also like The Simpson's Road Rage, which I like to play with my wife. I let her stay close, but haven't yet lost a head-to-head match.

Still playing Dark Age of Camelot, also. (Dark Age of -Camelto- is what I always want to type there) I wonder if I'll get sick of this game.... my newest character is a cleric, and I think I am having more fun with it than with previous incarnations.

Reading "The Rise of Theodore Roosevelt" by Edmund Morris (it's the "prequel" to his "Theodore Rex" recently recieving much acclaim. My dad gave me both for Christmas so I am reading them in order.) I'm not very far along, but it is an excellent read so far. Not as thick and heavy as I expected; reads more like a novel.

Theodore Roosevelt is my hero. What an incredible human being. It's interesting to note that he's probably got very strong symptoms of (what we would now call) ADD. :) His energy is amazing!!! I only wish I could force myself to be that energetic.

It wouldn't hurt to also have a photographic memory, though.

His amazing self-documentation of his life has caused me to re-consider this whole online-journal thing. I need to make myself do this. I also need to make myself report my life honestly. Too many of my entries (and too many other entries here, in general), as I look back on them are either totally devoid of content, total BS, or totally meaningless. It would be more interesting to give a simple , honest report of each day, even if it's nothing more than "Almost missed train. made it. Ate oatmeal for breakfast and lunch. Worked on more spidermonkey integration with sovereign server. went home on train. took dog to dog park where I heard rumors of a woman whose leg was shattered in same park by playing (rampaging) dogs who crashed into it."

I think I may even consider doing a paper journal of some sort, but that would not be as convenient, plus I type faster than I write. Would be cool to be able to add graphical content to my entries, though. Roosevelt took close notes of everything, it seems, including diagrams of interesting animals or buildings sketched into his journal.

Searching for more journal entries of his online, I found only several links/references to entries concerning the death of his wife (first?). Would be cool to have the whole journal from day one available online (in text form, maybe with spelling mistakes, but not in graphical form as scans of the page -- his handwriting is difficult to wade through).

Check out this article my wife wrote. She will be writing one more in the next day or two.

Well, back to work.

Hmmmm.

203.79.149.103, 24.12.234.184, 24.12.81.164, 24.132.159.52, 24.150.136.58, 24.156.152.31, 24.156.49.89, 24.156.96.252, 24.160.52.70, 24.163.36.60, 24.163.57.47, 24.164.244.142, 24.166.137.197, 24.167.75.55, 24.168.52.215, 24.176.100.209, 24.176.52.50, 24.177.166.213, 24.177.32.95, 24.178.103.83, 24.178.7.198, 24.179.84.14, 24.18.126.112, 24.181.145.215, 24.182.88.242, 24.19.102.239, 24.190.146.112, 24.191.25.35, 24.201.189.24, 24.21.112.16, 24.219.93.249, 24.22.184.89, 24.221.211.188, 24.23.77.175, 24.250.161.120, 24.250.161.179, 24.251.15.183, 24.251.176.112, 24.251.188.138, 24.251.22.58, 24.251.224.196, 24.251.238.71, 24.251.242.178, 24.251.52.198, 24.253.205.46, 24.26.91.146, 24.27.171.155, 24.28.204.3, 24.3.150.191, 24.31.211.128, 24.37.35.77, 24.42.103.96, 24.42.120.11, 24.42.250.60, 24.48.66.94, 24.6.66.135, 24.78.132.172, 24.88.60.11, 24.9.92.254, 24.92.163.47, 24.92.192.209, 24.92.199.66, 24.93.103.230, 24.95.151.2

8 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!