Friday, May 06, 2011

What kind of liabrary feature Windows 7 got?


The new libraries feature in Windows 7 makes it easier to manage your files and folders. Today we take a look at how to access libraries, how to use them, and how to include network locations to the libraries as well.

The libraries feature in Windows 7 provides a central place to manage files that are located in multiple locations throughout your computer. Instead of clicking through a bunch of directories to find the files you need, including them in a library makes for quicker access.


Access Libraries


To access the libraries in Windows 7, type libraries into the search box in the Start Menu and hit Enter.



The default libraries in Windows 7 will open up in Explorer which are Documents, Music, Pictures, and Videos. 




Anytime you’re in Windows Explorer, you’ll be able to access libraries from the Navigation Pane.




Using Libraries


In these examples we’ll take a look at the Documents Library, but the procedures will work for any library you want to add locations to. If you’ve been working in Windows 7 for a while and storing documents to the My Documents folder, when you open the Documents Library, you’ll see those documents. Some applications install folders in the My Documents folder by default and you’ll see those as well. 




What if you have documents stored in a folder other than My Documents? You need to add it to the Documents Library. There are a couple of ways you can go about it. Right-click on a folder and select Include in library from the context menu, then choose the Documents Library. Keep in mind that when you add a folder to a library, that folder is still in it’s original location.




Or when you have the folder containing your documents open, select Include in library and choose the library to put them in from the dropdown.




Here we take a look at the Documents library that contains files that are located in different places throughout the hard drive, including some on another partition.




You can also remove items from libraries as well. When you’re in a library click on the locations link.


  


The Documents Library Locations window opens up and from here you can add or remove locations.




Create New Libraries


The default libraries are all well and good, but if you really want to take advantage of this feature, you’ll want to create your own. While in the libraries directory click on the New library button and give it a name.




In this example we made a new library called Work Projects. The first time you open it you’ll be prompted to include a folder.




Browse to the location with the files you want to add then click Include folder.




Now the files included in that folder will show up in the new library.




After you’ve created some libraries they’ll be added to the list to select from.


 


Add Network Locations


While libraries are a handy new feature, it’s not perfect. Not all folders can be added to libraries as Microsoft has stuck some rules on them. You can pretty much add anything from a local drive, including other volumes or partitions. External USB drives formatted as NTFS or Fat32 can be added as well. Things get kind of weird when you’re trying to add network and non-indexed locations.




Thankfully there’s a handy free utility you can use that makes adding network locations a lot easier. Win7 Library Tool is small and straight forward to use. Just click on the Create a new library button.




Then add the network location you want included in the library. Notice this tool will also allow you to easily change the library icon which is a neat additional feature.




In this example we’ve added a home network share that contains music files to a library named MP3 library. 




Conclusion


This should help get you started using Libraries in Windows 7, which at first might take some getting used to. Once you understand how they work and start creating your own, you’ll find they’re actually pretty useful. Once you get going, you’ll find the Win7 Library Tool makes adding network locations a snap. How about you? Do you use libraries in Windows 7? Leave a comment and let us know what you like or don’t like about the feature.

Complete Guide to Symbolic Links (symlinks) on Windows or Linux

Want to easily access folders and files from different folders without maintaining duplicate copies?  Here’s how you can use Symbolic Links to link anything in Windows 7, Vista, XP, and Ubuntu.


So What Are Symbolic Links Anyway?

Symbolic links, otherwise known as symlinks, are basically advanced shortcuts. You can create symbolic links to individual files or folders, and then these will appear like they are stored in the folder with the symbolic link even though the symbolic link only points to their real location.
There are two types of symbolic links: hard and soft. Soft symbolic links work essentially the same as a standard shortcut.  When you open a soft link, you will be redirected to the folder where the files are stored.  However, a hard link makes it appear as though the file or folder actually exists at the location of the symbolic link, and your applications won’t know any different. Thus, hard links are of the most interest in this article.

Why should I use Symbolic Links?

There are many things we use symbolic links for, so here’s some of the top uses we can think of:
  • Sync any folder with Dropbox – say, sync your Pidgin Profile Across Computers
  • Move the settings folder for any program from its original location
  • Store your Music/Pictures/Videos on a second hard drive, but make them show up in your standard Music/Pictures/Videos folders so they’ll be detected my your media programs (Windows 7 Libraries can also be good for this)
  • Keep important files accessible from multiple locations
  • And more!
If you want to move files to a different drive or folder and then symbolically link them, follow these steps:
  • Close any programs that may be accessing that file or folder
  • Move the file or folder to the new desired location
  • Follow the correct instructions below for your operating system to create the symbolic link.
