Geeky Gamers Build Working Computers out of Virtual Blocks


Ben Craddock has been busy gathering Redstone. He collects blocks of the virtual material from deep within the game world of Minecraft, then pulverizes it into a powder and sets to work.

For most Minecraft players, Redstone might wind up in a virtual torch that will light their way when the sun goes down or open doors to underground traps in the game. But Craddock, 21, who goes by the handle ‘theinternetftw,’ has something else in mind: He’s trying to engineer a single bit of memory that’s small enough to snap onto a 16-bit arithmetic logic unit, or ALU, a key component in a working computer that he’s already built out of virtual stone blocks inside the game.

“We have lots of programs designed to [help us] learn to build chips,” says Craddock, an undergraduate student in computer science at the University of Georgia, whose Minecraft computer simulation video rivaled Britney Spears in popularity on YouTube last week. “All of them are very clinical. In a game, it becomes a challenge to overcome the limitations. It’s a visceral, engaging reaction.”

Craddock is one of the growing number of videogamers who are creating computing machines inside virtual worlds. Earlier this year, a gamer built a working computer inside the fantasy strategy and building game Dwarf Fortress. That machine, called the Dwarven computer, is programmable and has 256 bits of memory. (See sidebar.) Two years ago, a French gamer showed a working calculator inside the Little Big Planet game. The Little Big Planet calculator has 1,600 parts, including 610 magnetic switches, 500 wires and 430 pistons — all components from inside the game.

“It’s somewhat like using a skateboard to go over a staircase,” says Noam Nisan, professor of computer science at Israel’s Hebrew University and author of The Elements of Computing Systems, a book that Craddock says inspired his project. “The skateboard is not intended to do that, but you use it that way to show what kind of control you have and the mastery of the platform.”

As computers get more complex, some geeks are feeling disconnected from their devices, much like shade-tree mechanics in the age of computer-controlled car engines. Graphical user interfaces, shrinking electronics and increasingly prepackaged hardware modules mean that even extremely computer savvy users know little about how the bits and bytes come together inside the box. The hardware itself is increasingly resistant to the probing of curious geeks who like to open things up: For instance, smartphones and tablets are slowly supplanting traditional PCs but many are sealed and can’t easily be opened up.

“It’s not users who are choosing that devices be closed up,” says Craddock. “It’s the way corporate culture is evolving. So a lot of people want to know how to get there from here.”

It also means some gamers are turning to what they know best — videogames — to make learning computing fun. After all, they’re spending hours upon hours in these games already.

Craddock started playing Minecraft in August, just as the game was blowing up on wikis and social networks like Reddit. Minecraft is an unusual game in that it has been created in Java, is playable on the browser and has graphics that seem at least a decade old in their blocky, pixelated style. Yet the game has proven highly addictive, partly because it’s so open-ended: It lets users take its simple stone blocks and create cities, worlds, sculptures or anything else they want.

It didn’t take long for him to get hooked on it. But to understand how it turned into a system for virtual mechanical computation, you have to get a little into the lore of Minecraft.

As Craddock moved into deeper levels of the game, he found an interesting material called Redstone. Inside the virtual world of Minecraft, Redstone is a block that has special properties. When it is destroyed, it disintegrates into Redstone Dust that can be used to make wires. A Redstone wire in Minecraft has two possible states: 1 and 0, where 1 is powered and 0 is turned off. (See this explanation about Redstone circuits.)

The next piece to understand is the Redstone Torch. It’s an element that acts as a power source.

Now consider how a simple input/output gate is created in the game. Players take an input device built in the game, such as a lever, a button or a pressure plate, and place it on one of the game’s virtual stone blocks. The resulting combination can be used to control a number of different outputs, such as opening a door or blowing up a trap.

To take it a step further and build a NOT gate — where if input power is on, output power is off and vice versa — players add a Redstone Torch to the mix. So the combination in that case looks like a input device connected to a generic block with a Redstone Torch on the other end. That module makes its output function like a NOT gate.

(See this FAQ on building logic gates Redstones in Minecraft for a more detailed explanation.)

