After a Year of Secret Field-Testing, Brain-Controlled Bionic Legs Are Here

An anonymous reader writes: Today, an Icelandic prosthetic-maker announced that two amputees have been testing brain-controlled bionic legs for over a year. The devices respond to impulses in the subjects’ residual limbs, via sensors that were implanted in simple, 15-minute-long procedures. "When the electrical impulse from his brain reaches the base of his leg, a pair of sensors embedded in his muscle tissue connect the neural dots, and wirelessly transmit that signal to the Proprio Foot. Since the command reaches the foot before the wearer’s residual muscles actually contract, there’s no unnatural lag between intention and action." This is a huge step forward (sorry) for this class of bionics. It may seem like a solved problem based on reports and videos from laboratories, but it’s never been exposed to real world use and everyday wear and tear like this.

Share on Google+

Read more of this story at Slashdot.





via Slashdot
After a Year of Secret Field-Testing, Brain-Controlled Bionic Legs Are Here

How to Migrate From an Old NAS to a New One Overnight with rsync

How to Migrate From an Old NAS to a New One Overnight with rsync

A NAS, or network-attached storage device, is great for storing files you can reach from any computer in the house. But when you upgrade to a new one, you’re stuck copying everything over by hand, swapping drives, and risking data loss. Here’s a much more reliable method.

Not too long ago, I picked up a brand new NAS with way more space than my old one. It’s great, but as soon as I set it up I was stuck with the task of transferring terabytes of data from to the new NAS. I didn’t want to physically move drives, since the old drives were smaller than the new ones. Since I was moving from one Synology NAS to another, I could have used their migration tool, and you’d be right, but if I were moving from a Synology to a ReadyNAS, or from FreeNAS to Synology, I wouldn’t have had that option. I wanted a platform-agnostic method. After mulling over the dozen or so ways to get the job done, I settled on one of our old command line favorites: rsync.

Why rsync Is the Best Tool for the File Transfer Job

I can hear you now: “Why use the command line for this? I could use [X METHOD] to do the same thing,” and you’d be right! There are a lot of ways to get the job done, but rsync has a few significant advantages over just opening a pair of windows on your PC and dragging files from one to the other. Here are the big ones:

  • rsync is probably already on your NAS. Whether your NAS is an off-the-shelf enclosure packed with drives or a DIY model running your preferred operating system, odds are it’s running a variant of linux. That means the command line—and rsync—are already installed. Sure, if you’re moving from one brand of NAS to another of the same brand, there may be built-in apps to help, but the beauty of rsync is that it works anywhere, no matter the brand and no matter how big the drives or volumes are.
  • rsync retains metadata. That means things like file ownership, original creation date, modification dates, file permissions, and all that jazz are retained when your copy lands in its new destination. Users and permissions on the new system notwithstanding, if you don’t want all of your files to get brand new creation dates, generate new thumbnails, or things like revision history are important to you, this is a good method to make sure that information is preserved.
  • rsync eliminates the middleman. When you use your PC to copy files from one system to another, your computer is acting as a middleman between the two NASes. That creates another point of failure in the transfer, not to mention keeps your main computer unnecessarily busy. If you’ve ever done long, multi-file copy operations in Windows, you know this can be annoying at the least, and even the smallest thing will make that copy crap out. When it does, you’re stuck trying to figure out where the copy failed, why, and where to start again. Since rsync is a device-to-device copy, it runs whether your computer is on or not.
  • rsync supports resumed transfers, diffs, and syncing. If for some reason your transfer dies, like a freak power outage, a system error, or any other problem, rsync is capable of picking up right where you left off without issue. Similarly, since rsync was designed to synchronize directories (and keep them in sync), if you have any need to keep your old NAS in sync with your new one, or you accidentally drop new files on your old NAS that should be on the new one, rsync can move them for you, and will only touch the changed or new files in the process.
  • rsync minimizes network overhead. This may not matter to you if you do this overnight—and you probably should—but one of the best things about rsync is that it doesn’t carry the same kind of network load that other tools do. That means your other backups or downloads won’t slow to a crawl just because you’re using it, and other people on your network probably won’t notice anything’s going on at all.

