Showing posts with label XP. Show all posts
Showing posts with label XP. Show all posts

Friday, December 26, 2014

iTunes 12 and iPhone sync: time to treat OS X like Windows XP (usbmuxd bug)

I’m having so many iTunes 12/iOS Device sync issues with the 7 devices I routinely sync to one iTunes instance, including the usbmuxd file descriptor close bug described by Kelly Wickerson and FdeBrouwer/Oskapt (remind me of a 10.6 bug), that I’m going into XP mode. I really don’t have much hope of Apple fixing their exploding universe of bugs, I think Cupertino imploded around the time Jobs decided to build a monster corporate headquarters.

XP mode means:

  • I’ve bought a six port Anker USB charger to reduce the number of times iOS devices interact with iTunes 12/Mavericks. Much of the time kids devices connect to our USB hub they’re simply charging (I have automatic sync turned off).
  • When I do sync devices, I use the iTunes eject button to remote them. Long ago we needed to do this with iPods. I’m hoping iTunes will close its usb file descriptors when I do this.
  • I’m now rebooting Mavericks nightly. I used to do that with Windows XP, and at this point Apple is roaring past XP into the quality levels of Windows ME. Nightly reboots are the latest hotness.

Update

I wrote about this post and measures taken in an Apple Discussion thread — nothing too harsh. Not only was my post removed, but when I tried a revised post to the thread I got this…

Screen Shot 2014 12 26 at 10 14 23 AM

Yes, banned from the thread. I’ve never seen that before. Apple’s skin is getting thinner.

Thursday, June 27, 2013

Indexing Freemind documents for Windows Search: just add extension as free text

There are a lot of software domains that disappoint me. It's a 'get off my lawn' kind of thing. Enormous excitement about cosmetic changes to iOS 7, but nobody cares about applications for knowledge visualization. Sob.

Sure, there are some good apps for OS X [1] (though even they lack innovation [2]), but my work day is spent in the software desert of Windows 7, a forgotten platform served only by minor vendors slowly degrading once half-decent products.

On the Windows 'mind mapping' front MindManager is expensive, increasingly slow and burdened by feature cruft, and locks data up in a proprietary format. I liked XMIND for a while, but then a software update slowed it to a crawl. It also seems to have been abandoned.

So, lately, I've turned to FreeMind. Not because it's open source and free, not because there's ongoing development, and definitely not because it's a Java app or "cross-platform". I've turned to Freemind because, despite being homely [3], slow to launch, and having an eclectic UI, it has users, performs quickly when it's running, and, above all, it has the closest thing to a standard file format in the industry. A file format that's plaintext.

More and more, I love plain text.

I think I can live with FreeMind -- but only if I can retrieve documents using Windows Search. I live and die by free text search. I took a look at the FreeMind IFilter ($20) for Windows Search, but I was unimpressed with the klunky install and configuration requirements. It had a bad smell.

Fortunately, there's a simple workaround. FreeMind .mm files are plain text (did I mention I love that?). All I had to do was tell Windows Search to index .mm files as free text:

That worked.

[1] I'd love to see OMNI Group enter this market, possibly building on OmniOutliner. I use MindNode on OS X.
[2] Rereading my 10/2011 idea for implementing a graph app atop simplenote nodes I'm sad nobody has done this. If I lose my job maybe I will.
[3] Worse than homely, FreeMind currently has a major usability problem. There's nothing in the UI to tell you that a node has collapsed children. It's quite weird.

Tuesday, March 12, 2013

Tools for diagramming and sketching on Windows


Windows is a broken and barren desert of malware and spyware, but I still need to work in it. Alas, I can't switch at work (yet).

So, when I'm looking for better ways to diagram and sketch, I can't choose from the rich world of Mac alternatives, much less from iOS tools. I need something that will work on Windows -- or on a web platform our corporate software doesn't block (alas, Evernote).

I'm working on my options, but fwiw here's a list I'm assembling. I'll update it with whatever I like, while striking out those I've considered and eliminated.

