Showing posts with label Geek Out. Show all posts
Showing posts with label Geek Out. Show all posts

Sunday, May 16, 2010

OSNews isn't OSNews

One of the tech sites I follow is OSNews. It was originally a website for...well, news about operating systems. Linux, Windows, OS X, etc.

A recent post was titled "Why OSNews Is No Longer OSNews." The editor outlines how OSNews shifted from news about operating systems into more general news about technology, Recent stories cover news about Adobe vs. Apple and H.265 developments and Microsoft Office changes, rather than developments about new kernel threading implementations in Linux or compatibility changes in Haiku.

The article was pretty good, and I'm not writing to rehash what Thom Holwerda wrote in the article. I am writing because as I read the article and ensuing comments, it actually dawned on me the scale to which computer technology has "standardized" and stagnated.

I became interested in computers and platforms in the dawn of home computing. I was born at the dawn of the birth of Apple Computer. I saw the introduction of the Macintosh. Okay, I didn't see it, but I was becoming aware of the world and computers in 1984 when the infamous ad debuted. The Internet was expensive, slow, and difficult for home users to get access to, so I relied on shopping in local department stores (remember when Sears mattered?) and magazines in bookstores to get news about computers, and Byte and Computer Shopper were chock-full of stories about AmigaDos and AmigaOS, OS/2, the fledgling pseudo-OS called Windows, various flavors of DOS, CP/M,...all sorts of technology goodness.

But gradually the stories about operating systems dwindled because companies closed down, markets dwindled, and eventually the biggest of the niche OS's like AmigaOS were relegated to hobbyist markets. Magazines started changing their focus into something more like Cosmo for geeks; "Win95 vs. OS/2 vs. NT! Which is Best For You?"

Fast forward to today and you have the situation that the OSNews article was discussing; hobbyist OS's are largely stagnant. Operating systems are basically, for practical purposes, down the the "big three" of OS X, Linux, and the Windows family.

Hobbyist OS's that I can name include MorphOS, FreeDOS, ReactOS, Plan 9, and Haiku. There are others, but for the most part, the number of installed systems are tiny. Really tiny.

The comments put the second part of the puzzle in place for me; people commented that in colleges, computer science majors didn't have to take compiler courses. Someone else said that more recently they went to a nearby college and the computer science majors weren't even taking courses on operating systems. I remember when I went to college that the debates focused on what the latest, most relevant computer languages were to teacher...Java? Python? Should we keep C++?

My daughter applied to the college I went to, so I was able to kind of revisit what was going on with their CS program. Basically, it's gone. The college is doing something more like an information technology track rather than a computer science degree that focused on data structures and how the system worked under the hood. This would be akin to people going to a vocational school for auto repair and learning more about body work and adding spoilers without going over how pistons or fuel injectors work.

Basically, we moved to a position in technology where the public has popularized particular platforms, and the focus has shifted into the more shallow but productive application of technology. We aren't teaching data structures or operating systems and more technology-oriented interest have nothing to do with the underpinnings of improving the computer platform, it's focused on applications and supporting Grandma so she can get her email.

I'd love the hobby OS's. I had an installation CD of BeOS when it was distributed to the public for the Intel platform. I disliked MacOS because it relied heavily on cooperative multitasking, and found it fascinating when Win95 introduced preemptive multitasking to the platform (except for the Win16 subsystem, and to a degree I guess the Win32 subsystem addon for Win3.11 had some elements of preemptive multitasking, but still...). End users just glazed over when told why these things mattered. They didn't care because they just wanted to play games and browse the web. While things under the hood improved with these features, they were quiet improvements and added largely because they improved the user experience without them knowing it.

What hobby OS's are out there are relegated to R&D departments (Plan 9) or are so hobby that they basically, for practical purposes, boot up and do little else unless you're using the machine exclusively as a platform for simple web browsing and email (if you're lucky). To get any actual work done you have to use one of the "big three" operating systems.

If OSNews only covered news for operating systems, they'd have new stories maybe once a month. There simply aren't too many people working on operating systems and those that are are working just on operating systems; I can't use it to accomplish things I use every day reliably, and without more development on applications the operating system is largely useless.

Basically one of the things that attracted me to computing as a career is dead. Commoditized. And it's a shame. My first computer was a Commodore 128, and my first PC was a 486sx 33 Mhz system with 4 meg of RAM. Today if you get a new computer to run Windows 7 you really need at least 2 gig of memory and a 100 gig hard disk. But I still remember running BeOS on an Intel system that was only a couple hundred Mhz and something on the order of 128 meg of RAM and it was able to render an animated OpenGL demo without any stutter or pausing. I was spinning a three-dimensional cube on the screen while each facet played a different movie file without stuttering. It was absolutely amazing that something with such a small amount of resources was able to pull this off.

In other words, the these hobby and research (and niche) OS's can do some really amazing things, but if they don't have anything to edit home videos or play podcasts, what am I going to do with it? How many half-rendered or unreadable web pages will I have to work around before it just annoys me too much to use it?

And without users, these projects stagnate and die off. There's very little variety.

This isn't necessarily bad; as technology has become more popular (i.e., dumbed down until the average teenager could waste an entire day playing flash games and sending pointless text messages to one another) variety becomes a detriment for support and usability. It's horrible, but the more choice you give people, the more confusing it is for people who don't love the platform itself. I can relate. I don't really give a damn about who and how my tires are manufactured or what kind of configuration my engine is in my car. I just want to get to the store and run errands without a huge cost. Same for computers. As the userbase shifted away from technology geeks and educated, savvy users to more general Mom and Pop users the operating system platform became more bland and general, and feature lists were focused more on eye candy than on multitasking and memory protection.


Computer technology is going the way of the wild west. When I first became interested in the tech I was voraciously digesting articles that explored the nitty gritty of memory protection and multitasking algorithms and what additional specialized hardware made the Amiga computer from Commodore rock the special effects industry. Today, computers are migrating into appliances that are supposed to be as easy to use as VCR's and microwave ovens and are cheap enough that if they break, the cost to repair them is often higher than simply buying a new one at Wal-Mart. They're becoming civilized and boring.

I'll continue to read what news articles emerge regarding Haiku or ReactOS or a new project that still shows signs of life. I would love to try out an operating system that is niche enough to address problems with my operating system platform of choice or introduce cool and useful features without having to sacrifice my ability to "get stuff done." And I hope that these mini-projects can inject some excitement to the profession (Plan 9 has some really really interesting concepts in it...now if only I could edit video or use it to enhance our IT infrastructure without users crying and whining that it doesn't run Internet Explorer, I'd love to play with it more.)

Otherwise I guess I'll have to either move with the times or seriously look at shifting careers. The excitement simply isn't there anymore. I guess that's one of the side effects of not inventing the future but rather moving with the passage of time.

Thursday, February 11, 2010

More on the EEE PC

I had previously posted that I was confiscating my teenage daughter's EEE PC (the 4G model, also known as the 701) because:
A) she abuses technology in ways I didn't think was possible
B) she never uses it
C) she broke the keyboard, after having it sent back for a factory repair on a power/motherboard issue
D) she consistently had it falling on the floor and it was never her fault, it was always her little brother's fault that the power cable was strung across the room and the hyperactive 4 year old would stumble over said power cable.