Caution: Make sure to never create a symbolic link inside of a symbolic link. For instance, don’t create a symbolic link to a file that’s contained in a symbolic linked folder. This can create a loop, which can cause millions of problems you don’t want to deal with. Seriously.
Create Symlinks in Any Edition of Windows in Explorer
Creating symlinks is usually difficult, but thanks to the free Link Shell Extension, you can create symbolic links in all modern version of Windows pain-free.  You need to download both Visual Studio 2005 redistributable, which contains the necessary prerequisites, and Link Shell Extension itself (links below).  Download the correct version (32 bit or 64 bit) for your computer.
Run and install the Visual Studio 2005 Redistributable installer first.

Then install the Link Shell Extension on your computer. Your taskbar will temporally disappear during the install, but will quickly come back.


Now you’re ready to start creating symbolic links.  Browse to the folder or file you want to create a symbolic link from.  Right-click the folder or file and select Pick Link Source.


To create your symlink, right-click in the folder you wish to save the symbolic link, select “Drop as…”, and then choose the type of link you want.  You can choose from several different options here; we chose the Hardlink Clone.  This will create a hard link to the file or folder we selected.  The Symbolic link option creates a soft link, while the smart copy will fully copy a folder containing symbolic links without breaking them.  These options can be useful as well.


Here’s our hard-linked folder on our desktop.  Notice that the folder looks like its contents are stored in Desktop\Downloads, when they are actually stored in C:\Users\Matthew\Desktop\Downloads.  Also, when links are created with the Link Shell Extension, they have a red arrow on them so you can still differentiate them.


And, this works the same way in XP as well.

Symlinks via Command Prompt

Or, for geeks who prefer working via command line, here’s how you can create symlinks in Command Prompt in Windows 7/Vista and XP.

In Windows 7/Vista

In Windows Vista and 7, we’ll use the mklink command to create symbolic links.  To use it, we have to open an administrator Command Prompt.  Enter “command” in your start menu search, right-click on Command Prompt, and select “Run as administrator”.


To create a symbolic link, we need to enter the following in command prompt:
mklink /prefix link_path file/folder_path
First, choose the correct prefix.  Mklink can create several types of links, including the following:
  • /D – creates a soft symbolic link, which is similar to a standard folder or file shortcut in Windows.  This is the default option, and mklink will use it if you do not enter a prefix.
  • /H – creates a hard link to a file
  • /J – creates a hard link to a directory or folder
So, once you’ve chosen the correct prefix, you need to enter the path you want for the symbolic link, and the path to the original file or folder.  For example, if I wanted a folder in my Dropbox folder to appear like it was also stored in my desktop, I would enter the following:
mklink /J C:\Users\Matthew\Desktop\Dropbox C:\Users\Matthew\Documents\Dropbox
Note that the first path was to the symbolic folder I wanted to create, while the second path was to the real folder.
Here, in this command prompt screenshot, you can see that I created a symbolic link of my Music folder to my desktop.


And here’s how it looks in Explorer.  Note that all of my music is “really” stored in C:\Users\Matthew\Music, but here it looks like it is stored in C:\Users\Matthew\Desktop\Music.


If your path has any spaces in it, you need to place quotes around it.  Note also that the link can have a different name than the file it links to.  For example, here I’m going to create a symbolic link to a document on my desktop:
mklink /H “C:\Users\Matthew\Desktop\ebook.pdf”  “C:\Users\Matthew\Downloads\Before You Call Tech Support.pdf”
Don’t forget the syntax:
mklink /prefix link_path Target_file/folder_path
In Windows XP

Windows XP doesn’t include built-in command prompt support for symbolic links, but we can use the free Junction tool instead.  Download Junction (link below), and unzip the folder.  Now open Command Prompt (click Start, select All Programs, then Accessories, and select Command Prompt), and enter cd followed by the path of the folder where you saved Junction.

Junction only creates hard symbolic links, since you can use shortcuts for soft ones.  To create a hard symlink, we need to enter the following in command prompt:
junction –s link_path file/folder_path
As with mklink in Windows 7 or Vista, if your file/folder path has spaces in it make sure to put quotes around your paths.  Also, as usual, your symlink can have a different name that the file/folder it points to.
Here, we’re going to create a symbolic link to our My Music folder on the desktop.  We entered:
junction -s “C:\Documents and Settings\Administrator\Desktop\Music” “C:\Documents and Settings\Administrator\My Documents\My Music”


And here’s the contents of our symlink.  Note that the path looks like these files are stored in a Music folder directly on the Desktop, when they are actually stored in My Documents\My Music.  Once again, this works with both folders and individual files.


