Category Archives: Geek

Geeky stuffs to geek on

Dark Imax and Wii.

This past Sunday some friends and I went down to the Imax theater and saw the Imax The Dark Knight. After hearing from some other folks that “you have to see it in Imax”, I did, and I have to say: not all that impressed by Imax. Sure, the screen is bigger, and I liked that in some scenes, but I was really annoyed by the fact that the movie didn’t use the whole screen the whole time, and every time it shifted one way or the other, it annoyed me. I don’t think I’ll be spending my money on any more Imax shows, as I don’t feel the premium price is worth the return.

After seeing The Dark Knight, those friends and some others met up at Jon’s house for some dinner and some Wii. Gen made us some salmon for dinner, and some blackberry pie for dessert. Yummy nom noms. Steve brought a cake, and I brought cookies, and Jon already had cookies and ice cream, so we also had lots of sweet snacks. Luckily we also had a veggie plate, or the sugar may have made our heads explode.

So, we hooked up my Wii, and proceeded to spend many hours Wiiing together. Between myself and Kevin we had four Wiimotes, so we could get a lot of four player action going. I only had one Wii wheel, though (Kevin had two), so when playing Mario Kart one person had to use the Wiimote as a handlebar instead of a wheel. I am definitely not a great kart driver, but it was a lot of fun, definitely more fun playing with others than playing alone. Later, after about half the group left, we also played some four-player tennis in Wii Sports, and that was also much more fun than I’d have expected. I apparently exerted myself a little too much doing that, though, and have some soreness in my arm.

I’ll say that the commercials are pretty much right, and the Wii makes for a fun party console.

Basic work.

I mentioned previously that I’m working on getting up to speed with both VB.Net and REALbasic, and that REALbasic (RB) seems like a more comfortable fit for me. Well, today I was working on actually getting a real program, if a small one, working in RB, and I accomplished that goal. It’s mostly a simplified (if you can believe that) version of my Dice! die-rolling application, without support for custom die types. It’s now working, and able to roll dice and do math and such things. Wooo!

There was actually a lot of work involved, since the application doesn’t just roll dice, but does math as well, so you can add multiple die rolls and bonuses and such all together at once. That meant I spent a lot of time and effort converting my evaluation engine to work in RB. (And that conversion may not be finished; a few places were very clunky because I don’t know how to type cast, of all things; and I haven’t tested all the features.)

I think I’ll continue working on this app to flesh it out more like the VB6 version of Dice!, which will let me work with objects, other windows, and various other things. It’s a nice learning tool, doing this conversion.

There are a number of things that I’m really missing, though:

  • The Debug.Print system of VB, to better follow what’s going on inside the app at times. I don’t know if there’s anything like this yet in RB, or if I’ll end up writing my own to plug into my various future apps. (I cheated around it this time by writing to an extra edit box on my app window.)
  • Being able to do my own indenting. RB does a decent job, but not entirely in my style. I also don’t like not being able to use the Tab key to move my comments one tab-stop off the end of the text I’m commenting next to.
  • Type casting. It has to be possible, but I haven’t figured it out yet. Probably should search through my book.
  • More useful searching in the Help system. (Searching in VB usually brings up tons of utterly useless stuff; in RB it tends to bring up . . . nothing.)
  • More robust If evaluations. Instead of treating anything non-zero as True, I actually have to make sure that I get a valid boolean result, which is annoying.

I’m pretty sure there were some more, but I can’t recall them now.

For the most part, not too bad a day at all.

Og fix confuser.

I spent most of my day today trying to replace the two hard-drives (striped in a RAID set) in my workstation with a single larger drive. Thankfully I had a full and complete backup, because things did not go smoothly, due to the annoying RAID stuff built into this machine, and my inexperience with it. 

At least it’s all done now, everything seems to be working fine, and the RAID controller should vex me no more. For the curious, the new drive is a Western Digital VelociRaptor (replacing some older Raptors), and Norton Ghost worked like a charm in simplifying the upgrade process. (Ghost would have worked even better if I hadn’t screwed things up at one point.)

Miscellaneous Stuffs.

It’s a light week for blogging, I guess, at least since the new blog. Not a lot new to talk about. I am trying another variation on the blog theme I’ve been using for a while, though.