So I thought I'd take it and try using it. The new keyboard came in (remarkably affordable off an Amazon third-party reseller, only $15). I also had said that I erased the Asus-supplied Linux version in favor of the Ubuntu Netbook Remix from Canonical; essentially Ubuntu with a graphical shell better suited to netbook desktop real estate. That means it's actually kept up to date (boo Asus!) and it was in parity with my desktop Ubuntu system in regards to updates and fixes and applications that can be installed.

I've been using it on and off for a few days and thought I'd do a quick revisit.

First, the keyboard install wasn't that bad. There are three tiny meal clips that you have to push back, located along the top of the keyboard (near the pause, f6, and ~ keys). They kind of felt chincy in the quality, and I think I managed to scratch them, is they don't look like they're holding the keyboard very securely but the keyboard hasn't fallen off yet so...I'm going with it.

Once the clips are pushed back you lift the keyboard and slide it out of the tray slightly. There's a ribbon that is held in with two slider clips; you push the clips back towards the display (parallel to the motherboard) to release the plastic ribbon and the keyboard comes right off. Slide the new ribbon in, lock it, slide the keyboard in place, and pry the clips back over the keyboard and it's done.

Now the bigger challenge. I haven't used it to edit my novel yet, but I have done some web browsing and watching movie clips (avi, mpg, flv...) to see what it can do. The 701 has only 512 meg of RAM and a ~900 Mhz processor, and storage is a premium, so how did it handle things?

Web browsing; it's running Ubuntu, so it has the latest Firefox available (with the flash blocker to stop ads; helps with processor power too). Because of the slower processor, you shouldn't try watching more than one video at a time. You shouldn't even scroll while a flash-based player is playing or the video stutters and starts caching a bit. It's not like I'm doing high-end HD video crunching and the performance was something I found to be acceptable. There is a bit of juggling to get multiple tabs to work well and some videos don't scale properly to the oddly proportioned display resolution. Overall, web browsing is acceptable, but I'd not be beyond trying an iPad as a web browsing tool primarily due to screen real estate.

The video watching was a test in seeing what it could handle with codecs. I stuck some movies of different formats on a 2 gig SD card and tried playing them. The built-in movie player application threw up a huge number of "plugin needed" errors, then would try to download new plugins to handle various codecs. I then opened a terminal and ran "sudo apt-get install vlc" to install the VLC movie player, which handled a larger array of formats and handled them well. I had one case where the plugin installer hung on the display (movie player, not VLC related). I couldn't move it and even though the interface was responding in the background I didn't know how to get a process list up to kill the offending application or how to bring up a terminal to kill the process or how to bring up another desktop to get to a process manager from there, so my options were limited to logging in from another computer using SSH or use Control-Alt-Delete to restart the EEE. I restarted it. Not that it takes that long, but it was annoying. I need to figure out how to use a shortcut to get to another desktop or bring up a terminal session.

Other than that movies played half-decently. Surprising.

And the most obvious: keyboard evaluation. The keyboard is indeed something to get used to. Especially when you're built like a fridge, like I am. I had quite a bit of trouble not hitting the right-arrow key instead of shift, which was a pain when I tried using a spreadsheet I created in OpenOffice. But I knew this would take some work to get used to, and I'm trying to give it time (like editing my novel on it...can I get used to the annoyance?)

Any other surprises? I'm continually surprised at the software this little thing can run. I may have already mentioned that I installed SSH and SSHD, so I can use secure shell to log into it from another Unix machine (or Windows using PuTTY). It's weird to think I'm remotely logging into this thing the size of a paperback book and then install software or alter files from a remote system. I can also use the FUSE filesystem with the SSHFS module to mount other filesystems (or the EEE's filesystem) using secure shell, so I can edit and manipulate remote files as if they were local.

I also installed Synergy. If you're not familiar with it, it's a GREAT application for people with multiple computers in the same area. I wrote about it before but here's a quick overview: it's a software KVM without the V.

Scenario: as I type this I'm using my desktop computer to enter text on the blog. Sitting next to my keyboard is the EEE. I'm bouncing between the blog and the EEE to do updates as well as configure a few things on the EEE. Rather than stopping what I'm doing and task switching to the tiny keyboard and touchpad of the EEE, I am using Synergy on the netbook and the Synergy Server on my desktop to link the two computers. I just slide the mouse off the left side off my desktop computer and the mouse "appears" on the EEE display, meaning now my keyboard and mouse are focused on the EEE. I type and the characters are on the EEE. I move the mouse, the pointer moves on the EEE. I slide the mouse off the right hand side of the EEE's display, and my mouse reappears on my desktop computer's display.

