Hey! I’m famous!

I got mentioned in a post about Adblock Plus on Lifehacker.

In a comment about something else, I mentioned that you should install Adblock Plus and turn on the Malware Domains subscription to give yourself protection beyond what your antivirus software does. If intercepting bad-guy software is good, not even downloading it in the first place is better.

I guess someone liked the advice.

Make Firefox run like new

This is an unbelievable trick. If you’ve been running Firefox for a long time, it gets a lot more sluggish. Here’s how to optimize its databases and give it back its youthful vigor.First, go to Tools, Error Console. Copy and paste this long and obnoxious line in:

Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");

Click Evaluate and wait. Firefox will appear to lock up, but fear not, when the query finishes, it’ll recover with a vengeance, loading faster, rendering pages faster, and doing just about everything faster.

The difference could be enough to cure new-computer fever, in some cases.

You can close the Error Console window after it finishes.

What this trick does, from a technical standpoint, is dump all the empty space in the databases where it stores all of your data (bookmarks, browsing history, usernames, stuff like that), making it smaller and easier to manage, and, in turn, faster. Whenever data expires, it’s blanked out rather than truly deleted, so the databases just keep on growing over time, contributing to Firefox’s slowdown.

A better, faster Firefox for Windows

Compiling Firefox for modern-ish (Pentium 4 and newer) CPUs is relatively common on Linux, and presumably on Mac OS X also, but not for Windows. On Windows, Firefox assumes you have a first-generation Pentium CPU, since that’s the slowest CPU that will boot Windows XP.

Enter Pale Moon.Pale Moon is compiled to use the instruction set in newer Pentium and Athlon 64 CPUs. In layman’s terms, this results in about a 25% increase in performance, which is significant.

Also significant is that the current version is based on 3.6.3 of Firefox, before Firefox broke Farmville, people started laying eggs, and they started breaking Firefox to keep Farmville working.

I couldn’t care less about Farmville and other stupid Facebook games; I just want Google Maps to be fast.

And in my quick tests, Pale Moon is fast. It loads faster than the standard Firefox build. It renders complex pages like Google Maps faster.

I’m not ready to make it my default browser yet, but so far I like what I see. It at least narrows the performance gap with Chrome, while retaining the user interface and keyboard shortcuts I’ve been using since those pre-release versions of Netscape I was using in 1994.

Experimental, optimized Firefox builds have come and gone over the years. Hopefully this one sticks around a while.

Best public DNS – finding the best for you

Best public DNS – finding the best for you

If your Internet connection is slow, it almost always helps if you optimize your DNS. But there’s more to the best public DNS than just speed. I’ll tell you how to find the fastest DNS, but using a DNS that offers improved security gives your computer protection beyond what your antivirus and firewall provide.

Sometimes it’s enough, and it’s definitely cheaper than buying a new router. Even if you do get a new router, using fast DNS helps. Here’s how to find the best public DNS to use, to improve your speed and your security.

Read more

My standard security lecture

Myth: Nobody wants to get into my computer because I don’t have anything important saved on it.

Fact: I don’t care who you are or what you do with your computer, security is important. Do you want the Russian Mafia using your computer? The North Korean military? Al Qaeda?

If you’re OK with that kind of vermin using your computer, then do whatever you want. I hope you don’t have problems sleeping at night. If you don’t want that kind of vermin using your computer, I suggest you read on.Odds are, the next 9/11 isn’t going to involve airplanes or even bombs. It’s more likely to be a computer attack of some sort.

Modern computer viruses generally join infected computers together into large networks, which then “phone home” for orders. They can sit dormant for a long time, or they can start carrying out orders immediately. Those orders could be sending out spam e-mail messages. Or those orders could be to conduct an attack on some other computer, perhaps a bank, or perhaps a government or military operation.

Imagine Al Qaeda building a network of a few million computers, then using that network to overwhelm an important computer. When Amazon or eBay have a bad day and you can’t get to them, it’s possible they’re being attacked and struggling to cope with it.

The same approach that crashes Amazon.com could theoretically be used to crash the stock market or the Space Shuttle. Fortunately, that kind of trick is nearly impossible. But not completely.

Building the network is the easy part. Locating a target to point it at is the hard part.

The network already exists. There was a virus expected to trigger on April 1 of this year. It didn’t, for whatever reason. But everything isn’t OK. The network still exists, it’s still growing, and nobody’s figured out yet who built it, what they intend to do with it, and how to get in and disable it. Believe me, there are experts around the world trying to figure it out.

Whoever or whatever is behind it, you don’t want your computer unwittingly participating in it.

Here’s to avoid inadvertently aiding and abetting criminals and terrorists with sloppy computer security practices.

1. Use antivirus software and keep it up to date. Many Internet providers will give you antivirus software for free these days. Call your provider and ask. If not, download Microsoft Security Essentials.

2. Configure Automatic Updates. This allows Microsoft to fix security vulnerabilities in your computer as they’re discovered. Macintosh users, don’t get smug. You need to configure Apple update too–Apple releases a dozen or so fixes every month to fix security issues on Macs too.

3. Don’t open unexpected e-mail attachments. It’s been 12 years since this has been safe to do, but people do it anyway. STOP. NOW. I don’t care how funny the joke is, or how cute or hot or whatever the picture is.

4. Don’t open unexpected e-mail, for that matter. Booby-trapping an e-mail message with a virus isn’t especially difficult to do. Frankly, if any e-mail message looks suspicious (a subject line like HOT HORNY SINGLES WANT TO TALK TO YOU NOW! is usually a giveaway), I just delete it.

5. And if you ignore steps 3 and 4, for Pete’s sake, don’t buy anything. Nearly 10% of people actually buy something based on spam e-mail messages. That just encourages all of this other activity.

6. Use web-based e-mail. Most web-based providers use good spam and virus filtering, giving you an extra layer of protection.

7. Use an alternative web browser and e-mail program. Internet Explorer is literally a superhighway for viruses and other malicious software to hook directly into the operating system. Use Firefox, Chrome, or Opera.

Have I scared the living daylights out of you? Good. If your computer is beyond help, get a reputable IT professional to clean it up. Then start doing these things. If your computer is OK right now, start doing these things.

And then stop aiding and abetting criminals and terrorists.

First impressions: HP Mini 110

I spent a few hours last night with an HP Mini 110 1012NR. It’s a model with a 16 GB solid state drive (no spinning mechanical hard drive) and Windows XP.

My biggest beef is the keyboard. It’s undersized, and I can’t touch type on it. Try it out before you buy one.

The rest of the system isn’t bad, but there are some things you’ll want to do with it.The system acted weird until I removed Norton Antivirus 2009. By weird, I’m talking not staying on the network, filesystem errors, chkdsk running on reboot, and enough other goofiness that I was ready to take the thing back as defective. The system stabilized as soon as I removed Norton Antivirus, and stayed stable after I installed ESET NOD32.

The system also ran a lot faster.

Don’t believe the hype about Norton Antivirus 2009. Use ESET NOD32. This is the second HP laptop in a month that’s given me Norton Antivirus-related problems.

McAfee is better, but only sufficiently better to use if your ISP is giving it to you for free. I still think NOD32 is worth the $40 it costs. The Atom CPU in the Mini 110 feels like a Pentium 4 with NOD32 installed. It feels like a Pentium II or 3 with something else installed.

The SSD isn’t a barn burner. I have OCZ Vertex drives in my other PCs, and this one doesn’t measure up the Vertex. Reads are pretty quick, but writes can be a bit slow. Windows boots in about 30 seconds. Firefox loads in about five. Word and Excel 2000 load in about a second.

So it’s not bad. But an OCZ Vertex would be a nice upgrade. Drop it in, use it for the OS and applications, and use the stock 16 GB drive for data.

A memory upgrade would also be worthwhile. With the stock 1 GB, it’s hitting the pagefile to the tune of 400 MB.

Unfortunately, to really make the computer sing, you’re looking at spending $200 in upgrades ($40 for NOD32, $40 for 2 GB of RAM, and $120 for an OCZ Vertex). Spread it out over the life of the machine and it wouldn’t be so bad though. And you’ll be paying $40 a year for antivirus no matter what you use.

The build quality is typical HP. I have lots of aged HP and Compaq equipment that’s still going strong. I don’t get rid of HP stuff because it breaks, I get rid of it because it’s so hopelessly obsolete as to be useless. I hesitate to buy from anyone else, except Asus. And Asus, of course, is HP’s main motherboard supplier.

If you can get used to the keyboard, I think the Mini 110 is a good machine. It weighs 2 pounds and is scarcely larger than a standard hardcover book, so it fits almost anywhere. And having an SSD, there isn’t much that can fail. The battery will eventually fail, and probably the AC adapter will too, but I think other than that, one of these computers could last 20 years, assuming it would still be useful for anything then.

Getting more screen real estate in Firefox

Web browsers take entirely too much room on the screen. I’ve seen tips for putting Firefox on a diet, but nothing that frees up as much space as my bag-o-tricks.

So let’s go.

First, go to View, Toolbars, and Customize. Drag the address bar and search bar up to the top, next to the File/Edit/View/History/Bookmarks menus. Drag the arrows up there too, if you want them. Click OK. Now to back to View, Toolbars, and uncheck the navigation and bookmarks toolbars.

Now do a Google search for "classic compact Firefox theme." Install it.

You’ll have significantly more screen real estate.

Firefox vs. Chrome

I used Google Chrome this week while I waited for Firefox 3.5.1 to come out. I like both browsers but still prefer Firefox by a slight margin. But Chrome is nice to have for those times when Firefox has unpatched vulnerabilities.Popups: Chrome wins hands down. Firefox doesn’t block all popups, but in a week of using Chrome, I had zero popups. None. That was nice.

Searching: Firefox wins. Most people don’t mind hitting ctrl-f to search, but I’ve grown used to Firefox letting me search by hitting the / key. It’s faster and easier and now that I have the feature I hate not having it.

Blinky crap: Firefox wins. I can disable animated GIFs in Firefox and I can use Flashblock. Maybe I can get Chrome to disable animation too, but I know where to look in Firefox. Firefox will stay near and dear to me as long as it lets me block all that blinky crap.

Speed: Chrome runs Google Maps and the new Yahoo mail faster and on a marginal PC it scrolls text a bit better. But I think Firefox finds sites faster. Both are much faster than IE though, and after suffering through 8 hours of IE at work every day, either one is heavenly.

Search bar: If all you do is search Google, Chrome is better. I routinely search Amazon and eBay, a lot. Chrome’s way of doing it is clumsier than Firefox even though it uses less screen space.

Frankly I like both browsers but I’m glad to have Firefox back. I may find myself alternating between the two based on whatever I happen to be doing.

Sitting in the lap of luxury with an SSD

OK, it finally works. I have my OCZ Vertex running in my Compaq Evo D510 using a Rosewill RC-203 IDE-SATA bridge adapter.

It’s fast and quiet. I haven’t had it working for long but I really wouldn’t want to give it up. I’m not looking forward to that clunker with spinning disks on my desk at work tomorrow.Windows boots in well under 30 seconds. You barely see the Windows XP splash screen. And once you get to the desktop, you can start loading programs even though the disk light is still blinking a little. The system doesn’t care.

Firefox loads in about three seconds. I could probably reduce that some if I cut down on the amount of history I made it remember. But since I keep it loaded all the time, I probably won’t bother.

Excel loads in a second. I think it spends as long displaying its stupid splash screen as it does actual work now. You can disable that, and it might be worthwhile to. There’s no perceptible difference between loading it the first time or loading it the second time.

Word loads in about a second too. Like Excel, the first launch is about the same speed as launching it from cache.

Photoshop Elements is still a slow pig. It loads about five seconds faster than off my old Seagate drive, but takes about 20 seconds to load. That’s not bad, but it’s about as long as Windows itself.

It’s quiet and cool. The system fans on this Compaq adjust themselves as necessary, and they’re spinning very slow. A bird singing outside your window drowns it out. The drive isn’t completely silent, but without putting my ear right up to it, I can’t hear it.

With no more worries about physical wear, shutting the computer off at night (or at least hibernating it) becomes more feasible. And while it’s on, the system’s power usage will drop a few watts.

I had problems cloning to my new drive with Ghost. If you want to clone rather than rebuild, Drive Image XML looks like a better bet. The downside with it, as I found out, is that your new drive has to be the same size, or larger, than your old one. Even though I had 18 GB free on my 40 GB drive, it wouldn’t let me clone to a 30 GB drive.

Why did I buy a 30 GB drive? Because I expect prices to continue to drop. 30 gigs is enough to be useful, so if I decide to buy a larger drive this year or next, I can move this 30 GB drive into another system.

This is a big deal. If you can’t afford an Intel SSD, buy the OCZ Vertex. You won’t regret it.

Why Firefox will probably always have mixed acceptance in corporate environments

I saw an article in Information Week today about Firefox in the enterprise.

The fanboys on both sides took offense, of course.

I’m a longtime Firefox user and an IT professional, but yet I agree with the premise that Firefox will always have trouble in that environment.The biggest reason is inside the firewall, in the corporate intranet. Some commenters complained about lazy in-house design, but that’s not the whole story. Many web-based enterprise applications are designed for Internet Explorer and only Internet Explorer. One app that I support takes it a step further, and only works with IE 5.5 or IE 6. That’s going to be a problem when the order comes down to deploy IE 7. The product is discontinued, so at that point we’ll have to either migrate to something else, or have people connect to a terminal server so they can run IE 6.

I have another web-based application I support (but if I ever change jobs I’ll deny ever hearing about it) that works with IE 7, but if and only if an administrator logs on and manually registers some ActiveX controls. That product is called Microsoft Project Server 2003 Web Access.

Yes, you read that right. Even Microsoft can’t properly support its own web browsers.

Any corporate web-based app that uses ActiveX will never run on Firefox. Those that check for a specific IE version might run on a hacked version of Firefox, but if you ever have any problems, you’re on your own. Corporate suits don’t like that.

And since computers and applications tend to live almost forever once they’re deployed, IE’s stranglehold on those environments may not be measured in years. We may be talking a decade, or even more.

I’ll submit the refrigerator-sized VAX systems I walk past nearly every day in the server room as evidence of the longevity of some systems. The computers themselves may not be quite 20 years old, but the applications they’re running are at least that old.

Firefox also tends to go against corporate culture in other ways. One of the first questions a corporate suit will ask is who they can sue if it breaks. Never mind that if a Microsoft product breaks, they probably waived all legal rights as part of the EULA. The guys in corner offices who wear ties know more about that than anyone who works on computers. A wave of the hand makes that problem go away.

Yeah, right. But don’t bother trying to tell them that.

A second problem is that many IT decisions are made, or approved, by people who admire Bill Gates’ wealth. Since Bill Gates became the world’s richest man by selling computer software, his computer software must be the best, period, end of story.

Many of the books decision-makers read perpetuate this belief. One example is the highly popular and influential book Naked Economics by Charles Wheelan. In many circles, this book is a must-read. I have to admit I’m getting as much out of this $11 book than I got out of my college economics class, if not more. But Wheelan trots Gates out again and again as a master visionary, a master programmer, and lots of other things that he clearly isn’t. The examples serve to make Wheelan’s point, which is the most important thing, but they also perpetuate the myth that Bill Gates is the greatest computer scientist and visionary of all time, when the fact is he’s an astute and ruthless businessman who happened to find himself in the computer industry. His track record as a programmer and visionary isn’t all that great.

But because of this myth, spread largely outside of the computer industry proper, many influential people will insist on using the Microsoft product any time there’s a choice. They’re not interested in Wordperfect or Quicken or Dreamweaver or Firefox any other product not made by Microsoft, as long as Microsoft makes something that competes with it.

The Millionaire Mind by Thomas Stanley explains this mentality somewhat. When a person’s job is to make money, they don’t want to do product research and they don’t want to take chances. When they buy tires, a dishwasher, or a refrigerator, they walk into the store and buy the most expensive one, because the most expensive one must be the best. They don’t want to spend time doing market research because they could spend that time making money. And they want something they believe won’t break, because time spent dealing with broken stuff is time they can’t spend making money.

Basically, any time spent discussing or researching a purchase is time that can’t be spent making money. So in the mind of a bean-counter or an executive type, it’s much cheaper in the long run to just choose the Microsoft product and forget about it.

The logic is completely faulty–it’s an excellent example of a red herring logical fallacy, as Bill Gates’ wealth has nothing to do with the quality of his competitors’ products–but arguing that point isn’t likely to get you anywhere. Even if the decision maker is wrong, the time spent arguing about it is probably worth more than the potential savings by going with a different product.

At home, none of this matters. And at home, I’ll keep using Firefox. I’ve been using Firefox since 2002 when it was an obscure project called Phoenix, so I think you can call me a longtime fan.

Firefox made remarkable progress from 2002 to now, while IE has gone from IE 6 to IE 7 in the same timeframe.

But in the corporate world, very little of that matters. Incumbency has its advantages. Some companies will embrace it because of its many advantages. In other companies, users will sneak it in the door, the same way they snuck in PCs in the 1980s and 1990s while the mainframe-centric IT staff wasn’t looking. But in the majority of companies, it’s likely to stay shut out, perhaps because something important requires IE, but if not, the mere absence of Microsoft’s name on the product will be enough to keep it out of some doors.

I don’t expect to ever have Firefox on my PC at my current job. It’s my employer’s loss, but it’s not my decision.