kdmurray.blog

The crossroads of life and tech

Announcing EpubSharp

Over the past few days I’ve put some time into working on a library to create EPUB documents in .NET.  When I first did a search for this a few months ago I really didn’t find anything that suited my needs: a library that I could use to create EPUB documents on the fly, in code.

So I said to myself: “Self! You can write code, build the damn thing yourslef!”. So I did.

The initial version of the library has been published up on Google Code and is probably full of holes. If you’re interested, have a look and let me know what you think.  I’ll try to publish some more detailed specs for what the library does in the coming weeks.

For now, it can get got at: http://code.google.com/p/epubsharp/ — and yes, the documentation on that page is as sparse as it is here.  :)

Top 4 iPod Touch Applications that I’ve Paid For

Over the past decade or so I’ve become a strong believer in paying for media that I consume — not surprisingly this coincides with my ability to afford to buy stuff.  In the spirit of promoting the concept of paying back those who provide us with great software, I give you my Top 4 iPod Touch Applications that I’ve actually purchased.

1Password

1Password is a password manager for MacOS X which late last year released a version of their application which works with the iPhone and iPod touch.  Both the desktop and handheld versions of the application are brilliant and provide a great credential management service for those running the appropriate devices.  If you’re a slider like many of us are starting to become, it may not be the solution for you since there’s no version of 1Password available for Windows or any flavour of Linux.

Website | App store | Twitter

Crayon Physics

Again coming from desktop-based roots Crayon Physics is a simplistic looking game for the iPod Touch.  The goal is simple, draw the tools you need to get the ball to the goal.  The trick is you need to be able to anticipate how those tools will react to gravity, friction and impacts with other objects.  Give Crayon Physics a try if you want a game that’s challenging enough to make you think, but easy enough to actually complete.

Note: the desktop version was licensed by Kloonigames to Hudson Soft, so they’re technically not related.

Website | App store

iShoot

iShoot is a great replication of games that were super-popular in the early 1990s like Worms and my favourite Scorched Earth.  Battle it out with the computer or up to three other human players in a tank-on-tank-on-tank-on-tank battle with weird and wonderful weapons of all kinds.  A recent release of the game also includes the ability to define your own rules, terrains and weapons making it a truly personalized experience.

Website | App store | Twitter

SpaceTrader

Modelled after games with the same name on other platforms, and of course loosely based on Wing Commander: Privateer, SpaceTrader allows you to fly from planet to planet as a trader in an effort to make as much money as possible.  This game is the only 3D entry on the list with a fairly rich 3D environment that you can walk around and explore.  I had some memory issues with this game early on, but working with the developer and sending in some crash logs a newer release seems to have licked that problem.  Give this a try as a neat alternative to the 2D side scrollers.

Website | App store

Which applications have you purchased?  Or are you more of a JailBreak type?  Party in the comments…

Five Step Guide to Restoring Your Computer

broken_computerThere are lots of reasons that we fall out of love with our computers.  Slow performance, viruses. spyware and just plain too-much-crap-all-over-the-place syndrome.  The only way you can be sure to solve these issues is to wipe and re-load your system.  If you have all the install disks for Windows (or your OS of choice) and your software, the process is fairly straightforward.  Mac/Linux fanboy warning: I’m going to use Windows examples and software in most cases… deal with it.

After the tutorial, I’ve included a list of applications that you can use to make your computing life better.  The list contains free and open-source software from the original developers that you can trust on your newly cleaned system.  I highly recommend reading over the list, and even trying a few of them out on your current system before installing any of your old apps and tools.

Things you’ll need

  • Infected (or otherwise underperforming computer)
  • OS re-install disks (and product keys!!)
  • External hard drive (strongly recommended) -or-
  • Backup media (CDs, DVDs)

Step 1: Backup your data

backupYou should already have a backup process in place to keep all of your data secure.  If you do, good for you but that doesn’t mean you can skip this step.  If you have, or have been able to purchase an external hard drive use that to backup the data. It’s much faster, and far more convenient than trying to backup to external media like CDs and DVDs.  Make sure that you take everything you want to have on your new system. Often overlooked folders include your bookmarks (favourites) and desktop.  These won’t be captured in your Documents folder by default.

Step 2: Reinstall your system

This is the part that makes everyone queasy. The “delete everything and re-install” part.  But fear not, it isn’t as daunting as it sounds.  Once all the data has been backed up, put the Windows (or other OS) disk in the drive and reboot the computer.  Once the system comes back up, follow the prompts.

Select the partition to install Windows on.  In most cases, if you want to restore the system the way that it was, you can select the C: drive where the old Windows  install was located.  If you want to get into partitioning strategies that’s for another post.

If you’re in doubt format the drive using the NTFS system. It’s the default for most contemporary Windows systems and will work for 99% of people.  Yes, Mac/Linux fanboys, I realize that it’s a Windows specific file format.  You guys can use HFS+ (Mac) or ext3 (Linux).

Believe it or not that’s the “tricky” part.  Follow the remaining prompts through the text portion, and GUI portion of the setup to choose your username, password, time-zone settings, network settings etc.  These are pretty well all common sense.

Step 3: Patching and Packing

Unless you’ve learned the secrets to Slipstreaming prior to this re-install (in which case you probably don’t need this tutorial) you’ll need to install all the latest updates, patches and service packs for your system.

The majority of these can be installed through the Microsoft Update (Windows Update) site.  The updater can be run from your Start menu, or by pointing a browser at http://update.microsoft.com/.

It’s really important to get these updates in as quickly as possible because typically the CD you’re using to install the system is a couple of years old (particularly with Windows XP disks) and will be missing a ton of important security updates.  You may need to run this process a number of times before it catches everything.  Just continue the process until the update program tells you that there are no further updates available for your system.

Step 4: Re-install your applications

Here we go. Putting back all that was lost.  The first step is to install your heavy hitters installed.  Office, Visual Studio, Adobe Creative Suite — the things that take up Gigabytes of space on the disk.  After that, the smaller things, utilities, tools, games.  Check out the software list at the bottom of this post.

Once everything else is done, install your anti-virus or security software. This may be a controversial decision for most but I base the logic on the following: AV programs make software installation painfully slow.  The chances you’ll be infected while you’re doing the updates are minimal, so save yourself a bunch of time and do this last.

Step 5: Restore your data

Copy back all of the data you backed up in step 1.  This includes your bookmarks (you did back those up, right?), and anything you wanted to keep on your desktop.  Putting these pieces back is the last step to making the system your own again.

Realistically you’re looking at killing a full day with the whole process, depending how much data you have the backup/restore can take a few hours, but the process is pretty straightforward if you stay organized.  :)

Free software to help you out

Once you’re in the application re-install stage, there are lots of free tools that you can use to get your system working the same, or better than it was before.  The other reason is that these applications are great alternatives to trying to find pirated applications off the Internet.  Here they are, in no particular order:

  • 7Zip – an archiving / compression utility supporting a wide range of formats
  • ISO Recorder – Write ISO images directly from Windows explorer
  • Avast – Free anti-virus application with regular updates
  • Paint.NET – Photoshop-like image & graphic editing program
  • Firefox – Alternative (?) web browser
  • Thuderbird – Email client
  • Feed Demon – Powerful full-featured RSS reader & aggregator
  • FileZilla – FTP/SFTP/SCP client
  • Open Office – Alternative word processor, spreadsheet, presentation & database
  • VLC – Media player that supports nearly every format known to mankind
  • Evernote – Note taking/keeping application that sync’s with the web
  • Notepad++ – Tabbed notepad application
  • Visual Studio Express – Free versions of the Microsoft development tools

I hope this guide has proven informative, and will help you to move forward with your computing life.  Bring back that computer that has lost its lustre and make it uber-useful again.

Photo credits: wysz, S Baker on Flickr.

How To Slipstream Windows XP SP3

I’ve decided to go with Windows XP for my dual-boot environment on the MacBook.  Partly due to familiarity, but mostly due to the lower resource requirement.

In setting up this new environment, I needed to decide how to cope with my Windows XP disc being an original, pre SP1 disc.  The solution: Slipstream.

Slipstreaming allows you to create a Windows XP CD that has updates like the most current Service Packs.  In this case, I’ll be adding Service Pack 3.

There are lots of guides on how to do the Slipstream process, including these two on HowToHeaven and Invisibill.  These are great step-by-step tutorials that show you everything involved in the process.  But they’re also very manual.

The tool I’ve chosen to go with is nLite.  This slick little application provides the ability to not only Service Pack your XP installation, but apply lots of other custom features as well.  Here are the steps I went through for my Slipstreaming adventure.  (There is also a step-by-step guide on the nLite Website)

Installation Screen ShotStep 1: When running nLite is to show it where the Windows installation is located.  After that, you’ll need to specify a location for nLite to perform it’s magic.  I chose C:slipstream.

Windows Slipstream ScreenshotStep 2: The next phase is to select the options for your installation.  I’m a whole-hog kinda guy, so I elected to go with every option if for no other reason than to browse the options and screens.

Windows Slipstream Screenshot