Windows 
  • OneNote 2010: popular, but tied to Office
  • SnagIt Editor
  • PowerPoint: Too awkward to just use for diagrams.
  • Visio: Expensive, clumsy, overpowered, relearning curve with infrequent use.
Web
Mac/Win

Apple's iCloud control panel enables iCloud Contacts within corporate Outlook

iCloud support is limited to relatively new Macs able to at least run Lion. Practically speaking, Mountain Lion.

Apple is kinder to the Windows world. The iCloud Control Panel will run on Outlook 2007 or later on any old OS.

I suppose they don't have the same sales incentives on the Windows platform. In any event, it seems to work very much like the old MobileMe Control Panel, at least when it comes to Contacts. I installed it on a Win 7 laptop running Outlook 2007 that syncs to Exchange Server and I now have full access to my iPhone/Mac Contacts.

It works by creating a new account, separate from the Exchange account. There are few install options -- you have to sync Calendar, Contacts and Reminders (but not Notes). Just like MobileMe [2] (I suspect some shared code). It also creates an IMAP account.

I had some glitches on installation and had to fiddle with restarting both the Control Panel and Outlook 2007, but now it seems stable. I didn't want the IMAP service so I canceled out of the credentials prompt and deleted the IMAP account.

There's no way to turn off Reminders, so I now sync my iPhone reminders in some puzzling ways -- basically via ActiveSync/Exchange for one set of reminders, via this method for the iCloud set. Weird.

Contacts is what I was interested in and it seems to work. Since Outlook allows only one Group per Contact, and iCloud allows many [1] there are potential problems related to Group assignment. In the case of MobileMe this didn't seem to break anything.

It's great to have all my Contacts at hand, and to able to quickly add to them. As an extra bennie, I get to use Outlook's Contact views. They are old and complex, but they are far more powerful than anything Apple gives me.

[1] Group relationships are kind of messed up between iOS and OS X, but Apple has bigger problems.
[2] At one time MobileMe Control Panel could work with Outlook/Exchange, but then it coulnd't -- which made things hard. This version can, perhaps because it creates a new local account.

Tuesday, November 27, 2012

Windows 7 Search: how to display appointment start date in results

Windows XP full-text search was a back-ported version of Windows 7 search. It was a regression from Lookout (Microsoft Acquired) but an improvement on Windows Live Search. The UI adapted to the result type, so Appointments showed different attributes than Contacts or Files.

Windows 7 Search is another regression, and a big one. When I hit Windows-F for example (only way to really use it), and use Details view (best view), my Outlook Appointments (meetings, etc) show with 'modified date'. That is not particularly useful.

Fortunately there are workarounds. I don't think they are well known, even after I figured this out I couldn't find any posts on this.

One work around is to switch from Details View of search results to Content View (control is a drop down in the explorer bar - right side). Content View shows attributes appropriate for the data type. Enabling the preview bar and you get something like the XP search interface - albeit without column sort or sub-search and, inexplicably, some standard objects can't be previewed on my machine (tasks?).