Like we mentioned, rsync is designed for synchronizing files, not just copying them. We’ve shown you how to mirror systems with it before, and how to sync iTunes with any USB device, but it’s also useful just for straight machine-to-machine copies because it’s so flexible. It can even give you a handy progress bar so you can make sure everything goes smoothly.

Step One: Enable Remote Access and Choose Your Transfer Method

How to Migrate From an Old NAS to a New One Overnight with rsync

The other nice thing about rsync is that it’s just a command line away. You can’t just fire up a terminal window and start copying though—you’ll need to do a little initial setup.

First, you’ll need to make sure that SSH access is enabled on both your old NASes. SSH allows you to log in to your NAS from the command line, using a secure shell. On my Synology NAS, this was right under Control Panel, labeled “Terminal & SNMP.” You’ll likely find it in a similar place on your NAS, but it’s usually under System, Remote Access, or any other synonym for “remote management.”

Once you have remote access enabled on both NASes, and you have the admin (or root) credentials for both systems, you’re ready to go. Now we’re ready to log in to our old NAS and push our files to the new one.

How to Use rsync to Transfer Files

How to Migrate From an Old NAS to a New One Overnight with rsync

Now it’s time to get down to business. Use your favorite SSH tool (in Linux or OS X, you can just open a terminal window, in Windows I like PuTTY for this) to log in to your old NAS. In OS X or Linux, just open a terminal window and type this:

slogin admin@[IP ADDRESS OF YOUR OLD NAS]

You’ll be prompted to log in, and once you do, you’ll get dumped into a new command line representing your NAS. In Windows, open PuTTY. In the host name field, type in the IP address of your old NAS, make sure SSH is selected, and click Open. You’ll be prompted for a username (admin or root) and a password. Once you’re logged in, you’ll be dropped at the command line for your NAS.

Now it’s time to run rsync. The syntax is pretty simple. You’ll need to tell rsync how to log in to the remote device, and where to put the files, all in one command. Here’s how:

rsync -azP [SOURCE DIRECTORY] admin@[IP ADDRESS OF YOUR NEW NAS]:[SOURCE DIRECTORY]

So, let’s say I have a folder on my old NAS called “old_movies,” and a folder on the new one called “new_movies.” To copy everything inside “old_movies” to “new_movies,” the command would look like this:

rsync -azP old_movies/ admin@192.168.1.X:new_movies

Where 192.168.1.X is the IP address of your new NAS. Once you run this, you’ll be prompted to verify that the SSH key for the new NAS is indeed correct, and that you want to store it for future use. You may get a warning about the key the first time you connect, but that’s okay. Type “yes” to continue. You’ll be prompted to log in to the new NAS with the admin password. Go ahead and do that too. If everything else was successful, as soon as you do, your file sync will begin.

How to Migrate From an Old NAS to a New One Overnight with rsync

Before we go on, let’s talk about those flags—the “-azP”—you see in the command above. They’re important, and here’s why:

  • The “-a” flag in there stands for “archive,” and it’s important to include. It makes sure that the sync command is recursive (meaning any sub-folders and files inside of old_movies are copied too) and it’s important for preserving all of those modification dates, symbolic links, permissions, and other goodies we talked about earlier.
  • The “-P” flag combines two other useful flags into one here that you’ll want to use. It combines the flags for “progress” and “partial,” and when used you’ll get a progress dialog at the command line that shows you which file is currently transferring, what percentage of that transfer is complete, and how many more files are left to check. As each file completes, you’ll see an ever-growing list of completed file transfers, which is great for making sure everything transfers successfully. It also allows you to easily resume suspended or interrupted transfers. Combined, you can see how it’ll show you which file was the last one to go, where it failed, and if it failed, give you the option to resume. It’s a pretty powerful combination.
  • The “-z” flag is a handy rsync tool that compresses the files when transferred, which gives you that whole “light on bandwidth” benefit we discussed. If the files are already compressed, you won’t get much benefit here, but if they’re not, this will get the job done without slowing down the rest of your home network.

You should double-check your command before you copy, just to make sure you’re copying to the right directory and directory structure.

When it comes time to migrate your whole NAS, you can do this directory by directory, or you could do it like I did—in one swoop, overnight. Do one small directory as a test to make sure you have your syntax right, and when that works, move up to the parent directory, and copy the whole thing at once. It’ll take ages, but when you’re finished, your new NAS will be set up exactly like your old one was, all ready to go.

If you’re a stickler and prefer granular control, create your directories and shares on the new NAS, then just copy the contents of each directory from the old NAS to the new one. That way you’ve created the directories and granted them permissions using your NAS’s interface, and the files inside will retain whatever permissions they had.

Troubleshooting Issues, Updating Directories, and Additional Reading

How to Migrate From an Old NAS to a New One Overnight with rsync

If you run into issues with the copy, or with other odd, quirky problems, do some Googling for your error messages and the OS of your old or new NAS. You’ll be surprised what you’ll turn up, and how many people had the same problem you did. In my case, when I was migrating my Synology NAS, I ran into some quirky “rsync service is not running” errors when I tried to push or pull files, only to find out that I needed to make sure Synology’s “Network Backup Service” and “Network Destination Service” were enabled on both the source and destination NAS—two checkboxes buried deep on the Service tab of “Info Center” in the Control Panel. I also had to make sure I logged in as root—logging in as admin wouldn’t cut it. Luckily, Stefan came to my rescue with this helpful post on the error.

Similarly, Justin Ellingwood’s rsync walkthrough on DigitalOcean’s community forums is super helpful if you want to learn the ins and outs of rsync for the purpose of moving files across systems, and helped me identify the best flags to use and when to use that trailing slash and when not to. If you accidentally write to the old NAS instead of the new one, and need to run a differential sync—that is, use rsync to just copy the changed or different files since your last sync—he has instructions on how to do that, too. If you’re an old hat with rsync, this walkthrough at How-to Geek will help you take those skills to the next level.

Once you have all of your files migrated, you’re free to do whatever you want with the old NAS. Turn it into a download box, a home theater system, use it for unimportant files or backups, whatever you want. If you plan to sell or get rid of it though, make sure you wipe it properly and clean it up beforehand. With luck, you can get some cash for it.

Title photo made using Denis Dubrovin.


via Lifehacker
How to Migrate From an Old NAS to a New One Overnight with rsync

Build a Block Retaining Wall to Beautify a Steep Slope

Build a Block Retaining Wall to Beautify a Steep Slope

A yard with a steep slope can be difficult to landscape. Build a block retaining wall to add level tiers to your yard, which prevent erosion and provide a perfect place for a flower garden.

Engineering your retaining wall is the most important part of the process, as a well constructed wall should support hundreds of pounds of soil and plants. Proper drainage is vital to the long-term success of your wall.

Consider hiring a landscape architect to assist in design and planning. It’s possible that your expectations are beyond your DIY skill levels, which is always best to know before you start building.

You can buy retaining wall blocks at Home Depot for as little at 60 cents each, and spend up to $3 each for larger and nicer blocks. You’ll need a shovel, mallet, hand tamper, wheelbarrow, yard stick, level, and caulking gun.

Expect to spend a weekend or two to build this project. This Old House has a great video at the link below with in-depth instructions on constructing a block retaining wall.

How to Build a Retaining Wall | This Old House

Photo by Scott Costello.


Workshop is a new blog from Lifehacker all about DIY tips, techniques, and projects. Follow us on Twitter here.


via Lifehacker
Build a Block Retaining Wall to Beautify a Steep Slope

Creating and Restoring Database Backups With mysqldump and MySQL Enterprise Backup – Part 1 of 2