I’ve been spending most of my programming time split between VB.NET (with the lion’s share) and REALbasic, which I’m also trying to get up to speed on after having owned it for several years now. REALbasic seems to feel more like what I’m used to, although I think I’m going to have to use VB.NET for a number of work projects, regardless. If I can come to terms with some of the feature differences between VB6 and REALbasic, though, I may use REALbasic for a future GCA version. Nothing definite, yet, although I’m pretty happy with a lot of what I’m seeing right now.

I saw The Dark Knight on Monday. It was very good. Nothing profound to say about it. In recent weeks I’ve also seen Hellboy II: The Golden Army, Hancock, and Wanted. Enjoyed all of them. I may be easily pleased; not sure.

Programming silliness.

I started to rant on this a bit in a comment, but changed my mind. Why not make a bigger issue out of it, just for fun?

One of the things that really bugs me about programming, because it’s so damn silly, is starting indexes at 0 instead of 1. Maybe there’s a historical reason for it, but I can’t fathom what it might be. Does this make sense to anyone? Try this:

A: “How many items are there?”
Z: “There are 3 items”
A: “Let’s start with number 0, work through to number 2, and we’ll be done.”

WTF? Nobody thinks like that, ever. Nobody starts counting with 0, because zero is nothing. Yet for some reason, that’s exactly the way you’re supposed to think a lot of the time in programming. How is that useful?

Whati?

Today I spent some time looking at some wikis, mostly MediaWiki (which powers Wikipedia; surely overkill for me, but well known), for possible use on my GCA site. It has become abundantly clear that I’m not getting the technical and advanced help docs done in any sort of rapid fashion (glaciers move faster), so it was suggested that a user-to-user help site, such as a wiki, would be great. I’d resisted such things before, but I think it’s time now.

Anyway, never really having used a wiki before, let alone installed one, it’s a bit to do. I did get MediaWiki installed, but trying to set some of the configuration variables as I think they’re supposed to be set just crashes the thing, instead. Clearly, I have more to learn, but at least I have something that maybe I’ll let folks mess with. I think I’ll see what my beta crew has to say, first, though.

Anyway, something new for me today that isn’t VB.NET related.

Netflix Player by Roku.

A couple weeks ago I picked up a Netflix Player by Roku, which I’ll just call my Roku box or Roku player. What the Roku box does is connect to Netflix to stream movies over the Internet to your TV. It only costs a hundred bucks, and setting it up was incredibly simple. I even connected it to my TV using an HDMI cable to make it even easier, although it doesn’t currently support HD content (perhaps they’ll add that in the future). Connected to my HD TV, it’ll play widescreen movies formatted correctly for the screen, which is an added nicety.

At this time, I’ve only watched one movie using the Roku box, but it worked very well. The quality was better than I expected, looking to me much like the quality I see from many DVDs. I even managed to watch the entire movie without any hitches or pauses, and only saw one tiny artifact. Impressive. I did watch a comedy, not an action movie, so we’ll still have to see how something with a lot of action plays.

The selection at Netflix for streaming isn’t the best, but I still managed to find plenty that I’d be willing to watch at some point. Since I already have an unlimted rental Netflix account, I get unlimited streaming to the Roku box included–no extra charge.

Because the box streams live–and it does not have a hard drive to cache content–you don’t scan forward or backward in the live, full-screen picture. Instead, you see a row of images, like screen shots (or kind of like cover-flow for iTunes), that you can scan through to see where you’re going in the movie. It actually works pretty well, I think. If you scan faster then the first speed setting, you only see the screen shot in the larger middle window, instead of having the other little windows sitting there to show you what’s coming up or passsing behind. I’m probably not explaining it too well, but I think it works well, and again, is a much better solution than I would have expected for a streaming device.

On the whole, I’m really impressed with the Roku player, and for the price, I think it’s a great bargain if you already have an unlimited Netflix account (and you have broadband Internet access). Best of all, you can check out the movies available (and add them to your Instant Queue) and see if you might find the box worthwhile before you spend a dime. If I remember to watch a more action-oriented movie in the near future, I’ll post an update on how that goes.