Symbolic links in Windows Vista / 7

All you advanced *nix users must have at one point in your life used symbolic links to maintain relationships between folders. But I’ve always found it sad that Windows couldn’t do the same.

From Windows Vista onwards, now you can do this from the Command Prompt! The command required to do this is mklink. You will need administrative privileges to do this, so remember to run your cmd.exe in administrator mode.

This is the description of mklink from Windows 7:

> mklink /?
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

/D Creates a directory symbolic link. Default is a file symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link refers to.

Note from the description that you need to differentiate files and folders as different types of symbolic links in Windows. This is probably because the Windows file systems treat directories differently from files, while in *nix systems directories are also considered as files.

/D and /J should be used on directories. To the best of my abilities, I couldn’t differentiate these 2 options, except that Junction points cannot be built on remote directories (that’s kind of a weaker version of /D isn’t it? So why make 2 toggles..).

/H are hard links, but they are only allowed for files, not directories.

Finally, as you should expect, deleting a symlink or hard link does not delete the original file or folder. Deleting the original file does not delete the hard-linked copy of the file.

Posted in Computing | Tagged , , | Leave a comment

Review: HP Touchpad 16GB and the WebOS

I’ve played with the HP Touchpad for a few days. I love it a lot, but also feel somewhat disappointed at it in some other areas. Overall, the Touchpad did not live up to the performance that I felt I’d have liked. But at USD$99, it was a steal for this kind of product.

Booting up

I took this video when I first booted up this machine.

In total, it took the device 2 whole minutes to get started up. Hello HP, this is a tablet, not a PC..

Some of you are already thinking, it doesn’t matter, most of the time the machine will be sleeping, not shut down. Yes, I agree with you, you’ll probably never need to reboot this thing. It’s not an extremely bad problem, but people just don’t like waiting. Besides, a long loading time means it is loading tons of services and applications in the background, and that’s bad.

Screen size

The huge 9.7″ screen makes it very easy to organise and look at information. I might not have liked a tablet as much if it offered only 7″ screen estate.

I also found it extremely easy to type on the HP Touchpad, no small thanks to the 9.7″ huge screen size. I could even type with both hands, so it was really enjoyable typing on the Touchpad. I can never get myself to type on a smartphone properly, especially if I’m walking and typing at the same time. I’m pretty sure I can do that with the Touchpad.

Touch Accuracy

The Touchpad has an amazing touch accuracy. There’s also this ripple effect on the screen each time you touch it, so you know exactly where you clicked on. It makes the tablet so much more fun and enjoyable to use!

Speakers and Beats Audio

With Beats Audio™ in the Touchpad, the sound quality it provides should be phenomenal. Unfortunately, the in-built speakers are too weak to provide any justice for it. And doubly unfortunately, I don’t have a good enough pair of earphones to test the power of Beats Audio. I guess I’m missing out a little here..

Multitasking

Multitasking screen

WebOS was designed to allow multitasking, unlike current generations of major phone OSes (iOS, Android, WP7). Each application running in the background shows a screenshot of itself, and you can navigate through them pretty much the same way the Blackberry Playbook does. Webpages load even when they are zombified in the background, as expected. When an application launches an external window, it appears partly overlayed on the original application, so there is an implicit grouping of windows by application.

Lag..

No doubt about it: The Touchpad lags worse than an iPhone 3 running iOS4. When navigating through the apps at the multitask screen, you see noticeable lags in the system. The worst experience was when I brought up the in-built Calendar application. After syncing with my Google Calendar, I tried browsing around the calendar. Each flick I made with my finger took 1-2s to load completely, and the animation was choppy (3 fps?!). I’d rather do without the animation. I don’t know what’s wrong with it, since this thing has a good CPU and a decent amount of memory.

Animation

Animation makes an OS feel alive. But too much animation makes an interface look slow, as a user has to wait for the animation to complete before giving it the next command. The WebOS brings “too much animation” to a whole new level: it disrupts the entire system. I was able to close applications while it was still loading, and WebOS would still believe that it was open and continued “running” in the background. Awesome..

