Reviews

Build your own web site the right way, using HTML & CSS by Ian Lloyd

This Sitepoint release, written by Ian Lloyd, proves to be a worthwhile addition to the library of a budding web designer or even that of a complete novice who’d like to build his own site. Ian takes the reader through a complete tour of HTML and CSS, plus a few goodies, and leaves no stone unturned in making sure they can build a good, solid foundation of knowledge.

For those of you not in the know, Ian is a member of the Web Standards Project, and is a self-confessed addict for web standards, accessibility and usability. That means that any reader that picks up this book and follows it will end up with a lot of very useful knowledge on that subject, and that’s good nowadays, when web standards are the norm, not the exception.

As is the case with most computer books, book follows the development of a fictional website, this time for a UK diving group called Bubble Under – and when I say it starts at the bottom, I mean it: the first chapter deals with browsers! But that’s what’s great about it. It’s thorough, from cover to cover! And the emphasis on CSS is very welcome! I remember the HTML books of my day… and of course there was no such thing as CSS back then. Well, this book is modern and up to date, and thankfully so! CSS-based page designs are emphasized, and the reader is taken through a natural transition from pure HTML to CSS integration. Along the way, standards are plugged in, also naturally, and the more advanced elements like images and forms are also nicely presented.

Another indication of the book’s relevance is the chapter on blogs, which talks about the various solutions on the market, and then focuses on how to set up a Blogger account and integrate it into a website’s existing design. Other goodies are stats, search, blogrolls, and discussion forums. The book ends nicely with a good discussion of XHTML, and an XHTML glossary is included to boot.

What more can I say? If you’re in the market for a good book that will help you get started with designing your own site, get this book. It’ll be perfect for you!

Standard
How To

When it comes to home computers, k.i.s.s. and forget it

I’ve been learning a hard lesson these past few weeks, as my parents go through a time of computer trouble, and since I’m the one who purchased their computer equipment and set up their network, it’s up to me to get things right again.

What’s the lesson, you ask? As encapsulated in the title of this post, and as I’ve been yelling it at myself in quiet moments, it’s: keep it simple. 

Here’s how their setup looks:

  1. Cable internet connection
  2. Wireless router
  3. Vonage box hooked up to router, in turn hooked up to phone w/ answering machine, and multi-function printer/fax/copier/scanner
  4. Same multi-function printer/fax/copier/scanner also hooked up to router because it’s networkable
  5. Older desktop hooked up to router, another printer through parallel port, and to the multi-function machine through the network
  6. Laptop with wireless card, using the wireless router, configured to the networkable multi-function machine through the network

Where should I begin? Gee, let me start with WPA. Why? Because that’s how I had their wireless router set up. And every time something happened with the connection, they either couldn’t find the passphrase, or for some reason the laptop’s card didn’t feel like connecting to the router. Lesson learned: ditch encryption, just set up MAC filtering. That way, they can connect on the go, and don’t have to bother with WEP or WPA, which is a real hassle unles you’re a geek. Plus, with MAC filtering, unless someone can spoof a MAC address, they can’t connect to the network. And if they can spoof a MAC address, there’s a good chance they know how to get in even if encryption is enabled. Yes, I know the traffic can be sniffed if the encryption isn’t enabled, but who cares? Even WPA encryption can be sniffed and decrypted with readily available utilities. So why bother with it?

As I banged my head against the wall, I rued the day I set up their multi-function machine through the network. Why? Because if you have to delete it and re-install the printers, or you have to re-format the OS (Thanks, Windows, for the crappy OS, and thanks, driver manufacturers, for the horrible, latrine-worthy job you do writing those drivers – for all devices, not just printers!) you can never find the machine on the network so you can re-configure it, and you spend hours re-setting it to factory defaults through the printer’s LCD menu, then hunting for it on the network. Have you ever tried to walk someone through a printer’s LCD menu when you can’t remember the options, and they’re not familiar with it? It’s not fun. Lesson learned: install through USB, and set up local printers.

Quick question: if you unplug your printer’s or computer’s network cables from the wireless router, can you plug them into the IP telephony router? I guarantee you your parents or friends won’t know the difference, and they’ll plug them into it, then wonder why they can’t get on the Internet or connect to their printer. Lesson learned: forget IP telephony devices like Vonage. It may be cool for us youngsters to brag about how we slashed our phone bill by switching to Vonage or just using Skype, but it’s not cool for your parents when they can’t receive phone calls or faxes. (Yes, I’m talking to you, Vonage, with your awkward and arcane programming steps (or rather, button dances) so I can get my printer to send/receive faxes through your connection! Forget that!) Just set your parents up with a dedicated fax machine, plugged into a wall phone outlet, then sit back and relax, because they won’t call about it! And it’s the same with the phone! Leave it plugged into the wall! Forget saving $5 or $10 a month just for IP telephony. It’ll cost you and your parents much more in stress when their phone doesn’t work.

When my parents lost data because their laptop crashed and had to be reformatted, I realized the value of setting them up with automatic, regular data backup, the kind that just works. You know, you don’t think twice about setting up backups in the server room, but somehow you think the data on your laptop or desktop will take care of itself… Unfortunately, Windows doesn’t come with an easy backup program. Lesson learned: buy a big external hard drive, and set up automatic, regular backup jobs to it. It’s preferable to get a drive that comes bundled with a backup utility. Have any of you used the Windows Backup utility? What a stinker! How do you edit scheduled jobs? First, you can’t edit their every aspect after you’ve created them, and second, who’d think to look under a completely different app, called Scheduled Tasks, to find them there? Really, would anyone other than a geek know that? Why in the world aren’t the jobs available for editing within the Backup utility? It’s just plain dumb design.

As I had to re-educate my parents about the various ways of doing things on the computer, I came to realize (duh!) that I should have spent more time training them at the outset. Yeah, it seems like a no-brainer now, but back when you’ve just spent a couple of days transferring all their stuff and settings from the old computer onto the new one, do you really feel like spending another half day training them on the new machine? No, you just sit them down in front of it, point out the highlights, and tell them to enjoy it! Well, you pay for it later. Lesson learned: spend time training the user at the outset – you’ll avoid problems down the road. And define simple pathways for them, stuff like:

  1. This is where you save your documents.
  2. This is where your email archive gets stored.
  3. This is how your email account is set up. Make sure the settings stay this way!
  4. This is how to back up your bookmarks.
  5. These are the passwords and simple access instructions for the firewall, router, computer accounts, etc.
  6. This is where the photos get stored. Use this application to manage them. Download the photos from your digital camera this way…
  7. This is where the music gets stored. Use this application to manage it. This is how to sync the iPod…
  8. This is where the videos get stored. Use this application to download the videos from your camcorder to the computer. Here’s a simple way to make a DVD from a video…

It’s stuff like this that saves you countless headaches. If you need to, make screen-capture movies and put them on a “how to” DVD for them. Or write instructions, with screenshots. But make it simple, or you’ll pay for it!

Finally, as I troubleshooted why the laptop kept crashing because of obscure driver errors (everything was up to date, and the latest driver versions were installed), I learned the following three things:

  1. Buy a good brand. Don’t get a cheap brand. My parents have an Averatec laptop. That thing clonked out from the start. It was supposed to be able to output video to a TV through an S-video port, and it wasn’t even able to do that. When I called Averatec support, their advice, right off the bat, was to reformat the laptop. Great, the panacea fix used by all lazy tech support people! Then, after the 1-year warranty expired, it started to crash unexpectedly, even though there were no viruses and no spyware on the computer. It didn’t have any weird applications installed, either, just mass apps like Office, Firefox, iTunes, Picasa. So, don’t buy Averatec.
  2. Get an extended support plan. Don’t get cheap when you shouldn’t! Get that support plan, and make sure it includes accidental damage coverage, as well. You’ll be thanking yourself when you have someone to call if the hardware goes bad, or you need help with the system.
  3. Don’t buy Windows. Sounds harsh, doesn’t it? But it’s true. People who aren’t geeks need a simple operating system that’s not fragile – one that doesn’t crash or is susceptible to hundreds of thousands of viruses and malware. Windows may be good for developers who are shackled to it by the work they do (like me), and it may work fine at the office, (where you have a Help Desk department, and you’ve got an industrial-strength firewall and anti-virus thin clients pushed out to all the client computers, with the latest virus definitions,) but it’s not good at home – not for people who are at a loss when they need to tell a bad file apart from a good file. The choice becomes pretty simple: Mac OS! Just get a Mac for your parents, or tell your non-geek friends to get one. Then, when they don’t call you to complain that it keeps crashing, you’ll get some time to pat yourself on the back.

I hope this helps you streamline your work as you set up your parents’ or your friends’ machines. I sure wish someone shoved this under my nose when I started to set up my parents with new computer equipment.

Standard
Lists

Oldies, but goodies

As news go, these are weeks, and even months-old, but they sure are good. Stumbled onto them in a folder full of bookmarks. Enjoy!

  1. Full of nostalgia for the 80’s? Try Engadget, cca. 1985.
  2. Want to donate your old computer? Better wipe that drive first!
  3. The generational gap can be seen in the workplace, too. Seriously, it’s rude to get up and walk out in the middle of a conversation.
  4. Kawaii Not – the web comic for cute gone bad! Cute indeed, and witty to boot!
  5. Want to get a small PC?
  6. The 25 worst tech products of all time, according to PC World.
  7. Ever thought of public spaces as dance floors? “You’ve got to move it, move it… MOVE IT!”
  8. Check out photos of Chicago from the 40’s to the 90’s.
  9. Want to get the scoop on classic movies? Then check out Reel Classics.
  10. In love with USB? Check out this list of flashy USB accessories, like a bra with a USB clasp.
  11. Want the latest in wiretapping devices?
  12. How will the newspaper look in just a few short years?
  13. You thought invisibility cloaks were a sci-fi thing, right?
  14. Great advice on advancing your career as you start over, move, take a part-time job or have money problems.
  15. Video sites, comically analyzed and summarized.
Standard
How To

Do you like Remote Desktop Connection?

If you use the Microsoft Remote Desktop Connection tool to connect to other Windows computers, you’ll appreciate their Remote Desktop Client for the Mac. That’s right, with this tool you’ll be able to connect to and manage Windows computers from your Mac! I’ve used it, and it works great!

Did you also know you can set up your Pocket PC with a Remote Desktop Client, and manage your main PC with it?

Finally, if you’ve ever lost the shortcut for Remote Desktop Connection from the Start > Accessories menu, you know how annoying that is. You can’t reinstall the software, because it’s built in. What can you do? There are two things you can do:

  • Run the program directly by using Start > Run, then typing “mstsc”.
  • Put a shortcut to it back on the Start Menu, perhaps even pin it there, by going to “C:\Windows\System 32” and browsing for the “mstsc” executable. Once it’s back on the Start menu, if you don’t like its name, just right-click on it and rename it to “Remote Desktop Connection”.
Standard
Reviews

Building Scalable Web Sites, by Cal Henderson

I love this book! There, I’ve given away the clincher already.

Truth is, the writing is addictive. Once I picked it up, it was hard to tear myself away. Perhaps it’s because I’m fascinated with the subject matter, but boy, the writing style ain’t too shabby either. It’s easy on the eyes, and easy on the brain. You just start reading, and go on reading. There are no stumbling blocks, just nice, smooth writing that encourages you to keep moving on as you’re reading.

Let’s face it, which web developer out there doesn’t want to find out how to build scalable websites? Don’t we all dream that our sites or web apps will hit it big, and we’ll have to start planning how to expand? Well, this book will show you how. No, this book won’t show you how to code such sites. There are so many languages out there, it’d be impossible to do that in a book. And besides, code and its structure varies wildly based on the application you’re building. The load imposed on the server varies as well, based on the nature of your application. Some require more RAM, others crave more disk space, others are cuckoo for I/O… you get the point.

What this book will do is to set you straight: what is scalability, and how it’s done, from scratch to finished product, from hardware planning to software planning. It’s all laid out, and it’s easy to understand. Oh heck, Cal even explains what a web application is. And he’ll shatter a few myths, such as this: scalability and performance aren’t the same thing. And, PHP can be used in scalable applications. What?! The heresy! Only Java is scalable, right? Nope.

You’ll also learn things such as… Which scaling (vertical or horizontal) is more cost and resource-effective? How do you load balance with both software and hardware? What in the world is involved when exposing web services? Well, it’s not about nerds flashing in the server room, that’s for sure. How should you react when someone pulls an RPC on your XML? Should you wash it with SOAP, or should you cry API Abuse? Is a data cache a good thing? Should you worry about your database slaves? Should you buy cheap machines like Google, or should you spend your cash on real servers? Read the book, and find out the answers to all these captivating questions.

By my estimate, most people interested in the subject will manage to read the book in less than a week, and that’s with leisurely reading in the evenings. That’s more than I can say about many tech books, where you get bogged down trying to understand the code and what it’s doing. This book is instructive, entertaining, and intellectually enriching. Cal has a lot of knowledge in building scalable websites, and there’ll be no mistaking that when you pick up the book. This fellow speaks from personal experience. Do yourself a favor, and don’t build a hamstrung site. Read this book first!

Standard