Broken Remote

August 26, 2008

Logitech is 2/2

Filed under: computer — Tags: , , , — Broken Remote @ 12:16 pm

I own two Logitech MX Revolution mice – got them at a steal from Staples. They work great and are extremely comfortable. The only real problem is that the rubber inset in the scroll wheel tends to come loose.

Now, most mice have a 100% rubber wheel, but the Revolution needs a metal wheel so that it can get some good momentum in the “free spin” mode. They use a rubber inset which is simply glued down to give you traction. The problem is that after a good amount of use, the inset starts to come unglued and get a little loose. This means that when you’re using the mouse in free spin mode, the rubber inset rubs against something inside the mouse and stops it or makes it a little harder to turn.

So, in sort: This happened to two of these mice, and Logitech has been quick to replace both of them. Keep in mind this is like an $80 mouse that they freely replace. Plus, you get to keep the old one…so if you’re OK with a funny feel you can just cut that rubber piece off and have two mice.

Very happy with their customer service. If this were eBay, I would give them an A+.

August 21, 2008

Backing Up Your Data using Robocopy

Filed under: computer, software — Tags: , , — Broken Remote @ 11:11 pm

Also see: This newer post

The Problem

Backing up your data can get a little confusing sometimes. You need a data backup location like an external hard drive, but then you either have to use the software you were given or spend hours finding one you like, only to realize you will have to pay to use it. I won’t spend any time in this post on good hardware, I want to give my solution to the software problem.

The Solution

I hunted and hunted on my own for a while. I found some OK applications, but none that gave me the level of customization that I want…at the price I want: Free. Then I discovered RoboCopy. It’s a command line utility for Windows that kicks the butt of xcopy down the street and back.

For Windows XP users, you’ll need to download this utility. Windows Vista users, it’s installed for you already. You can download it as part of the Windows Server 2003 resource kit. Don’t heed the name, you can install this on XP.

Download

Don’t be mistaken now. You don’t just run this application straight out of the box. We will make use of the program via batch file.

The Script

Here’s a script I wrote to make use of this application.

@ECHO offREM —– SETUP INFORMATION —–
ECHO *———————————————*
ECHO Windows Backup Utility
ECHO *———————————————*
ECHO.

ECHO This script uses robocopy, a command line copy utility from Windows
ECHO Windows vista supports this by default, but older machines need the
ECHO Windows resource kit for robocopy support.
ECHO.

REM —– BACKUP SOURCES —–
SET profile=C:\Users\username

REM —– VERIFY BACKUP FOLDERS —–
ECHO —————————————-
ECHO Folders to backup
ECHO —————————————-
ECHO – %profile%
ECHO.

REM —– ASK USER TO PROCEED —–
SET /P continue= Proceed? (Y/N):
IF /I %continue%==N GOTO END

REM —– SET DESTINATION VARIABLE —–
SET dest=E:\Backups

REM —– Use below code to have user specify backup directory. Just remove the “REM” and put “REM” before the line above
REM SET /P dest=Backup directory:

REM —– DO THE COPY —–
REM —– Do ROBOCOPY /? in a command prompt for details on other flags
REM —– /MIR = delete files from destination that have been deleted on source
REM —– /LOG = create a log file
REM —– /R:0 = don’t retry a file if it fails. Change number as you wish
REM —– /W:0 = don’t wait to retry a file if it fails. Change number as you wish
REM —– /TEE = output progress to console window. Turn this on if you want to see the file copy report at the end of your copy and progress during
REM —– /XJD = Windows Vista has some weird folder virtualization to prevent programs from accessing folders directly. Exclude Junction points to fix this.
ROBOCOPY “%profile%” “%dest%\profile” /MIR /XJD /LOG:%dest%\profileLog.log /R:0 /W:0 /TEE

:END

pause

It’s not hard to use. Just follow these steps:

  • Create a new text file in notepad or other simple text editor
  • Paste the entire text in the dark box into notepad
  • Save the file as “backup.bat”. The important part is the “.bat” extension. This tells Windows that it is a series of commands.

Now you need to customize the file to match your needs. Under the BACKUP SOURCES header above, change the existing string “C:\Users\username” to match. For Vista users, just replace “username” with your username. For XP users, use “C:\Documents and Settings\username”. You can add new backup paths here using the same format.

