April 2005 Archives

Recently Microsoft launched their answer to Apple's iTunes music service, called 'playsforsure'. The word around the coffee machine is that Microsoft will fail in this endeavor, mostly because they offer nothing over what iTunes + the iPod has, save that their service will run on more devices.

Over at Engadget, Ross Rubin has a wonderful column that takes on this topic, and puts out some great commentary...

The only choice that consumers really care about in digital music is choice in content. After all, consumers don’t pick their cable or satellite TV plan provider based on what kind of set-top box they’ll get. They choose based on the kind and number of channels available. And here again, no Windows Media-based store offers a significant choice advantage over the iTumes Music Store; device platform market share means nothing since, unlike with software, there is practically no incremental cost to support a player with a particular piece of content.

One more nail in DeLay's coffin.

Yes, the masses can make a difference. Apparently the GOP yahoos have bitten off more than they can chew. Three months ago, as I had mentioned before, the house Ethics committee republicans made a set of 3 rule changes that were basically designed to protect Tom DeLay from further investigations.

The Daily Kos points to a Washington Post article saying the GOP, realizing they had really pushed things too far, are rescinding one of the rule changes.

The rule being rescinded basically says "If the ethics committee is at an impasse, and cannot resolve it in 45 days, then the complaint is dismissed.

The proposal will include a reversal of the January rule that would automatically dismiss an ethics complaint after 45 days if the committee is deadlocked.

"It's gone," an official said of the automatic-dismissal rule as he emerged from the negotiations.

Since one of the other rule changes is that an ethics complaint can't be moved into an investigation without a majority vote, this isn't really a major victory, but it is a step in the right direction.


Animeboston Ho!!!

| 1 Comment

I'm gearing up for AnimeBoston, which runs this weekend at the Hynes Convention Center.

This is by far my biggest event, tripling the size of my next biggest event. We're even renting hardware! This is the frist time I can't provide all the equipment needed to make things work, so we're working with Rent-a-PC to get a half dozen flatscreen monitors delivered to the hotel.

We start delivering things to the hotel tomorrow (Wednesday), with setup in the ballroom starting at 9am on Thursday morning. Registration opens at 5pm, and by that time we'll have:

  • 3 Fargo Pro badge printers
  • 6 Operator terminals
  • 3-4 Administrator terminals
  • Server and console
  • Receipt printer for on-site registrations
  • 6-10 Kiosk terminals
  • Network and Power for everything.

Yay events :)


Show us yer desktop!

| 1 Comment

This is sort of buzzing about in blogland, sort of the equivelent of a Livejournal Meme.

I've been chattering about setting up my KVM and how things finally turned out. Thought it might be nice for folks to check out my digs.

This is where I spend untold hours a day either coding, browsing, chatting, gaming, but for the most part doing what I do.

The laptop is my IBM T40, which is basically my entire online life :) I do everything on it, from development, to email, to browsing, to chatting, to some gaming.

The Shuttle box has no name, and is a Windows XP box whose primary purpose is running high end games and doing the occasional Windows thing that I can't do under Linux. At the moment, I'm doing some work for a company that is all Windows based, so I have to test / transfer my things under Windows on occasion.

There's a hidden KVM that lets me switch the flatscreen monitor between the two (but nicely, while gaming, I can still keep the laptop screen open and see chat on IRC while I game :)

BTW, the laptop is open because I run mostly wireless, and the antenna on T40's is in the lid. If I close it, the signal strength goes down to where I start getting performance issues, not to mention randomly hopping over to the neighbors un-secured WAP.

And yes, that is in fact a Rokenbok stand that is holding up my laptop and power supply. Normally my printer is under there, but it's getting ready to go to Animeboston.


Apple keeps messing with my head.

| 10 Comments

Once again Apple is using their SINISTER MIND RAY on me.

My mom gets back from Florida next week, so, naturally, I wait until THIS WEEKEND to complete prepping the new Mac Mini for her return. See this article for some of my chatterings about it. In order to make sure everything is in place, I needed to copy all her bookmarks, files, documents, and games off the old iMac gumdrop and onto the new machine.

Now, for a machine that has no removable writable media, this may be problematic. I suppose I could find the files in the directories, ftp them up to my server, and then down again. Or I could set up file sharing between the two, and copy across that way. I groaned at this option. Nothing makes me want to flee to the antarctic faster than "Oh joy! Lets learn aNOTHER way a company redefined network access!"

But several folks said "Wait, just firewire the machine." "Uhh, what?" - I knew what Firewire was - it was that cable / bus system that USB was spanking six ways from Sunday. But I also knew it was tremendously fast, and that Macs used it. Okee, fine. "But the drive in the iMac isn't a Firewire drive."

"Nonono. Just hook the 2 macs together with a firewire cable. On the iMac, hold down 'T' when booting. It'll come up as one big Firewire drive. Trust me."

So I did. I borrowed a cable from Thud, cabled them up, held down the 'T' key on the imac, and hit the power. Lo, the mac turns on, and quickly starts bouncing the little Firewire symbol around on the screen. Going over to the Mac Mini, I see... an icon grinning evilly at me that says 'Firewire drive'. Double-clicking it, indeed, it was the other mac's drive.