Once you have NOT gates and other logical gates, it’s possible to assemble much more complicated computing devices. After all, the heart of a real computer is essentially a bunch of simple electronic gates that function much like the virtual block-and-Redstone gates within Minecraft.

Like most gamers Craddock figured this out for himself, but as he played hours of Minecraft he started turning to wikis dedicated to strategy and gameplay on how to use the Redstone.

Computing Inside Videogames

  • Dwarven Computer: A complete 8-bit programmable computer built inside Dwarf Fortress. It has 672 pumps, 2,000 logs, 8,500 mechanisms and thousands of other assorted bits and knobs like doors and stone blocks. The Dwarven computer is Turing complete, which means it meets the definition of a universal computer.
  • The Minecraft ALU: A 16-bit arithmetic unit built using 8,507 blocks of ‘Redstone,’ a cube with special properties found in the Minecraft game. The entire ALU uses 6,835 wires and 1,672 torches — the most basic logic unit in the game.
  • Little Big Planet Calculator: An extremely complex yet fully functioning calculator created inside one level of the game.  The calculator has 1,600 parts, including 610 magnetic switches, 500 wires and 430 pistons.
  • MineSweeper Logic Gates: A single player PC game that comes bundled with Windows OS, Minesweeper has been used to create basic logic gates that can be used to solve problems.

“There were programs on how to find levels within Minecraft that would simulate Redstone and I used that to build my way up to add two-bit numbers and create longer adders.”

Craddock used a program called Baezon’s Redstone Simulator to put together his ALU.  When completed, the Minecraft ALU was 160 blocks long, 110 blocks wide and 10 blocks tall.

Jonathan Ng went even further. Ng, 20, who’s studying biochemistry at University College London, created a completely programmable computer inside the game Dwarf Fortress. It took Ng just about a week of planning and then a month of actually creating it inside the game.

“I wanted to learn how computers work but didn’t want to really do a physical computer,” says Ng. “So I thought, ‘I like to play Dwarf Fortress and no one has done it, so why not create one inside the game?’”

Ng, who hadn’t studied computer science at school, learned the components needed to build a computer and then figured out a way to replicate them inside the game. “It’s a lot of work,” he says. “It’s just a crazy, insane project.”

But the effort has been worth it, says Ng.

“Earlier computers were a complete black box for me,” he says. “But now I see them as very fast automatic calculators.”

Learning through video games

For many people, especially parents, video games are useless, unproductive distractions. Hours that could have been spent reading, or practicing a useful skill, are instead frittered away staring into screens in closeted basements and darkened dorm rooms.

But some teachers believe games can offer a rich learning environment. And in-game computers, such as the Dwarven Computer or the Little Big Planet calculator, are some of the best examples of that.

“In many ways, this is an extension of tinkering in one’s garage or writing programs and sharing them with friends,” says Kurt Squire, an assistant professor at the University of Wisconsin-Madison. “Platforms like these games provide a context to inspire creativity, tools to work with and an audience for your work.”

Building such elaborate virtual computers signals the kind of skills that future programmers and computer scientists may need.

“How to start with a simple object and get a complex solution by your imagination alone is the essence of building new things,” says Nisan.

Creating a 16-bit ALU in Minecraft has helped him understand computers better than ever, says Craddock.

“When you think about computers and watch the long lines of zeros and ones that the machine has to figure out to give you the answer, it is fascinating to be able to understand the cause and effect where each zero and one turns on and off,” he says. “There is this very basic, physical thing happening that makes me want to find a way to reproduce it.”

Craddock isn’t done with his efforts. Next on his agenda is finding how small he can make one bit of memory so it can fit inside the game. In Minecraft, Redstones can only function in a 300 x 300 square area. Meanwhile, one bit of memory is 15 blocks long.

“I have to make sure all the components fit inside that zone,” he says.

Craddock, Ng and other creators of virtual computers are also changing how game designers are creating and viewing video games. The Little Big Planet calculator surprised and thrilled the game designers so much that they decided to include elements in the game’s sequel that would make the electronics creation process easier and more social.