Please Note: Junction would work the same in Windows 7 or Vista, but since they include a built-in symbolic link tool we found it better to use it on those versions of Windows.

Symlinks in Ubuntu

Unix-based operating systems have supported symbolic links since their inception, so it is straightforward to create symbolic links in Linux distros such as Ubuntu.  There’s no graphical way to create them like the Link Shell Extension for Windows, so we’ll just do it in Terminal.
Open terminal (open the Applications menu, select Accessories, and then click Terminal), and enter the following:
ln –s file/folder_path link_path
Note that this is opposite of the Windows commands; you put the source for the link first, and then the path second.
For example, let’s create a symbolic link of our Pictures folder in our Desktop.  To do this, we entered:
ln -s /home/maguay/Pictures /home/maguay/Desktop


Once again, here is the contents of our symlink folder.  The pictures look as if they’re stored directly in a Pictures folder on the Desktop, but they are actually stored in maguay\Pictures.


Delete Symlinks

Removing symbolic links is very simple – just delete the link!  Most of the command line utilities offer a way to delete a symbolic link via command prompt, but you don’t need to go to the trouble.

Conclusion

Symbolic links can be very handy, and we use them constantly to help us stay organized and keep our hard drives from overflowing.  Let us know how you use symbolic links on your computers!

Monday, May 02, 2011

How To Upgrade Ubuntu ISO Without Re-downloading?

Ubuntu 11.04 is finally here and you can’t wait to download it, but as is typical on any Ubuntu release day, the mirrors are crawling. Luckily if you have an old Ubuntu .iso you can update it easily with zsync.

Zsync is a Linux command that allows you to compare an existing .iso with an up-to-date zsync meta file to download only the missing or out of date parts. Combine those parts with your existing file and what you are left with is a completely up to date iso without spending the time to download the entire file.



 

Just how much bandwidth can this save? In our testing, upgrading an iso from Ubuntu 10.04.2 to 11.04 Beta 2 needed to download about 89% of the original file and 10.10 to 11.04 Beta 2 needed 84%. Obviously the more current the original file is, the less you will need to download.

Install zsync

Although zsync is a native Linux command it still works just as well under Windows with the help of Cygwin. If you need help installing Cygwin in Windows,in my another post.
While you are installing Cygwin you will want to make sure you search for zsync on the select packages step.


Zsync is available in the universe repo all the way back to Karmic Koala. So if you are currently using Ubuntu you can install zsync with the normal apt-get command.
sudo apt-get install zsync

Update ISO image

To update your old Ubuntu .iso image, open a command prompt and issue the following command with similar options.
zsync -i /path/to/old/ubuntu.iso http://Path-to-Ubuntu.iso.zsync
This will compare your existing file with the new iso available online, download the missing parts from your current iso, and give you a fully up-to-date new file. Here is an example that lets us update our Ubuntu 10.04.2 image to the latest Ubuntu 11.04.
Note: Using the below command will keep your original Ubuntu 10.04.2 .iso in tact and will create a new Ubuntu 11.04 .iso file.
zsync -i ./ubuntu-10.04.2-desktop-i386.iso http://releases.ubuntu.com/natty/ubuntu-11.04-desktop-i386.iso.zsync


As you can see from the screenshot below, the file we updated with zsync (left) is exactly the same as the original file we downloaded directly (right).


Use the links below for the different zsync files available.
Ubuntu live desktop (with installer) x86 and x86_64

http://releases.ubuntu.com/natty/ubuntu-11.04-desktop-i386.iso.zsync
http://releases.ubuntu.com/natty/ubuntu-11.04-desktop-amd64.iso.zsync

Ubuntu alternate installer x86 and x86_64

http://releases.ubuntu.com/natty/ubuntu-11.04-alternate-i386.iso.zsync
http://releases.ubuntu.com/natty/ubuntu-11.04-alternate-amd64.iso.zsync

Ubuntu server x86 and x86_64
http://releases.ubuntu.com/natty/ubuntu-11.04-server-i386.iso.zsync
http://releases.ubuntu.com/natty/ubuntu-11.04-server-amd64.iso.zsync

You can also use zsync to change between Ubuntu distributions. Use any of these links for the popular downloads of different Ubuntu flavors.
From our testing, changing from Ubuntu 10.10 to Xubuntu 10.10 required us to download less than half (42%) of the full Xubuntu file.

Kubuntu live desktop (with installer) x86

Note: Kubuntu is only available in DVD form so you will be downloading a significant portion of the DVD image.
 