Alternatively stay in Details View, but right click on the columns (Name, Date Modified, etc). This will produce a very long list of attributes/columns that can be added. For appointments you want "Start date" and "End date" (if you don't know the name, good luck finding them). You can change sort order. You can add selected attributes for other items of interest. The result for many searches will be a sparse matrix, but you can sort by the columns of interest.

See also

Friday, October 19, 2012

VMWare Fusion 5: faster with a single file than with 2GB files?

I've been girding my primary machine for the Snow Leopard to Mountain Lion conversion for about a year. Yes, before ML was released.

Have I mentioned that I hate OS updates?

The good news is that I'm starting to like Mountain Lion on my MacBook Air. I like it enough I'm even considering replacing my main machine's problematic Magic Mouse with a Magic Pad after the conversion. So now I'm closing in on the last steps, including update my historically sluggish VMWare 3 XP image. Today I downloaded a trial version of VMWare 5; annoyingly the download is 5.0 and the first step is to upgrade to 5.01.

During the installation VMWare 5.0 offered to free up disk space; my Win XP VM had again swollen to 120GB [1]. After clean up and conversion it turned into a single 50GB file. This surprised me; I'd previously used 2GB stripes because I hoped Time Machine backup would be less affected. I suspect VMWare strongly prefers the single file model. I also took this upgrade opportunity to tell the VM to use two cores, and I shrank the XP memory allocation to the recommended 512MB [2] and set Windows internal memory management to system controlled (default).

 Probably thanks to the single file, but maybe due to the second core, the XP instance feels much quicker. In particular I'm hearing much less background disk access.

I'll stay with the single file for now, and I'll exclude it from my Time Machine backup. It will be copied by my nightly disk mirror and I'll keep an instance on another local drive.

[1] I shrank it in over a year ago, and use it very infrequently, so this large growth suggests a bug somewhere - VMWare, Windows XP, something about my setup. I'll have to keep an eye on it. I suspect at some point I might want to start over with a fresh XP image, but that's a painful thought. It's probably easier to just shrink the image periodically. In retrospect, I don't recommend converting an existing Windows system into a VMWare image.
[2] I could easily give it 2GB, but I suspect there's a reason VMWare recommends this modest allocation.

See also:

Tuesday, September 06, 2011

Usenet 2: StackExchange and apple.stackexchange.com

A few years back two geek gods, Atwood and Spolsky, put Stack Overflow together. They were responding to the sploggish network of tooth grinding programming support sites of the day.

From that grew StackExchange. For geeks of a certain age, the current 61 sites feel like the 2nd coming of Usenet. (Once Usenet was great. Yes, I know that's hard to imagine, especially since you don't know what usenet is/was).

Among the 61 is the best Apple Q&A site on the web. It's where I look to learn and contribute. It's turbocharged my Google Custom Search engine for OS X search.

Here are a few others that personally interest me ...
Sure sounds like usenet. For example: Science Fiction and Fantasy.

I wish I knew how Jeff & Joel were going to get rich from all of this, but I suspect they have ideas.

Tuesday, August 30, 2011

Migrating Contacts from Outlook/Exchange server to OS X Address Book via MobileMe

For the past year I've had one set of Contacts in Outlook/Exchange server and another set in OS X Address Book/MobileMe. My iPhone pulled in both sets, so they met there. (I'll omit the added complexity of how I sync to Google.)

This worked quite well, but now I need to bring all my Contacts into OS X Address Book. There are several ways to do this [1], but in the midst of some quick Google searches I remembered I'd written about this. I like my approach best, as detailed in two 2009 posts (neither of which rank highly on Google fwiw [2]):

The value of this approach is it uses Apple's own software to manage the Outlook to Address Book translation. The problem is that it requires MobileMe, which is no longer publicly available. I'm hoping Apple will do something similar with iCloud -- assuming they don't shut Windows out entirely.

The software I use is the Contact Sync tool built into MobileMe for Windows. These are the components:

  1. MobileMe (alas, closed to new users ... maybe iCloud will work one day?)
  2. Outlook 2007 running on XP (in my case, in a VM)
  3. MobileMe Control Panel for Windows (no support for Outlook/Exchange, only Outlook standalone)
  4. OS Address Book.

The first step is to get a copy of my Contacts into Outlook 2007 at home.

  1. Clean out all Contacts from Outlook 2007.
  2. Using MobileMe control panel and "sync reset" I sync everything from MobileMe into Outlook 2007.

Second step is to copy my Contacts from Exchange Server to a PST file. This has the added benefit of transforming X400 style email addresses to standard format.

