Monthly Archive for September, 2005Page 3 of 6

Zombie Infection Simulation(s)

New category: “Fun stuff”. And, to innaugurate it…

It’s a little old, but I only found out about it yesterday: the original Zombie Infection Simulation. It’s in Java, and it simulates an outbreak, beginning in a city with hundreds of humans and one zombie. Humans are faster, and those who see the zombie panic and flee in terror; those the zombie catches are infected, and turn into new zombies.

That simulation is quite fun to watch. :) However, it’s a little limited, because it always ends up the same way: 100% zombies, zero humans.

And so, here is the improved Zombie Infection Simulation: “zombies fight back” version!

In this version, the humans may decide to fight back (but mostly panic and run, as before), and if they do so, they have a 50% chance of killing the zombie. That chance increases as the number of humans diminishes (supposedly, the few remaining humans are now well aware of zombies, and how to kill them). This creates some interesting scenarios: sometimes the outbreak is stopped at the beginning, sometimes humans get extinct as before, and you can end up with short groups of “zombie hunters” in an undead world, who kill a lot of them before they die.

Really fun to watch. To me, at least. :)

A job: trade, favor or duty?

Just like a previous post in this blog was only partially appropriate for Way of the Mind, one of my other blogs, this new article there, A job: trade, favor or duty? is more philosophical than technological, so it’s only partially appropriate here. But if the subject matter interests you, feel free to read it. :)

Super Mario Brothers… in JavaScript!?!?

Super Maryo Brothers (”Maryo” because it’s a clone, they don’t want to be sued by Nintendo, of course). Not Flash. Not Java. Freaking JavaScript!

What will people do next?! Port Linux to JavaScript so you can run an entire modern OS inside Firefox?

Work: why a good sysadmin has a lot of free time

I’ve talked about this subject before (in the “keeping busy” entries), and I think I mentioned this in passing, but I believe that this is an important point, and deserves its own article.

My theory (which observation seems to validate) is that the better a system administrator is, the more free time he will eventually have.

Many people (including managers, team leaders, etc.), unfortunately, equate “free time” or “not working hard all the time” with “laziness”, and wrongly believe that a good worker is one who is working hard all the time - if he extends it to after work hours and weekends, even better.

Unfortunately, if they thought a couple of minutes about it, they might spot the huge, glaring error in such “logic”… :)

Continue reading ‘Work: why a good sysadmin has a lot of free time’

Thunderbird 1.5b1

Shortly after Firefox 1.5b1, the new beta of Mozilla Thunderbird is also out.

I don’t use an email client at home (I use GMail), but I’ve just updated Thunderbird from 1.0.6 to 1.5b1 at work (Linux). So far, so good. No crashes (these betas have been at least as stable as the latest stable versions, which is impressive). New preferences look, just like Firefox. Spell checking as you type (may be of interest to many people, but I turned it off in less than a minute :)).

Not a lot of “wow” stuff here, but then again, it’s a mail client. :)

The Six Dumbest Ideas in Computer Security

Saw the article mentioned on Slashdot. Quite interesting and informative, IMO.

Computer Security Discussions Tech Army Blog Forum

Blogging tips #10.2: Check your logs / statistics

(NOTE: this is part of the “Blogging tips” series)

“”Dot fives” weren’t enough, you had to make a “dot two”?”, you ask? :) Yup. Since this one fits between an integer and a “dot five”…

You know what “logs” are, right? No, not those things made of wood. They’re one or more files (text files, if the server is decent :)) which have all accesses to your site (or blog, or web server… depends on the configuration). If you have your own web server (either at home, or at an ISP), you have logs.

If you use some kind of remote account (that is, the server isn’t yours, but you have an account in it, where you install your files), you may have access to log files (if you access the server by ssh (Secure Shell)). But it may be something simpler, like many ISPs make available for free: a server that you access by FTP, and then you put your files there, and the ISP takes care of the rest. You probably won’t have access to the log files in that scenario.

And, of course, you won’t have any log files if you use something like Blogger or LiveJournal.

Continue reading ‘Blogging tips #10.2: Check your logs / statistics’

Blogging tips #14: Making money from your blog - AdSense: getting relevant ads

(NOTE: this is part of the “Blogging tips” series)

At this point, you ought to know that you should read the previous parts first. Unless, of course, you arrived directly at this page, in which case… please read the previous parts first. :)

Why do people ever click on an ad? Because, for some reason, that ad is of interest to them. It follows, then, that it’s advantageous for you to make sure that the ads in a particular page are related - and, therefore, supposedly of interest - to whoever is reading that page.

Most of the time, AdSense does that automatically… or tries to. Sometimes, results aren’t that good. But there are ways to help it do it better.