Copying files over was trivial - just drag n drop.

Now, doing this procedure on a PC or a Linux box is... well, not possible. The hardware issues alone would cause anyone trying to write this to go quite insane. But Apple has the advantage of owning things top to bottom. Hardware, software, and most of the applications. So they can do magic things like this.

But... single-vendor-solution BAD! Non-free systems BAD! NnnnggggglL! Must resist!


Another great idea on 'solar' power

| 6 Comments

Saw this one over on GizMag...

Want cheap, green electricity? The Australians have a simple answer. First, build a 20,000-acre greenhouse to trap and heat air. Then build a colossal tower 1 km (.62 miles) tall in the middle of it. The warm air from the greenhouse will rise through the tower as it would through a chimney, turning turbines and generating enough electricity to power 200,000 Australian homes. It may sound like science fiction, but the project is on track to get approved by the Australian government. If completed, the $800 million solar tower will be the tallest man-made structure in the world.

Time Magazine had it in their 2002 'Best Inventions' category.

$800 million, powers 200,000 Australian homes, and uses up no fuels, and has very little maintenance. AND the greenhouses can be used for other things - all they have to be is hot. I'll take it!


Summer, 1999.

| 4 Comments

In 1999, my dad rented a house out on Fire Island, and invited the family to come out for a week or so. Zach was less than a year old, and I hadn't seen my sister in quite a while. They came out, and we all spent a week together on the island.

It was an important time for our family. Many of us thought it was the last time we'd see Dad - we knew his health wasn't that great, and wondered if this was his way of saying goodbye. In some ways it was, but he slugged it out another 2 years, including another week out at the house the next summer.

This visit was rough because Zach was so young and needed 100% of both Cat and my's attention, and it was ALMIGHTY hot there - that summer-in-New-England humidity-laden-heat that makes it impossible to sleep well, let alone with a clingy toddler.

I remember when I was there, we actually ended up leaving early (after 3-4 days) because of the sand, heat, and the bugs, and I don't remember anything particularly inspiring about it. But looking back now, it was an opportunity to get a picture like this one, an option we don't have anymore.

In the front is me with Rosie, my dad's dog.

In the back, from left to right, are:

My dad died about 4 years ago now. I think about him all the time.


Music rhythm button smacked but hard.

| 1 Comment

I swear Stevie Wonder is one of the least acknowledged masters of modern music. Radioparadise just served up his beautiful mix of soul and gospel "As". The pattern of... well, it's not really a refrain. It's a series of 12 measures sung gospel style with a female chorus, backing Stevie. The pattern just settles right onto you and you can't help but start dancing to it...

Until the rainbow burns the stars out in the sky
Until the ocean covers every mountain high
Until the dolphin flies and parrots live at sea
Until we dream of life and life becomes a dream
Until the day is night and night becomes the day
Until the trees and seas up, up and fly away
Until the day that 8x8x8x8 is 4
Until the day that is the day that are no more
Until the day the earth starts turning right to left
Until the earth just for the sun denies itself
Until dear Mother Nature says her work is through
Until the day that you are me and I am you
Loving you...

Just dead on the spot for me tonight. Thank you RP!

Full lyrics are here.


Google toy du jour

| 3 Comments

Go to google, or, if you're in Firefox, just click or select the Google search field. Type 'define: something' - something can be anything you're trying to look up.

Google returns with a (usually fairly accurate) guess about the definition of that word, based on other lookups.

Since I've gotten totally annoyed with sites like Dictionary.com and the like (which regularly take 20 seconds just to come up with the input form), this is a great shortcut.


Yet another reason to abandon IE.

| 1 Comment

I spent another chunk of today (probably inappropriately) doing more tuning on the blog. This was inspired by a few articles I was reading on Google AdSense tuning, as well as some other tweaks I wanted to do with the page layout.

This turned into a fairly major series of fixes, including finally replacing the top banner with an appropriate background graphic. Doing so uncovered a problem with the 'date' tabs that I have over each days postings, so that image needed to be re-rendered.

Please do take a chance to visit it and let me know what you think.

I use The Gimp for all my graphic editing, and while it has a somewhat arcane interface, it's undeniably a powerful tool. I re-rendered the tab (6 ways from sunday actually, but that's another story), and posted it.

The problem is that the graphic used for the tabs is a PNG file, a vastly superior file format to GIF and JPG, but one not well supported by IE. Why not? This is still a mystery - it's not like Microsoft hasn't been informed of the problem since IE 5.5, but I digress.

Apparently, there is no fix for a transparent background on a PNG file, particularly when embedded in a stylesheet. I've decided that most of the readers coming to PG probably are using something more capable than IE, and if they're not, the page does render, there's just an odd shadow near the tab itself.

For a demonstration of the PNG fault in IE, here is a set of pages that walk through the problem with transparency support in IE.

I'm still waiting for a realistic reason people are still using IE over Firefox.


Ambient Dashboard - now THIS is cool

| 2 Comments

As mentioned on Boingboing, Ambient Devices makes a nifty retro-esque system for displaying realtime data in a traditional 'analog needle' mode.

The 'Dashboard' consists of 3 analog meters with replacable backdrops. It receives it's data via FM subcarrier, configured via a web browser. You can go to their site and tell your unit what you'd like to display. Current stock market values? Temperature outside? Amount of traffic to your website today? All of these can be represented in realtime.

The Wireless Weblog has a full review of the unit, including information on the subscription service and everything. Just plain neato.

[Edit 11:58am - Sorry bout that, bad tag in the image. Fixed. -dbs]


Web Developer Firefox Plugin

| 1 Comment

I do a fair amount of 'web development', meaning I tend to write things that are viewable via a web browser. Whether they're posted on my blog, or on other sites I sometimes maintain, generally my preferred 'user interface' is a web browser.

I've been using a plugin for quite a while called "Web Developer Extension". It's a set of tools that integrates tightly with Firefox and lets you do all the things a web developer needs to do to make sure his or her application is displaying properly.

The most useful feature I've found is 'Outline block elements' and 'Display ID and Class Detail' - these functions change your displayed page and draw lines around all your block level elements (such as 'div' and 'table' and 'span'), and can also label them with what class and ID they are.

When dealing with multiple nested CSS elements, this sort of display can save HOURS trying to track down what element belongs to what container, particularly when working with content management systems like Movable Type.

The plugin is non-intrusive, and is only triggered when you select it off the menu. I can't imagine doing web development without it.


CSS noodling, PHP coding, and other geek fun.

I've just arisen from my death-like existence for the past 2 days, and it appears I've just about shaken off the evil cold that has had me in it's grips since Sunday night. I wasn't even able to read email for more than 5 minutes without getting woozy. Talk about tragic.

So, in a burst of "I'M BACK!" I've done a bunch of LONG needed updates to Planet-Geek and the MT Comments Counter:


  • Fixed the Comments preview function so it actually renders properly.
  • Revamped the color scheme in the individual archive view - so comments and their authors are no longer in that weird green tint. Not sure what I was thinking there.
  • CSS layout on individual archives and the main page were blocked wrong so it was very easy to have the 'links' sidebar disappear, relegated to the bottom of the page. This should be fixed so that sidebar will only move if you make your browser VERY narrow (comments on this please, I'm only evaluating with Firefox).
  • We still don't have TypeKey support enabled, but we're still working on it! Anyone who has suggestions on how to get it working properly in MT 3.14 I'd love to hear it.
  • On the MTC counter, I've changed from a single-image stream function to generating the graphic totally on the fly. This allows multiple-digit displays for very comment-heavy postings, as well as removing the need for a directory full of graphic images.

A good few hours of noodling. Check it out, let me know if anything needs tweaking, or if things just Look Terrible [tm].


This is pretty cool. Over on GregHughes.net, Greg takes a look a the Discover DeskShop tool, which apparently allows you to do generate one-time Discover card numbers for each transaction.

Pretty neat.


So, let me get this straight.

| 3 Comments

In 1997, 2 years after the Republicans gained control of the house, they changed a key rule in how the ethics committee could start an investigation of a house member. The rule change was that if 50% of the committee requested a probe, then it would happen. That change was so that a single party could not 'block' the investigation of someone in another party.

Sounds good, right? Almost makes sense.

But Tom Delay just changed the rules again. NOW it takes a majority. This rule was put in place when, shockingly, the 10 member committee voted 3 times in 2004 to admonish DeLay, and talk of a probe into more ethics violations by him was rumored. DeLay took decisive action:

After the 10-member committee admonished DeLay three times in 2004 and talk of a possible probe by the committee grew, Republican leadership in the House changed a central rule. The committee can now launch an investigation only if a majority of members support the idea.

DeLay, of course, responded quickly with a rebuttal of these allegations:


DeLay has called himself the victim of "just another seedy attempt by the liberal media to embarrass me" and has lashed out at Democrats for a "strategy of personal destruction."

I think Dianne Feinstein, Democrat from California, says it best:

"What bothers me is the Republicans, when things aren't going their way, tend to try to change the rules."

and Barney Frank continues...

"The Republican Revolution came in [and] changed the rules so that one party couldn't block an investigation of its own member," Frank told NBC. "And when that began to bite, they've changed them back again. That's the pattern, by the way, that the Republicans have engaged in on a whole lot of things."

Frank said he and former House Speaker Newt Gingrich were reprimanded by the committee.

"The difference between us and Mr. DeLay is, I think, we changed our behavior," he said. "Mr. DeLay changed the Ethics Committee."

We've seen this over, and over, and over again. We saw it in Texas with the totally idiotic re-districting.

What does it take to bring this man, and the rest of the Republican party, under control?


Datestamp That Page!

| 2 Comments

The last few years have seen Google replace many other traditional forms as the de facto standard way of doing research. If a question comes up or a person is doing research, invariably the first thing folks do is 'google it'.

While working on my current Java project, I've had to learn a ton of new technologies. Generally the way I do this is google a term or concept and pick which of the answers best seems to answer my question. This works quite well, and in general I get the information I need.

Many times however I'll find a paper, a page, a set of answers, etc that -seem- helpful, but the problem is I don't know when they were written. The person publishing the page simply does not datestamp the page anywhere. This is particularly maddening when dealing with a constantly evolving technology such as Linux or Java. What was 'best practice' or 'the new method for doing [x]' 5 years ago (or even 2 years ago) is no longer the appropriate process.

Too many people are publishing pages that simply don't give a time reference.

The most recent one was when I was looking up information on Linux tablet PC drivers for a set of tablet computers I saw on eBay. That took me to LinuxSlate, a page apparently about, well, slate drivers. Duh. :)