Third step is ...

  1. Back up OS X Address Book contacts.
  2. Add the PST file as a data file and drag and drop Contacts into a subfolder of Contacts (see above articles for details, this is how Apple's sync software treats OS X Address Book Groups -- as Contacts subfolders).
  3. Sync again to get them all to MobileMe and inspect MobileMe.
  4. In OS X sync to get them all to Address Book.

I'm reminded of something I'd forgotten -- how vastly better Outlook is for managing contacts than OS X Address Book -- especially since Microsoft Access can manipulate Outlook contacts. It's reason alone to have my VM keep synchronizing with MobileMe.

[1] CSV export doesn't work very well. There are some utilities that probably work; one reader of mine had success using Plaxo.
[2] A splog that had stolen a post of mine ranked higher than my stuff. Maybe I should start taking Google's ads?

Thursday, July 28, 2011

Restoring an XP backup (.bkf) file in Windows 7

Based on a long history of problems with copying GBs of data over the LAN, I decided to move my data from a corporate XP box to a Win 7 box using XP Backup. That old utility is stone simple, but for me it's been fast and reliable.

I mounted a share on the W7 machine then ran backup to put every bit of my old machine into a .bkf file on the new machine. From there I'd unpack at leisure. In a month or so, once I'm satisfied I've not lost key data in a crevice of XP, I planned to delete the .bkf file.

Naturally, I did a small test first.

Obviously, or I wouldn't be writing this, the test failed. Windows-7 no longer supports restores from XP backup files.

I was open mouthed. This is the sort of middle-finger gesture I'm used to getting from Apple. Whatever their many, many faults, Microsoft has always been kinder to data. The formats are usually proprietary, but at least they're supported.

I couldn't believe it, so I looked further.

Happily, my faith was justified. You can now download a Microsoft Win 7 utility that will restore from a .bkf file. Description of the Windows NT Backup Restore Utility for Windows 7 and for Windows Server 2008 R2. It worked for me.

Tuesday, October 26, 2010

Speeding up my sluggish XP Fusion VM

When I gave up my last XP machine, I created a VM from the disk image. It worked, but the performance was poor. My XP VM on an i5 iMac was quite a bit slower than a Windows 2000 VM on my much less powerful MacBook.

It took me a while to speed things up. I removed some custom settings for the Windows swap file and I gave the VM more cores. I upgraded my system memory that helped too; I gave the VM more RAM.

Even so, I could hear much more disk activity than I liked and file saves were often slow. I don't use the VM for much, so I took my time on fixing this.

More recently, I got some help from VMware KB: Troubleshooting Fusion virtual machine performance for disk issues.

I found the VM had inherited 35% fragmentation from the old disk (I'd also made it too large). I used XP's built in defrag to fix that. Then I ran VMWare Fusion's cleanup utility, and I flipped my VM from 2GB files to a single large file.

It's fine now; as fast as I need it to be (not much!).

Sunday, September 19, 2010

Installing from an ISO file for OS X VM hosted XP - use Disk Mounter

This is fun, but geeky.

I run XP in a Fusion 3.1 VM so I can use PowerPoint 2007 (PPT 2008 for Mac is a disaster,my dept requires PPT)  and a few other ancient Windows apps (Quicken, Access) with no Mac equivalents.

Recently I had to install from an ISO file. There are lots of ISO mounting solutions for Windows (not needed for Vista/7?), but I didn't need to bother. OS X Disk Utility (Mounter) will mount an .ISO file, just double click on the file.

I mounted the ISO file in OS X 10.6, then in Fusion I shared it into the Fusion environment.

Sweet.

[1]  OS X .DMG files are a form of .ISO file, and the simplest form of .DMG will mount with a Windows ISO mounter if the extension is changed.

Update: Andrew W, clearly in a party pooping mood, points out that if I'd looked in VMWare under "CD" I'd have seen it will mount an ISO image itself.

Tuesday, September 07, 2010

Operators in Windows Search and Spotlight - Common and Similar

This is a narrowcast post. It's of interest to someone who ...
  1. Is a serious geek.
  2. Has to routinely find things in very large document and email collections.
  3. Uses both Windows Search (built into Vista/7, add-on for XP) and Spotlight for OS X.
If you're still reading we need to go out for a beer the next time you're in MSP. There are only 2-3 like us on earth.

In an earlier post I discussed operators in Spotlight. When I first posted I complained about the difficulty of reconciling Windows Search operators and Spotlight operators. It's tough enough to learn one set, but learning two is kinda painful.

My first impression was wrong though. It turns out that several operators work in both Spotlight and Windows Search. Below is a list of common operators, followed by a list of differing operators and conventions. I'll update both lists over time. I'm only including the ones I use, there are many more.

Common operators (work in both Windows Search and Spotlight)
  • author:
  • kind:folder
  • kind:contacts
  • kind:email
  • kind:music
  • date:>7/4/1776
  • Boolean rules with parens (AND, OR, NOT)
Differing operators (W|S)
  • Windows uses () to contain phrases, Spotlight uses quotes
  • kind:docs | kind:document
  • not available | kind:application
  • modified:3/7/08..3/10/08 | modified:3/7/08-3/10/08 (hyphen might work in Win)
I think Windows Search accepts a number of variations, so I'm going to try more OS X Spotlight operators and syntax with Windows Search and document what works. Even now, however, it's impressive how much commonality there is.
--
My Google Reader Shared items (feed)

Saturday, September 04, 2010

VMware Virtual Machines - the backup problem

It's times like this that I really miss Byte (or BYTE?) magazine. They would have had great coverage of VMWare VMs - how they work, and what the risks are. Now that's specialist knowledge. Knowledge that, when I use Google, is obscured by a haze of marketing material.

The best we non-specialists can do is share our limited experience in blog posts, like this one sharing my experience with VM backup. That's been a problem for me.

First - my experience. I've used VMWare Fusion on my Macs for a few years. I need it less than once a month, typically to launch XPSP4 and run Access or (yech) Quicken. On the other hand, I configured and use a VMWare Workstation on a 64bit Win7 machine at work. That VM is running a Windows 2003 Server environment with terminal server and I use it very frequently.

Both my Fusion and Workstation VMs are configured to store the VM data as many files rather than a single monolithic file. Both are about 80-100 GB in size and store as little of my data as possible; on the Mac the individual .vmdk files vary in size from about 200 to 500 MB. I don't have the Workstation VM at hand but I think its files are all a fixed size.

The host OS X machine is backed up using Time Capsule (sigh) and SuperDuper! (sigh). Neither give me the warm fuzzies of Retrospect at its best. The Windows 7 machine is backed up using (Dantz -> EMC -> Roxio) Retrospect Professional.

I configured both VMs to use multiple files because of the VM backup problem I knew about.

The obvious backup problem for these machines is that if you configure a VM as one monolithic file, then every time you touch it the host system backup software has to backup a 100GB backup event. That will overload Time Machine (Capsule) or Retrospect pretty quickly. (More sophisticated backup software can manage this differently, but I don't think TM or Retrospect can.)

That's why I went with separate files. Backups would only have to manage the files that changed. (Ahh, but how does the backup software know what's changed - esp. if the files are a fixed size?)

I think that approach does work when the VM is shut down. I think it works on my Mac. It doesn't work with Retrospect Professional on the Windows 7 machine where our VM is always running.

I learned that the hard way when we tried to do a restore. The restored VM seemed good at first, but it was soon clear that we'd somehow ended up with different time slices. We had to kill the VM. Fortunately, because I'm justifiably paranoid about backup, we also had a file system backup that was only a few weeks old. Since we don't keep data on the VM we lost very little.

This is a nasty problem. As best I can tell, at least on Windows, Retrospect Professional can't do a reliable backup of a running multi-file VMWare VM. The limited VMWare marketing material I could find suggests this isn't just a Retrospect problem. The solution is, of course, to buy their costly backup software. You can also do backup from within the client OS, but that adds a new level of cost and complexity to overall backup. Retrospect Professional, for example, won't install on Windows 2003 server. For that you need their much more costly server backup.

Now you know what I know. If you know any more, or can point me to anything that's not marketing material, I'd be grateful.

I do miss Byte.

--My Google Reader Shared items (feed)

Saturday, July 31, 2010

Migrating Notes from ToodleDo to ResophNotes and the Simplenote ecosystem

[Shortly after I first wrote this, C.Y. released ResophNotes 1.0.5. Among other things, such as the ability to store notes as indexable .txt files, it has direct support for importing ToodleDo’s CSV file. He’d told me the release was coming soon, I did it my way just for geek fun. I’ve therefore moved the details of what I did to a footnote. BTW, turns out C.Y., like me, migrated to Simplenote from Toodledo/Appigo!]

Once I'd rescued my memory fragments from Outlook 2007 my next goal was to unify them from the former Palm Memos I'd (painfully) migrated to ToodleDo and thus Appigo's Notebook.app.

I've been reasonably happy with the combination of ToodleDo and Appigo, but notes are very much a 2nd class citizen on ToodleDo (they're all about tasks) and their search tools are pretty weak. I also wanted to be able to access and work with my notes from my desktop on Windows and the Mac, to be able to back them up, to have them be exposed to Spotlight search on OS X, to integrate my old corporate Outlook Notes with my old personal former Palm Memos and to have at least one open source repository in the mix. I needed the notes to live in a standard file format (UTF-8 text or RTF) free of all data lock.

Sounds like a lot, but the combination of ResophNotes (XP and higher - free but do donate), Simplenote (Cloud, ad-supported or $9/year - I paid - see documentation), Simplenote.app (iPhone and iPad app, free) and Notational Velocity (open source, OS X - documentation) gave me everything I wanted -- plus Chrome extensions for editing.

There was only one thing standing in my way. How could I get my ToodleDo notes into Simplenote?

I knew that ResophNotes (Win) would import Outlook's peculiar CSV files (embedded paragraphs!), but the developer, C.Y. I still days away from releasing a more general CSV import feature. I was impatient, so this is what I did. (see footnote [1])

During my early import experiments, because I used a Mac for part of the process, I ran into character encoding problems. Since ResophNotes doesn't yet have note multiselect and delete [2] I had to find its database and delete it.

ResophNotes exports and imports .RSN files (yay! backup!), but that's not how it works with notes. I found them in "C:\Documents and Settings\jfaughnan" in a .ResophNotes folder (hidden). To delete them and start over you have to quit ResophNotes, then find the instance in Task Manager Processes and kill it, then you can delete the files.

That let me start over again.

BTW, here's how the notes look in Notational Velocity's "Notational Notes" store:


Yes, each note a separate Rich Text file (I may convert to safer plain text) -- all Spotlight indexed.

Just in time for my birthday.

Nerdvana.

[1] Now that ResophNotes has direct ToodleDo import, I’ll include this as a reference for how one might support CSV variants other than ToodleDo or Outlook. My procedure was especially weird because I happened to have a Mac at hand…

  1. Use ToodleDo's Notes CSV export to my Mac.
  2. Import into FileMaker and use Calculation field to merge the ToodleDo Title and Notes into an Outlook style "Note Body". I next renamed the ToodleDo "Folder" column to Category.
  3. Created FileMaker columns to match Outlook's names, and exported as CSV. I had to paste this string in as the first row: "Note Body","Categories","Note Color","Priority","Sensitivity". I left all values except Note Body and Category null. In retrospect I should have appended "Categories" as a string to the end of "Note Body" to facilitate search.
  4. I used TextWrangler to clean up some character encoding CR/LF issues. This was only necessary because I got a Mac in the mix. Curse that ancient CR/LF screwup. It seems to have survived into the world of UTF-8 encoding.
  5. I fired up my Fusion VM (way better than it first was on 10.6) and my old XP image and moved the file over. I opened it in Word and saved as UTF-8 to remove any residual character encoding issues.
  6. I imported into ResophNotes. When I was sure all was well, I synchronized ResophNotes with Simplenotes and all my notes merged into one lovely repository. I fired up Notational Velocity in another window and confirmed all was fine there as well.

[2] Since the latest version can store as .txt files, I assume one could just delete all the .txt files! I haven’t tried this tough.

Tuesday, July 27, 2010

Escape from Outlook Notes - ResophNotes, SimpleNote for iPhone and Notational Velocity

I had despaired of rescuing my notes from Outlook 2007.

I'd written hundreds over time. In the old days I used Palm products that would sync with Outlook, so I could carry them with me. Now my iPhone, after years of struggle, gives me good Outlook sync with Contacts and Calendars. Notes and Tasks, however, have been orphaned. There's no real hope of an Outlook Notes to iPhone sync solution; although a few people use Outlook Tasks almost nobody uses Outlook Notes.

I've learned to live without corporate Outlook Tasks (I schedule my time on a 3 week plan basis), but I wanted those notes. I decided they needed to live within either ToodleDo Notes/Appigo Notebook, iPhone Notes (unlikely), or the Simplenote / NotationalVelocity universe (for various reasons I've given up on Evernote).

