Windows

Stop Exact Audio Copy Crashing on Windows 7

When I tried to rip a disc using Exact Audio Copy on Windows 7 x64, I found it kept crashing as soon as the rip tried to start.  Bummer.

Remembering the previous times I’ve used EAC, when you click a button to start a rip, it asks you where you want to save the ripped files.

Turns out if you set EAC to save into a predetermined location instead of asking, EAC manages to rip perfectly fine!

So, here’s a step-by-step guide to stop it crashing:

  1. Open Exact Audio Copy.
  2. Go to File > EAC Options.
  3. Click the Directories tab.
  4. Instead of “Ask every time”, choose Use this Directory, and pick a directory of your choosing.
    • I personally use C:\Users\<Username>\Music\Extracted
  5. Click OK.

That’s it!  Good luck.

The Windows 7 Taskbar — Keyboard Goodness

If you’re fortunate enough to be using Windows 7, then no doubt you’ve noticed the new taskbar.  Well, here’s a couple of golden nuggets of info for you:

Did you know that all the icons you line up on the taskbar automatically get keyboard shortcuts?  If you want to launch one of them, just press the Windows key and the number of the program’s position along the list.  So to launch the first program, press Win+1; to launch the second, press Win+2; this continues all the way up to Win+0, which opens the tenth program.  Cool, huh?  This is the same behaviour as the Quick Launch Bar in Windows Vista (which I used extensively).

Even better, if you want to open one of those programs with admin permissions (for example, using Notepad to edit the hosts file), you can press Win+Ctrl+Shift+<Number>, accept any UAC prompt, and voilà!  Program a la admin.

I love keyboard shortcuts.

A Word of Warning: Check Your Windows 7 Backup Settings

Backups in Windows 7 have been greatly improved, what with the fact you can restore from them (without needing to take a separate backup) and that they backup to networks better.

However, there has been one change which caught me out, thanks to a subtle and ambiguous rewording of the backups dialog.

When backups are taken, as default only user folders that were created by Windows are backed up.  For reference that’s Appdata, Contacts, Desktop, Downloads, Favorites, Links, Music, Pictures, Saved Games, Searches and Videos.

This is different from the default behaviour of backups in Windows Vista, which backed up everything in C:\Users\<Your Username>

If you make any folders of your own at the root of your user folder, they will NOT be backed up.  If you want to back those up, I recommend you go through the backup wizard again and say that you want to configure what gets backed up yourself.  Select more locations, and navigate through the filesystem until you check C:\Users\<Your Username>.

I lost a few files when I reinstalled 7 for unrelated reasons, and lost the contents of my Code and Programs folders.  I’m lucky that I had only been using the OS for a couple of weeks–had I been using it longer I could have lost a lot more.  At least it’s given me an excuse to code!

Just a friendly warning for fellow Windows 7 users who are as fussy about file organisation as I am.

Adding your most recent Twitter tweet to your Pidgin status

This guide is intended to be a more up-to-date mirror of the guide you can find at Tech Jawa.  All credit to them for the original instructions!

Basically nothing changes, but I just like to be comprehensive.

  1. Download the TwitterStatus plugin.  It’ll be a file ending in .pl.
  2. Move this file to your Pidgin plugins folder.  If any folders don’t exist, create them:
    • Linux: ~/.purple/plugins/
    • Windows Vista/7: C:\Users\<Username>\AppData\Roaming\.purple\plugins
  3. Install Perl:
  4. Install  the XML::XPath module into perl:
    1. Open a command line.
    2. Run perl -MCPAN -e shell.
    3. Type install XML::XPath and then hit Return.  Wait for the install to finish.
    4. Type quit and hit Return, then close your command line
  5. Start (or restart) Pidgin.
  6. From the contact list, go to Help > About.  At the very bottom of the textbox that appears it should say “Perl: Enabled”.  If it does not, repeat steps 3 and 4.
  7. From the contact list, go to Tools > Plug-ins.  Find Twitter Status on the list, check the checkbox next to it, and then click Configure Plug-in.
  8. In the configuration window that appears, type in your username in the top textbox (labelled Username, surprise surprise).  Configure anything else you want to your liking.

That’s it!  You do not need to set this up again, it is a one-off set up for the computer.  Of course, you will need to go through this procedure again if you have multiple computers you use Pidgin on, or if you format and reinstall your OS.

Ogg Vorbis Encoder for Windows

I not so long ago made a post about using Ogg Vorbis for Ringtones on Android, as it considerably reduces the lag between getting a phone call and the phone actually playing the ringtone.  The same goes for music on the device–it just starts playing quicker.

Anyway, just now I realised that I didn’t link to any encoders for it.  So if anyone wondered what I used to accomplish the task, they’d be stuck!

So here’s a quick update to fill in in the gaps:

If you’re wanting to just convert some files you already have into Ogg Vorbis, I’d recommend oggdropXPd.  Open the program, right-click on the “dropbox” that appears to configure it, then when it’s all done, drad and drop the files you want to convert onto the dropbox, and wait!  It works fine under Windows Vista (32-bit) and Windows 7 (64-bit).

If you’re wanting to both edit a music track into a short ringtone and convert to Ogg Vorbis, Audacity did the job for me.  It’s open-source and supports a number of file types (including MP3 if you download a separate plug-in), so hopefully it’ll work for you too.  Again, it works fine in Windows Vista (32-bit) and Windows 7 (64-bit).

The settings I used for the Ogg Vorbis files on my G1 where 128kbps CBR.  You don’t need much quality because the phone’s speaker isn’t exactly an orchestra, and I used Constant Bitrate under the assumption it would take less CPU to decode.

http://audacity.sourceforge.net/

Quickly Open an Elevated Command Prompt in Vista

Just a quick little thing I noticed, although everyone else probably knows it by now.

To launch an elevated command prompt (i.e. a prompt with admin privileges, required to do various things if UAC is enabled on Vista), simply open the Start Menu (Windows key), type “cmd” without quotes, and press Control+Shift+Return.

This will bring up a UAC prompt asking you to elevate the process.  Select Continue (Alt+C). Done!

This does work for some other applications.  But in my experience it’s hit and miss!  Strange.

This technique may also work in Windows 7, but I haven’t been able to test it myself.

I’ll Modify You in to Next Week.

A couple of days ago I came across this interesting quirk, and I had to do a double-take before I realised what had happened.

Basically, I recently got a NAS and decided that I wanted my router to save its bandwidth usage statistics on it.  That way whenever I perform an upgrade to the firmware on the router I won’t erase all the stats.  This part is easy, as the firmware has the functionality for this.  (The firmware I keep mentioning is the Tomato firmware.  I highly recommend it if you happen to have a compatible Linux router!)

Now, after I set it all up, I went on to the network shares to see if the statistics were being saved properly.  What I saw I didn’t exactly expect:

A screenshot of my local network share...  And some interesting modified times

A screenshot from Directory Opus of my local network share... And some interesting modified times

Now, nothing may look wrong at first glance. But take another look at the screenshot, particularly the column titled “Modified”.

Got it yet? You have? That’s great! You haven’t? You’re probably just not as finnicky as I am, don’t worry.

Anyway, enough suspense: the thing that caught me out was that the modified time for the statistics file was “tomorrow“.

“So what?” I hear you cry!  “You probably just had the NAS set to the wrong timezone.”

Alright, I’ll give you that — I had set it to the wrong timezone.  However, that isn’t the strangest thing!

The strange part is the fact that Windows has provisions for files that have creation/modify/access times in the future.

When you have a file that you have modifed today, it says “Today”.  Nice.  If you then leave the file for 24 hours, Windows will say the file was modified “Yesterday”.  Again, a nice touch.

But now Windows, in its all-powerful, all-knowing ways, can tell me when a file will be modified, before it’s even happened!

At least, that’s the impression it gives me when I think of a developer including “tomorrow” on the list of English relative dates.

And before you complain that I wasn’t using Windows Explorer but rather a replacement called Directory Opus, here’s a screen from Explorer demonstrating the same behaviour, but slightly more hidden:

A screenshot from Windows Explorer of my local network share...  With the same interesting modified times

A screenshot from Windows Explorer of my local network share... With the same interesting modified times

So there you have it: Some crazy behaviour and me thoroughly confused.  With DOpus and Explorer both “predicting” the future for me, I’m beginning to wonder just how much control I have over these computers…

Fix Windows Sidebar Gadget File Association in Vista

Have you ever somehow managed to break the Gadget file association in Windows Vista?  I have somehow, and that means that you can no longer install gadgets.  Double-clicking a .gadget file does nothing, and the Sidebar offers no option to install gadgets itself!

If you try to re-associate the files with Windows Sidebar by telling to Open With… and navigating to the Sidebar executable, you’ll have found that that doesn’t help — all it does is bring the Sidebar to focus, but doesn’t install the gadget.

Fortunately, help is at hand: all you need to do is download the following archive and apply the registry entries by double-clicking the .reg file inside the archive, and saying Yes at the prompt.

Download Gadget Association registry entries.

All I did was export the corresponding keys from the registry on a Vista machine with a working Sidebar — nothing else!

Hope this helps others like it has me.