No where on that page is a hint of a datestamp. When was it last updated? How recent is that information? If it's old, then I know to continue looking around for more current documents.

So, for the greater good. if you publish documents or pages detailing in particular technical information for the greater good, fer chrissake, DATESTAMP IT. A footer saying "Last updated: 1/2/33" is all that's needed. Really.

This has been brought to you by the Society for a More Helpful Internet.


New LJ.XML feed.

| 7 Comments

I've just switched my RSS feed into LJ over to the new format I've been working on. This may cause a huge update into LJ, but due to how LJ handles feeds, there's nothing I can do about that.

The new footer has a dynamic counter that shows how many comments have been posted on an article in real time. If you refresh your LJ page, you'll see the comment counter update.

I've also changed the text around a little bit to make it easier to read comments and add new ones.

For those reading via other aggegators, this has replaced the old RSS feed for LJ. If you want to subscribe to it, use http://planet-geek.com/lj.xml.

Feel free to let me know if you have any comments or suggestions or just plain criticisms :)

[Update : apparently it didn't cause a huge cascade. I'm relieved :)]


Some comments on the Mac vs PC vs Apple debate

There was an interesting article posted on Slashdot this morning, pointing to a Windows Guru's impressions of Mac OSX Tiger, the next version of Apple's OS for Macs.

In the Slashdot posting, the author says:

In the article, he actually confesses that he has 'been a Mac fan [his] entire life.' Interesting, considering some of his criticism of Apple's work in the past."

I posted a reply, reproduced here for those not willing to wade into Slashdot's comments forums - a decision I can totally understand :) :

Very few people can dispute that Apple has made some of the sexiest, most interesting systems that have come down the pike. The Mac was a masterful bit of design at introduction, and even though it was looking a bit long in the tooth as MacOS 8 and MacOS 9 were coming along, you couldn't argue that the environment set the tone for making GUI's useable as a primary interface.

OSX is a FANTASTIC piece of software, jumping the Mac platform squarely into Unix land (where we all knew desktop systems should have been all along, right?) while also providing a wonderful desktop experience.

On the other hand, Apple the corporation has made truly painful decisions that have alienated a lot of the 'apple fans'. The one that comes to mind was the decision to cancel the Newton, just when it was showing promise. Apple has a history of driving new technologies through to maturity, and with the Newton 2100, the platform had just gotten to the point of usefulness when it was cancelled. Did this make me less of a Mac fan? No. Did it make me less of an Apple fan? Absolutely.

I have on my desk a Mac Mini (for my mom), an old iMac (to test Safari pages), a Shuttle box running Windows XP, and my primary platform, an IBM T40 running Debian Linux. Of the 4, the most pleasant to work on is the Mac Mini. The most productive is the Linux Laptop. The best for game playing is the XP machine. The iMac is just there to look cool (as cool as purple gumdrops get).

I'm still a fan of Macs. I'm an okay fan of Apple. The OSX decision was masterful. Will I use it as my primary platform? Probably not, the price point on their proprietary hardware is still too high (Thinkpad T40 used: $800. Powerbook of similar power used: $1800, plus OSX licenses).


Insane bicyclists.

| 1 Comment | 1 TrackBack


Inspired by my bikeride posting yesterday, EJbythesea pointed me at this collection of insane bike videos. I've watched a few of them, and in particular the drag race through NYC (linked with the image above) is insane.

On the one hand, I think these people are loopy. On the other hand, I can -totally- see the adrenalin rush from doing this. Predicting all the patterns and knowing that that bus will NOT close the gap narrower than your handlebars, and that person crossing the street WILL stop before you get there, and that car on the crossstreet WILL be gone by the time you get there.

Think I'll go ride some more.

[Edit: there was some bad markup in this, I fixed it, but LJ may take up to an hour to update. Sorry! -dbs]


Review: Tactics Arena

| 2 Comments

Game: Tactics Arena
Language: Flash
Category: Board / Tactics
Tested on: Debian Linux + Firefox
Rating: 5 out of 5
Offered by: Tao Games (link)


Back in the good ole' days, a couple bright lights came up with a new computer board game that was a variant of Chess. The game was called Archon and became a huge success not only due to its novelty, but also because of it's excellent gameplay and presentation. Many folks have fond memories of playing this game for hours on end on Apple and Commodore computers.

While stumbling around looking for tonights entertainment, I found Tactics Arena. This is a Flash based game that comes in as one of the most polished and well done games I've seen seen in a while.

The game consists of playing pieces on a board. The pieces can move, attack, and turn, and when and what they can do depends on their piece type and when they last moved. For instance, a Cleric can cast a healing spell on all your pieces, but can't move again for 4 turns after that. Assassins can attack everything within reach of their space, but can't move for 2 turns afterwards. Sorceresses have a nice area-effect fireball that can be delivered at a distance, etc etc.