Today I discovered ResophNotes, a Windows app that syncs with the Simplenote cloud data store. The Simplenote cloud data store, of course, also syncs with Notational velocity (open source, OS X Spotlight indexed), OS X Tinderbox, OS X Yojimbe (3rd party sync), and there's a Chrome extension for editing notes.

I exported my Outlook 2007 notes to Outlook's odd CSV format (includes line feeds!), then I imported into ResophNotes and synchronized with Simplenote's cloud store. Then on my iPhone I viewed them in the Simplenote iPhone client.

It worked better than I'd expected.

Now I can move my old (originally Palm III Notes, now ToodleDo/Appigo Notebook) personal notes to the same cloud store. I'll sign up for the $10/year premium Simplenote service. (Currently I have free version.) If Simplenote belly up the rich ecosystem and open source Notational Velocity desktop solution provides the insurance I need.

A good day.

See also:
Update 7/31/10: The author of ResophNotes tells me he's preparing a new version that will import CSV files -- like the ones ToodleDo Notes export creates. Incidentally, I discovered that FileMaker Pro 8 does a great job opening Outlook's CSV files with embedded line feeds. I never imagined ...

Saturday, July 10, 2010

Retrospect Professional 8 backup of VMware VM corrupt on restore

I've been using Retrospect Professional 8 to backup a Windows 7 machine. That machine has VMware VM running.