http://cdimage.ubuntu.com/kubuntu/releases/11.04/release/kubuntu-11.04-dvd-i386.iso.zsync

Xubuntu live desktop (with installer) x86

http://cdimage.ubuntu.com/xubuntu/releases/11.04/release/xubuntu-11.04-desktop-i386.iso.zsync

Ubuntu Studio live desktop (with installer) x86

http://cdimage.ubuntu.com/ubuntustudio/releases/11.04/release/ubuntustudio-11.04-desktop-i386.iso.zsync

Saturday, April 30, 2011

Ask the Readers: How Do You Keep Track of Your Passwords?





If you’ve been online for more than a day or two you’ve already amassed a pile of passwords. How to you keep track of them, organize them, and ensure you’re always using strong and unique passwords? We want to hear all about your password tricks.


Photo by Taki Steve.


Employing a wide array of passwords that are suitably long yet easy enough to remember (or stored efficiently so you don’t have to remember them) isn’t always easy—and a significant number of people simply fail to vary their passwords or make them strong enough in order to avoid the hassle. This week we’re interested in hearing how you manage, track, and otherwise organize your passwords. What tips, tricks, and/or tools make your password scheme functional and user friendly? Whether you use an ivory cipher or a digital key ring, we want to hear about it.

Sound off in the comments below—the more detail the better—and then check back on Friday for the What You Said roundup where we showcase all the great reader tips and tricks you’ve shared.

Wednesday, April 27, 2011

How To Create and Run Your Own Audio Podcast...


Ever feel like taking your voice to the web, literally? Podcasts are a great way to interact with people and supplement a blog. Here’s what you need to know, from buying a mic to hosting it on your site.
 

(Image by notfrancois)

Step 1: Premise and Dedication


An audio podcast – netcast, if you really want to be brand impartial – is a great way to start a communicative repertoire with people over the internet. It’s also a great supplement to a blog, for readers who don’t have time or for more in-depth analysis. Before you do anything, though, you really have to nail down a premise. How is your podcast going to work for you? What is it supposed to do for your readers? How long will it run? How many people will host, and will you have guests? Is it straight-forward like a talk-show, or a sound-scape with effects and background music? Planning a general outline is a good idea, too, so you can fill it in for each episode. Organization makes podcasts much easier to listen to and understand, and if you have to put in ads you’ll know where to break.


Whether you’re doing a small-time podcast or a fully-professional one, dedication is key. Unlike blog posts, where a momentary tangent can set you off and you can churn post after post out at your leisure, podcasts are more structured. There’s less time for tangents, and you need to have source material for your talk at your disposal. Even if you’re only doing a monthly podcast, there’s still a lot of preparation to go through, and this is all before you consider the physical equipment and bandwidth you’ll need. You shouldn’t be discouraged, but you need to realize that it takes time, effort, and a lot of dedication to be able to finish episodes. It’s definitely a responsibility, but there’s plenty of it that’s fun and entertaining, too.

Step 2: Equipment







Here’s a list of equipment you will probably need in some form:

  • Microphone
  • Preamp/Condenser/Hardware EQ
  • Computer
  • Audio Editor
  • Headphones
  • Stands for Mic(s)

Since you’re recording audio, the most important piece of equipment is your microphone. This is where most people will probably spend most of their money, and rightfully so. If you don’t capture good audio, there’s little you can do to bring the quality up. As the adage goes, Garbage In = Garbage Out. There are two types of microphones that are relevant here, dynamic and condenser. Dynamic mics are usually more expensive, but they do a great job of isolating the voice so you can get rid of background noise. Condenser mics are cheaper and make your voice sound more “natural,” but they’re more vulnerable to background noise. The Heil PR 40, at $320, is a unanimously recommended dynamic mic that still sounds very warm and natural, and there’s even a shockmount available for it.


Ultimately, it depends on your setup. If you’ve got more professional means, you can afford better equipment or hire someone to man the mic who knows good technique. If you’re on a lower budget, though, it makes sense to spend more for a dynamic mic with a good stand. Check to see if your mic requires a preamp to boost its signal; some do and some don’t, but it’s an additional cost to factor in. USB mics are an option as well, the advantage being that they don’t require an audio interface, but if you step up later on to more professional equipment, you’ll have to replace it. The Samson Meteor Mic is a great choice for $100.


If you’re running a podcast, odds are you’ll have a computer that can handle audio processing and the like. The benefit of having a real preamp, a hardware compressor, or hardware EQ, is that you’re getting a really good signal from the mic. Some mics (especially the XLR type) require preamps or a proper audio interface to add gain and allow your computer to work with them. The M-Audio Fast Track Pro is a 4×4 USB audio interface with preamps built in. It works and sounds great, is pretty portable, and can be found cheaply for about $170. If you’re on a low budget and using a USB mic, you can probably skip the preamp and use good recording software.


As far as software goes, Audacity is a great, free, cross-platform sound editor that also records really well. If you don’t mind spending some money, Adobe’s Soundbooth is good, and Mac users have GarageBand, and both make editing audio much easier.


Good stands are important because they can dampen ambient feedback and keep your hands free to use your computer. They’re also really important because they take strain off of your neck and back. This is key when you’re trying to speak clearly, enunciate, and project. Slipping a thick sock over your mic works pretty well in place of a pop filter if you’re on a budget, and this is important because it allows you to keep the mic close to you when recording.

Lastly, you’ll want a good pair of headphones. You need to hear what everyone – whether remotely on Skype, from the mic right next to you, or just you – are saying, and you need to do it without it feeding back into the mic. In-ear monitors work really well, or over-the-ear cans, but whichever you choose, make sure they’re decent quality. Those old iPod headphones you have laying around probably won’t cut it.

Step 3: Setup and Recording



(Image by theunabonger)


Once you’ve decided on your equipment, you need to designate your setup. You need a professional sound studio, just a clear room where people can move, sit, and talk without much background noise. If you’re in a more public setting, you’ll need better equipment, but it can be done. Mic stands are optimal because you want to be free – free to move your arms and free to keep a good posture. Get a good recording level from close to the mic, and hopefully that sock will keep the spikes in volume down. Compressors are good for this reason, but like previously stated, aren’t completely necessary.

Once everyone’s comfortable, record. Try to speak slowly and enunciate. This isn’t just for the listeners; you can edit much better if you can hear things clearly and your voice has a steady pace. You’re going to mess up here and there, and that’s fine. Just say that you need to cut/edit it (so you can remember to do so when you go through it again), and keep talking. Leave some breaks when you can, and if you need, you can always record in different sessions. And lastly, don’t forget to keep sipping water. Talking is a thirsty business!

Step 4: Editing and Polishing the Audio





If you started with good audio like you should have, then you just need to make edits and cut out the errors. You may want to add breaks and put ads in. Luckily, we’ve got a article that’ll tell you just how to go about making these kinds of edits using Audacity!






In general, you want the audio to be clear, so you can use some noise removal if your mic or recording settings didn’t filter everything out. It should also have an even volume throughout the track. The compressor effect in Audacity is easy to use if you know how it works. When all is said and done, you can export everything into a .mp3 or .aac file. You can raise the quality if you’re adding music and have multiple speakers, but if it’s just you and you have a good quality recording, you might be able to compress it down without a lot of negative effects and you can probably get away with mono audio. Plain voice tracks aren’t really complicated, and unless you tried to make it more “interesting,” a 64 kbps .mp3 in mono is fine. If you’ve got more going on, you can go with a 128 or 160 kbps file in stereo. Keep in mind your bandwidth limitations.

Step 5: To the Web!



 (Image by Bert Heymans)


Finally, you’ve bought the equipment, talked and talked, and edited it down to a nice organized piece of discussionary art. How are you going to get people to listen? There’s two parts to that: the hosting and the feed. Hosting is where the podcast is coming from, whether it’s your website, or a higher-bandwidth storage space. Feeds are how they’re accessed by a reader/aggregator, like iTunes.


If you have your own blog, you can host your own podcast and design your own feed. There are plenty of web resources on how to create your own iTunes-compliant podcast RSS feed. Podcast Generator is a great PHP script that lets you easily publish a proper RSS feed for your podcasts. It’s open source, so if you have your own hosting, you should check it out.

If you’re running your podcast independently of a website, you may want to consider third-party hosting. Often, these websites will not only host your podcasts, but will make the proper RSS for you as well. You can advertise/publicize it as you need and the feed’s URL will go back to the host. The downside to this approach is that there are often limitations, either to length, file size, or bandwidth, or the amount you have to pay per month to expand them. Here’s a short list of a few podcast hosts:

Apple iPad 2 MC916LL/A Tablet (64GB, Wifi, Black) NEWEST MODELApple iPod touch 32 GB (4th Generation) NEWEST MODELDigitalsOnDemand 15-Item Accessory Bundle for New Apple iPod Touch iTouch 4G 4th Gen Generation 8GB 32GB 64GBMicrosoft Windows 7 Home Premium Upgrade Family Pack (3-User)Microsoft Windows 7 Home PremiumWindows 7: The Missing ManualWindows 7 Home Premum 64 Bit System Builder 1pk [Old Version]