Now, under VERIFY BACKUP SOURCES, just add new lines to print out what sources you are backing up. This helps you remember when you run your program what you are about to backup.

Third, under SET DESTINATION VARIABLE, set this to your backup drive. Most likely it will be E: for an external hard drive. You can use just the drive letter or specify a folder on that drive like I did.

Now, at the end of the document, look for ROBOCOPY “%profile%” “%dest%\profile” /MIR /XJD /LOG:%dest%\profileLog.log /R:0 /W:0 /TEE. Copy and paste this line once for every directory you back up, being sure to change the backup source and destination though!

Now just keep this file in a handy location, plug your backup drive in, and run it! It keeps a log of all the files it copies and if it succeeded or not. This script will do an “incremental backup” as well. This means that when you back up your data the first time, it will copy it all. Subsequent backups will only copy files that have changed.

PLEASE NOTE: If you delete a file from your computer, then run this backup utility, that file will be deleted from your backup data. To prevent this, uncomment the code underneath SET DESTINATION VARIABLE section by removing the REM so it says (SET /P dest=Backup directory:)and set a new folder every time you back up. I would create about 3 or 4 different folders and loop through them.

That’s it. I appologize for any confusion. If you have questions, leave a comment and I’ll be glad to help out.

Note: I have discovered a GUI for robocopy. If this interests you, check it out here.

August 18, 2008

Three Free Web Widgets

Filed under: web — Tags: , , , , , , , , — Broken Remote @ 11:57 am

In my current web development spree, I’ve discovered a nice heap of useful web widgets that are free, easy to install, and easy to use.

The first is simple, a popup calendar: Dynamic Date Selector

This popup calendar works by using a hidden HTML table on your page. When you click in the box, the calendar is set to visible and moved around where you clicked. I chose this widget because it’s easy to use and modify. All of the styles are in their own stylesheet, not embedded deep within the code, which makes customizing it very easy. I was also able to modify the code very easily to include a drop-down menu for the year and have a calendar icon to the right of the text box that I can click to open the calendar. Very useful little widget.

4 Stars for ease of use but potential div/table arguments.

Second, a JavaScript validator: JSValidate

This JavaScript tool is early in it’s development. It’s hard to say if there’s much of a future for this project…we’ll have to get to a version 1 before that’s determined. Regardless, this script requires you to add a class attribute to your input fields…that’s it. Give the class a name like “jsrequired” or “jsvalidate-number” to enable the validation. All the validation is done using regular expressions, and it’s super-easy to add your own. It’s a little tough to do two validations on one field (like required and number), but you can add two classes and it works. The only problem is that you get both error messages if either of the errors occur. The only other downside is that you have to add the “name” attribute to your form, which doesn’t validate on XHTML strict, but that’s reported to be fixed in another version. Overall, very nice and some beautiful effects. I hope to see this developed further.

3 Stars because it is an early version and does not fully validate.

Finally, the best of them all: GreyBox

GreyBox is a self titled “Pop-up window that doesn’t suck”. And that’s right…it doesn’t! This AJAX tool (AJAX is just JavaScript and other technologies mixed) rocks. You just click a link and it opens up in an in-browser window. It’s not a real popup, just divs and tables mixed with some nice AJAX effects. The best way to see this is to just try it for yourself at the website linked above. Again, this is easy to install and use and looks great. I use it for input forms on my website.

5 Stars because it simply rocks.

August 14, 2008

Craig is the Mole

Filed under: tv — Tags: , , — Broken Remote @ 10:54 pm

It’s been a while since the finale, but Craig is the Mole. He was my guess for over half of the season on the premise the the big guy is always the evil guy. He wasn’t too evil though…he was excellent. Looking forward to another season next summer, if they choose to have one.

Craig is the Mole

August 12, 2008

She can’t really sing…

Filed under: news — Tags: , , — Broken Remote @ 11:37 am

So apparently the opening ceremony to the 2008 Beijing Olympics was faked…at least some of it:

1. This girl was lip syncing to another girl’s voice, because the original girl wasn’t pretty enough

2. The footprint fireworks were computer-generated to ensure it was completely cinematic

Regardless, it was still awesome. Here are some super pictures of the event:

Opening Ceremony Pictures

Older Posts »

Blog at WordPress.com.