There have been no backup errors.

Recently I had to do a restore of the VM. All seemed fine. The size was right. When I ran it, however, the VM was corrupt.

The VM is made up of many large files. I think Retrospect backed some up at different times, depending on metadata changes, file locked, etc. Normally that would be fine, but they all had to be the same version for the VM to work.

Fortunately I had a completely separate manual all-at-once backup done when VMWare was turned off. It was a few days old, but we didn't lose anything significant. Sometimes paranoia is a good strategy.

A cautionary tale! Virtual machine backup is tricky.

Thursday, May 27, 2010

Windows Live Writer - beware the Trojan Horse updater

I received a notice to update my beloved Windows Live Writer* yesterday. I unthinkingly downloaded the installer.

Fool.

It was a Trojan Horse. No, not a "Trojan" as in a carrier for anonymous malware, "Trojan Horse" in the historic sense of a gift containing unwanted vermin.

The installer has plagued my system with a suite of Windows Live products that I don't want and that are almost certain to reduce system stability. Now I have to tediously uninstall:
  • Live Call
  • Live Messenger
  • Photo Gallery
  • Live Family Safety
  • Mail
  • various Outlook add-ins
  • heaven knows what else
Now you know. Don't make my mistake.

*The only good, new, Microsoft product in five years. An acquisition of course. Microsoft has since abandoned it; I think the original (Minnesota?) team is gone. Microsoft is doomed to immense wealth and mediocrity.

