Pictbridge Licensing and CIPA Annoyances

While trying to get Blk‘s Sanyo 7500 phone hooked up to some reasonable system for downloading images, I came across the vileness that is the ‘PictBridge’ technology. Wikipedia has an excellent article about this.

The gist is, you can’t talk to a device that uses PictBridge technology unless you pay the Camera and Imaging Products Association some… confusing amount of money for ‘certification’. Their FAQ is confusing, but they say:

An initial application fee for certification of PictBridge compliant products will cost 500,000 yen. It costs 700,000 yen for CIPA members and non-CIPA members. When a logo certification tool is purchased, an additional 1,400,000 yen for printer, 800,000 yen for digital still camera respectively is required.”

What this means is basically if I wanted to write a driver for Linux that would support a PictBridge device – I’d have to shell out $15k or thereabouts, just for the privilege of writing support for their device.

Can someone please tell me how this is a good idea for anyone EXCEPT the CIPA? It sounds suspiciously like a way to not only stifle competition on the device, but also make sure the device standard never gets widely accepted.

GeekState 1.1

After a week of whining about things broken and whys, this has been a day or two of resolution and fixing, so lets put some positive things down on the Geekscale…

  • MythTV
    The MythTV box has been resurrected. Thanks to the joy that is KnoppMyth, and the foresight to put all my ‘file storage’ (music, movies, games, etc) on secondary drives, I was able to rip out the blown drive and drop in a spare 20gigger, and have it up and running in no time.
    Oh, and half a terabyte of storage? Kicks.

    dbs@deathstar:~$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda1              17G  2.3G   14G  15% /
    /dev/hdb1             233G  137G   85G  62% /myth
    /dev/hdd              230G  198G   21G  91% /myth2
    
  • WinXP
    Thanks to Barb’s help, the WinXP box has been rebuilt. Or reinstalled. or something. We waved an XP installer CD at it, and said “Thou shalt rebuild yon self!” – naturally, this didn’t even come close to ‘just plain working’. There’s a whole nother series of rants on the idiocy that is the WindowsXP operating system – suffice to say, at one point I had to boot said KnoppMyth CD on the Windows box _JUST_ to find out what sort of video board I had via lspci. Cuz. Ya know. Windows cant’ just TELL you. That would be… uh. Something.
  • Eclipse
    So, that problem with the ‘Array out of bounds’? Turns out that WTP doesn’t like if you’ve not defined any servers for deployment, and the WebServices WSDL builder gets really ticked off without any targets at all. That was easily fixed. Alas, my workspace (Eclipses’ term for where you do configuration, have projects checked out, etc), finally got too confusing to debug, so we’re trashing and starting over. Fortunately, everything is in Subversion, so there’s really nothing lost. Folks on the Eclipse support channel have been great.

All in all, not too shabby. I can almost feel my productivity coming back to normal! Now, hm, I wonder how my Eve character is doing…

Sidenote – when I was but a young geek, I regularly read Steve Ciarcia’s ‘Circuit Cellar‘ in Byte magazine. Every month he’d talk about all the cool projects he had around the house – stuff he was building, things that worked, things that didn’t. I thought it was one of the coolest lifestyles around. I suspect I’m slowly, inexorably, following in his footsteps. Cept he was a better writer. 🙂

Today in the Book of Why

Friendzzzz, open our K&R to page 32, psalm 12. Today we shall recite from the Book of Why, wherein all manner of faults in life are exposed for cleansing…

Let us begin…

  • Why… did my MythTV primary volume kick the bucket just at the point where I’m ready to start working on some code to interract with it? We thank the powers at Maxtor for not taking the half a terabyte of other storage with it during it’s death throws. Amen.
  • Why… does the Linux kernel decide to number ethernet ports, particularly wireless ethernet ports, in a totally arbitrary way? Booting up may provide us with the mysteries of eth1, or perhaps today it’s eth2, or even something like eth1_someoddtext. Amen.
  • Why… is the Eclipse WTP project, such an awesomely wonderful and fantastic environment, be occasionally revealing itself as ‘not -quite- 100% stable’, particularly when I’m in the middle of convincing a client to use it? Amen.
  • Why… does the Bluetooth stack on the Treo 650 suck so bad? Simple requests for OBEX services cause the phone to crash and reboot. Connections to it are spotty at best, and it offers NO services up to a remote requestor. Makes it very hard to say “Please get my photos off my phone.” It is safe to note that almost every other Bluetooth phone on the market today at least provides a Bluetooth FTP service. The Treo doesn’t even have decency to say “no services”, it simply drops the connection. Amen, dammit.
  • Why… is there no easy way to hit the Tab key in Firefox in a textarea, and have it generate a Tab? Amen.

We shall ponder these life puzzles as we ommm around the coffeemaker and await enlightenment via it’s gurgly goodness.

Google Local Maps – but not for Palm

Glen Daniels write a post about Google Local Maps, a mapping service for ‘smartphones’. I was fairly excited about the prospect, until I realized that said service is only available for platforms that support the J2ME environment, as well as Blackberry devices.
Not Palm.
I’m blown away by this, but I suppose it’s another stake in the heart of the Palm platform. J2ME is ancient technology, has been around since the dawn of virtual machines. Why doesn’t the Treo have support for it natively? The newer ‘smartphones’ are getting more functionality, more applications, and better support than established and IMHO more useful platforms such as the palm.
Convergence my ass.
Edit 4/3/06 – A small update, the J2ME MID library is available for the Treo, but folks are having mixed success. I’m apparently not the only one disappointed in the lack of Treo support.

Join our BOINC Team!

Just a reminder that if you’re a frequent Planet-Geek peruser, you should join our BOINC team. We’re closing in on the top 1000 teams in the world now (we’re at position 1234 at the moment, out of 30,000 teams globally).
.
BOINCstats collects BOINC statistics from all the different projects (Predictor.net, Folding@home, SETI@home, etc), and collates the team data into a global ‘scoreboard’. It’s a neat geek competition.
If you want to join the SETI team, you can do so from the team home page. If using one of the other projects, just search for the ‘Stonekeep’ team.
Put your idle PC to work!

10 Years Ago…

… March, 1996, the world was introduced to the Palm Pilot.
Alexander over at Mobileread, posted a nice little comment about it, including some images gakked from the original advertisements.
I originally poopooed the Palmpilot. Something that had no removable media, no ports (the original units had no IR ports), and no expandability seemed a step backward in computing. But (then) US Robotics did things right, with a hotsync mechanism that worked very well, and a simple, fast GUI for the device. That, combined with an easily adopted development platform, made the Palmpilot a success.
I’ve commented before that I think the Palm line is dying. I have a Treo 650, and enjoy using it a lot, but as computing power grows in the handheld, the old Palm platform is looking long in the tooth. Where optimization and conciseness was necessary to get a stable, fast application into limited hardware, today’s hardware platforms allow for so much more. The Palm event-driven OS is showing it’s age.
Yes, I know there’s Cobalt palm’s mythical next generation platform, but as I’ve said, I feel it’s too late. Windows Mobile wil be the next generation handheld platform.

Firefox Shockwave plugin. What, it WORKED?

Wow. In Firefox 1.5 under Linux, I got tired of “You need a plugin to view this blah blah” messages, and, fully expecting to see a failure, i clicked on the box “FINE, tell me what’s missing.”
And Firefox happily said “Would you like to install the Macromedia Shockwave Plugin?” “Uh, yeah, sure.”
And 30 seconds later, it was installed and working.
Linux isn’t supposed to work this way, is it?

Douse me in alcohol.

There’s certain painful things I must endure in my day to day wanderings along Geek Alley. One of which is that I must interact with a dreaded environment known as Windows XP. Painful as it it, there are things I must do that that loathsome environment can only provide.
I make the best of this unfortunate situation though. My second monitor is my WinXp desktop, and is an excellent place to park either unchangeing or automatically updating pages I’d like to keep an eye on. I have a set of windows showing me network status of all the machines I interact with (You’d think, working at home, I wouldn’t have that large a network – but there’s 2 main servers and a cloud of support machines that really all need to be working to keep Homeport and all the associated domains and services running). I also run a live video session there via OpenWengo. The combination of my Linux desktop (where I get real work done), and the Windows desktop (which is really just an auxiliary display) works well for me.
Occasionally though, I need to do maintenance on the XP box. To give you an idea of how loathsome I consider this, I haven’t even -named- that machine. It’s just ‘the xp box’, whereas all my Linux machines and servers have nice names to personalize them (hunter, endor, myth, boomer, etc). Anyway, today’s task was replacing Firefox 1.0.7, which had gotten fairly unstable (for no knowable reason other than it being old), and upgrading to FF 1.5.0.1. Of course, this means uninstalling the old FF, and getting the new one… since Firefox wasn’t even runnable, there’s only one other option. Run IE.
Now, I’ve never really hidden my dislike of this browser. Not just because the experience of using it is bad, but because it is so riddled with bugs, security holes, and bad design decisions. It is a browser locked into 1998-style thinking. Microsoft has made much noise about IE7 being all new and wonderful and things, but everytrhing I’ve heard, it’ll just be Firefox with an IE label on it. Gosh, tabs! What a concept!
Anyway, I needed to run IE to download the new version of firefox. I feel somehow sullied now, and have the urge to go shower and scrub. Fortunately, it was a short exposure, to a known set of websites. Chances of serious damage or inection are small.

Happiness is…

… getting Amarok to play MP3’s again.
Various n sundry pointerst to Kubuntu Dapper KDE installs pointed at installing libmad and using the gstreamer plugin. I ended up not going down that path, and there I found victory!
What I did was install the Arts MP3 plugin, and told Amarok to just play through Arts, and All Was Well!

libarts1-mpeglib - mpeglib plugin for aRts, supporting mp3 and mpeg audio/video

Yay!

Linux Annoyances du jour…

It’s been noted I tend to fly off the handle a bit at The Worlds Largest Software Company, deservedly or not. But lest you, dear reader, feel I am one-sided in my condemnations, let us touch on some poor decisions made in the Linux camp as well.

Long ago in a college not so far away, it was decided that most of the proprietary Unix tools could be rewritten under the GPL, and made free. The tools chosen for this transition were the very basics of Unix shell operation. The command line programs that us unix geeks use day by day. We’re talking about the GNU Coreutils.

Now, in general, I consider the rewrite to be a good idea. The tools are aptly named – they are the core of the Unix environment. We’re talking ls and who here. Very basic stuff. But naturally, when a couple programmers decides to rewrite something, they can’t help but ‘improve’ on them a little. This means adding some new features, throwing in some little tidbits to make the tool a little more interesting.

None of these ‘features’ was ever really vetted or examined as to whether they made sense or not, they were just tossed in willy nilly, and now are in every Linux and Unix distribution on the planet.

I take as a prime example the addition of the ‘-h’ option to ‘ls’. In it’s basic concept, it sounds like a great idea. Lets add a ‘human readable’ format to display the size of a file. Instead of counting decimal places to find out what order of magnitude a file is, just ‘ls -lh’ it, and you get a readable form:

dbs@boomer:~$ ls -l mbox
-rw-------  1 dbs dbs 8629133 2006-02-23 18:33 mbox
dbs@boomer:~$ ls -lh mbox
-rw-------  1 dbs dbs 8.3M 2006-02-23 18:33 mbox

Simple, eh? Well, sure, except when you realize ‘ls’ is rarely used on just a single file. It’s used to compare and list out large directories, sorting things by size, or getting an overview of what you’re looking at. The bright lights who wrote the ‘-h’ option into ‘ls’ apparently had never considered anything approaching a human interface guideline, so we end up with some serious readability problems. Remember, this is meant to be HUMAN READ. I give for reference, an example directory listing, taken from my home dir:

-rw-r--r--   1 dbs dbs     58 2005-11-23 23:13 cipher.txt
-rw-r--r--   1 dbs dbs    40K 2005-07-05 22:52 claimit-backup.tgz
-rw-r--r--   1 dbs dbs   3.8K 2005-06-28 14:55 claimit.dump
-rw-r--r--   1 dbs dbs   6.6K 2005-07-05 23:48 claimit.tgz
-rw-r--r--   1 dbs dbs   162K 2005-09-09 12:07 commons-collections.jar
-rw-r--r--   1 dbs dbs   3.6M 2006-01-10 10:25 congo-20060109.tgz
-rw-r--r--   1 dbs dbs   4.7M 2005-07-25 22:41 cvsdir.tgz
-rwxr-xr-x   1 dbs dbs   3.1K 2005-11-20 10:55 dbs@boomer.homeport.org
-rw-------   1 dbs dbs   1.8K 2006-01-17 12:11 dead.letter
-rw-r--r--   1 dbs dbs    12K 2005-09-02 12:37 decisions.dump
drwxr-xr-x  20 dbs dbs   4.0K 2004-10-18 12:09 docs
drwxr-xr-x   5 dbs dbs   4.0K 2006-01-13 23:19 dumps
-rw-------   1 dbs dbs    509 2005-07-21 11:56 INBOX.Drafts
-rw-------   1 dbs dbs    22K 2006-02-09 12:52 INBOX.Sent
-rw-------   1 dbs dbs   3.0M 2006-02-22 19:57 INBOX.Trash
  • The formatting is inconsistent. A file that is not an order of magnitude (an ‘M’, or a ‘K’ or a ‘G’), has no extension at all, presuming it means ‘Bytes’. It wouldn’t have been hard to put ‘B’ at the end for consistency, but that didn’t cross their minds. Additionally, some entries include a decimal point (3.0M), and others do not (22K). WHY?
  • The characters chosen are in capitals. This does not differenciate them from the digits in any meaningful way, so it’s very easy to mistake a letter for a digit, and you have to look very carefully to get real information out of the listing.
  • Because of the mixed formatting, it’s almost impossible to, at a glance, determine real file sizes. Looking at that listing, are there any files that look unusually large or small? I can’t tell. Geeks will point out that “well, if you’re looking for large files, you should have sorted by size” – well certainly, if I had a specific question, yes, but what’s the point of making a ‘human readable’ format that a human can’t read?

    This format is now well established in the Unix world, and probably will never go away. I’m assuming some shell hack wrote it 15 years ago on a lunch break, and it will never be removed or updates. ‘ls’ is such a core utility, changing any of its functionality to remove or alter the output will raise a huge outcry from script-writers everywhere, because scripts that had been running perfectly for years will suddenly break.

    Sure this is a small thing. I’m picking nits. But when I see BAD DESIGN decisions, I feel it’s my moral duty to stand up and foam at the mouth about it. Thank you, and good night.

  • Grumpy Geek! T40 Radeon driver twitch

    Okay, I’ll admit it. This is a bit of a rant, as I’ve had a less than stable day, and coming home to annoying system problems is really not what I was up for tonight.
    Faithful readers will know my pet laptop hunter intimately by now. Well, since I did my conversion to Kubuntu, I’ve been pretty ecstatic with stability, constant updates and upgrades, and general “This is a machine I don’t have to think about maintaining, it just keeps itself configured and clean.” And so things had been… until…. (“Quick Bob! Bad guy! Minor key!”) … something changed…
    It took me a helluva long time to track it down. The symptons were the T40 wouldn’t sync right with the external monitor. In dock, out of dock, monitor off when powered up, monitor on but in ‘green’ mode, restarting kdm, some magic combination would make the external monitor come up in the right resolution when I asked it. This HAD been working flawlessly (see my posting on Xorg configurations for some tidbits about it). When I went to Kubuntu, it Just Worked. Now it wasn’t, and I wasn’t sure what was wrong.
    It turns out somewhere in the last 2 weeks or so of constant apt-get upgrades, my driver settings in /etc/X11/xorg.conf got reset back to the opensource ‘ati’ driver. This driver is fully GPLed and opensource, but is not as robust as the driver provided by ATI, called fglrx. I KNEW I had been running fglrx, somewhere it got reset. One change to the ‘Driver’ entry in Xorg.conf, a restart, and voila! I had my external monitor back and functioning.
    What changed, why it changed, and why the apt system didn’t nudge me before changing it, I’m not sure, but it sure made me grumpy. Really the first serious yak-shaving I had to do on this machine since I installed it, so I shouldnt’ complain, but I sure didn’t need it at the end of a yucky day.

    Honda putting out a new Hybrid

    As reported on on Yahoo news :

    TOKYO (Reuters) – Honda Motor Co. (7267.T) plans to sell a low-cost hybrid car, a version of its popular Fit subcompact, a Japanese daily reported, signaling the auto maker’s long-term commitment to the fuel-sipping powertrain.
    Japan’s third-biggest auto maker aims to sell the Fit hybrid as early as next year for around 1.4 million yen ($11,790), or about 200,000 yen more than the gasoline-only version, likely making it the world’s first hybrid to cost less than 2 million yen ($16,840), the leading Japanese business daily said on Wednesday.
    The model could be launched in the business year starting April 2007 and would be sold globally, the paper said.
    The newspaper said the Fit hybrid would have fuel economy comparable to that of the Honda Insight and Toyota Prius, which the auto makers advertise in Japan as getting around 35-36 km to a liter (82-84 miles per gallon).

    The cars.com entry on the Fit has pictures and other details.
    Low teens price-wise, 4 door hatchback, getting 82-84mpg? Now to see if I can actually FIT in it. Hah. I’m such the funny.