“The calculator was certainly a surprise to us. It was very unexpected and inventive,” says David Smith, co-designer for Little Big Planet game. “It showed that the community didn’t care what the game was supposed to be and found ways of combining what they had to create what they wanted.”

Since Smith hadn’t designed the game to include the notion of electronics, the calculator had some limitations. “If you wanted to improve an existing level with it, you couldn’t. Or if you thought you could count laps with it or find a way to up your score you couldn’t,” says Smith.

So when he set out to create the sequel, Little Big Planet 2, Smith says he wanted to make sure it supported that kind of mad inventor zeal — while giving inventors the ability to share their creations with others.  Smith and his team included animatronic puppets called Sackbots that improved on a version in the original game called Sackboy. In the sequel, Sackbots have circuit boards and electronics that can dictate their behavior and give players greater control over the objects.

Gamers can create artificial intelligence by rigging up the Sackbot circuit board with wires, switches and various logic gates in the game.

Smith says he’s can’t wait to see what his community of gamers do with the tools.

“There’s a playful aspect to this, like playing in a sandpit,” he says. “Games can be very powerful that way. It will be interesting to see how complex machines can [come about] inside the games.”

But not everyone is as convinced about the potential of learning or changing computing through games.

Impressive as the feat of building computes inside video games may be, there are easier ways to understand how logic gates and computers are built than try to replicate them inside video games, says Nisan.

“It makes it ten times more difficult than it needs to be,” says Nisan.

For Craddock, though, his efforts have paid off. Immediately after posting an account of his creation, he got a job offer from a game development studio in Atlanta. Even better, it got his parents, who had been complaining about the time he was spending on video games, off his back.

“My parents are amazed,” he says. “My video on YouTube (showing the 16-bit ALU) beat out Britney Spears’ video in number of views, but then I lost to Justin Bieber. I don’t know what to make out of that.”

Photo: The 16-bit ALU inside Minecraft

See Also:


Lenovo Goes Head-to-Head with Apple

This article was written on March 21, 2008 by CyberNet.

Notice any resemblance between the two?

macbook air ad 

linovo

The best part of the whole Lenovo ad for the ThinkPad X300 is the very last sentence, “Everything else is just hot air.” Think they were taking a jab at Apple’s MacBook Air? Of course. An ad on the Lenovo site shows that they’re really trying to point how the ThinkPad X300 excels over the MacBook Air.

Here’s what the ThinkPad X300 Offers:

  • Integrated DVD Drive (not offered on the MacBook Air)
  • User replaceable battery options (not offered on the MacBook Air)
  • 3 USB ports
  • 10 hours of battery life
  • Solid State Drive
  • 13.3″ Widescreen LED backlit display
  • Integrated camera
  • Wired and wireless connectivity options

The MacBook Air is definitely more affordable with prices starting at $1,799, but the ThinkPad X300 offers more features including the Solid State Drive, integrated DVD Drive, and a user replaceable battery and starts at $2,866.50. It is interesting to note that the operating system that comes with the ThinkPad computer is Windows XP Professional and not Vista by default. You can upgrade to Windows Vista Business for free or Windows Vista Ultimate for an additional $63 which sounds like a pretty good deal.

Do you think Lenovo will be able to sell more ThinkPad X300’s than Apple will be able to sell MacBook Air computers? Apple has built a great brand for themselves and they have a great marketing team, but Lenovo is known for their quality machines.

Source: CrunchGear

Copyright © 2010 CyberNet | CyberNet Forum | Learn Firefox

Related Posts:


It’s Too Soon to Count Out Netbooks

MSI Wind U160; image via MSI.

Three years ago, Bill Gates looked like a dummy for carrying around a tablet. Steve Jobs was ragging on netbooks and tablets when he was rolling out the MacBook Air. Now, eight months post-iPad, everybody’s pushing out tablets, and netbooks are looking very 2007. But any death notices anyone puts out for the netbook are premature.