Thursday, April 29, 2010

21st century divorce – pixels, points and screen resolution

Once upon a time, pixels and points were happily married. In the days of the Mac Plus and, a bit later, 17” 1024x768 CRTs, developers could expect a 10 pixel line would be 10 points long.

That’s no longer true. The 9 pixel fonts that were readable in 2000 are now impossibly small, but the 9 point fonts of 2000 should be as readable as ever. (Assuming well behaved software and same aged users!)

This seems rather esoteric, but many of us still carry habits and assumptions from that old world. Happily I just wrote up a refresher for my own use, so I’m happy to share :-).

First a quick refresh for non-specialists (see [1] for definitions):

  • A pixel is an attribute of the computer screen. Higher resolution screens have smaller pixels.
  • A point is a unit of length with a laughable history. The current “point” is the “DTP” point popularized by Warnock/PostScript – 1/72 of the anglo-saxon “inch” [2].
  • Pixels and points correspond when a screen has 72 pixels per inch (PPI [3]). The original Mac had a screen res of 72 PPI (pixels/inch). So did the old 17” 1024x786 CRT. On those screens, a 9 pixel font looked like a 9 point font.  Some UI standards may be based on 72 PPI screens where 9 points = 9 pixels

Modern screens have much higher resolutions, and thus more than 72 PPI. Apple’s 30” cinema display is 100 ppi and the 27” iMac is 108 ppi. The iPad is 132 ppi, the iPhone has 160 ppi, the Droid has 265 ppi, and the next generation iPhone is rumored to be 330 ppi (so HD video might fit in the phone)

