Bed's Stuff - Articles by bed

Vista

Since we develop Windows applications at work, its now starting to become more common for clients to be running Vista. We found our first compatibility issue last week - performing ICMP pings that worked on XP nolonger worked - the API actually failed.

One of the quickest ways to find problems, is for the development enviroment to be moved from XP to Vista. So relunctantly, I am seting up a Vista Business virtual machine for this purpose.

I was quite suprised, however to discover that my Bed's Printer Switcher application works perfectly in it. I was impressed to discover that OSX did this all for me - I don't know if Vista does (it bloody well SHOULD), but if it doesn't at least that will work without fiddling.

Read More

Backups

Before becoming a Mac-convert, my backup procedure was almost non-existent. Every six to twelve months I would burn a CD or DVD with my most important stuff on it. I've been rather lucky that I've never had a hard-drive failure - its happened to most people I know at least once.

After turning to the Apple-Dark-Side they made it too easy. To not do a backup really required effort. Stick a USB drive in, turn on Time Machine... and you have a regular automatic backup procedure.

Of course I didn't want to backup to USB drive. I have my and K's stuff to backup, and an Ubuntu file server with a nice 400GB drive to hold the files (lets not discuss off-site backups, move along...). Now while Time Machine supports backing up to a network drive, they limit it to Apple's own products, or a drive hosted by Mac OSX 10.5. Capitalistic goals aside, there is a very good reason for this. Apple added some extensions to AFP to safely handle network dropouts during the backup process. These extensions are required to safely protect your backups from becoming corrupted.

Now if you are pretty confident that your network isn't going to drop out during a backup, you can configure Time Machine to allow an unsupported network drive, and backup to your SMB shared network drive. Easy. So thats what I did.

This has worked flawlessly with K's iMac. My MacBookPro however, was more complicated. Because its a laptop, I often run on wireless when I'm downstairs in-front of the tv. When I go upstairs, I'll plug in the Ethernet for optimal speed and turn off wireless. Of course I never paid attention to see if Time Machine was currently working when I did this. It was often running and every so often I would corrupt my backup sparseBundle and had to start all over again.

So I finally gave up on Time Machine for my laptop. I still wanted the automated backup however - but I don't care about incremental backups, I've never (famous last words maybe...) wanted to go back to a previous version of a file. I just care that the current version is backed up in-case my drive dies.

This is where I love that the best computer UI is built on-top of the best OS core... unix. A simple installation of rsync on my Ubuntu file server …

Read More

CopyAttachmentToClipboard for Thunderbird 0.5

Screenshot

Note: Due to me not using Thunderbird anymore - this extension is nolonger being maintained. If someone would like to take it over, by all means do so.

This extension for windows Thunderbird 2 adds a 'Copy attachment to clipboard' menu option when you right click on one or more attachments. This allows you to then paste the file(s) into an explorer window, or any other application that supports pasting files.
Download - xpi File - 93Kb

HISTORY

v0.5 2008-27-02  
- Attempt to fix a reported issue with messages not opening in a new  
window. Changed a variable name that may have been conflicting.

v0.4 2008-22-01  
- When no attachments are selected all attachments are copied  
- The Menu item's caption reflects how many attachments will be copied  
and if you have selected them or not

v0.3 2007-05-02  
- fixed 'redeclaration of constant' error that was appearing in the
error console

v0.2 2007-05-01  
- menu option now appears for messages opened in a new window
(previously only worked in the preview pane)

v0.1 2007-04-28  
- initial release

Read More

Bed's Printer Switcher

Version 1.0.2.2

Bed's Printer Switcher is a small utility for Windows XP and Vista that enables automatic switching of the Windows Default Printer depending on what network you are connected to. It installs into the system tray and can be configured to exit after switching a printer - I generally have it start it up with windows, 60 seconds later it will change my printer to the appropriate one depending if I'm at home or work and then go away.

Note: This software is no longer being maintained by me, due to moving to Apple's OSX from windows.

screenshot

HISTORY  
1.0.2.2 2007-03-21  
- Fixed issue with constantly setting the same printer  
1.0.2.1 2007-03-19  
- Proper printer switching for Win2K/XP/Vista. Now won't get errors in
Word etc, after automatic switching  
1.0.0.1 2006-11-21  
- initial release

Read More

LJBackup

Version 0.9.4.0

LJBackup is a GPLed (see LICENSE.TXT) win32 application for backing up and searching through livejournal entries. It currently supports the following functions:

  • backup
  • re-backup (from given date)
  • re-backup (single entry)
  • Displays text entry
  • Display entry in default browser
  • Filter entries by date
  • Filter entries by keyword (on Entry, Subject, Mood, Music)

Note: LJBackup is nolonger maintained by me. Source code is available below.

Download

screenshot

Read More

About

Andrew Bednarz - otherwise known as Bed, is a Technical Director at Shadowboxer. Husband. Father. Nerd. Former and occasional software engineer. An optimisitic pessimist 🤘