Let’s check the numbers. One of the big research reports thrown around is from Forrester Research, which predicts that tablets will outsell netbooks by 2012, pass netbooks in total usage by 2014, and have a 23% share of all PCs (a category that for Forrester includes everything from a tablet on up) by 2015. By 2015, Forrester predicts, netbooks will only have 17 percent of the PC market, just behind desktops with 18 percent.

Wait a minute — 17 percent of all computers in 2015 will be netbooks? About as many netbooks as desktops? And the whole personal computing pie is going to continue to grow? Maybe this is silly, but — isn’t that still really, really good?

The tablet has mindshare, but not yet market share. Netbooks are already starting to strap on the powerful new dual-core mobile processors that will give them full computing parity with notebooks. And the two innovations of netbooks, small screens and small hard drives, have already come uncoupled — you have lightweight, large-screen/low-storage devices like the MacBook Air or Samsung N150 and compact, high-powered netbooks like the 250GB MSI Wind U160. They’re all getting better at managing battery life, too, which remains the real bane of all portable computers, netbook and tablet alike.

Part of the problem has been the unrealistic expectations manufactuers and analysts had for netbooks three years ago. It was foolish to think that everybody and their cousin would buy a netbook and that other lightweight form factors like the tablet (which, people forget, had already been kicking around for a while) wasn’t going to jump up and take a chunk. If you look at projected numbers five years out and assume that all of the form factors are going to look and function the same way they do now, that’s foolish too.

At CNET, Erica Ogg asks “So, Who’s Still Buying Netbooks?” Tech/culture blogger Joanne McNeil had already written a terrific post answering the question, “Why I Got a Netbook Instead of an iPad.” JoAnne bought a $300 off-the-shelf Asus, took it to Asia for the summer, and loved it.

First, there’s a cost difference: “the price difference wasn’t simply $200. The iPad required accessories — the case, the bluetooth keyboard, the SD adapter — the total price would hoover just under what I spent the year before on my new laptop.” Finally, there’s that keyboard, which some people hate and others need:

As a non-dude with narrow fingers, the keyboard feels right to me [Maybe the Macbook’s wide keyboard, like the name iPad and their translucent staircases (Skirts! Steve Jobs! Women wear skirts!) is another example of Apple’s failed outreach to women in market research.]

The computer industry — and maybe even more so, the marketers who work for it and the media who cover it — is always looking for products that scale: something that can be put as-is into everyone’s hands. Netbooks don’t have to be that thing any more. They can be quirky, eccentric — just right for one user and for her alone.

See Also:


Computer controlled Bayan from 1988 makes us want to go back to the past

Back in 1988, Russian engineer Vladimir Demin combined a bunch of solenoids (loops of copper wire) and a Bayan (a Russian accordian), to create a self-playable instrument controlled by his awesome, self-built computer. Yes, we’re impressed, and you will be too, if you take a look at the video below.

Continue reading Computer controlled Bayan from 1988 makes us want to go back to the past

Computer controlled Bayan from 1988 makes us want to go back to the past originally appeared on Engadget on Mon, 06 Sep 2010 22:41:00 EDT. Please see our terms for use of feeds.

Permalink   |  sourceHackADay  | Email this | Comments

No Secret “Backdoor” in Windows, Darn

This article was written on April 30, 2008 by CyberNet.

vista hacked.pngThere is a lot of incorrect information going around the Internet right now about how Microsoft is helping out law enforcement with some forensic tools they are providing on USB drives. The tool is called COFEE (Computer Online Forensic Evidence Extractor), and over 2,000 of these handy little things have been given out to 350 different agencies. Their goal: to help collect data from PC’s that are part of an investigation.

Many sites out there are classifying this as the secret backdoor that we’ve all assumed has been in Windows since its conception. Some are claiming that in seconds the tool will hand over all of your passwords and decrypt any information on your hard drive. That’s an interesting concept, but not exactly how it works.

Ed Bott thankfully jumped all over the ridiculous assumptions people were making about how these tools worked. The original article from the Seattle Times even includes an update straight from a Microsoft spokeswoman saying that the tool “does not circumvent Windows Vista BitLocker encryption or undermine any protections in Windows through secret ‘backdoors’ or other undocumented means.

