Tuesday, July 24, 2012

SMB, latency and Office documents

Because of my work, i come across a very common phenomen: the windows SMB protocol and how it relates to latency on your network. Office documents, even more than other types, seem to be affected.
I found a real nice whitepaper by Microsoft. It also contains a lot of (client side) fixes/suggestions.

Here’s a nice example and probably the main reason for the delay:
office-documents-and-latency.png

Monday, July 9, 2012

Android: full calendar synchronization

By default, your android calendar will synchronize:

  • somewhere around 30-50 days in the past (i’m not exactly sure)
  • all future items
  • all recurring items

This means: when you start with a new phone or did a full wipe of your phone, you’ve lost all your history beyond 30-50 days. The only way to see these appointments is to log in to your web calendar.

To sync an old item, you could “refresh” the old items (say, edit some fields like location or time) but you don’t want to do that for thousands of items.

There is a way to “refresh” all your items at once:

  1. Log in to Google Calendar via the web
  2. Go to “Settings -> Calendar Settings” at the top
  3. Go to the “Calendars” tab
  4. at the bottom, next to “Create new calendar” you will find “Import Calendar” and “Export Calendars”
  5. Export your calendar and save the .zip to some place on your harddisk
  6. Unzip the .zip, you’ll get an .ics file
  7. Now choose Import Calendar and select the .ics file
  8. Your calendar will be overwritten with a backup of itself. No duplicates will be made (don’t worry)
  9. Your phone will notice all the “new” items and will download your entire calendar