The gameplay is very well balanced. It becomes immediately apparent that the key to winning is understanding the full capabilities of your pieces, including their strengths and their weaknesses. An assassin does enormous damage at close range, but has very little defense. A knight can do enormous damage, but doesn't move too fast. You get the idea.

There's not a lot of 'plot' or anything. Basically the gameserver environment consists of 'lobbies' where folks can gather together and challenge each other to games. Players are ranked on a points system similar to Chess (a basic player starts out with 750 points). This just a layer to make the whole system more competitive. Don't let it fool you though. The game is a great head to head, "Lets go play Tactics" with a friend game. The in-game chat is great for snarky commentary ('I knew you were going to do that.'), but doesn't get in the way of the game play.

The chat room(s) are about what you'd expect on an online 'head to head' gaming room with a distinct fantasy bent. A lot of 3l337 yammering, but don't let that fool you. Find a set of players, pick up a table, and go play.

If you like playing chess, and like playing fantasy-oriented tactical games, then this is one you should definately take a look at.


Booyah day!

| 2 Comments | 1 TrackBack

Holy cats what a day.

Zach and I just got back from a great bike ride. This was the first chance I had to pull the 'bent out of storage and get it prepped for riding. It was a little recalcitrant about getting up and working, but liberal application of chain lube and minor rerouting of cables, and things came together nicely.

We took the bikes over to the Assabet River Rail Trail and biked in a sort of see-saw 'start in the middle' pattern up and down and back on the trail. We went through the great tunnel under Rt 290, and made it all the way to Rt 85 just south of Hudson where it looks like the paving has ended.

I do know the paving goes the entire other direction all the way to the center of Marlborough, but Zach wasn't up for that long a ride.

All told we did about 4 1/2 miles on an absolutely beyootiful spring day. It was cool enough that I didn't even notice the heat I was generating, and warm enough that I didn't get chilled, though I did have a sweatshirt on.

I'm thinking of some changes I want to do to the bike as the season ramps up. I think getting a real live functioning computer is going to be required (the first one I had was a Bikebrain (a great idea, btw, but a little pricy and as far as I can tell, no longer supported). The second was a wireless hand-me-down from a friend that really never worked well. I got a wired el cheapo one for my Giant Bike ($17. Whee!) which works fine, but I think I'll need something El Geeko for the 'bent.

Anyone know of folks doing the bike computer thing on a palm still? The only other one I can find is Bikini which seems pretty dated. If I can get something to run on my Kyocera 7135 that's be great (since I'm carrying it anyway). Any pointers?

This was after a very intense 5 hour coding window today, where I really make some great progress on the project for my client. I got very into working some things that I had figured out together, and things just plain worked.

Tonight I think is going to be a relaxing evening, perhaps with an hour or two of Evil Genius.


Remember way back when when I was having problems with the KVM and signal loss?

Well, we're a week and a half later now, and I've changed over to a Zonet KVM3112 purchased from NewEgg for a mere $31.00.

This is a nice little KVM. It's a simple 3" square box that dangles from the cables that comes with cables already attached to the unit The cables are bound with USB connectors as well, so there's only one cable going to each switchable device, and the USB connector breaks out at the end.

At the moment I have it between the Mac Mini and my IBM T40 laptop. I've tried it also between the laptop and the Shuttle PC I use for Windows stuff, and between the Laptop and the Mac, and in every case, the laptop image has a slight shadow to it, while the other machine is crystal clear.

My guess is that the laptop has a weak-ish video signal on the external port (heck, it was never relaly meant to be a desktop machine like this). I've ordered a docking station for it, we'll see if that has a better signal on it. Even without that, though, this is quite useable.

So, the short answer is "When doing KVM work, get a decent unit, don't scrounge. They're not that expensive." I can pretty well recommend the Zonet 2 port switch - very inexpensive, works exactly as planned, and has the benefit of NOT require an external power supply. It switches VGA and USB signals without a glitch, using a keyboard macro (scroll-lock scroll-lock arrow).

I'm using a Microsoft natural keyboard (these things are getting hard to find - 2 stores I went to didn't have them - just flat keyboards), and a Logitech USB mouse. Both of these are patched directly into the KVM, and they're being switched between the laptop and the other system.

Now I just wish I had a 3 port unit :)


The Rokulabs Soundbridge

| 3 Comments

Wow is this thing cool.

I won one of these in a listener giveaway at THE BEST ONLINE RADIO STATION EVUH! (that would be RadioParadise, if you hadn't guessed). It just arrived today, and I had it up and running in literally 30 seconds.

The model I have is a Roku 500 (the 'bottom tier' version). It's basically an embedded linux media player with a nice VFD display on the front. It came with a CF 802.11 wireless card, which socketed right into the side of it. I plugged that in, plugged it into the stereo, and powered it up.

First thing it did was basically go "Hmm. Okay... Homeport, right?" (that being our wireless network name). I hit [Enter] on the remote, and it continued setting itself up. Next prompt was "No music player found. Would you like to listen to online radio? [Ok]" Hmm, well "Ok" [Enter].

Pick a music station *scroll scroll scroll* Oh! Radio Paradise. Sure. [enter]. And voila, I was listening to RP on my stereo.

It's a sexy little unit. It has an automatic updateprocess that let me upgrade the firmware in it in about a minute. I found the whole experience quite surreal, but couldn't help grinning all the way through it.

Chances are we won't get around to setting up the Windows or Mac only 'music server' for quite some time. I suspect the primary use for this thing will be up in our house in Maine so we can listen to DECENT radio stations on the house stereo (can't get much up there in the woods).