Neat, huh? Neater still is I can have four computers do this off the "Synergy Server" computer: top, bottom, left and right. And thanks to secure shell, I can encrypt the connection so the connection links are cryptographically secure.

It's a neat way to do work on the desktop and laptops at the same time, and the software (ssh, synergy, etc.) are all in the Ubuntu repos (and synergy itself is cross platform, so you can mix and match Linux, Windows and OS X clients and servers).

The keyboard is definitely annoying at times; I'm working to adapt to it, so I'm going to reserve judgment for the moment. In the meantime I'll note that the EEE has managed to recognize and use a USB keyboard without problem, just as it has recognized a USB CD burner (how I installed Ubuntu NR in the first place) and the SD card and a USB memory stick without issues.

The thing that is simultaneously neat and a bullet in the foot is that this is, for all practical purposes, Ubuntu Linux on a miniature PC. It can do a huge number of things, but it sometimes takes some stretching and bending to accomplish them.

For example, installing Synergy, VLC, and SSH were straight from the repos, no real work necessary (if you're used to Ubuntu, anyway). Just select and install. Or from the terminal, issue the apropos apt-get command. But the new interface tries to hide the ability to access multiple desktop workspaces (kind of like virtual desktops). Hitting control-alt- will select a new desktop so I can organize my applications, or in the case of the one app getting "stuck" I might have been able to switch to another desktop to pull up the terminal and regain practical control of my EEE. When I tried it, it wouldn't let me. Just kept telling me I had one workspace.

But...it could do it. It does support multiple workspaces. It just wouldn't let me because it was configured for one, which is a sensible default when the screen is this tiny, I suppose. I couldn't use the workspace manager to configure a new desktop the way I do on my desktop because that "useless" interface was removed for the streamlined Netbook Remix interface.

So the fix is to open a terminal and enter the command "gconftool-2 -s /apps/metacity/
general/num_workspaces 4 --type int" where the 4 is the number of workspaces I want. Intuitive? Heck no. It was a total Google job to find this solution.

And now I have 4 workspaces. But here's the thing; I'm mixed on this feature. The fact is that a tiny device like this is kind of stretching the computer metaphor. Now small can you make a computer before the desktop paradigms become stretched too thin? I'm multitasking desktop applications on something I can barely type on because the keyboard's too small, with a processor that is being pushed to it's limits if I have OpenOffice open and a web browser playing YouTube videos at the same time, with RAM that is furiously juggled because it's only 512 meg. The graphics subsystem can barely handle itself let alone adding the 3-D candy of Compiz (which is turned off, but seems to be available as an option).

In short there are a number of features on the EEE that are probably inappropriate for the platform but are available, taking up memory space or storage space (which is a premium on this little thing), just as they are available on my desktop. Is it really necessary to have the same features on a 512 meg 900Mhz system with 4 gig of storage and a all-in-one design the size of a paperback book as my dual-core 2.13 Ghz desktop with 2 gig of RAM and 200+ gig of storage?

Probably not, at least not for the average user. Still, I can connect a USB hub to the EEE, and from that have a printer, keyboard and mouse, and I can hook up an external monitor, even if the resolution isn't all that great due to limitations of the graphics processor. In other words, the EEE can be a really portable computer for going between work and home with emergency access to my data stored on it when I'm in between "docks".

That's the only reason I could see for using netbooks like this with features that don't really scale down this small; portable desktops where you can dock it for convenient access, while still having access to your data while out at the coffee shop.

I'm still using it and adapting to it. I find myself leaning on the Mac laptop still for things because while it's not as small or light, it does just work, and I'm not fighting frustration with the keyboard.

But I did swear I was going to give the mini-keyboard a shot...so look forward to another installment of triple-EEE info in the near future!

Friday, February 5, 2010

Playing With an Asus EEE PC

Way back when we first started getting the house situated, we worked on a way to get everyone online.

My wife got a Mac laptop, a white MacBook, now about three years old or so.

I bought a desktop, a really killer Linux system with RAID and the whole shebang. I also have a belongs-to-the-day-job black MacBook.

My toddler son got a destined-to-be-scrapped Mac G5, which was top of the line before Apple moved to Intel processors but today was adequate for playing DVD's and playing online flash games, which are the two things he pretty much limits himself to doing.

My daughter, a teenager, klutzy and at times rather irresponsible (she's destroyed somewhere between three and five phones in a year and a half and she's responsible for replacing them herself...and she still doesn't take better care of them) got an EEE PC. A netbook. I thought it would be perfect as a starter laptop for her; it has USB ports so she could use a USB keyboard and mouse to work on papers, it's tiny so she could curl up in a corner somewhere to work on whatever she's working on, works on the wireless network, runs Linux so it's nearly immune to most of the crud out there targeting Windows, and it has a solid state disk, making storage a premium but for what she does it shouldn't matter. The tradeoff was no moving parts so it could take a little more rough handling without the heads of the drive crashing since an SSD drive doesn't have heads or platters to crash.

I was wrong. She managed to damage it once, killing the power supply, necessitating a trip back to the factory. Then months later we notice that she's using her brother's computer more and more; what's wrong with your triple-E?

"The keyboard doesn't work right..."

sigh

I look at the thing. She's dropped it so many times that I feel bad for it. Of course, it's her brother's fault, the four year old tripped over the power cable that she would string across a room; I can see it happening once, maybe twice, but there comes a point where you learn to not string things at ankle level lest electronics go flying, wouldn't you think?

True enough, some of the keys are dead. IThe function keys for the fake number pad function isn't causing it. A reinstall of the software (she hardly did anything to customize the thing) didn't affect it, so it wasn't a software setting. I disassembled the keyboard to reseat the ribbon connecting it to the motherboard. Nothing. I also found that a USB keyboard works fine, so the keys on the keyboard itself aren't sticking.

She just managed to kill certain keys on the keyboard. "It just stopped working," she said.

I've been considering attempting to find something more portable for my computing needs. Mainly for things like going to Barnes and Noble for editing my first draft of a novel in OpenOffice, or doing light web browsing. I'm not sure about the size of the keyboard, but something with the form factor of the EEE PC might fit the bill otherwise, so I take it.

"But I'm using it!"

Keep in mind we've not seen her use it for months, and the power cable was upstairs not even plugged in. When I got it from her the battery was dead. Stone dead.

First things first. After failing to revive the keyboard, I scrounge around a bit and find a possible replacement keyboard on Amazon (of all things) for $15. I put in the order for 3-5 day shipping (overnight was $20!), seeing as the USB keyboard will suffice for a little while as a makeshift replacement.

Second, I do updates, seeing as she's not touched the software updates. I get a bad taste in my mouth when I realize that Asus looks to have pretty much abandoned the plucky little 4G Surf (no webcam, 512 meg of RAM, 4 gig storage). OpenOffice is stuck at version 2. Ugh.

I again scrape the webbertubes for some advice and find that Ubuntu, the Linux distro I run on my desktop now, has a Netbook Remix available. It's a modern distro meant specifically for netbooks (big surprise from the name, I know). Download, burn the CD, boot and install, run the updates, and now the netbook is running essentially Ubuntu 9.10 with the latest kernel and security updates (and OpenOffice 3!).

I even get Skype installed. I plugged in a USB Quickcam, and found that it worked with Cheese, the camera booth app. Skype, unfortunately, refuses to work with it. Why? No clue. But it does appear that it will receive video, and I can do audio (and text) chat. So that much works.

I get SSH installed, and the SSH Server. If you know what secure shell is, then you know how cool this can be. After getting that installed, I logged into the EEE from my desktop computer with X forwarded and ran the rest of my updates and changes from my desktop console while the EEE sat on a stand charging up with the LCD sleeping.

Can it play online movies like YouTube? Barely. The thing has 512 meg of RAM and is a Celeron 900 Mhz processor. It strains and grunts and groans, but if you're not taxing the little dude it'll play them.

It can also record in MP3 format now that I installed Audacity.

Storage? It won't store movies well. At the moment it is running with about 300 meg free on storage. I could stick in an SD card to add a couple gig, though.

What are my initial impressions? It's impressive what it can do. I can't take it out as a road warrior device yet because of the lack of a functioning onboard keyboard; that'll have to wait until the new one comes in, and then I have to hope it's the right kind and will fit. I also don't know what shape the battery is in. My daughter swore it won't hold a charge; I haven't tested it yet, really.

I also don't like the way the trackpad buttons work. It's like a rocker bar to left and right click. Seems...weird. And of course the keys are tiny and take some getting used to in order to use (a task that's pretty impossible when 1/4 of the keys don't work).

For its size, it's impressive, and when I'm in my home network range it can get a boost from the fact that I can secure shell into my home computer and tap into some of the applications and files from there. Out on the road I could probably secure shell into a remote system, but speed would be an issue. Could it function on it's own?

It would probably be better if I had dainty feminine hands, but again, the jury will have to hold out on that until I get a better chance to test it when and if it gets a functional keyboard. I have enough trouble typing properly with a full size keyboard (although the tiny keys may force me to take my time and not make as many mistakes in the first place...)

So that's my new project. The daughter is computerless and at the mercy of her four year old brother; it's been made clear to her that that computer was made for him and she had one free computer and she broke it and stopped using it, so it's been appropriated. She's free to save her money from her job to get a cheap laptop, and instead she opts to play Pogo and Facebook games on her brother's Mac. If he tells her to get off it, she does. Which gives a four year old much joy to have power over someone, it seems (to be fair he rarely kicks her off his computer though).

I'll have to see how things play out. Maybe I'll update this more after the keyboard comes in, supposedly this upcoming week!

Sunday, November 8, 2009

System Administrators, Let's Hang Out

I found this question on one of my favorite tech help sites, serverfault.com. It's a wonderful wonderful resource for help (totally free!) for people who are system administrators by day and geeks by night. It's actually one of the "trilogy" of websites; there's serverfault for admins, stackoverflow.com for programmers, and superuser.com for "power users".

One of the things that seems to be underserved on the webbertubes is a good community for system administrators and geeks. The closest I've really found so far is serverfault, but really it's a help site; you have a question, you get answers from peers (that are vetted and voted up or down by peers as well). But a social site for geeks?

So someone asked where system admins go online to "hang out" and be geeky. There seem to be some good leads with that question, but still it's not flooded with answers. Weird...you'd think that the Internet would have some good sources of respite from neurotypicals online.

Part of me wonders if in general sysadmins are antisocial even in an environment as socially hostile as the Internet to the point where they can't even bother to show up at online hangouts made for them.

At any rate for now I get a good geek fix from Serverfault. If you're a programmer, check out Stackoverflow or if you're just a power user go to Superuser. If you have an interest in...just about anything else, check out the Stackexchange site, where there are sites using the Stackoverflow engine to run specialty sites for asking and getting advice on everything from parenting to World of Warcraft. Okay, maybe not tons of sites yet, and directories are being created but it is growing rapidly...check them out and let me know if you've found any gems in these sites! It would be great if I managed to give a reader something useful to work with.

Sunday, August 30, 2009

Anyone Else Worked on a Commodore 64?

I am listening to The Ultimate Commodore 64 Talk. It was a talk given at the 25th Chaos Communication Conference last year; it was 64 minutes long with 256 slides (which if you're a geek you already can see the in-humor of that).

What was so great about the C64? It was no doubt one of the most flexible, hackable systems created for home users. That's probably the single biggest driver in creating a fanbase for the machine that persists today (don't believe me? The thing was released in 1982, and if you click here you can go to a website that is reportedly hosted on a Commodore 64. Yes, hosted. It's a web server running on a Commodore 64.

My first personal computer was a Commodore 128. I remember typing in my own BASIC programs (the built-in ROM booted straight to a BASIC interpreter), loading applications from five and a quarter inch floppies, and with the right key combination, booting to a Commodore 64 mode. My first introduction to the early incarnation of the Internet was by connecting an external modem...which really is just a device for modulating a digital signal to an analog signal, not necessarily something that connects to a phone line even though that's the most common use...and connecting it to a 2-meter amateur radio transceiver so I could hop from node to node on the digital amateur radio network, exchanging messages with other amateur radio enthusiasts and using a terminal to "chat" with people. Messages could also be passed through special gateways into different wired networks of bulletin boards and what was back then the fledgling Internet! At the time this was pretty exciting!

Listening to this talk and watching the slides brought back some memories...

Commodore will always probably be known as the company that screwed up a great platform, the Amiga, which again was used beyond what most systems would have lasted in the industry. Anyone remember the show Babylon 5? Seaquest? Max Headroom? The computer effects were rendered on Commodore Amiga systems. It also was ahead of its time for giving home users advanced (but affordable) sound, graphics, and multitasking abilities; this was a continuation of the tradition started with the C64, except for the multitasking ability.

The talk itself is all about the C64; it's in-depth at times, other times humorous, and the information covers a variety of topics from bugs in the processor to comparisons of how graphics looked in the beginning (with a Christmas graphics demo released in '82) to what advanced graphics were appearing years later to a humorous dig at Microsoft's Bill Gates ("If he can program the 6502, so can you." Apparently Gates included an Easter Egg in the code for the version of BASIC encoded on the C64.)

Parts of it will go over the heads of the majority of people out there (you see some assembly code, some diagrams of chips used on the C64...) but other parts will appeal to anyone with fond memories of this old but venerable technology. If you have an hour to spend reminiscing then check out this video!

Friday, July 31, 2009

What Would You Do With a 3D Printer?

Most people probably aren't aware that these things exist. If you're not a tech-person, I'd still encourage you to try reading through this post because sprinkled in it are several little tidbits you might find interesting (or not...feel free to leave a comment discussing it...)

Generally speaking (from the perspective of the home market) the most familiar printing technology takes paper in a tray and deposits or layers some form of ink or plastic onto the paper to form images and words. Think laser printers and inkjet printers.

A second "printing" technology (using the term loosely) is used with CNC machines; most often today associated with Computer Aided Design, a computer creates a design that is then exported to devices that automate a series of actions on a material to produce an end product. For example, you create a cool logo and sent it to the CNC machine with a piece of wood which then uses a router to create the logo in the block of wood. On TV I've seen laser engravers and cutters that slice pieces of metal into components of motorcycles and such. The technology is actually far older than implied here but it wasn't until minicomputers became affordable that the automation of building tools became cheap enough and integrated enough that, say, your average high school shop could afford to integrate CNC-type devices into their computer aided design courses.

The third printing technology limping its way onto the scene is 3D printing. Instead of using inks or toner and paper, 3D printers use a polymer (plastic) goo that is extruded...pushed...through a grill of some sort and solidified using lasers or heat or some other technique and then builds, layer by layer, slice by slice, an object or component.

There are commercial 3D printers like those from ObJect. They even have a "desktop" printer called the Alaris 30. The drawback? You need $40,000 to get one. Ouch.

Why would someone get one? For the most part, the cost of getting one of these babies means they're limited to businesses that manufacture things so they can create mockups and product models for the most part.

The high price tag and sheer "cool factor" means that there is a growing homebrew market of people creating these things in their garages, like the RepRap made out of Erector Set parts. It's not as streamlined or as accurate as the printers that cost as much as a house, but still, cool stuff.

There's even a guy using a home-made 3D printer ("Fabber", for Fabricator) to create crazy 3D candy using sugar. You can see pictures of the CandyFab here and the article on the project is found here.

There's a Fab@Home wiki project that is dedicated to homebrewers working on making their own home-made 3D fabricators (printers).

The question is, what will happen when or if these things come to the home?

There is already work being done to retrofit inkjet printers so that instead of ink, you can print circuits, referred to as Printable Circuit Boards. Why would you want to do that? Because you can print things like cellphones. Yes, paper cellphones. You print it, fold it, use it, and when it wears out, you throw it away (just what we need...the ultimate in customer convenience trumping environmental waste...). Advances in flexible conductors and materials allow printing displays, ID systems, batteries, muscles...all sorts of neat things. Unfortunately these advances are so niche that I doubt you're going to see them in the home until there's a kind of convergence in the technology (and the price barrier is reduced substantially).

But none of these is quite like 3D Fabbing. Creating your own three dimensional sculptures? Or parts that you can assemble like a model, or your own radio control car? There is definitely a market for this type of device...imagine purchasing something from Amazon and instead of shipping it, you sit for half an hour and it pops out of your printer next to you.

My thought is that if homes get cheap 3D fabricating technology you're going to have a lot of people making pornographic scenes and sculptures for giggles. It fits...advances that made today's modern computer and graphics technology, as well as a significant driver in getting the Internet into the home, were video games and pornography (another article on this is here). I've heard it said that if Star Trek's Holodeck technology were to become reality it would be the end of civilization...no one would want reality when they can have indistinguishable virtual reality in which to, um...yeah.

What do you think? What would you do with a fabber/printer that creates 3D objects, even if it were limited to something like making objects out of sugar or plastic only, or couldn't be a precise high-resolution printer and couldn't create complex machines (can't print a computer out...but you could print parts out and assemble them)?

Monday, July 20, 2009

This Old PC

I had a question on the comments from someone who had read part of the blog asking what I thought could be done with an old computer. To quote in part:
what do I do with an older computer that still works,
but is  a bit behind the times? I have a "DJ" computer that has never been
hooked up  online. I am supposed to be able to use it for music, but it's just
sitting in  my closet, covered up sleeping. It is quite a bit slower than
the stuff out  there today, but works for playback in a Disc Jockey
situation. The drives are  fairly large for music storage, but the speed is slow.
He didn't specify what the specs were or what he'd like to do with it, so I'll assume he's just asking in general what can be done with it.

The difficulty is that it really depends on what you have in place already and what you're interested in doing.

Scenario one: dedicate the machine to a side purpose. I have a very old system that I use only for my iPod. In this particular case I scrounged 512 meg of RAM for it, a spare parts CD burner, and the machine already had a Celeron 2 Ghz processor, which brought it barely on par for running Windows XP without falling asleep while it booted. I installed AVG free edition and iTunes. Then I installed the free edition of VNC (RealVNC.com) so that the system can be remotely viewed from my primary computer (that way I don't have a monitor connected unless I'm troubleshooting something). It's slow as molasses, but it has enough hard disk space for my podcasts and song purchases; I don't need to play with a virtual machine in order to use iTunes with my iPod Touch. It's just a minitower sitting on the floor and for the most part is out of the way.

Scenario two: I have a couple of old systems that I have primarily for parts. This would assume that you have a bit of geek in you and space to waste, but I've used old systems to cannibalize parts for other machines; sometimes that 128 or 256 meg of RAM can make a bit of a difference, or the CD-ROM craps out of an ancient system and the one that now has no memory just happens to have a usable one wasting away.

Scenario three: you have some network in place and could use storage for files. One thing that can be handy to do is create a file server. This is especially nice if you have more than one hard drive in the machine, since it means you can set up something akin to software RAID to keep your information safe. Here old systems for a home network will probably max out their network connection before the processor is most likely going to be overtaxed. If you can, look at ensuring you have two large drives, then download a dedicated software package for turning the machine into a file sharing device; this is called a NAS, or Network Attached Storage. You then can set up the computer, disconnect the monitor and just set the CPU aside with the keyboard and mouse (unless you're lucky enough that the BIOS, the computer's internal configuration manager that displays all those cryptic messages at bootup about memory and setup and boot devices before the operating system comes up, is able to boot without belching errors without the mouse and keyboard...but I usually keep them attached just in case they're needed).

A good place to start with that type of project is the FreeNAS project. There's a Wikipedia article about it as well. Basically I'd look at downloading the liveCD and using an inexpensive flash drive to store configuration information; you set up the BIOS to boot from CD-ROM first and then let the FreeNAS configuration format the drives and handle everything from there. Just make sure you assign it a static IP address so when you reboot each time it has the same location on the network.

The interface lets you configure RAID, encryption, and various services from your web browser on another computer. Handy! There's a configuration guide on their download site.

Fourth scenario: you are curious about Linux and want to try it, but are afraid to try it on your "primary" computer for fear of screwing it up. Old computers are usually capable of running Linux. It may not be great; I mean, popular desktop distributions of Linux usually need at least 512 meg of RAM to work well, but I've had usable configurations at 256 meg of RAM. Also you won't get eye candy if you're using an old or underpowered video card. But if you're just trying to figure out if you'd like to give a distribution a serious try, this is a great way to have a small test run, and if you screw it up then who cares? You wipe and reformat it. On underpowered systems I'd first try out something like Xubuntu; it tends to be a little nicer on limited resources.

Fifth scenario: you have a young one you want to expose to technology. Full disclosure: my youngest is using scavenged, used Macintoshes. It's less prone to viruses, malware, and usually is easier to manage (in OS X you can easily limit the applications displayed in Finder, for example). My four year old loves his Macintosh. But you need at least a G4 with some oomph and at least 512 meg of RAM in order to enjoy any flash-based games and you'd have to make sure it has a DVD drive for them to watch DVD's. I managed to snag one for about $400 from a refurb shop, an old eMac, before finding a G5 system that was going to be recycled from a school. Schools may prove, especially over the summer, to be a source of old systems that are going to be scrapped. You normally have to pay to have systems scrapped out; legally, you can't just throw out old monitors or systems because of toxic metals and chemicals used in making them. Schools typically (legally) have to ship them to recycling centers or pay to have them disposed of, so if a citizen puts out word that they're looking for old systems you may find an old Mac lab being disassembled. Try making friends with a local Intermediate Unit if you're in Pennsylvania or if you're in New York I believe the equivalent is called a BOCES...they have tech people that know most of the tech people in surrounding districts and might be able to help you out.

But I digress...

If you're in possession of an old PC and you have a younger kid who could use a computer, you can refurb it yourself for basic services. What I mean is that if you have 512 meg of RAM, you should be able to install Ubuntu (or Xubuntu), Firefox (so they can use online games and services), Thunderbird for email, and a DVD drive will let them watch movies. They can't play Windows games but it would keep them safer online; old systems with Windows may invite malware, and on old hardware it won't take much to make that system simply slow to an unusable CRAWL. Using Linux means they can still use OpenOffice to type up reports and get basic schoolwork done; if they are technology oriented there are plenty of tools available for free programming as well. They should be able to play music or use cameras for photo uploads also.

If you're tech savvy you can even set up Secure Shell on the system (ssh) so you can remotely log in and help them or remotely perform updates. You might want to put it on a different port since there are scripts trying to poke and prod for vulnerabilities, but if you're comfy with tech (or want to experiment) it is extremely handy to be able to tunnel secure shell for both remote administration purposes or using the "remote desktop" viewing. You just need to configure it on their system and also configure their router to allow access on whatever port you want to use it on (or if it's in your own home's network you need not worry about the router). But this is a different topic.

Sixth scenario: You want to have a software router or firewall. Why would you do this? Well, I know you can most likely make do with the fifty dollar jobbies from Staples for doing most routing (although to be honest I've had horrible luck with a lot of the combo SOHO (Small Office Home Office) devices; these are units that have a switch, router, and wireless function built into one device. But that's another story. To tell you what the PC router can get you is basically more control. You can get charts that track your bandwidth use, tell you what is hitting your connection, control your network usage,...the list goes on. You can also create more custom rules for managing your network and with the right hardware even create what's called a DMZ; this lets you create a connection to a machine that is exposed to the Internet while blocking access to your own personal computers, so if someone hacks that exposed computer then your systems are still safe.

I personally just like having tools for monitoring my network traffic. You'd be surprised what you're actually doing on the Internet.

Like FreeNAS there are dedicated (TINY!) bootable disks made just to do this, for example Smoothwall (this particular distribution has a pay-for version with extra features and a free version). It had the ability to do other things, like run a proxy server to speed up your web browsing.

Similar projects include IPCop, M0n0wall, pfSense, and Shoreline. Some of these don't even need hard disks to work, just a liveboot CD or floppy disk! Just be aware that in order to use a system as a router or firewall you're going to need at least two interfaces; if you're on dialup you'll need a modem and a network card, if you're on DSL or some other high-speed connection you need two network cards. Fortunately they're relatively cheap now...you can get older cards that should be adequate for this purpose for $20 to $40 bucks if you look around.

Seventh scenario: if you already have a Linux system on your network, you can set up a remote boot system. This is not necessarily for the faint-of-heart...it takes some geek cred to do this.

There are two primary ways to start researching this. There are thin clients, and there are diskless systems. To understand the difference you have to think in terms of resources; computers run with displays, memory, and disk space and processors that do the actual work on the system.

Thin clients boot up and connect to a server to run applications. All resources...memory, the processor, disk use...are on the server. Basically if you're on the system that's acting as the server and someone else is using a thin client connected at the same time and they start watching animations from weather.com, you will have a slowdown on the system through no fault of your own. For this reason you need a server that is hefty in available horsepower, but the clients can be ancient PC's that can't even run Windows XP in order to work.

Diskless systems boot up and download their operating system from a central server, then connect up a shared drive over the network and load programs from that system. That means they're sucking down network bandwidth and drive access from a server, but once the program is running, all memory and processor use is on the local system. In other words the client machine doesn't need a hard drive to work, just a good network connection.

The thin client sucks all resources from a hefty server; a diskless system just mooches storage but uses its own memory and processor and display capabilities.

Either way it's easier to manage upgrades and updates from a central server. There are setups for making this easier if it were a project someone wanted to undertake. It may even be useful because it can be a way to roll out workstations to other locations around a home for other family members to get Internet access without getting a lot of expensive computers. Drawbacks...if the server dies, they all die. Also they are using Linux, so if you absolutely must use Windows, you'll need to see if you can virtualize it (which is probably not recommended since it would be resource intensive) or use a different solution.

There are howtos available for ubuntu for both diskless configurations and terminal servers. There are also distributions made for creating terminal server setups. Either way they should give some starting points for researching the topic, and if you have a terminal server then you can have truly ancient hardware that can be usable since they're using another system's resources to run. It may even be faster than what the actual hardware would support on its own!

Last scenario: if you happen to have an old all-in-one system laying around, use it for decorative furniture! Yeah, weird, I know. But still it has some geek appeal. For example, turn it into an aquarium. Or a couch. There are some sites that discuss turning old systems into things like an MP3 stereo or a free digital video recorder for your television, but you'll probably need to invest in slightly more expensive hardware to gain that ability. If you really want to stretch it you could always set it up as a digital picture frame to just cycle through home photos or set it up with some webcams and use it as a home security controller; in general it's not extremely taxing on the system once it's set up.

Those are all the suggestions I normally have for old systems off the top of my head. In general old computers alone aren't worth much...Macintoshes can have some value (even old G5's, PowerPC chip based, can go for several hundred dollars. I just did a search on Amazon and they have a PowerMac G5, dual 2 GHz processor, 512 meg of RAM, 160 gig drive, DVD-R/CD-R drive, for $777.77) despite being rather old, but most PC's of this age bracket would go for maybe a hundred dollars down to free. Legally, you can't even throw them out. Proper disposal usually means finding a recycler that will take it or contacting your local dump and ask them if they can take it or know of a company that can handle the disposal details (or contact your local public school or college's tech department and ask if they take home systems for recycling).

You do need to be aware that sometimes these systems will need some small investment to increase their life...sometimes some memory sticks can boost performance significantly, or it may need a cheap network card added. If you invest more than a hundred bucks it's probably not worth it. Also you may need to be careful of the hard drives...drive failure is a question of when, not if. You can get new drives for fifty to sixty bucks off Amazon.com; I use an external hard disk to make backups of my little iPod system in case there's a system failure.

Hope that helps answer your question! If you have any other questions feel free to ask, and if anyone else has suggestions for using old PC's leave a comment!

Saturday, July 18, 2009

High Availability Through System Redundancy

The title of this post is quite a mouthful. If it didn't scare you away and you're something of a geek at heart though, read on.

If you're a regular follower of the blog you know that I had two types of side projects floating in my head. One was writing a story; the other, creating a saleable program.

I had started on the program but shelved it temporarily to work on some stories starting with The Writing Show's Halloween contest entries. But that didn't mean I stopped thinking about the software aspects of my interests.

I was mulling over what I would want to do for a fledgling business using a web service as it's means of income. Part of that...a big one...was having the systems be available for use as much as possible since downtime can kill your business.

The problems is that bootstrapping a business means budget...low budget. Such a small shoestring that we're talking velcro for the shoes.

Part of that mulling over of the idea is what led to my article a few days ago about RAID. It's not a total solution for high availability. What I want is for a separate computer to be ready on standby to take over if one system craps the bed, so to speak. RAID simply can't protect against a motherboard or controller failure; it's not meant to.

Solutions from big companies...if you deal with technology you've probably heard of them...can solve this problem for you. As long as you have a couple hundred thousand in your account to cover your first year.

But that got me to thinking about Google. Many may not know this, but Google's hardware is all commodity parts. They just built a staggering number of systems and concentrated on tying them together with high speed switches and custom software for the filesystem and data shuffling that occurs on the their systems behind the scenes. The systems themselves aren't all that much different that what you can buy from any computer retailer.

Services can be offered using inexpensive hardware.

I did a little more digging and found the DRBD project. It's a mature Linux project that basically creates a RAID 1 array...mirroring...across the network.

What does that mean? Use case I'd look at. Buy two computers. You can get decent systems for...lets say a thousand dollars. Have a small hard drive and a larger data drive in each one.

On the smaller drive, install Linux. Configure the OS, networking, etc.

On the larger drive you place your data...your web server, your database, etc.

Now install DRBD to "mirror" the large drive on machine 1 to the large drive on machine 2. Using a "primary-primary" configuration, the data drives on the computers are kept in sync with each other.

If there's a failure on the primary one where all your data is being accessed, you can shut down the first one and your data would be intact on the second system, ready to take over. In the abstract, you have two servers ready to work for you in case there's a problem with any component in your server.

Unfortunately there's more to it than that. You can implement this, sure, but that means that if your server dies someone has to be onsite (or able to remotely access) your server 2 so that you can redirect traffic manually to the new system.

To fix that you need heartbeat software. This is software that runs on the two computers and constantly chatters back and forth, usually every few seconds, just to see if the computer's "mate" is still alive. If not, the heartbeat software runs a script that tells the second server to take over, alter it's IP address on the network so it is now the master system, and makes any alterations necessary in order to take over the role of the primary computer.

Of course this would mean that RAIDing a lot of data over the network could take a toll on performance. To that end I think this commodity hardware would need a second gigabit network card to connect the two computers with a crossover cable so they could just talk to each other; a dedicated hotline just to exchange data.

I've also thought about management of the system; easy backup, easy archiving, etc. I've long been a fan of virtualization for this. I can create a generic virtual computer with it's own virtual hard disk device (on your computer it looks like one giant file, when you boot the virtual computer it uses this giant file as if it were a hard disk). Everything is sandboxed and secure on that fake computer.

I've loved it because once I get a computer configured to provide a specific function, for example a web server for an in-house bulletin board system, I can back it up by shutting down the virtual machine and copying the giant drive file to another location then fire up the virtual machine again. We had a system fail and to bring up the virtual server I just copied that backup file to another computer and fired up VMWare on that system. No reconfiguration necessary and minimal downtime.

In other words that generic computer can be copied to another device to run in a pinch. If I didn't have that system virtualized I would have had to reinstall an operating system on a dedicated piece of hardware, configured exactly for that hardware (device drivers are a pain sometimes!) and it would have taken more time and hence more downtime. A virtual machine is the same no matter where you're running it...as long as you have your virtualization software installed and space on that system's drive (and memory) you're good to go.

Hmm,...I thought about it and wondered, what if I ran virtualization software that would mirror the virtual hard drive file using DRBD from computer 1 to computer 2?

VMWare has a solution like that. As long as you're running hardware they approved of with a lot of beef and VMWare's additional enterprise tools...for lots of money...they can give you the ability to sync up and share virtual computers between two or more servers.

The lots of money part would be the tough part, though.

Digging some more...there is a Linux solution called Xen. There are other virtualization solutions under Linux, but this one is rather mature and fast; plus it's coming up with hits in Google coupled with DRBD. Hmm...

Xen should give me the ability to install virtual Linux machines on a server and because it's associated with the Linux High Availability Computing Project, there are scripts and hooks built in to the heartbeat management software and DRBD that will allow me to take two machines running DRBD and when one machine fails have the second one automatically take over the virtual machine. Nice!

This would also simplify things like hardware upgrades or maintenance or other issues. Best of all, aside from the cost of time and hardware, the software to do this is free.

I know that this is all theoretical for me at this point. I've only been exposed to very basic virtualization software and basic hardware for redundancies like RAID cards and the like. I've definitely never done anything like working on a home-grown cluster. Fortunately I'm so far behind on having a working project to sell that this isn't a big issue right now.

Periodically I poke around and see what hardware is available or being thrown out by friends that I could procure for use in creating a very basic testbed, if for nothing else than to test performance on trash hardware. I'm also not fully certain how well any of what I've found so far woudl actually work in the real world; there could be other setups that work better. I'm still reading through material in my copious free time from the clustering and high-availability sites to see if there's some other solution that would match my proposed needs better.

If anyone out there knows more please feel free to leave comments. I'm open to ideas. In the meantime I'm probably going to continue with some writing and researching and eventually continue on with the programming...hopefully...

For others reading this that are techie hobbyists I hope you may have found this at least a little interesting. If you are a techie that has a home "data center" this may be the type of project that could boost your geek cred substantially. It would be cheaper than hardware RAID, more expensive than a big system with software RAID, but properly configured it would be safer than either one because it eliminates the computer itself from being a single point of failure...instead that title would go to your network infrastructure (router and/or switch) or your "datacenter" (if both systems are in your house and you have a housefire...).

Interestingly enough if performance is decent with compression and depending on load you might even be able to eliminate part of that by locating the two servers in separate geographic locations and connecting them with fiber or a dedicated VPN. But again I'd need to test performance for that with some testbed computers.

What do you think? Interesting? Anyone have ideas to share?

Thursday, May 28, 2009

A Search Engine That's Not Google?

I heard about this on a podcast recently and after trying the site I highly recommend it!

It's called Kosmix. It's a search engine that will sort information out for you...you put in a query and it will search Google and put results in one spot, it searches blogs and puts those in another, commercial sites, video sites, image sites, etc...neatly separating them out for you and presenting them in an easy to read format!

I may start using it more than I use Google since Google is one of the engines it uses in turn. Very nice. Just going to their home page (linked above) will give you some interesting news stories and feeds, and you can customize the page for your computer. Take a look and see what you think.