A 9 pixel font that was readable at 1024x760 on a 17” CRT would be about ¼ the size on iPhone 4. Obviously, it would be unreadable. Of course that wouldn’t happen right? Developers would specify everything in points and apps and OS would translate to pixels properly.

In practice the latter happens a lot – often for good reasons [4]. OS X 10.6 applications, for example, have fonts that render at too small points on a 108 ppi display. XP is similar. Windows 7 and OS X were supposed to both be resolution independent, but it didn’t seem to take [4].

Things are different on new age computers. The Droid, iPad and iPhone expect and respect points, not pixels. That’s good, if they didn’t then documents would be unreadable on those high PPI devices.

If we’re lucky, a few years from now, only OS designers will need to know the difference between pixels and points …

[1] http://stackoverflow.com/questions/604203/twips-pixels-and-points-oh-my

PIXEL

The smallest dot you can draw on a computer screen

POINT

996 points are equivalent to 35 centimeters, or one point is equal to .01383 inches. This means about 72.3 points to the inch. We in electronic printing use 72 points per inch

1 point (Truchet) = 0.188 mm (obsolete today)

1 point (Didot) = 0.376 mm = 1/72 of a French royal inch (27.07 mm)

1 point (ATA) = 0.3514598 mm = 0.013837 inch

1 point (TeX) = 0.3514598035 mm = 1/72.27 inch

1 point (Postscript) = 0.3527777778 mm = 1/72 inch

1 point (l’Imprimerie nationale, IN) = 0.4 mm

[2] 72 has a LOT of divisors. That’s probably why it was chosen.

[3] PPI is pixels per inch, not points per inch. Unfortunate ambiguity there.

[4] I’m simplifying a topic that’s really beyond my ken. Fonts are the easy part of resolution independence. The real problem is all the raster images that are a part of a “modern” UI. If you want your font to scale along with it’s nice “tab “background, it has to be specified in pixels, not points. Maybe one day SVG 6.0 will take care of the rest of the problems …

Monday, March 22, 2010

When themes corrupt: Fixing a possessed PowerPoint

Twenty minutes before show time, my PowerPoint 2007 presentation (Sorry kittens) was possessed. I tried adding a drawing item to an image and nothing happened. I couldn’t get the the image to display in the normal slide view. I couldn’t fix the problems, so I gave up and went with what I had.

Later I tried to figure out what went wrong. As best I can tell the themes/layout control data had been corrupted. This particular presentation started with a corporate theme as PPT 2003 and had round-tripped between 2003 and 2007 a few times.

Evidently, a few times too many.

Setting a theme on a slide didn’t fix it. The fix was

  1. To to View – Presentation views – Slide Master
  2. In this view, choose Themes and apply a theme
  3. Save
  4. Go back through presentation and fix everything up

I had to make do with a standard PPT 2007 theme, but I could again edit my presentation.

Sunday, March 21, 2010

LiLi: Windows s/w to create a bootable Linux USB key

My sislaw used Linux Live USB Creator to create a Ubuntu USB key to boot her dead netbook. She pulled her drive data off after booting.

So now she doesn't need to use Gillware data recovery -- though she speaks highly of them.

No personal experience, but worth filing away.