If you have used MySQL for a while, you have probably used mysqldump to backup your database. In part one of this blog, I am going to show you how to create a simple full and partial backup using mysqldump. In part two, I will show you how to use MySQL Enterprise Backup (which is […]
via MySQL Server Blog
Creating and Restoring Database Backups With mysqldump and MySQL Enterprise Backup – Part 1 of 2

Making real Predator blades that are sharp and retractable is bad ass

Making real Predator blades that are sharp and retractable is bad ass

Man at Arms: Reforged just showed off their latest movie weapon badassery and this time they recreated the retractable wrist blades from Predator. The design is especially sick because they made the entire gauntlet that Predators wear on their wrist and it can quickly shoot out with one motion.


SPLOID is delicious brain candy. Follow us on Facebook or Twitter.

via Gizmodo
Making real Predator blades that are sharp and retractable is bad ass

The Best Bike Lock (and How to Use It), According to Bike Thieves

The Best Bike Lock (and How to Use It), According to Bike Thieves

A decent bike lock can be the difference between cruising home and hoofing it. Not to mention the blow it can deal to your wallet. This bike lock will give you the most bang for your buck, and it’s what seasoned bike thieves would use on their own rides.

You don’t want to throw down your hard-earned money on a bike lock unless you know it’s going to keep your ride safe from thieves. Eric Hansen at The Sweethome did some extensive product research and then spoke with some real-deal bike thieves to see which locks manage to foil them. One thief, dubbed “Bug Out,” explained that U-locks require special tools and aren’t worth his time. Another thief, known only as “Jimmy,” agreed, suggesting you have to be able to cut through both legs.

We’ve suggested U-locks before (and explained that the best practice is the Sheldon method), but which U-locks are the best? Hansen suggests the $42 Kryptonite Series 2 package, which comes with the U-lock and a four-foot long cable, for bikes that cost less than $1000. For anything more expensive than that, you’re better off with the pricier Kryptonite New York Standard Bicycle U-Lock with Transit FlexFrame Bracket for $79. These locks were their pick last year, but continue to remain at the top of their list. Most locks—like cable locks and padlocks—are easy for thieves to crack with minimal tools, so make sure you’re protecting your bike as much as you can. To read more about the other bike locks tested—and learn more from the interviewed bike thieves—check out the link below.

The Best Bike Lock | The Sweethome

Photo by Richard Masoner.


via Lifehacker
The Best Bike Lock (and How to Use It), According to Bike Thieves

Video of Kids Trying to Figure Out How to Dial a Number, and Send Text Messages, on a Rotary Phone

First off, this video making the social media rounds is giving folks a quick chuckle:

As you can see, it’s a kid apparently bewildered by seeing a payphone for the first time. From a designer’s perspective, it’s interesting to see him tentatively move the receiver towards his ear; however foreign the device appears, the form of the receiver seems to provide some clue as to its function.

But what about the rest of the phone, or say, a rotary phone? For that we turn to YouTube channel The Fine Bros, which regularly posts videos exposing kids to old technology (or old folks to new technology) to record their confusion. In this one below, they ask kids if they can figure out how to dial a number–and send text messages, in a bit of misdirection–using a rotary phone, and it is nothing short of fascinating. We’ve queued the video to the appropriate part:

Watching it dawn on the kids that text-messaging once did not exist was priceless. But to be fair to them, perhaps the early interface design of a rotary phone is not as intuitive as we old-timers imagine it to be. In fact, when rotary phones were first introduced, adults had to be taught to use them too; the phone companies produced actual training videos for the public.


via Core77
Video of Kids Trying to Figure Out How to Dial a Number, and Send Text Messages, on a Rotary Phone

Install Your Own Cable Railing for a Better View on Your Deck

Install Your Own Cable Railing for a Better View on Your Deck

Standard horizontal deck railing looks great, but when you’re seated in your favorite rocker, they can obstruct an otherwise magnificent view. Switch to cable railing which keeps your deck secure and maintains excellent sight lines.

Before investing time and money into this project, check with your local building codes to ensure you will pass inspection. Deck construction is monitored carefully, as it should be.

Cable railing has been popular on modern homes for years but is now growing in demand among many different home styles. You can buy a CableRail kit from Feeney that has everything you need to install cable railing yourself. The only tools required are a drill, wrench, cable cutters and a pair of pliers.

For more detailed instructions, check out the link below.

I Can See Clearly Now the Rails are Gone | HomeFixated

Photo by Carolina Model Upper Deck.


Workshop is a new blog from Lifehacker all about DIY tips, techniques, and projects. Follow us on Twitter here.


via Lifehacker
Install Your Own Cable Railing for a Better View on Your Deck