Continue reading ‘Blogging tips #14: Making money from your blog - AdSense: getting relevant ads’

Master Card credit cards are known all over the world!

Firefox 1.5 beta 1

Yep, it’s out. I’m posting with it (on Linux) right now.

Looks faster, and so far hasn’t crashed yet, except when I opened the file browser: it crashed every time, then. But I was using development (2.7.x) versions of GTK, compiled a month or so ago; since 2.8.3 is out, which is a stable version, I compiled and installed it, and presto! Problem solved!

(to those who say “see, Linux is too complicated, some library versions make programs crash, and you have to compile stuff”, I was using the development libraries because I wanted to! I didn’t need them for anything in particular, and I could have stayed with RPM versions, but I’m a “bleeding edge” maniac (less so than years ago, but still a bit :)).

EDIT: It’s not “faster”, it’s way faster. It’s when you browse familiar pages and you are, unconsciously, expecting them to take a little time to draw themselves, and they appear instantly, that you notice it. I recommend you try it. :) I’ll install it on my home Windows PC later today, too.

EDIT #2: Using it on my XP home PC as well. Zero crashes, zero problems so far. Also, in less than 24 hours, I’ve found that about half of the extensions I use have been updated and are now compatible. I’d guess that most or all of them will be, in a day or two.

How to use anti-spam filters

Many people these days use, either individually (using Mozilla Thunderbird, for instance), company-wide, or in their email service (such as GMail, Hotmail, Yahoo! Mail, etc.) “learning” anti-spam filters (also called “bayesian filters”). But how many people use them correctly?

You see, the thing about those filters is that they have to be taught. And many people simply ignore (or are unaware of) that part, and the filters remain inefficient and untrustable for them. Some spam keeps arriving in their inbox, and they have to continuously check the “Spam” folder for false positives (legitimate mails wrongly tagged as spam).

Which is sad, because that’s an easily fixable situation.

To put it simply: you should ensure that every mail, when deleted, was previously correctly tagged, either as spam or as non-spam. That’s how the filters learn and improve.

For instance, let’s say that a spam mail slips through the filter and arrives in your inbox. What should you do? Many people simple delete it - thus giving the filter the message: “this was not spam, I’ve simply deleted a normal message.” In other words, the filter has just learned the wrong thing. What you should have done was to tag it as spam first (in GMail, for instance, the button is labeled “Report Spam”), and then go to the Spam folder, and then delete it there. By doing this, the filter learned what you wanted it to learn - that that mail is spam (and so are mails like it).

Another possibility is a false positive. A legitimate mail goes (wrongly) to your Spam folder. Should you read it and delete it? No! By doing that, you’re reinforcing the error, you’re telling the filter that that mail was, indeed, spam. You should remove the “Spam” tag from that mail before you delete it (for instance, in GMail, the button is called “Not Spam”).

Another common error: you subscribe to some site’s mailing list, and you find out that more than half of the mails you receive from there simply don’t interest you. It may be tempting to simply tag those as spam, and get rid of them forever that way. But that’s the wrong thing to do - they’re not really spam, since you subscribed to that list; they’re just not interesting to you. What you should do is simply unsubscribe to the list - or, if a part of those mails actually interest you, you merely delete those that don’t. By reporting them as spam, you’ll keep receiving them - they’ll just go to the Spam folder. All of them, even those that might interest you. You’ll also be “confusing” the filter; those mails are legitimate. It’s like punishing a dog for obeying you - you’ll only be sending mixed messages, and confusing the hell out of the poor thing.

If, instead, you do all of this correctly, then after a couple of months your filters will actually become trustworthy - you’ll almost never see any spam mail in your inbox, and you can be virtually sure that what is in your Spam folder is spam.

Work: being productive… or keeping busy? (part 2)

(NOTE: reading part 1 first may be a good idea. :))

To explore the “acting busy” vs. “doing actual work” theme, I want to share (without the sordid details, of course) a situation I’ve been in.

A few years ago, I worked as a sysadmin in a company which had about 20-30 Linux servers, and about the same number of Windows (NT 4 and 2000, at the time) servers. There were two separate teams of sysadmins, one for each type of servers, though both teams had the same boss, and worked in the same room.

The two teams, however, had a very different philosophy of work…

Continue reading ‘Work: being productive… or keeping busy? (part 2)’

Windows tips for newbies

(the following is adapted from my wiki)

I do not like Microsoft Windows, or Microsoft. However, since I love computer games, I have to keep a Windows PC at home, and through the years I’ve learned a few Windows tips.

Continue reading ‘Windows tips for newbies’




Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal
Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal