Fruddled Gruntbugglies

Enthralling readers since 2005

Author: lpaulriddle

  • DVD Playback weirdness on the Mac

    Well, I burned my second DVD today. I used the same parameters as my first disc, and the burn process was smooth (one thing I forgot.. in iMovie, when you go to auto-create an iDVD project, there’s no way to export only a subset of the actual content in iMovie. You have to physically delete the stuff you don’t want, then export. Bit of a pain, but shouldn’t be an issue for me any more beyond these first two discs — I’ll just do one iMovie per disc from now on).

    After the burn, I popped the disc in the Mac and played some of it back. In one spot, it locked up. The app locked up and the drive seemed to be stuck seeking back and forth. I ended up powering down and rebooting. Tried again, froze up in the same spot. Bad media, maybe? Then, I took the disc home and tried it in my standalone DVD player. The same passage that froze the Mac, played fine in the standalone player. I haven’t viewed the rest of the disc yet, but I’ll do that tonight and see how it fares.

    Seems a little odd that the Mac SuperDrive would have problems playing back media burned on the same drive.. Will have to check this out further.

    Update 1/5/06: The entire disc played fine on my standalone Sony DVD Player. Not quite sure why the SuperDrive is having problems with it.

    Followup: I just burned the exact same movie to another DVD. Playing it back in the Mac now. So far, no lockups (in particular, it did not lock up at the same spot it did with the other disc). I guess the SuperDrive must just not like the other disc. Odd, because the discs are the same brand (Fujifilm) and came from the same pack-of-50. Who knows?

    I did learn something about iDVD today… when you go to burn a project for a second time, it re-encodes the menus and audio, but reuses the encoded video from the first run. This is nice, because it makes subsequent burns go much faster. I was wondering about this at first, because after the initial encoding it leaves the encoded MPEGs (4+ gigs worth) in the project directory. When I initially went to re-burn, and it started re-encoding the menus, I was wondering if it was going to go through the whole 2+ hour encoding process again, and if so, why did it bother saving all that encoded data from the previous run? Well, now I understand.

    This also means that if I want to re-burn the discs at a later date, I should be able to safely delete the (huge) captured video data and just save the iDVD project.

  • Sync stuff working great

    Today I gave the Mark/Space iCal sync conduit a really good workout, and it came through it without missing a beat. First off, I added the LOCATION field to the Oracle Calendar download. I’m not sure why I wasn’t pulling it down originally, I guess it was just an oversight. As a result, I now have location data for my meetings, and a lot of existing entries now have the additional field.

    Next, I created a new calendar that has a bunch of repeating events (various birthdays and anniversary dates). Then I deleted all of the birthdays and anniversarys that I had stored in Oracle Calendar. Finally, I added a couple new events via the Palm.

    In short: Add a new iCalendar field to several dozen existing events, add a new calendar consisting of repeating events, delete a dozen or so existing events, and copy a couple events from the Palm to the Mac, all in one sync. The Mark/Space conduit handled everything without a hitch. The deletions propagated, the new fields were added, and the new calendar was added with the proper recurrence rules.

    This is really the way things are supposed to work when you pay for software: It should work, work well, and work reliably, and if it doesn’t, the company should stand behind the product and either make it work, or refund your money. So far, it looks like the $40 for Missing Sync was money well spent.

    This also makes me curious about event recurrences. The iCalendar spec allows for some pretty fancy recurrence rules. I’m not sure if the Palm Date Book allows that much flexibility. If I were to define a really fancy recurrence (say, an event that happens the second tuesday of every month except March, or whatever) I wonder how that would propagate to the Palm. One of these days I’ll have to try it.

    Incidentally, I created my birthday/anniversary calendar from scratch with a text editor. Then I copied it to my web server and subscribed to it with iCal. It worked fine, and seems to be a good way to handle relatively static calendars like this. The only requirement is that each event needs to have a unique UID. I used UIDs of the form:

    YYYYMMDDTHHMMSSZ-#@concerto.ucs.umbc.edu

    Where # is an ascending number. For the date stamp, I used the approximate time that I created the file.

  • Calendar stuff is up and running

    I’m now up and running with the automatic Oracle Calendar export stuff. The other day I tested the Palm sync stuff out, to make sure event deletions were propagating properly to the Palm. Initially, they weren’t. However, after I followed the instructions that I got from Mark/Space support, everything worked fine. These instructions are worth repeating here, as they may come in handy down the road:

    Go to Missing Sync and hold the ‘option’ key down while you double click on the ‘Mark/Space Events’ conduit. When the settings window appears, click on the ‘Advanced Options’ button and then click on the ‘Unregister Sync Client’ button.

    Then sync, when you do, you will get a dialog box with an orange iSync icon on it. Check the box to erase the device, then click the ‘Allow’ button.

    This appears to erase all the existing calendar data on the Palm, and download totally fresh data from iCal. In any event, upgrading to 5.0.3b6 and then following these instructions solved my sync issues.

    The next step was to automate the export of the Oracle Calendar data. I did this with a cron script. Right now I have the script run every day at 10am, 1pm, 4pm, and 7pm. It connects to the calendar server, downloads updated data, and updates the iCalendar file on the web server. (This runs on my Linux box at work, concerto.ucs.umbc.edu, as user www-data.)

    So far, this appears to be working fine. I plan on keeping an eye on it for awhile to see if there are any issues. With this piece working, I can start to focus on improvements. Here’s the current wish list:

    • Add timezone data to the iCalendar file
    • Download attendee data for a small window of time (maybe 1 month or so starting from current date). Don’t want attendee data for everything, as it makes the iCalendar download take too long.
    • Do I want to treat “declined” events any differently from “accepted”? Right now, there’s no differentiation between the two in the downloaded calendar. Addressing this would mean keying off the STATUS field somehow.
    • Split different types of events into separate calendars. Various event types include “Meetings”, “Daily Notes”, “Day Events”, and “Holidays”. I might also want to separate out “Daily Notes” and “Day Events” that are created by users other than myself; this might be a way of handling the “accepted/declined” issue.
    • Revisit handling of alarms, if necessary.

    A few of these will require tweaks to the actual download process, and the others involve rewriting the iCalendar output in various ways.

  • VNC at Home

    Yesterday I played around a little bit with VNC (Virtual Network Computing) on our home network. VNC can be used (among other things) to pull up a remote desktop on a local machine and treat it as if you were sitting at the remote machine. One of its appeals is that it’s multi-platform, unlike similar technologies like Microsoft’s Remote Desktop Services. At home, VNC’s basic appeal is convenience. For example, while sitting upstairs, I can pull up the display of my basement Linux server to make a quick edit in GnuCash. Another example: When I’m doing our taxes, I can work downstairs in the office (where all our records are), pull up the Windows desktop upstairs, and run the tax software there.

    Installation on the Windows box was straightforward. I just downloaded and installed the distribution from RealVNC, and it installed both the viewer and server. No surprises, and it seems to work great.

    For the Mac.. My only Mac is a laptop, and I can’t really see wanting to connect to it with VNC. Still, I looked into it anyhow. First I tried a product called OSXvnc, which seems to work OK, but then I learned that MacOS 10.4 (Tiger) has VNC functionality built in, so I can use that if I ever need it. What I’m really interested in for the Mac, is a good VNC client. And that’s the weird thing.. Apple includes built-in VNC server support, but they don’t supply a VNC client. And there seems to be no one “defacto” VNC client that most people use on the Mac. There’s one called VNCThing, which was very hard to track down, but appears to work. It appears to be orphanware, though. There’s another one out there called Chicken of the VNC which appears to be a little less stale. Once I’m ready I’ll probably try that one out.

    Next up: The Linux box. First the easy stuff: RealVNC supplies a Linux VNC client that works fine. That brings us to the server. In grand Linux tradition, there is more than one way to do a VNC server, and none of the methods is a perfect solution.

    • Method 1: Creates a totally new VNC X “session” (for example, if the main desktop is host:0, the first VNC session would be host:1). Advantage: modular and efficient. Disadvantage: Doesn’t export your main desktop, so everything has to be done inside the virtual VNC session. To access that, you need to use a VNC viewer even on the host PC. Fine for remote access, but not real efficient for working on the host.
    • Method 2: Export the main X11 desktop using a polling server such as x11vnc. Advantage: works fine, no extra configuration required. Disadvantage: slow.
    • Method 3: Export the main X11 desktop using the VNC module supplied for XFree86 v4. Advantage: ties into the X server itself, so no polling is required and it’s very efficient. Disadvantage: Doesn’t work with direct rendering (DRI module) enabled. If I start the server with both VNC and DRI enabled, the server freezes the first time I try to access it remotely. This seems to be a compatibility issue between VNC and my particular video driver/card (ATI Rage Pro or somesuch, r128 driver). If I disable DRI, it works fine. So, if I want to use this solution, I have to give up direct rendering (which really isn’t the end of the world).

    This is sort of a microcosm of what’s wrong with the current state of desktop Linux. Lots of potential, but lots of interoperability issues. I still haven’t decided which method to use, but I’m sure I’ll settle on one eventually.

    Now that I’ve got VNC working at home, the next step is to get it so I can access my home Linux desktop from work. To do this I think I want to tunnel the VNC connection through SSH. Google turns up lots of tutorials on how to do this, so once I’m back in the office, I’ll try it out.

  • Chores Chores Chores, and a Broken Timer Switch

    Today was a “get stuff done around the house” kind of day, where I basically knocked as many items off my to-do list as possible. Among the fun stuff accomplished:

    I finished winterizing my chipper/shredder, pressure washer and trimmer. The chipper/shredder takes the most time, because I like to break it down, clean debris out of the blade housing, inspect the blade, and lubricate the metal flails. I also clean it off with a blow gun. For the others, it’s just a matter of adding some oil to the cylinder. I like to do this particularly with the chipper/shredder and pressure washer, because they can go long periods of time without being used.

    I drained 2-3 inches of water out of the pool, to get it back below the tile line. This is one of those thankless busy-work type winter chores. However, I’ll take this any day over a pool that is losing water. This winter, I decided to just pump the water back behind the deck, rather than running it all the way out to the side street. It’s much less of a hassle. I thought it would be faster, too, but it still seems to take forever. Best guess is around an inch an hour with my dinky 1/6hp utility pump.

    I noticed that our timer switch, that controls the front porch light, had stopped working. I only noticed because I happened to drive by the house around 2:30pm, and noticed that the porch light was on. I checked the switch and find the display said “No Op”. The switch is basically dead, and the light won’t turn off. I checked the trusty internet, and apparently these switches are basically garbage. Wish I had checked before I bought it. It’s a bit of a surprise, given that I’ve used lots of Intermatic products before, and generally been happy with the quality. However, this particular model seems to be a dud. Which leaves me without a timer for the front light. I pulled the switch out, so the fixture would go off. I guess I need to find a new switch. The challenge with this particular setup is that it’s a 3-way switch, and let me tell you, 3-way timer switches are haaaaard to come by. I have a standard single pole timer switch that I’m not using, so for now I may put that in and just forgo using the remote switch (we never use it anyhow). Long term, I may check into an X10 type switch, but there’s a limit to how much money I’m willing to pour into this. If a working 3-way setup turns out to be cost prohibitive, I’ll probably just live with the single pole.

  • My Never-Ending Basement Plumbing Project

    I’ve got this plumbing project in my basement, that I’ve been working at for what seems like about a year now.

    It started with my wife finding a leaky pipe. The leak was (is) at a copper tee, where a 3/4″ line branches out to 2 1/2″ lines. It was (is) leaking at a rate of a drop every 5 minutes or so. I put a bucket under it. This was last spring or so. The bucket is still there.

    One of the 1/2″ branches goes to an outside sillcock. The original sillcock was unoperational (frozen up, clogged, whatever). So I decided, well, I need to take this all apart anyhow, so I might as well replace the sillcock. So I cut the branch, capped it near the tee, and took out the sillcock and all the old plumbing going to it. Then I routed new copper pipe back to the tee. That was last summer. Over the next couple months, I sweated most of the fittings along the new line. I’m not what you would call an expert at sweating copper, particularly where it comes to valves. Now, I’m at the point where I need to test my new branch for leaks, replace the tee, and connect everything back up. I’m not looking forward to it, so I’m putting it off.

    I’m thinking about pressure testing the new branch to find leaks. Here’s the current plan.

    1. Take a short length of pipe, and sweat a female adapter onto one end
    2. Screw a quick-connect air coupling into the adapter
    3. Attach the other end to my branch using a compression coupling
    4. Attach air compressor, close all valves, crank up to 30PSI or so
    5. Leave it that way for awhile and see if it holds the pressure.

    I figure if I use a compression fitting, that will allow me to reuse this contraption on other projects.

    Once I’m satisfied the branch is leak-free, I can hook it up to the live plumbing, which is what I’m really not looking forward to. For some reason, I find plumbing projects like this infinitely more daunting than electrical projects. See, with an electrical project, if I hit a snag I can usually get away with leaving a branch circuit off for a day or two. Just plug stuff into different outlets, run some extension cords, whatever. This is not the case with plumbing. There is absolutely no way I’m getting away with leaving the water shut off for a day or two. If I screw up, I’m really screwed, so to speak. No, the job needs to get done right, the first time. And anyone who’s ever done plumbing knows that there are always “gotchas” lurking around the corner, waiting to spring on you after you’ve shut off the main and cut all the pipes apart. Then, when you get everything back together, you have to hope that you got everything right and nothing leaks. To me, plumbing has always seemed like more of a crap-shoot than electrical work. This is improving somewhat as I get more experience, but I’m still dreadding this project.

    More (maybe a couple years) later when I get back to this project..

  • Poor Man’s Screen Protectors

    Palm (among others) sells these screen protectors for use with their PDAs. Currently, their web site lists them at $19.99 for some unspecified quantity of them. One came packaged with my E2. It’s essentially a disposable piece of plastic with an adhesive backing. You’re supposed to trim it to fit the PDA’s display, and stick it on. The claim is that it protects the display from scratches and “improves handwriting recognition.”

    At first I wrote these off as totally worthless, but then I tried the included one, and I was surprised to find that it actually does help with Graffiti. I can’t see using it with one of Palm’s older B&W LCD screens, but with the color screens it does seem to make a difference.

    What is a rip-off, is what Palm is charging for what is essentially adhesive-backed sheets of plastic. Always the cheapskate, I went poking around the house, and found a roll of medium-grade sheet plastic that my wife and I bought a few years ago at Jo-Ann. No adhesive backing, but I decided to try it anyhow, hoping that static cling would hold it on the display. I trimmed it to fit, wiped it clean with a damp rag, and tried it out. So far so good. It clings to the display just fine, and seems to work just as well as the real thing. And, I can buy several yards of the stuff (enough to make hundreds, if not thousands, of screen protectors) for less than what Palm is asking for a single pack of theirs.

    Do I rule, or what? I’d better go now, I need to go look for my life.

  • Softick Card Export II vs. Missing Sync Desktop Mount app

    Now that I have an SD card for my Palm, I decided to try out a couple of apps that allow me to mount the card on my desktop computer. I’d like to be able to copy files (mp3s, documents, etc) directly to the card from my Linux box(es). Then, I can write a script to copy mp3 playlists to the device, etc.

    First up: The desktop mounting app that came with Missing Sync. This works as advertised on the Mac, but unfortunately, when I plug into my Linux box it’s not recognized as a USB mass storage device. It might just be a matter of updating the Linux hotplug subsystem to assign the usb-storage driver to the device. But the fact remains that it didn’t work out of the box. I’m not sure if it’ll work at all actually.. the documentation isn’t really clear on how the app works. I’m assuming that somewhere it’s emulating a USB mass storage device, but I’m not sure if the emulation is being done by the Palm app, or the Missing Sync app on the desktop. Next time I’m in the office, I’ll try this out on my Mac there, where Missing Sync is not installed. If it works, then that tells me the Palm app is doing the emulation, and I should be able to make this work under Linux. Stay tuned.

    The next app I tried was Softick Card Export II, which costs $15, but provides a 21 day evaluation. On the Mac, it worked identically to the Missing Sync app. When I tried it on the Linux box, it immediately recognized it as a USB mass storage device, and I was able to mount and browse the card. So if I can’t make the Missing Sync app do what I need, it looks like I can use this.

    The “dark horse” option here is to not use the Palm at all, and just get a USB SD card reader. I’m sure this would work great, but it’s one more gadget I’d need to carry around. If I’m already carrying the Palm around anyhow, I might as well use that. Still, if I’m going to consider shelling out $15 for Card Export II, I might as well price the USB readers as well.

    Update 12/29/05: I tried the Missing Sync desktop mount app on the Mac in my office (where I have not installed Missing Sync) and it didn’t work. So, it looks like I can rule this out as a general desktop mounting solution. I think for now, I’ll go ahead and buy Card Export II (which did work on the office Mac, BTW). I think it’ll always have some utility for me, even if I do eventually pick up a standalone USB card reader (which, BTW, can be had for less than the $15 that Card Export II costs).

  • The Latest on the Calendar Project

    I haven’t had much time to work on the calendar thing lately due to the holidays. That will probably continue into the early part of January, with work shaping up to be pretty busy during this time. However, a week or so ago I went ahead and sync’d my published Oracle Calendar data to my Palm. I encountered two issues: #1, The times displayed on the Palm are kinda wonky due to the iCalendar file having times specified in UTC instead of US/Eastern. iCal shows the events OK. The Palm shows the events at the correct times, but the events are displayed with the UTC times appended. Example: “Big meeting (2:30pm GMT)”. This isn’t the end of the world, but I guess if I want to fix it I’ll need to add timezone data to the iCalendar file. I was hoping to avoid this step as it entails computing start and end times for Standard and Daylight time. Oh well.

    The second problem is a bit more troubling, and I’ve actually contacted Mark/Space support about it. When I delete an event from the published calendar and then re-sync, the event is not deleted from the Palm. I can duplicate the problem with a very simple published calendar with only a couple events, so this is not a problem with the specific calendar I’m using.. it appears to be more general. I tried hard-resetting the Palm and starting over, thinking maybe it had gotten confused after all my previous mucking, but that didn’t accomplish anything (well, OK, it did accomplish something… it happily blew away my address book and all of my TODO events on both the Palm and the Mac. Joy).

    I did hear back from Mark/Space regarding this issue. They suggested trying the latest beta release, and if that didn’t work they gave me a list of steps to follow that will hopefully fix it. I went to download the beta, and unfortunately, it looks like it does not work on my Tungsten E2 (there’s a message there to that effect). I haven’t yet gotten around to trying their other suggested fix. I plan on trying that within the next couple of days, so we’ll see how it goes.

    Update 29 Dec 2005: I went back to the Mark/Space testing site today and found that they had posted a new beta, 5.0.3b6. I downloaded and installed it, and it seems to fix the problem. I haven’t pounded on it yet, but it worked for my simple test calendar. I’m optimistic that it’ll work with my Oracle Calendar data. Will test that out shortly.

  • The TracFone Activation Saga

    My family bought a TracFone prepaid phone as a Christmas gift for my Grandmother. I got the fun job of activating it. Most of these prepaid phones are self-activated using the carrier’s web site, and TracFone is no exception.

    Christmas Day, around 1:00pm: Installed the SIM card and battery into the phone, a Nokia 1100. TracFone must be using a GSM network. Maybe Cingular’s? Anyhow… Went upstairs to the parents’ computer, and went to the TracFone web site to attempt to activate the phone. Nope… TracFone has every URL within their entire web site redirected to a message to the effect of “Sorry you schmuck, we’re too busy to even serve your HTTP request right now, let alone activate your phone.” Tried again around 4:30…. same deal.

    Christmas Night, around 10:15pm: Decided to try again. Now, the phone won’t power up. It seems to be completely dead. Removed SIM card, tried again. This time it powered up and asked for a SIM card. Reinstalled SIM card, and it seemed happy at that point. Hmmm, not too sure about this phone now. Oh well, let’s try activating. Hey! The TracFone site seems to be working now. It prompted me for a couple of long numbers (SIM, ESN, whatever) and a zip code. Then it prompted me for an airtime PIN, which I dutifully entered. Then I get “Sorry, we’re unable to process your request at this time.” Mouthed a few expletives and gave up for the night. Not terribly impressed with the TracFone activation process at this point.

    Day after Christmas, around 6:45am: Phone is dead again. Didn’t initially respond to last night’s trick of removing and reinstalling SIM card. Wondering if the phone is defective. Eventually it decided to power up. Great! Nothing like reliable technology. Tried to activate it again. This time it worked! I was able to program the phone using the instructions on the web site, and it assigned me a phone number. Ten minutes later or so, the phone power-cycled, and immediately thereafter I received a text message confirming the activation. I’m assuming the power cycle was a result of the activation process, and not the phone being flaky.

    Anyhow, I haven’t tried placing a call yet, but it appears to be working now. Jury is still out on the phone itself, though. I think we’ll hang onto it for a few days to make sure it continues working. The powerup issues could have been a result of the phone not being programmed/activated. I guess we’ll see.

    Followup – well, immediately after writing the above, I went upstairs to find that the phone had switched itself off and would not power back up. I’m officially calling it defective. Moral of the story: Don’t buy “reconditioned” mobile phones. I’ll let someone else handle the fun job of calling tech support and spending eternity on hold. My job here is done πŸ™‚