Random Post: Content Filtering - A Revisit
RSS .92| RSS 2.0| ATOM 0.3
  • Home
  •  

    NaNoWriMo

    October 2nd, 2006

    I’ve decided, for reasons which will seem odd to almost everyone, to do National Novel Writing Month this year. They just opened the forums today, and everyone there seems to be just bursting with energy and creativity.
    I’ve tried writing a novel on my own a couple of times, but I think that I will be successful here where I haven’t been in the past because of the incredible support. The forums are just fantastic, and I think that’s going to make all the difference for me. Well… here’s to NaNo….


    Against the Man

    June 3rd, 2006

    I recently received an email bashing an article because it was published in Rolling Stone magazine. It was a political article – the content of which is not important here. What is important is that it was well researched, all the facts were linked to footnotes, and the backing material was open to public scrutiny. Those are all signs of good reporting – good scholarship. Does that mean that the article was correct? No. It doesn’t. It does mean that it’s worth looking into.

    On the Internet – the First Amendment gets interesting. Freedom of the press means something different if suddenly everyone has one. It’s scary – because there’s no gatekeeper. There is no-one out there to keep out the blatant and patent falsehoods, and protect people from the effects of those falsehoods. There are also no protections in place to keep people from finding out things that are true, but inconvenient. No protections, that is, but the trifling fact that few people are ever taught how to think, and most people (possibly for that very reason) never learn.

    Research is easy. Type a few words into Google. Make a few trips to libraries. Read a few books. Most of the raw “facts” are easy enough to find. The problem is, raw facts are only the first step – the easy part. The painstaking (and painful) part is analysis. Analysis is the detailed work required to determine which facts are true, and which are false – and to give those facts meaning through context. The effort involved in reading between the lines and squinting, trying to find a pattern when you don’t have all the data. Looking at all the information you have, and knowing that some of what you see is true, some is merely false, some is deliberate deception of the part of someone with an agenda.

    To make matters worse, the person with the agenda may be four of five steps removed from where you found your information. This means that you not only can’t trust your enemies – you can’t trust your friends either. Any piece of information, no matter where it comes from, may be false – may be based on in incorrect assumption or be the deliberate fabrication of someone with an ax to grind. What’s worse? So might this article.

    Okay. Having said that, how do you tell truth from fiction? There are two really powerful tools for this job. The first is formal logic. The second is the scientific method. Formal logic is the premier tool for avoiding fuzzy thinking and misplaced assumptions. The scientific method is the best tool currently known for separating truth from fiction. They are designed to work together.

    Formal logic and the scientific method are almost universally hated. Most religions want nothing to do with them. Politicians don’t like them at all. In fact, even in education they are given little more than lip service. Religion and politics ask for faith and trust. Logic and science ask for doubt. At least doubt is honest.

    How do I know what is true? I don’t. You’ll hear me speak of “fairly certain”. You’ll see me dance with “almost sure”. I reserve the right to be wrong. I’m guessing. Why should anyone believe me? Don’t. Go check it out for yourself. Maybe I’m lying. Worse – I might be telling the truth.

    Homework: What are formal logic and the scientific method? What is falsifiability, and why is it important? It has been said that questions are more important than answers. How could that be true? Name at least one way that it it false.

    Bonus Questions: What’s the origin of this essay’s title? What recent Rolling Stone article is the most likely candidate for pushing my buttons? Why?


    Web based chat server

    February 26th, 2006

    After a great deal of looking, I think I finally found a nearly perfect combination of software for web-based chat. In some ways it’s a bit of a throwback, but mostly, it’s really clean and user friendly.
    On the back end, I installed the ejabberd XMPP/Jabber server. This beast is great. It required minimal work to get it installed on a Ubuntu or Debian box, had its owd distributed database, and was cluster ready if I need it later.In addition, it uses a web based admin interface which can make life easier when it comes time to do routine maintenance. On top of that, it takes very little in the way of server resources – which is very good.

    On the front end, I’m using JWChat, a web based Jabber client. First, it’s a full Jabber client, with most of the bells and whistles. Second, it doesn’t use PHP, Java, or anything else on the server side. The only thing it needed was a bit of mod_proxy configuration to allow access to the http polling interface of ejabberd. After that, it uses AJAX and XML-HTTP request to do all the real work on the client side. While the server load is higher than you would get with a full-client setup, the administration is easier. In the end, it’s probably a wash. Its big advantage, though, is that it’s available from anybody’s borrowed PC with a web browser. It also works great in Internet cafe type setups.

    Read the rest of this entry »

    Vonage and Firewalls

    February 7th, 2006

    About 3 years ago, I set up a router at my parent’s place. It was basically an old 80486 box with a pair ef ethernets in it, and it ran OpenBSD. Today, they got Vonage and I ended up SSH’ing into the box to find out why the Vonage box wasn’t hitting the rest of the world.

    Silly me, when I configured the machine, I used static IP addresses on the inside of the firewall. The new machine was sending DHCP requests to the firewall, which was just ignoring them. The old setup worked fine until this thing needed an IP address and I wasn’t around to give it one. Oh well….

    I ended up configuring a DHCP daemon on the machine, and setting up a few firewall rules to allow it access to the network. Once that was out of the way, the rest of the work went vers smoothly. It’s a good thing, however, that I installed SSH on that box – or I’d need 2000 mile arms ;-)

    The only hard part is that the DHCP daemon by default wants to listen on all ports. There’s a command line option to fix that, but to make that work with stock OpenBSD requires a bit of patience.


    1. Edit /etc/dhcpd.interfaces to set the device

    2. Edit /etc/dhcpd.conf to set the IP addresses, DNS info, and other nonsense. Set the DNS server to the inside address of localhost – in this case 10.0.0.1

    3. Touch /var/db/dhcpd.leases or its non-existence won’t let the daemon start

    4. Edit /etc/rc.conf to turn on the DHCP daemon

    5. Set the firewall ruleset to allow the DHCP service to send and receive packets to the inside network

    6. Verify the named configuration in /var/named/etc/named.conf to ensure that it’s properly set up as a recursive caching name server

    7. Reboot the box

    8. Profit :-)


    Replacing the mail system

    February 6th, 2006

    I’m finally getting ready to replace the mail system on the server set I’ve been managing. This time, I’m going with citadel instead of one of the PHP or .net based solutions. This is mainly because it’s a whole lot smaller and faster than the competing solutions, as well as being far easier to install. The basic installation took me less than an hour, and that included ssl support for IMAP and POP3.

    Not only does the beast have POP, IMAP and webmail, but it also has calendar, notes, chat, and shared message support. I can’t believe that it’s as obscure as it is. Oh well… Here’s the link.