Technology

Electronics and releated stuff

Hiding Microsoft SyncToyCmd.exe For Task Scheduler Purposes

Now that I own a laptop, I needed a way to keep some folders in sync between my two computers (my web development folder for example). While there are plenty of options that use online methods (Dropbox for example), I needed one that was strictly offline. The free accounts only offer a few gigabytes (I’ll eventually be syncing a few hundred gigabytes and am currently syncing around 30,000 files) and I’m much too cheap to purchase space upgrades (they’re crazy expensive anyway).

So in comes SyncToy 2.0 from Microsoft. I installed it on my desktop (you only need it on one computer), shared the folders with my Homegroup on my laptop that I wanted to sync, and set up some folder pairs. It works awesome and only takes about a minute to check both my desktop and laptop (via wireless) for file modifications and then sync the changes.

However it has no UI for setting up automated syncing. You either have to do it manually or set up a scheduled task using the command line program that comes with SyncToy called SyncToyCmd.exe. The problem with there’s no way to hide it’s window. Every time the task runs, a command line window pops up while it’s syncing. Highly annoying and distracting, even if I’m only syncing once an hour.

Well thanks to a bit of Googling, I found a solution. It’s a little NET application someone wrote that acts as a wrapper for SyncToyCmd.exe and makes it run silently in the background.

Success! :)

Snow Leopard Is Considered Fast?

I was reading the New York Time’s technology section this morning on my iPod Touch (ironically) and ran across something I found quite humorous in an article about Apple’s latest version of their operating system, Snow Leopard:

In any case, Snow Leopard truly is an optimized version of Leopard. It starts up faster (72 seconds on a MacBook Air, versus 100 seconds in Leopard).

72 seconds? Really? I don’t know if it’s just me or what, but I find that very slow. I realize that is on a laptop so the CPU probably isn’t great, but comon.

For comparison, I just did a cold boot of my computer and timed it with my iPod’s stopwatch app. It’s specs are nothing amazing (it’s over 18 months old) and I’m running Windows 7 RC1 (build 7100).

  • 0 sec — power button is pressed
  • 10 sec — BIOS screen pops up
  • 25 sec — Windows logo appears (i.e. Windows starts loading)
  • 50 sec — login screen appears (25 seconds after Windows started loading)

After I typed in my password, it only took about 5 seconds (10 max) for my desktop, start bar, start menu, etc. to show up. That’s nearly 15 seconds faster than Leopard, 40 seconds faster if you ignore the 25 seconds that it took my computer to run through it’s pre-OS checks.

I admit it took another 30 seconds or so before everything else was loaded, but in Windows 7’s defense I have about two dozen programs set to auto-start (IRC, BitTorrent, twhirl, etc. etc.). When the install was fresh, it loaded the desktop in an instant.

Or is my reverse Apple fanboism clouding my judgment?

YouTube Adds High Quality, Stereo Audio Videos; My Plugin Updated

UPDATE: This post no longer applies (or works) as YouTube now has built-in HD support for embeds.

Wired is reporting that YouTube now has a 720p-ish (reports vary on what resolution it truely is, but it’s sure good) video playback support. Even more important, the audio is stereo instead of mono (you can really hear the improved quality).

YouTube’s default video resolution is utter crap (not sure what the resolution is) and the existing higher quality video was 480×360. This new video resolution is 2-3 times as good as the previous “high quality” resolution.

To prove it, here’s some sample videos. The difference is more apparent if you click the fullscreen button, especially if you have a large monitor. Make sure to also have your speakers or headphones on to notice the improved audio quality.

YouTube Default (Low Quality)

You don't appear to have Flash installed or are using an out of date version. A recent version of Flash is required to view this video.

YouTube’s Previous High Quality

You don't appear to have Flash installed or are using an out of date version. A recent version of Flash is required to view this video.

YouTube’s New HD Quality

You don't appear to have Flash installed or are using an out of date version. A recent version of Flash is required to view this video.

I have added support to my Video Quicktags plugin but note that if a video does not have the HD quality version available (99% or more don’t), it will drop back to the lowest quality format. As a result, I don’t recommend making the HD format your default on your blog. Instead, set the quality to 22 like this:

[youtube width="630" height="380" quality="22"]http://www.youtube.com/watch?v=zlfKdbWwruY[/youtube]

Automatically Keep Your SVN Checkouts Up To Date In Windows – Rev. 2

This is an improvement upon my earlier post on how to keep SVN checkouts automatically up to date.

DD32 used his awesome Googling skills to find this page in the TortoiseSVN docs that talks about automation. Turns out you can launch TortoiseSVN via the command line, have it update the folder(s), and then close when done. So here’s an updated guide.

These instructions are for Vista, but they are likely similar for XP.

  1. If you don’t already have TortoiseSVN installed, download and install it.
  2. If you don’t already have a copy of WordPress checked out to a folder, do it. WordPress’ in-development SVN URL is http://svn.automattic.com/wordpress/trunk/
  3. Start -> Control Panel -> Administrative Tools -> Task Scheduler
  4. On the right, click on “Create Task” (not the basic one)
  5. Fill out as follows. Paths will likely be different! Click for bigger versions and hover over the images (even when the lightbox is up) to display the comment text.

Done!

To test it to make sure it’s working properly, delete a few non-custom files from your SVN’ed folder. wp-trackback.php, xmlrpc.php, etc. are good test files. Then click on “Task Scheduler Library” in Task Scheduler (it’s on the left), click once on your new task, and then click “Run” on the right-hand side. If it’s working properly, the files your deleted will be restored.

Automatically Keep Your SVN Checkouts Up To Date In Windows

This post has been deprecated as a better method was discovered. Please see this other post for details.

Read the rest of this deprecated post anyway »

The Corpus Clock

Check out this really badass clock called the Corpus Clock:

You don't appear to have Flash installed or are using an out of date version. A recent version of Flash is required to view this video.

[Via: Slashdot]

Page generated with 26 queries in 0.38402 seconds ( 97.28% PHP, 2.72% MySQL )