If you like your online music library, and you really want living-room-access to online radio stations, this is a great looking and capable unit.


"How do I"? in Firefox...

| 1 Comment

This is a handy reference - a page on MozillaZine acting as an FAQ on 'how do i...' in Firefox.

Very very helpful. One for the bookmarks:

http://forums.mozillazine.org/viewtopic.php?t=197645


Modified RSS feed.

| 2 Comments

I've been annoyed with a problem with RSS feeds lately, particularly when it comes to Livejournal

The problem is that if I post an article to my blog, it gets posted, and then is made available in an RSS feed. The biggest user of this feed is Livejournal, but I have a fair number of folks who read the feed via Bloglines and Sage and the like.

So anyway, folks read the article, but to actually see if anyone has commented on it, they have to click through to the article, and navigate the comments. This is tedious and unwieldy.

There are some hacks that put comments posted on articles into feeds, but then you have to subscribe to the comments feed to see them. Ick.

So over the last few days I whipped up a tool I'm tentatively calling "mtcc" for Movable Type Comment Counter (since it's quite specific to Movable Type) which can generate a graphic image on the fly representing the number of comments on a specific blog post.

Since RSS feeds are not generated dynamically, but -will- render images as soon as the feed is read by the user, the image is pulled from the MT host of the blog with the correct counter embedded in the image. If someone adds a comment, and someone else reading the article via a feed refreshes, they'll see an updated count in the image.

This feed is still in testing, and I'd appreciate hearing comments (and tests!) from people. It's active now, but not available to Livejournal (due to the braindead way LJ handles feeds). I'll publish it as my LJ feed once I get the final version up.

If you'd like to preview it, and you're using an RSS reader already, the feed is located at http://planet-geek.com/lj2.xml


Which ten commandments?

| 2 Comments

In a time when there are judges demanding the 10 commandments be displayed in public venues of justice, it's interesting to ask the question "WHICH 10 commandments?"

Oh, didn't know there were several? Each branch of judeo-christian theology has a slightly different set (some are dramatically different).

This page has a great summary of the various versions.


The Unitarian Jihad speaks!

| 1 Comment

Jon Carroll, of the SF Chronicle posted an 'anonymous mail' he purportedly received from the Unitarian Jihad.

These guys mean business. Check out some of the choice quotes:

Greetings to the Imprisoned Citizens of the United States. We are Unitarian Jihad. There is only God, unless there is more than one God. The vote of our God subcommittee is 10-8 in favor of one God, with two abstentions. Brother Flaming Sword of Moderation noted the possibility of there being no God at all, and his objection was noted with love by the secretary.

Note - no Unitarians were harmed in the creation of this blog posting.


Go go gadget ham radio.

This weekend I finally replaced my aging Yaesu 2meter radio in my car with a much nicer Alinco DR-605 I picked up used off the local MMRA mailing list.

The radio came with a nice dual-band antenna, so I needed to rewire the cable 'snake' that runs down the middle of the car from the dash to the mounting hardware in the trunk. Not a big deal, took about an hour.

It's nice being back on the repeaters. There's a great crew of folks that talk every morning and afternoon, and I can usually join in in the afternoon on the way to Zach's school.

Feel free to drop in. The repeater I'm using is the one located on top of the 'rocketship' in West Marlborough. I'm usually on the 2meter side, 147.270 (see here for the entire repeater listing.)

The 147.270 repeater has ENORMOUS range, and can easily be chatted with from downtown all the way to Worcester, due to it's outstanding location (check out the views from the tower in the above link :)

Anyway, 73's! ... KB1FWR.


The proposal for the DST changes

| 4 Comments

This made the rounds on IRC this morning, and I'm glad to see other forums have picked it up. The gist is there is a plan in place to extend daylight savings time an extra 2 months. The rational behind this is it would decrease usage of oil by 10,000 barrels a day.

I think there are some horrific fallacies and misleading suggestions in this presentation. First, the only rational for this change is energy savings. There's no other argument.

Okay, so we save 10,000 barrels. That estimate came from the Transportation Department (no cites have been given for this). It doesn't take into account other factors, such as increased air conditioning usage in the summer, etc.

Even still, this change would result in a decrease of only 0.05% in daily oil usage. (The US is stated as using 20 million barrels of oil a day.)

This article was posted in Slashdot, and the resulting forum commentary has (oddly enough) brought up some fantastic commentary about the goods and the bads of this proposal. The short answer is, there's almost nothing good about it.

One great suggestion is, if this change is in place, clocks would change within 3 1/2 months of each other. That's 15 weeks between an hour change back and an hour change forward. That's a very tight time schedule.

Why not make the change permanent? Replace the whole process and fix the clocks on Daylight Savings Time and we'll just call it quits there. The folks in Indiana sure would like that (there are sections of Indiana that have no time-shifting at all. Neither does Arizona.)

Here's some choice comments from the forums:


From Wikipedia