Tools like this are not anything new, and merely automate the process of grabbing specific data from hard drives. There’s even a tool called USB Switchblade that can stealthily get system information, the local password database, Microsoft product keys, wireless network passwords, browser/email passwords, browsing history, and more. It can do all of that by plugging in a USB device and giving it about 45 seconds to run.

There really hasn’t been any details as to what the 150 tools on the device actually do, but you can bet it’s nothing that a forensics team can’t already do given a little more time. It’s said to do 4 hours worth of work in 20 minutes thanks to a lot of automation, but it’s not using any super-cool backdoors that only Microsoft knows about. Sorry, but I guess that secret backdoor is still resting safely in the Microsoft vault. I mean really, if I created an awesome backdoor in an operating system being used by hundreds of millions of people I wouldn’t go blatantly handing it out. I’d do something cool like start a website that only provides leaked info about products and services using information retrieved from top-secret PC’s. ;)

[part of the image via Future Lawyer]

Copyright © 2010 CyberNet | CyberNet Forum | Learn Firefox

Related Posts:


Happy 15th Birthday to Windows 95, the Ugly Duckling that Conquered Your Desktop [Techversaries]

You’ll be forgiven if Windows 95 doesn’t summon a burst of nostalgia. It was never pretty, often cantankerous, and, for the most part, our only option. But within two years of its release, 70% of the planet was using it. More »

The Secret Histories of Those @#$%ing Computer Symbols [Computers]

They are road signs for your daily rituals-the instantly recognized symbols and icons you press, click, and ogle countless times a day when you interact with your computer. But how much do you know about their origins? More »

Helpful Tip: How to Buy a Used Computer on eBay

This article was written on September 24, 2007 by CyberNet.

ebay computers While eBay isn’t the best place to buy everything, it’s not a bad place to purchase a used computer. There are some risks involved, but in general, the majority of transactions on eBay will be trouble-free if you know what you’re doing. Here are a few helpful tips for buying a used computer on eBay that will give you a great eBay experience.

  1. Know what you’re looking for and do your homework! I can’t tell you enough how important it is to research the computers you might be interested in, read reviews, and know exactly what it is you want before you go browsing eBay for a computer. You’ll also need to determine whether a desktop or laptop is best for your needs.
  2. Determine the price you’d like to get the computer for and decide right then and there that even if the auction is nearing the end and it’s gone out of your price range, that you won’t give in and bid higher than you wanted to. It’s easy to get caught-up in the excitement of auctions and you could end up spending more than what the computer is even worth. Sellers know this which is why often times, they’re more willing to put an item up for sale as an auction versus buy-it-now.
  3. Compare the costs of buying used versus new. Often times you can buy a new computer for nearly the same price as some of the used computers selling on eBay. Determine if buying used is worth it.
  4. Read the description. Actually read it from top to bottom.  Look for an extremely detailed description of the product. Some of the details that should be included: Are there any scratches, blemishes, or cracks?  Is the battery still working? How long does the battery last? Are there any dead pixels? How often was it used? What accessories are included? What software will be installed on it including the operating system?
  5. Check for warranty information. Is there a warranty, and more importantly, is the warranty transferable? Alienware is one example of a company that does not allow users to transfer a warranty to a new user.
  6. Ask questions – Don’t be afraid to ask questions. If the seller is reliable, they’ll answer you promptly and thoroughly .
  7. Shipping – How will the computer be shipped and what will it cost? Some sellers may charge a hefty shipping charge, beware!
  8. Watch out for scams – they happen.  If it looks too good to be true, it probably is. PayPal is your best bet for a secure transaction.  If a seller asks you to wire the funds or even send cash, it’s a scam!
  9. Look for clear pictures that show any blemishes the computer may have. This is important! Those who are trying to scam you will usually only show a manufacturers picture. If the seller lists in the description that there are cosmetic imperfections, there should be clear pictures of them so that there’s no question about the condition of the computer that you’ll be receiving.
  10. Feedback – check to see what kind of feedback the seller has.  Were there any major complaints from previous buyers? What kinds of items has the buyer sold in the past?

Once you feel confident that you know how to buy a computer on eBay, go ahead and check-out what sellers have to offer at http://computers.ebay.com. Good luck!

Copyright © 2010 CyberNet | CyberNet Forum | Learn Firefox

Related Posts:


Apple’s Unibody Mac Mini [Apple]

There were rumors of a refresh and today Apple delivered more than we were expecting: The mini gets a new unibody aluminum casing, plus HDMI port and SD card slot, and the price starts at $699. More »

Gesture-Based Computing Uses $1 Lycra Gloves

lycra-gloves-computing-mit

Interacting with your computer by waving your hands may require just a pair of multicolored gloves and a webcam, say two researchers at MIT who have made a breakthrough in gesture-based computing that’s inexpensive and easy to use.

A pair of lycra gloves — with 20 irregularly shaped patches in 10 different colors — held in front of a webcam can generate a unique pattern with every wave of the hand or flex of the finger. That can be matched against a database of gestures and translated into commands for the computer. The gloves can cost just about a dollar to manufacture, say the researchers.

“This gets the 3-D configuration of your hand and your fingers,” says Robert Wang, a graduate student in the computer science and artificial intelligence lab at MIT. “We get how your fingers are flexing.” Wang developed the system with Jovan Popović, an associate professor of electrical engineering and computer science at MIT.

The technology could be used in videogames where gamers could pick up and move objects using hand gestures and by engineers and artists to manipulate 3-D models.

“The concept is very strong,” Francis MacDougall, chief technology officer and co-founder of gesture-recognition company GestureTek, told Wired.com. “If you look at the actual analysis technique they are using it is same as what Microsoft has done with Project Natal for detecting human body position.” MacDougall isn’t involved with MIT’s research project.

MIT has become a hotbed for researchers working in the area of gestural computing. Last year, an MIT researcher showed a wearable gesture interface called the “SixthSense” that recognizes basic hand movements. Another recent breakthrough showed how to turn a LCD screen into a low-cost, 3-D gestural computing system.

The latest idea is surprisingly easy in its premise. The system hinges on the ability to use a differentiated enough pattern so each gesture can be looked up quickly in a database.

For the design of their multicolored gloves, Wang and Popović tried to restrict the number of colors used so the system could reliably distinguish one color from another in different lighting conditions and reduce errors. The arrangement and shapes of the patches were chosen such that the front and back of the hand would be distinct.

Once the webcam captures an image of the glove, a software program crops out the background, so the glove alone is superimposed on a white background.

The program then reduces the resolution of the cropped image to 40 pixels by 40 pixels. It searches through a database that contains 40 x 40 digital models of a hand, clad in the distinctive glove showing different positions. Once match is found, it simply looks up the corresponding hand position.

Since the system doesn’t have to calculate the relative positions of the fingers, palm and back of the hand on the fly, it can be extremely quick, claim the researchers.

And if the video is to be believed, the precision with which the system can gauge gestures including the flexing of individual fingers is impressive.

A challenge, though, is having enough processing power and memory so gestures made by a user can be looked up in a database quickly, says MacDougall.

“It takes hundreds of megabytes of pre-recorded posed images for this to work.,” he says, “though that’s not so heavy in the computing world anymore.”

Another problem could be getting people to wear the gloves. Let’s face it: No one wants to look like Kramer in a fur coat from a episode of Seinfeld or an extra in the musical Joseph and the Technicolor Dreamcoat.

MacDougall says the pattern on the gloves can be tweaked to make them less obvious.

“If you want to make it more attractive, you could hide the patterns in a glove using retro-reflective material,” he says. “That way you could [create] differentiable patterns that wouldn’t be visible to the naked eye but a camera’s eye could see it.”

Wang and Popović aren’t letting issues like fashion dictate their research. They say they are working on a design of similarly patterned shirts.

Photo: Jason Dorfman/CSAIL
Video: Robert Y. Wang/Jovan Popović

See Also: