Tip #2: Beware the “Norton Anti-Virus” virus

While the Windows operating system may have been host to a minor worm or virus here and there, nothing major has come along until today. A serious Windows virus is making the rounds; security experts have dubbed this one: Norton Anti-Virus.

This virus is very confusing to the lay-user because it pretends to be a software application that protects against viruses. Unfortunately, Norton Anti-Virus does little of the sort.

The goal of this little beastie is apparently to launch a denial of service (DOS) attack against the host machine. The Norton Anti-Virus virus accomplishes this very effectively by doing the following:

  • monopolizing the CPU
  • sequestering large chunks of memory
  • saturating the I/O bus with continuous disk access
  • spamming the user with popups regarding various “alerts”, “warnings”, “notifications”
  • consuming network bandwidth by downloading an endless series of “updates”

Using these techniques, the Norton Anti-Virus virus can grind a host system to a halt. The impact on user productivity can only be estimated, but some analysts are predicting that this could be as bad as the Windows 95 virus.

Posted in Coding Tips, Micro$oft | 1 Comment

How to freeze your Treo 650 using Opera Mini 3.0

This document describes how to freeze your Treo 650 in a few easy steps. First things first, you must be using Verizon as your wireless provider. If you aren’t using Verizon then this process might end with you having a stable operating sytem. This is not what you want. What you want is for your OS to freeze again and again.

  1. Sign up with Verizon
  2. If your Treo does not yet have Java installed then go ahead and grab IBM’s JVM
  3. Download Opera Mini for the Treo 650
  4. Load up Opera and go through the setup screens
  5. Use Opera for a minute or so and watch that Treo freeze!

Once you freeze your Treo with Opera enough, you’ll soon find that you’re having a lot more fun than you would trying to browse the web with the sluggish “Blazer”. Compared to watching “Blazer” labor to render, say, some black text on a white background, watching your Treo freeze is so much more fulfulling.

I suspect that freezing the OS works so great because of this reason listed on the Opera Mini site:

Note to North-American users

Opera Mini is available to all Sprint and Cingular customers. Availability for T-Mobile customers is dependent on the subscription plan. BREW-enabled phones, including Verizon, are currently not supported.

The Holy Trinity of “Blazer”, Opera, and Xiino makes you feel like you’re back in the good old days – running a buggy Windows 3.1 and surfing on a 1200 baud modem.

Posted in HOW-TOs, Smartphone | Leave a comment

How to convert Micosoft Outlook .msg files

The hatred that I have toward Microsoft is a screaming inferno that wells from the core of my body and projects outward through the cosmos. The heat of this burning anger is not decreased when I am faced with a proprietary Microsoft format that uses the company’s illegal software monopoly to lock out all competition. In this case, I found myself in a position where I had to convert Outlook’s .msg files into something that the rest of the world can read.

After a little googling, I found that if one had the emails in Outlook on a Windows machine, then Thunderbird could import them directly. So I figured all I had to do was load the .msg files into Outlook, use Thunderbird to import them, then get them into mbox format. Using Outlook Express 6, there seemed to be no way to load them into Microsoft’s little virus vector. Double-clicking one of the .msg files would open it for viewing, and it appeared that one could subsequently save the message to an Outlook folder, but I could not find a way to do it en masse. I also had a password-protected .pst file, but I managed to get nowhere with that.

At this point I was fuming. I thought Microsoft’s products were supposed to all work wonderfully with each other. Did I need to pay $500 dollars or whatever for a non-“Express” version of Outlook which contained the needed funtionality? The intuitively obvious File -> Import did not allow one to select files… did I miss some option hidden away in Microsoft’s idiot-proof, user-friendly software?

I asked a friend for help. Claiming that his “google-fu” was superior to my own, he quickly proved the point by finding a perl program called msgconvert.pl written by Matijs van Zuijlen. Once I installed the program’s dependent modules, I was converting .msg files left and right. Running the conversion, I got lots of warning messages like:

  • This MSG file contains Unicode fields. This is currently unsupported.
  • Unknown property 10F3
  • foo_email.msg must be an OLE file at ../msgconvert.pl line 732.

Despite these messages, I was able to create an mbox file that appeared to be valid. I managed to load the file into Thunderbird using the technique described here. Basically, Thunderbird does not explicitly have a way to import mbox files, but simply closing Thunderbird, dropping an mbox file into your “Local Folders” folder, and starting Thunderbird will give you what you want. Viewing the emails, I found they looked pretty good – formatting was a bit weird in places, but everything else seemed fine, including attachments.

So in the end, Microsoft can take all their .msg files, crush them up into a nice big wad, and cram it.

Posted in HOW-TOs, Linux, Micro$oft | 22 Comments

How to get your USB wheel mouse working in SuSE 9.3 on a Dell Inspiron 8000

My Logitech TrackMan Wheel mouse worked fine on my Dell Inspiron 8000 running SuSE 9.3 except for the wheel. Not having use of the wheel threw me into such a seething rage that I was ready to stab pen through the middle of the Inspiron’s soft, inviting LCD screen. Fortunately, I found a solution to the problem before I destroyed the laptop. A forum post by “darrens” in this thread explains exactly how to fix the problem.

Annoyingly, the “SUSE Hardware Tool” in the system tray was next to worthless. The tool listed the mouse, but clicking the “Configure” button resulted in the harddrive going crazy, followed by absolutely nothing happening. I also tried using the graphical YaST, but nothing I did seemed to have any effect. The solution appears to be to use sax2 like so:

  1. Open a shell, change to root, and run sax2
  2. Under “Input-Devices” select “Mouse”
  3. Click “Change configuration”
  4. You will see the touchpad listed twice, once on /dev/mouse and once on /dev/input/mice. Select the one on /dev/input/mice and click “Remove selected mouse”
  5. Once the mouse is remove, click “Add new mouse…”
  6. Select “USB-Mouse”, then select “IMPS/2 on USB”. Hit “OK”, then “Finish” to finalize your changes
  7. Restart the X server with ctrl-alt-backspace (logging out will serve the same purpose I think)
  8. Feel the love by working that wheel up and down
Posted in HOW-TOs, Linux | Leave a comment

The Gods Themselves by Isaac Asimov

Winner of the 1972 Nebula and the 1973 Hugo, Isaac Asimov’s The Gods Themselves does not rank very high on my list of all-time science fiction greats. I think that I have trouble with Asimov’s novels because he tends to draw his characters using a magic marker the size of a telephone pole. I find his characters to be plain, obvious, and lacking in whatever magic is needed to make them seem alive. I almost had to stop reading The Gods Themselves when Asmiov introduced four or five additional characters two-thirds of the way through; as it was I had to set the book aside for a few days to steel myself against this new onslaught. Ironically, the most “human” characters in the novel are the aliens from a parallel universe.

The Gods Themselves centers around a piece of technology that appears to provide limitless energy at no cost. Problems arise when a few people realize that the limitless energy does indeed have a cost – a very high one at that. Leaving out the details, the technology works via an interaction between our universe and a parallel universe. Aliens in the parallel universe are the creators of this technology and mankind has decided to go along for the ride. Asimov divides his book into three parts which are set on Earth, the parallel universe, and the Moon, respectively. For me, the most engaging of these parts was the parallel universe and its fascinating inhabitants. Rather than make the aliens a mystery, Asimov dives right in and gives you a first-person view of these creatures. Again, I’ll leave out the details because I’d rather not spoil anything.

Once you finish the alien section of the book, you are left with Part III which is a shoddy ripoff of Heinlein’s The Moon is a Harsh Mistress. Well, perhaps that is being a bit extreme. But I did find the descriptions of life on the Moon, politics between Earth and the Moon, and the empty characters to be tedious. The diamonds to mine out of this rough are the bits where Asimov provides more detail on the technology that is core to his story, as well additional grand ideas about similar technology. The book ends with Part III’s main character getting laid. I hope that doesn’t spoil anything for you.

I’ve been railing this book a little bit, but The Gods Themselves is worth a read for the sci-fi connoisseur. Asimov’s creativity and intellect outshine his robotic characters and give you something to ponder, even thirty years after the book was first published. Asimov is a sci-fi legend and this book is one of the many that helped cement his place in the genre’s history.

Posted in Books | Leave a comment

Why I Hate the Treo 650

After laying down the initial $350 bucks for the Treo 650 (not counting rebates), I kind of thought that I wouldn’t be throwing more money at the device. Well, I figured I would get some screen protectors, and a case… and 2GB SD card… and maybe a bluetooth headset. But that’s fine; you pay more money to add more gadgets to your “smartphone”, I can accept that. What I have trouble accepting is that you have to pay even more money on extra software to make the Treo usable.

Let’s start with the ironically-named “Blazer” web browser. “Blazer”, which I will forever deride with the demeaning “quotes”, offers anything but blazing speed. The browser renders pages with a zombie-like shuffling pace and slows the Treo down to a crawl. If I become frustrated with its ridiculous performance, I can’t even hit the “stop” icon or switch to another application, or even turn off the Treo without waiting agonizing seconds for its dinosaur brain to respond. The primary alternative for Verizon customers is the “Xiino” browser (some Java detail makes Opera Mobile unavailable). Xiino looks like crap, renders pages like crap, but operates at a speed that laps “Blazer” a dozen times over. You can try Xiino out for a month, but registering it will run you about $25 dollars.. I guess you’ve got to respect the sheer balls of the person who asks that much money for a browser that doesn’t really work.

With regards to this browser situation, the best thing to do under the circumstances is to use both browsers. When “Blazer” is too slow, use Xiino; when Xiino’s render job looks like a Jackson Pollock, use “Blazer”. But I’m not going to pay the money for Xiino. A decent web browser is something that the Treo 650 should come with by default.

Web browsing isn’t the Treo 650’s only problem. Tucked away in the World Clock application is the only realistic means of setting a wake-up alarm. You can set a single alarm with a choice of six different annoying midis – no way to set a recurring alarm, no way to choose your own alarm tones. And really, no way to know whether the alarm will actually go off when you set it for, or whether you’ll wake up with the feeling that the sun is a little higher in the sky than it should be. I had this problem randomly maybe 2-4 times per month – the alarm just wouldn’t ring. If I woke up the Treo, then it would instantly start sounding. Is this more irony? I wake up the Treo instead of the other way around? I wound up forking out $10 for an application called mobileCLOCK that has all the features a software alarm clock should. Moreover, the odd problem of the alarm not ringing has only happened once with mobileCLOCK. Again, a decent alarm clock is something the Treo 650 should already have.

There are plenty of other things to complain about software-wise. I’ve heard of people who have to use some special audio application (VolumeCare) so that they can adjust the volume level of the Treo appropriately. I’d like it if the Treo shipped with a file manager, better sound support and integration (i.e., Pocket Tunes), and a decent game or two. Look at how much you spend with these applications:

mobileCLOCK – $9.50
Pocket Tunes 3.1 Basic – $14.95
VolumeCare 5 Pro – $17.95
Xiino – $25.00 (difficult to find exact price on this)
Just about any game – $19.99

So you’re pushing $100 on top of what you already paid just so you can get close to the kind of functionality that the Treo should have by default. With that said, the core Palm apps like the Memo, TODO list, Contacts, and Calendar all work great. Of course, they’d better work great since Palm has been producing those apps for over five years. Maybe all this is the result of software not catching up with hardware. Or maybe it’s just a business decision designed to milk the consumer out of more money. Coming from a Linux environment, I’m used to getting pretty much all the software I need for free. But now I fork out $350 for my Treo 650 with Palm OS and find that I still haven’t paid enough to get what I need. It’s a nice racket, certainly. If the handheld market ever becomes more standardized, maybe we’ll see some improvements in the software scene.

So why do I hate the Treo 650? Because my arm is going to fucking fall off from constantly reaching for my wallet.

Posted in Rants, Smartphone | 3 Comments

ICO and Shadow of the Colossus

After enjoying both Ico and the atmospherically similar Shadow of the Colossus, I have to declare myself as a fan of director Fumito Ueda. I had not heard of Ico until I stumbled upon it when browsing the Eurogamer forums. I managed to obtain a copy through Amazon after being unable to find it anywhere in town. As for Shadow of the Colossus, I found positive mention of it in several places before grabbing a copy at a nearby Rhino Video Games.

From a cynical point of view, Ico is kind of like a beta version of Prince of Persia: Sands of Time. You and a princess are trying to escape a crumbling castle by navigating a series of climbing, hanging, jumping, and switch puzzles. The evil Queen does not want you to leave and so every now and then you must battle her minions by engaging in repetitive fighting. Sound familiar? The game is inferior to Sands of Time in so many ways, yet there is something special about it.

Ico came out a year or two before Sands of Time and was obviously a huge influence on the latter. Graphically the game is not nearly as detailed as Sands of Time, but it has an eerie “washed-out” appearance that gives it an empty, ghostly feel. The soundtrack is much more somber and sparse than Sands of Time which heightens the sense of loneliness. The Princess herself is a translucent white being who talks infrequently and only in a language that you cannot comprehend. Moreover, you have a strong in-game interaction with the Princess, grabbing her hand and pulling her along as you find ways around the obstacles in your path. All these things combine to give Ico an atmosphere that is unqiue. I’ll give this game 8/10.

Not knowing much about Shadow of the Colossus, I was pleasantly surprised when I was presented with an atmosphere that was almost identical to Ico, right down to the small, rectangular cape that the hero wears. In this game you travel a desolate land on horseback, seeking the lairs of sixteen colossi. These creatures range in size from smaller dog-like forms that are not too much bigger than yourself, to behemoths that tower scores of feet above you. You must defeat them all in order to have the power to save your ailing woman who lies comatose for most of the game.

Some of the moments in this game are truly stunning. I recall charging on horseback across sandy dunes, launching arrows at the enormous flying beast gliding overheard in the hazy desert air. With all the colossi your plan is generally two-fold: 1) find a way to get on the colossus, and 2) scale the colossus to a weak point where you can sink your blade to do major damage. This leads to some epic gameplay as you desperately hang on to the hairy back of a raging giant. Even the time leading up to these conflicts is engaging. You cross all sorts of terrain, using sunlight reflected off your sword to guide you, before you come to the deserted city, crumbling ruins, lonely lake, etc where you awaken the next colossus.

I almost returned this game when I became frustrated with one of the battles. I felt stuck and was having some thoughts similar to Tycho’s regarding the PS2’s ability to execute this game. I was actually convinced by a store clerk who implored me to finish the game and that the tie-in with Ico in the final cutscene was worth the ride. I’m glad I listened to him because Shadow of the Colossus is one of those unique games that carries an appeal that is so much richer than something like Tomb Raider or Halo. On this one I have to give Fumito Ueda a 9/10.

Posted in Video Games | Leave a comment

A Deepness in the Sky by Vernor Vinge

For some reason the Nebula Award committee does not seem to like Vernor Vinge. The author is all over the Hugo Awards, but he is completely absent from the Nebulas. Anyway, A Deepness in the Sky, first published in 1999, won the 2000 Hugo Award. The book is something of a prequel to Vinge’s A Fire Upon the Deep which won the Hugo in 1993. I say “something” of a prequel because the events in A Deepness in the Sky take place thirty thousand years prior to the events of A Fire Upon the Deep. In the latter, we get references to the ancient Qeng Ho trading culture and their iconic leader Pham Nuwen; in the former we are set in the time when the Qeng Ho are near the height of their power and Pham Nuwen is still an influencial force.

The plot of A Deepness in the Sky is quite extensive. Humanity is limited to sub-light travel, travelling the stars in ramscoop ships, spending most of their journeys in frozen hibernation. The Qeng Ho are traders known throughout human space, making huge profits by getting in on the ground floor of blossoming civilizations. A small Qeng Ho fleet has decided to travel to the mysterious “OnOff” star, a sun that shines for about forty years, turns off for about two hundred, then repeats the cycle. Astronomers have detected radio signals from a planet around the OnOff star, indicating that a sentient race has just entered the age of technology. By reaching these aliens just as they begin to establish themselves, the Qeng Ho intend to insert their influence at the lowest levels. Imagine the money and power one could have by controlling Microsoft at the beginning of the digital age. Unfortunately for the Qeng Ho, another group of humans known as the “Emergents” have a similar goal. The two groups reach the OnOff star at the same time, resulting in a power struggle that spans decades.

Summarizing this book is difficult as there is so much content in its six hundred pages. You have the epic history of Pham Nuwen, the strange (yet familiar) spider-like race on the planet orbiting the OnOff star, the legendary Qeng Ho and the methods they use to gain permanence in an ever-changing galaxy, and the devious Emergents with their vile but powerful “Focus” technology. Vinge shows you plots and plans that span hundreds of years, along with intriguing ideas about technology and society. In some ways the book is very similar to A Fire Upon the Deep – you find yourself being taken back and forth between the high-technology humans and the low-technology spiders. Vinge doesn’t shy away from jumping into the minds of a completely alien race and trying to describe how they would think and act.

In the end, I did not enjoy this book as much as A Fire Upon the Deep. I guess I felt that A Deepness in the Sky was a bit meandering in places, perhaps too slowly paced. On the other hand, the main chunk of storyline spans about 50 years so maybe the pacing is supposed to reflect that. One thing that is refreshing about Vinge is that his future society does not contain the constant orgies and free love that you see in so much sci-fi. Niven, Clarke, Haldeman… all these guys are like, “And see, in the future, you’ll get to have all the sex you want with any woman you want, all the time!” I’m neither condemning nor condoning that societal vision, I’m just saying that it was nice to see Vinge breaking the mold. Overall, A Deepness in the Sky is some really great sci-fi and one has to be impressed with Vinge’s display of intelligence and creativity.

Posted in Books | 1 Comment

How to use Mac OS X as an NFS client

UPDATE (Aug 7th, 2009): three years after I wrote this, I see that this post is still generating traffic. I just wanted to note that in OS X 10.5, there is a little trick you can play using the command line. Let’s say that your NFS server is named something like myfilesrv. Assuming it’s exporting things correctly, try this:

cd /net/myfilesrv
ls

The OS will automatically create a myfileserv directory and mount all exported directories. Knowing that, we can set up a convenient symbolic link:

ln -s /net/myfilesrv/mystorage/mymusic ~/Desktop/mymusic

That would give you a folder on your desktop that jumps you right into a networked music directory (obviously you’d need to replace myfilesrv/mystorage/mymusic with your own server name and directory structure). However, I think that the NFS server needs to export using the insecure option for this to work properly.

Now back to the original post…

As a disclaimer, I am only just learning the ins and outs of Mac OS X. While the operating system does have a UNIX base, there are quite a few things that take me far outside my Linux comfort zone. Today I learned that mounting an NFS export on a Mac OS X file system was not as easy as I thought it would be. Searching Google, I found a confusing number of methods, both through the GUI and the command line, to mount an NFS directory. Further adding to my confusion was that some of these methods were not consistent or persistent across different versions of OS X. In the end, I found a method that worked for my specific situation, though I can give no guarantee that it is the optimal method.

EXPORTING THE DIRECTORY

Here is the line from /etc/exports that shows what I am exporting:

/exports/csagan csagan.pale.blue(rw,sync,all_squash,anonuid=504,anongid=101)

Basically, I want to make /exports/csagan available to the Mac named csagan.pale.blue. Unfortunately, csagan.pale.blue is not set up to be part of my NIS domain and so the user in question has neither the appropriate uid nor gid to match the permissions on /exports/csagan. As you can see, I set the export options so that requests from csagan.pale.blue get mapped to the correct uid and gid.

MOUNTING THE NFS EXPORT

At first I tried using Mac’s “Finder” to get to the exported directory. The only way I got this to work was by adding the insecure option to the line in /etc/exports. I could not seem to write to the directory when I did this, nor did I feel comfortable utilizing an option having the dubious name of “insecure”. I scrapped that idea and wound up using Mac’s “NetInfo Manager” which can be found in Applications/Utilities. This excellent tutorial shows how to use NetInfo Manager (among several other methods) to mount the directory.

NOTE: the aforementioned tutorial has its own “NOTE:” at the bottom of the document. Be sure to read this note; I didn’t notice it initially and was left wondering why the hell nothing was working. Basically, my version of OS X ignores the “dir” option and mounts the export in the /Network/Servers directory.

I always find it frustrating when someone references a link to important information and then clicking that link leads to a 404 or some other error. Therefore, here is an alternative tutorial and one more just in case.

NETWORK FILE SERVE AWAY!

Now everything seems to be in working order. Because the uid/gid gets squashed to the correct ones on the server, permissions shouldn’t be a big deal. Initially, I had trouble writing to the NFS export, but I eventually realized that I had inadvertently swapped the values for anonuid and anongid. Of course, I realized this after I went through the process of changing the Mac user’s uid which involved enabling the root user. Hopefully my next excursion into the strange, magical land of Apple will not be frought with so many worms.

Posted in HOW-TOs, OS X | Leave a comment

The Forever War by Joe Haldeman

The Forever War by Joe Haldeman won the 1976 Hugo Award and the 1975 Nebula Award. As an aside, why are the Hugos always one year greater than the Nebulas? Anyway, the book was first published in 1974 shortly after the end of the Vietnam War. I mention Vietnam because Haldeman wrote this book with that war in mind. According to the author’s note that was written around the year 2000:

“Twenty-five years later, most young readers don’t even see the parallels between The Forever War and the seemingly endless one we were involved in at the time, and that’s okay. It’s about Vietnam because that’s the war the author was in. But it’s mainly about war, about soldiers, and about the reasons we think we need them.”

In 1996, humanity enters an interstellar conflict with a race known as the Taurans. Ships are limited by the speed of light, but can instantly transport huge distances by going through linked collapsars. The book follows the life of a soldier named William Mandella from the start of the war to over 1000 years into the future. Mandella actually only spends a few years in the army, but hundreds of years pass on Earth during his travels at lightspeed.

Haldeman does a great job expressing all the various issues, both military and social, that arise when hundreds of years of “real” time pass during a campaign that feels like only a few months to you. Soldiers from Vietnam had a hard time readjusting to civilian life after a few years in the army; imagine if they came back to find society had advanced one hundred years. Technology, language, morality… these things all change over the course of time.

I tore through this book’s 275-some-odd pages in a day or two. The book is full of action, fascinating sci-fi, and intriguing social scenarios. The Forever War certainly has its share of sex and violence… perhaps more than its share. But the messages, ideas, and solid writing raise it high above the level of pulp.

Posted in Books | 2 Comments