Video Playback

… is extremely stupid. They only allow mp4 files encoded in H.263 or H.264 codec. Which practically excludes nearly the whole world of video, except Youtube. I chanced on a failblog video recently on my Facebook, and tried to watch it on the Touchpad. Hmm.. Nope. It doesn’t load.

Integrated Skype

Skype has been integrated into the video call application, so it was pretty easy to set up and use. Since the Touchpad has a front-facing camera but no back-facing camera, I’m guessing that HP designed this from ground to be primarily for communications, not as a gigantic camera you use to take photos of your daughter’s birthday party.

Sadly, WebOS has blown it here too. The interface is beautiful, but the price for this beauty is significant lag when navigating around in the video call app. No prizes for guessing that the rendering of the video chat also lags. In one Skype call with my brother just 1m beside me, I measured a 2s lag from the time he performed an action to the time I saw it on my screen. At 3fps. BAD!!! And finally, remember the animation problems I mentioned earlier? In one of the test calls, I managed to close Skype just before the application loaded, and somehow the call persisted and I could hear the call going on. I managed to replicate the problem a few more times, so this is not a 1-off problem!

System Notifications panel

The notifications panel is on the top of the screen, and is always visible. I like how they packed in the most commonly used features in a single menu, which you can turn on and off with at most 2 clicks.

Notifications Panel

Notifications Panel

Icons appear conspicuously beside the notification tray whenenever there is a new notification. Otherwise, the panel remains very clean. I have rarely encountered a situation where I saw more than 3 icons at once.

VPN

I don’t have a VPN to connect to, so I couldn’t test the option. This was obviously made to cater for the business user, but now that this thing has gone EOL I’m not sure if this feature be prove any more useful to others in future. Still, kudos to WebOS for having this built into the system!

Facebook App

The Facebook App is one of the most well-designed app in the WebOS suite of default apps. The commonly used features are grouped together logically. When you click on a link in one of your feeds, it opens up the link within the app, instead of bringing you to the browser. This way, you’re working within the application all the time. You will also see some lag when using the app, but overall the well-designed user interface gives it the thumbs-up it deserves.

Youtube App

The Youtube App, unlike the Facebook App, is a complete disaster. This is how the Youtube App works:

  1. The Youtube App starts.
  2. Youtube App launches the browser, and redirects it to youtube.com, appended by “/?client=hp-touchpad“.
  3. Clicking on any video removes the “/?client=hp-touchpad” request, and the browser proceeds to play the youtube video like it would on a browser.

Essentially, the app is just a redirect to youtube.com… I’m not even sure why they bothered to release it.

Adobe Reader / Kindle Reader

One of the reasons why I bought the Touchpad is to use it as an eBook reader. The Adobe Reader comes bundled by default, so it was a nice touch by HP. The Kindle app is also bundled if you chose “United States” as your current country. Overall, both apps are easy to use, although (guess what?) lag is visible whenever you “flip a page” in either app.

Conclusion

The Touchpad itself is a great, sleek, and well-designed device. If HP did not decide to sell off its PC business, this would have been a great contender to the iPad family.

WebOS, on the other hand, is under-developed, but overpolished. The user interface is very intuitive, and feels great in many places, but in many other respects, the OS just plain fails. Video codec support would be one of the biggest gripes I have on the system. If it were released into the wild with enough user feedback, the WebOS with its multitasking ability could take a sizeable bit of the Tablet OS pie. Now we’ll never know.

Posted in Computing | Tagged , , | Leave a comment

Unboxing: HP Touchpad 16GB

As many of you now know, HP is having a fire sale of all its consumer PC products, and that has made the Touchpad probably one of the most highly sought after EOL-product in the history of technology. Thanks in no small part to a long n-hours wait and rush, I am now a proud owner of one of these! Here are the pictures of the unboxing.


The original Touchpad box before opening. Feels very beautiful and polished.


The box is carefully covered by a layer of plastic.

The touchpad and its box of accessories on its left. I like that there are a few labels (power, volume, home button) on the plastic screen cover.

The accessories that came with the Touchpad. It came with the 110V American charger too! Awesome!

What's this?

As shown in my previous post, the full contents of the Touchpad. A box of manuals and instructions seats below the Touchpad itself.

Review will come later, as I am still exploring the innards of the WebOS.

Posted in Computing | Tagged , , | Leave a comment

What’s this?

What's this?

Sneak preview of what’s going to be posted next: The Unboxing of ….

Posted in Computing | Tagged , | Leave a comment

Win 7 Tip: Abstracting User Data from OS data

Windows 7 (and Vista and XP) users: Where do you store your documents? Music? Videos? Photos?

If I had to make a guess, I’d say it’s most likely in these directories: C:\Users\<your username>\My Documents
C:\Users\<your username>\My Music
C:\Users\<your username>\My Pictures
C:\Users\<your username>\My Videos

Am I right? 90% of you will say yes; hence the need for my post.

The problem with this configuration is, your data is on the same drive as the Operating System (OS). And that makes it hard to separate your data from the useless OS files when things go wrong with your OS, and you need to reinstall.

As a technician for many years, my experience has told me that if I need to reinstall another person’s computer, I usually spend more than half of my time trying to backup his data, and most of those backed-up data end up being useless junk OS files that take up space and time to backup. So if I know I’m backing up useless OS files, why do I still do it anyway? Because it’s more convenient and faster than picking through the pieces to find out what is important. And any technician reinstalling your computer will most likely have to do this, or risk losing some personal file or information that you had.

So I’m going to help you make your life (and mine as a technician) easier: With minimal guidance, you can save yourself lots of money, because your technician will spend less time reinstalling the computer. The technician will also be grateful because he doesn’t have to spend half a day picking through files worrying that he has not backed up some of your data.

Data in a drive

Some of you might have seen multiple hard disk drives on your computer, like this:

In order for you not to lose your data when the OS is reinstalled, you need to separate out your data in another logical drive. C: is used to install your Windows and applications (MS Office, iTunes, World of Warcraft, etc). Applications have to be reinstalled if you reinstall an OS, so you can afford to lose these files if the OS goes down.

The magic happens in D:. All your data like music, videos, pictures, documents, powerpoint slides for your presentation next Thursday, should be stored in this D:. In fact, Microsoft has already helped you by “sorting out” the major kinds of data you will have:


The magic steps

Most of you have made use of these folders for a long, long time. Well, there’s no point in changing habits, but I’m going to help you move these folders into the separate data D-drive. I’ll use “My Documents” as an example:

  1. Create a new folder with the name “Documents”
  2. Right click on “My Documents” icon in your user folder, and select “Properties
  3. Select the “Location” tab
  4. Click on the “Move” button, and navigate to your D:\Documents folder, and click “Select Folder”
  5. Click “Apply”. A confirmation dialog will ask you if you want to move all files to the new location. Click on yes.
  6. You’re done! From now on, double-clicking on “My Documents” will bring you to D:\Documents instead of C:\<username>\Documents.

Now you can repeat the steps above for all or some of those data folders inside your user folder. For example, I don’t use the “Saved games” folder, so I don’t need to migrate that to the data D:.

If you are one of those who regularly put nearly all your working documents on the desktop so you can access them any time, it is recommended that you migrate the “Desktop” folder as well. (Win XP folks, sorry you ain’t so lucky, Desktop in Win XP isn’t a migrate-able folder. I don’t know if you can do it for Vista either).

Finally, for those of you who are sharing a computer with your family at home, don’t worry. You can always create different folders and point each user’s documents to it. For example, if John and Mary shared the same computer, they could create folders called D:\John and D:\Mary, and migrate all their own data folders in it.

Posted in Computing | Tagged , | Leave a comment