There is also a question whether the savings in lighting costs (people just home from work don't turn on the electric lights because there is enough sunlight through the windows) justifies the increase in summertime air conditioning costs (people home from work do turn up the air conditioning during the late-afternoon peak load times, because it's still warm outside). When air conditioning was not widely available, the change did save energy; however, air conditioning is much more widespread now than it was several decades ago.

SeanDuggan sez:


I can't remember where I saw the statistic, but I remember reading that the number of accidents involving motor vehicles sharply increases the week after either DST change. Basically, on the day that people "spring forward," drivers and pedestrians are more exhausted and less likely to be reacting quickly enough. *shrug* And honestly, doesn't the "10,000 barrels of oil" sound like an exact rehash, right down to the amount, of the original DST proposal?

There's a great commentary over at the National Review about this as well. A choice quote from it:


"We're also informed that DST helps conserve energy, apparently because people arriving home when the sun is still up don't switch on their lights. Didn't it occur to anybody that maybe they compensate by switching them on earlier in the morning? Moreover, people who arrive home from work an hour earlier during the hot summer months are probably more prone to turning up their air conditioners. According to Downing, the petroleum industry once was "an ardent and generous supporter" of DST because it believed people would hop in their cars and drive for pleasure -- and guzzle more gas.

But the very worst thing about DST is that it's bad for your health. According to Stanley Coren, a sleep expert at the University of British Columbia, the number of traffic accidents and fatal industrial mishaps increase on the Monday after we spring forward. The reason, presumably, is because losing even a single hour of sleep over the weekend makes a lot of people a bit drowsier on what we might usefully call Black Monday. Unfortunately, there's no compensating effect of a super-safe Monday as we go off DST and "fall back" in the autumn."

And Supernova87a states it succinctly and to the point:


why doesn't congress stop tapdancing around the real issue, and instead pass some well-thought out legislation to reduce wasteful energy use, implement a rational gasoline use tax, and other things that would actually address the real problem? Hm?

So what is the reasoning behind this thing? Oh right. It's politics.


Java+Jboss+Hibernate rant

| 5 Comments | 2 TrackBacks

Warning. This is a rant. This is the result of several weeks clawing up the learning cliff on this environment, and it's really wearing me down. You have been warned.

I'm have a Hard Time [tm] [reg us pat off] implementing stuff in this environment. The complexity level is enormous, and no one really has a good clue on how to do it properly. The level of knowledge needed to implement even a basic application is astronomical, and the number of ways it can possibly go wrong are mind boggling.

The simple thing is, this shouldn't be that hard. I have a JBoss J2EE server. That's an application server environment, you're suposed to be able to deploy your applications into it, and they're in a managed, hosted mechanism. Sounds simple, right?

Well Jboss (as well as other J2EE containers) provide various hooks and services for the applications they host. The problem is, those hooks and services are not well documented, and are so generic trying to fix a specific problem is maddening.

In this case, I'm using the persistent object engine that JBoss supports (Hibernate), and I can't even get a a simple "Create this row in that table" working. Why? Because here's what has to happen to run an application that creates One. Count 'em. One row in a SQL table managed by hibernate.

  1. The sessionbean needs to be created
  2. The Hibernate mappings definitions need to be written
  3. The baseline object for the row needs to be written
  4. The Hibernate configuration XML file needs to be put in place.
  5. The MySQL JDBC connection has be implemented
  6. Jboss needs to be told to provide that JDBC session as a service, and mapped into JNDI
  7. The application archive (EAR) file needs to contain all components of the application, including the deployment descriptors, the servlet definitions for client access, and all the EJB pieces, which are plentiful in their own right
  8. The database has to have the schema configured
  9. The app has to be deployed and you PRAY that that all works when it's dropped into the appserver. Watch the logs for all the errors.

Once that's all deployed, you try it. The servlet is the 'easiest' way to access an EJB, so hit the servlet. The servlet has to call the EJB, which in this case is a Stateless Sessionbean, by far the EASIEST (COUGH) type of J2EE object to work with. The bean in turn is supposed to ask Hibernate for configuation information, session details, and talk to the managed datasource connection in JBoss.

But lo! There's a problem! This is a MANAGED environment. That means it must have transactions. JBoss has it's own transaction manager (JTA), which has to manage all commit/rollback actions. But, since JTA is acting as the manager between Hibernate and the database, certain things can't work. Like, oh, the basic "auto-increment the primary key" id that every database on the planet uses. Hibernate keys data based on a unique key. It comes iwht a simple 'hilo' mechanism that will generate those keys whenever you create a new instance of the persistent object, but THESE DONT WORK IN JBOSS. You have to MANUALLY write your own key generator for every type of object you need to instantiate.

This is INSANE. Now I have to deploy a whole new EJB just to manage the persistent object keys in Hibernate.

"Gosh Dave. That sounds silly. Why doesn't someone write that into the system?"

Why? Because every webpage I find either says "oh, this is easy, just whip up XYZ to manage it." or says "Use XDoclet to create this" (yet another system I'd have to learn just to generate the code to manage the objects i'm creating).

While I understand that huge flexibility in Java is a good thing, this level of abstraction and complexity really is driving me absolutely batshit. I just want to settle down and write my code, but finally, after getting Hibernate to actually CONNECT to the database and show that things are ready, I'm faced with the unhelpful error that looks like this:

12:36:50,522 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: java:comp/env/hibernate/SessionFactory
12:36:50,522 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
12:36:50,532 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
12:36:50,533 ERROR [JDBCExceptionReporter] You cannot commit during a managed transaction!
12:36:50,534 ERROR [JDBCExceptionReporter] Could not save object
java.sql.SQLException: You cannot commit during a managed transaction!
        at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:499)
        at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:451)
        at net.sf.hibernate.id.TableGenerator.generate(TableGenerator.java:126)

It's enough to make you cry.

Update, 1/2 hour later - there's a little-documented function in the Hibernate XML spec. Click through for details.


IWONIWONIWON!

| 1 Comment

Check out RadioParadise!

I had contributed to RP during their recent fund drive, and our name was picked out! (the paypal account is under Cat's name, so that's why it says Catya).

Spiffy keano new toy on it's way!


Tech suggestions for a KVM switch?

| 1 TrackBack

I posted this to a local tech-chat list, but let me also throw it out to the wider blog world...

I just moved to a Belkin desktop video switch to switch between my
Thinkpad running Linux (my primary work machine), and my Windows XP box
(my game machine).

I've noticed an immediate signal degredaton - my monitor is not nearly
as clear as it was. The LCD to switch cable is about 3', and the switch
to laptop cable is about 5' long. I suspect these cables are he
culprit, and I'm going to order shorter VGA cables, but would like the
collective wisdom of TF to comment. Before I get new cables, is this a
good step?

Also, I'm noticing the Belkin is dropping keystrokes pretty regularly -
I can't 100% pin this on the switch but it wasn't happening before I put
the switch in. Has anyne else seen this?

I'd be willing to invest in a hig end vide switch (particularly one that
could take more than2 channels - this model i an F1DZ102T :
http://www.digitallyunique.com/i157737.html ) if I was guaranteed now
gettin video signal loss when everythng was hooked up.

Any help would be appreciated :)


Cedega isn't there yet.

| 2 Comments

I'm a gamer. I admit it. I love gaming, I love playing games on the computer, I love getting into a good game for hours on end. Great escapism.

My most recent interest is playing Evil Genius, which I first played at Ubercon about a year ago. This isn't a new game, and it's not a darling of all the first person shooter Halo nuts. And there, alas, is it's downfall in the eyes of the Transgaming folks.

By the way, dont' get me wrong here. I value highly the work they have done bringing WineX to a commercial product. My problem is that I don't think it'll really work. The obstacles are too high to overcome, the number of games too many, and the number of ways Windows is an unstable moving target in application development terms makes their job (the concept of running Windows games on a Linux platform) unwinnable.

The games that get the attention are the darlings of the hard core gamers. We're talking World of Warcraft, Doom3, Age of Empires, etc etc etc. These are what folks are playing NOW. Transgaming just does'nt have the manpower or resources to go back to games that are 'yesterdays news' or uninteresting.

I bought a Cedega license and will continue to support them, but I feel their mission is not going to be winnable. I'd even settle for useable, but even that failed me while trying to get Evil Genius and other games running.

So far, I've tried 5 different games. The only one that had a hint of maybe working was Warcraft 3, arguably one of the most successful games in the last 2 years. The others simple failed silently, or locked up entirely. Cedega's 'games database' on their site is worthless, and their website is full of unreferenced information and incomplete details.

My advice is, if you want to run one particular game, and it's in Cedega's 'supported games' listing, you might get it running, go for it. If you want to use Cedega as a tool to let you run some of those games you've been missing from your Windows days, you're SOL. Get a video switch, spend $150 on a older pentium box, and just run Windows on it. You'll be a lot happier.


My first political bumper sticker.

| 2 Comments

I was cleaning out the back of my car today, preparing to install a new antenna and new dual band ham radio, when I came across a bumper sticker I had gotten SOMEWHERE, and never really got around to putting on the car.

I'm not a big fan of bumper stickers. They tend to look trashy. This one however is black with white lettering, and fit on the plastic fascia on my bumper, so in the future if I want to remove it, at the very worst I'd replace that piece of plastic.

I can't find the graphic online for it, but here's roughtly what it looks like. On the black car, it's fine, and it really pushed my political "Yeah, this is EXACTLY what I think..." buttons, so I went ahead and put it on.

I like it.

Update - Rosa has the helpful hat today, and reminded me that those stickers came from her mom. Thanks Rosa's Mom!


I can feel my mind going, Dave...

| 1 Comment

My Mom's new Mini-Mac arrived last week, and this morning I set it up to test it out, get the updates onto it, and start transferring her files over to it.

"Well, maybe I'll play around with it a little bit."

Plugged into my nice 1280x1024 LCD monitor, running at 1.25gighz, 512meg, for $550.

Apple may have finally gotten it right.

But, putting Nanosaur 2 and Marble Blast on there were low blows. *stretches after an hour of flying a dinosaur around*.

That wasn't nice.


Twitter

Sponsors!

About this Archive

This page is an archive of entries from April 2005 listed from newest to oldest.

March 2005 is the previous archive.

May 2005 is the next archive.

Find recent content on the main index or look in the archives to find all content.