Step 3: Pick your Service Pack.  Once you’ve selected a service pack and applied it, nLite will perform the Slipstream operation and integrate the service pack.

Windows Slipstream ScreenshotStep 4: Updates & Hotfixes.  The more that you can download and apply here, the fewer there will be to apply once the windows installation is completed.

Windows Slipstream ScreenshotStep 5: Select components to remove.  nLite gives you the opportunity to eliminate components from the final installation.  This can lighten not only the ISO, but also the final installation.  Beware removing too many options.  By eliminating support for hardware or drivers the usage of the installation will become more limited.  However, if you have a specific application in mind it can help to streamline the process.


Step 6: Unattended Install. The next screen provides the ability to streamline the installation for a smooth unattended install.  If you want to use this option, you’ll need your Windows XP CD key at this stage.

Step 7: Installer Options. This screen allows you to customize some of the behaviours of the installation process including boot-time messages and BIOS backup retention.  If you don’t understand an option, take the default.

Windows Slipstream ScreenshotStep 8: Tweaks. Wow.  This section has dozens upon dozens of options to tweak and adjust virtually every major setting in Windows.  And a whole bunch that aren’t so major.  Take your time with this and make sure to read the little captions for each option.  There are so many possibilities.

Step 9: Integrate all the changes.  nLite will begin to create the installation image, merging together all the changes you’ve selected.  This process will take quite a while.  On my machine it took about 10 minutes.

Windows Slipstream ScreenshotStep 10: Burn the ISO.  Set any last settings you want for the ISO, and click the Create ISO button to start writing the image.  Once the image is written, it can be installed to a VM (VMWare/VirtualServer) or burned to a disk for installation at a later time.

WordPress 2.6 – Restore the “Add Image” button

During the recent upgrade to WP 2.6 I noticed that the old “Add Image” button was missing.  This is something I use quite a bit because it’s quick and simple.  Call me old fashioned, but I don’t particularly care for the new Media-bar uploader.

After some searching on Google and the WordPress.org forums, I came across a relatively easy fix.  To restore this button, and add a few others, you can install the TinyMCE Advanced plugin.  TinyMCE is the editor that’s built in to WordPress’ visual editor.

Once the plugin is added, all the functionality you had before will be restored, along with a ton of cool new neato features!

Adding Favicons to your Firefox 3 Bookmark Toolbar on the Mac

A ridiculously long title to describe a very simple function which has been missing from the Mac version of Firefox since 2.x.

On windows, Firefox’s Bookmarks Toolbar will display the Favicons along with the text for the items in your bookmarks toolbar.  Something I’ve always done to conserve space in that toolbar is to blank-out the titles and rely solely on the icons to identify the bookmark I want.

The trouble?  The Mac version of Firefox doesn’t display the favicons in the toolbar.  Suffice to say that this has been more than a tad annoying, but until tonight I’ve simply put up with it.

Thankfully I found a short & sweet article that Gina wrote over on LifeHacker which led me to both a Firefox Plugin and a website to get me back my icons.

The steps to get the icons back are short and sweet.

  1. Download the plugin Stylish
  2. Do the obligatory Firefox restart
  3. Visit UserStyles.org and download this style for Stylish
  4. Done!!

It was really that simple, and now I’ve got my icons on my Mac.  Though they are spaced apart much further than on Windows, it’s a damn sight better than not having them at all.

Firefox 3 Released

I realize that I’ve been rather delinquent in my blogging recently, and to be honest, that may continue in the coming weeks.  That said, I needed to get this out and spread the word, if a little late, that Firefox 3 has been released.

Go download it!  I’ll wait….

There now… doesn’t that feel better?

Many of the extensions have already been upgraded to work with the new version, and others are sure to follow soon.  I’ll keep an eye on things and try to let you know when PortableApps releases Firefox3.

Also, if you download today (or by 10:00am PT tomorrow), you can be among those participating in Mozilla’s Guinness World-Record attempt.

Mac Lab Rat – GGP #084 :: We Have Chunks

This week’s episode of the GGP was so jam-packed with geeky goodness, Dave had to split the show into two chunks.  You can find both Chunk A and Chunk B on the GGP blog.

To help keep the show length reasonable, the Mac Lab report for this show is a quick one.  The inspiration comes from a post by Tim Cox over at MacApper.  This is a collection of Automator scripts which will help to keep your downloads directory clean.

These scripts provide methods for managing your Internet downloads for everything from music files (Tunes to Trash), disk images (Perfect Dismount) and zip archives (The Zipper).

Overall the tools do a decent job of keeping things tidy and are a great example of a practical use for Automator for the everyday user.