Categories
WordPress

Working on the blog

Since the server crash, I’ve been working hard at putting my weblog back together. I’ve been trying to learn how the WordPress publishing system works, and later on I’ll work at customizing it. So for now, you’re stuck with the default look that comes with WordPress. It’s not bad, actually, but this site doesn’t feel like it’s mine because I haven’t customized it yet. Remember, I built the last incarnation of The Mad Philosopher by hand. I received a great idea from the ether for a new logo, so I’ll eventually design it and then choose my colour scheme and integrate it with the site. But for now, I’m still working on the content.

It turns out that the backup I recently made of the old site got erased because Bruce forgot it was there. I got very mad and couldn’t sleep well last night because of that, but I’ve let it go now. I’ve managed to find most of the missing files in various places on my computer. All of the blog entries were safely stored on Blogger, so it’s only the graphics and sound clips that I’ve had to dig up from various places. Most files I’ve been able to restore from a backup that I do have from way back in August 2004.

WordPress comes with a script that will import your blog entries from Blogger. It worked pretty well. Because I’m the careful guy that I am, I generated a list of my Blogger entries by title and timestamp and compared it to what got imported into this new system. I’m glad that I did because I found that two months got missed in the transfer. I was able to redo the transfer for just those two months. The entries from a year and a half at the beginning of the blog didn’t have titles, so I retroactively gave them each titles. While doing this, I read through what was imported and found that a couple of entries were truncated, so I’ve fixed that. I’ve also categorized half of the old entries and half of the new ones. There’s just a batch in between that I’ve yet to do. But it’s pretty cool to be able to browse my blog by category. See the sidebar on the right of the main page.

Once the blog is taken care of, I can add some pages of my old content, and fill this site out into a real website. Wish me luck. And thanks for reading and staying with me through the turmoil. Especially those of you on RSS. I probably broke your aggregators more than a few times!

Categories
WordPress

What’s up with this new site?

My webserver went FUBAR a few days ago and my administrator, Bruce, is AWOL. So I found a new hosting solution (which is how you’re reading this message now) and I’m trying to restore the site as soon as I can. Sorry for all the mess. And for those of you who have been paying attention, Mercury is retrograde again. 🙂

The new look is here because I’ve just installed the WordPress blogging system on my website. It’s not much of a website so far since the latest backup of my website is locked behind a bad behaving gateway. Once that gets fixed, I can restore my old stuff. But I want to explore WordPress and I’ll be working on converting my Blogger entries over to this new system. Ya know, make everything seamless.

Categories
Linux

You deserve a break today!

In a previous post, I mentioned that I’m now using Ubuntu Linux with Gnome as my primary desktop. There, I forgot to mention one of my favourite features of Gnome: a time-out facility that encourages me to take a typing break. Under the keyboard settings, I set it to force me to take a 5-minute break after 50 minutes of using the computer. It monitors my use of the keyboard and mouse, and after the specified time, it greys-out the screen and locks the keyboard. There is an option that allows me to postpone the break, which comes in handy when I’m on a roll when writing or in an instant-message conversation.

Although this feature is designed to help prevent repetitive stress disorder caused by keyboard and mouse use, I find it is more useful to me for giving my eyes a rest. When I’m working, I get very focused and can sit in front of the computer for hours without moving. So this “take a break” feature of Gnome is very good for me.

If this sounds like a helpful thing for you, but you don’t use Gnome, try searching for a similar utility for Windows, Mac, etc.

Categories
Linux

Ubuntu Linux Rocks my World

[Ubuntu Linux Logo]

A few weeks ago, I bought myself a new desktop computer so that, for the first time in years, I have a permanent place to put my projects and files. I was going to base this new computer on FreeBSD, and in fact I had already installed and rebuilt the system from source, but I decided to give Ubuntu Linux a try on a separate partition, based on the high praise it gets from the Lug Radio crew. Well, since then, I’ve completely abandoned my FreeBSD setup. Ubuntu Linux rocks! It makes a wonderful desktop computing environment.

What is Ubuntu Linux, anyway? Well, it’s a new Linux distribution that’s aimed at the desktop (as opposed to servers). It’s completely Free Software in that they don’t charge you to use it and they also don’t take away your rights to use it through some crazy End User License Agreement. It aims to be simple and robust so that it just works.

Using Ubuntu is a pleasing experience. I can tell it’s designed well. Visually, it’s quite pleasing, based upon the Gnome desktop environment. The base software they chose to include is quite good. I upgraded a few components, like the Firefox web browser and the ability to play mp3s. It was a reasonable procedure that was aided by the advice of the Unofficial Ubuntu Starter Guide.

Everyone loves screenshots, so here’s mine. I haven’t changed the theme from the default “Human” theme. I just removed the bar from the bottom and combined it with the one at the top.

[Beaker desktop screenshot]

I was considering to get my mom to switch over to using Firefox instead of Internet Explorer, for security reasons and for better functionality, but now I might suggest she move completely over to Ubuntu. Chris Dunphy got his parents to switch over to Fedora Core 3 (21 January 2005 post), so why can’t I do the same? It’s worth exploring.

Anyway, I’m totally happy with my Ubuntu desktop. It’s great.

Categories
Tech

A Mad Philosopher Banner Ad?!

Hey, check out this screen shot, paying close attention to the banner ad:

[Madphilosopher.ca Banner Ad]

I was browsing Slashdot one day, and I looked up at the banner ad and to my utter shock I saw the top of my own website! That sure threw me for a loop. What kind of practical joke was this? I mean, what was my website doing as a banner ad on Slashdot? I certainly didn’t order one.

It took me about 30 seconds to figure out what was going on. Basically, this surprise was an artifact of a strategy for eliminating banner ads, combined with the coincidence that my proxy server and web server were on the same machine. You see, I (or rather Bruce) had set the /etc/hosts file on my server to redirect requests for certain ad sites to point to 127.0.0.1, the local machine. So when the Slashdot page requested an ad from one of these sites, my desktop computer, via the proxy, looked for the ad on the machine that was hosting my website. Well, the top page for that web server just happens to be the Mad Philosopher website. And so that’s what got drawn.

I’m still surprised that this would occur. I didn’t know that the ad boxes could handle an entire HTML page. I just figured they would be image files or something. But, it happened.

Categories
Tech

OTAS Interview

I was contacted by a fellow Canadian asking me to do an interview on the OTAS project. He is a freelance writer who is hoping to pitch our story to a Canadian magazine, plus he is considering writing about this project for his Master’s thesis in Philosophy and Public Policy. Interesting, eh?

So I decided to post his questions and my responses to my weblog. These are my thoughts on OTAS, plus some of my background.

(1) How would you describe this project? (Maybe both in complex, and then really simple terms). What will it do (and how)?

The name of the project provides a description of what it is: Open Tsunami Alert System (OTAS). Basically, we want to set up a system that will alert people who would be affected by a given tsunami. This system will involve tsunami detection and then the dissemination of an alert by various means to areas that are in danger.

The “Open” part of the project means several things. First, the project design and implementation are being done by volunteers through a collaborative effort over the Internet. Second, while not intending to replace existing and up-coming governmental and inter-governmental alert systems, the open philosophy of OTAS is key to its existence and usefulness. That is, it is (or will be) designed to meet the specific need of the people on the beaches of the world who actually need to receive a tsunami alert. As Robert Cringely pointed out in his “Political Will” column, government bureaucrats are all too good at talking to other bureaucrats and not to the people they are intended to serve. The open nature of OTAS will be able to offer a reliable and timely tsunami alert service to anyone that wants it, regardless of political borders or bureaucratic inertia.

To further discuss the meaning of the term “Open”, let me quote Charlie from the project’s FAQ:

  • First, it will be “open source”: the copyright will be retained, but explicit permission to copy for free will be granted to everyone. This means anyone who wants can get access to it.
  • Second, it will be open in the sense that we hope to let nearly anyone set up an OTAS “client” to receive alerts, and tsunami predictors to generate alerts from seismic data.
  • Third, it will be open in the sense that our algorithms and protocols will be public and documented, so others can build their own components.

As to how OTAS will function, there will be essentially three parts to the system: prediction nodes, alert-issuing nodes, and clients. (1) The prediction nodes will take raw and/or processed seismic data from seismic stations that currently offer near real-time data over the Internet. Using tsunami prediction algorithms developed by others, or statistical and computational models developed by ourselves, these prediction nodes will determine the risk of whether (and where) a tsunami would occur resulting from a detectable seismic event. The prediction nodes would then pass the tsunami event information on to the alert nodes. (2) The alert nodes will be responsible for disseminating the tsunami alerts to the appropriate “customers” via various means. These nodes would keep track of some form of subscription information for each person who wished to receive an alert. Alerts could take the form of email messages, SMS messages, phone calls, HF and VHF marine radio alerts, etc., including our own OTAS clients. (3) The OTAS clients will be software running on our subscriber’s computers, web browsers, PDAs, Internet-able mobile phones, etc. that will receive alerts directly from our alert-issuing nodes. If there is some mode or method that someone wants to use to receive alerts, the open nature of OTAS will allow anyone to take our protocols and write a client to meet that request.

(2) Why are you involved? What is your motivation?

Two things brought me to this project. Before Robert Cringely wrote his call-to-arms for OTAS, I was a budding open-source developer looking for a project to work on, and I’ve been looking for a way to enhance my career as a scientist in my field. I’m currently working as a language editor for the Chinese Academy of Sciences, polishing the English for one of their publications. It’s a very good job, but at times I’ve felt the desire to do something more challenging. And while my job allows me to work on my own research, until now, nothing has piqued my interest. Working with other scientists and network application architects over the Internet on OTAS will give me a personal sense of satisfaction. Among all other software projects that I could choose to work on, this one in particular matches my skill set as a physical scientist. So that is exciting for me.

Now I had just finished reading the biography of Richard Stallman entitled Free as in Freedom. Stallman is the founder of the Gnu Project, which formed the Free Software movement that made the creation of the GNU/Linux operating system possible. In the book, Stallman talked about the early hacker ethic of “changing the world through software”. [Hacker here is used in the sense of someone who figures out how something works to improve it, especially computers, and not in the sense of a malicious computer user who tries to break things.] So the idea of changing the world through software really spoke to me. I had never thought of being able to use my computer skills that way until I read Stallman’s stories. Then, the OTAS project and the need for an open tsunami alert system appeared and I decided to sign myself in.

(3) What is your expertise? What sorts of things have you been up to in the past?

My expertise is in climate data analysis. For my Master’s research, I worked on building a 100-year dataset of weather data such as temperature, precipitation, wind, relative humidity, radiation, etc. for the province of Alberta in collaboration with Alberta Agriculture, Food and Rural Development. This dataset covers the entire province with data for every day in 1901–2000, making optimal use of the station data that was available. The dataset was designed for use in driving soil quality models, but is also useful to farmers, forestry management, real estate planning, utility use planning, etc. A beautiful full-colour climate atlas has since been published based on the dataset, to make the data accessible to many users.

For that project, I worked in the Statistical Climatology Group of the Department of Mathematical and Statistical Sciences of the University of Alberta.

The atlas is entitled Agroclimatic Atlas of Alberta 1971–2000, Agdex 071-1, by Shane Chetner and the Agroclimatic Atlas Working Group. (2003).

(4) How do you hope to help with this project?

I will be working on the tsunami detection and data analysis core of the system. I have no background in seismology, but I will apply what I know from my physics and statistics background to learn what is necessary for the project. We are fortunate to have Jose Simoes working with us, who is a seismology researcher from the University of Lisbon. At this point we are trying to determine what data are available to us on the Internet in near real-time. As you may know, some tsunamis are generated from seismic events and they propagate across the ocean at a predictable rate. So, the window between the seismic event and the “landfall” of the tsunami is the time period anyone wishing to make a tsunami alert has to work with. The sooner that data can be taken from the seismograph (and possibly tide-level) networks and placed into the OTAS system, the more time there is for people to respond to the alert. So the OTAS system will rely on timely raw or processed data that are publicly available. Once we determine what data sources there are, we need to evaluate their usefulness in tsunami prediction based on the way that OTAS is able to operate. The design and limitations of the OTAS system will depend, at one significant level, on the data that we can use.

(5) When did you join the project?

I contacted Robert Cringely soon after his “Wave of Change” article, and he put me in touch with Charlie Martin. The two of us have been corresponding as the infrastructure (website, mailing-list, etc.) was being built and new volunteers were signing up to help. The original article is dated December 30, 2004.

(6) Is there a political message behind this? The I, Cringley column sometimes says that this project is a substitute for a lack of political will. Is that how you see it?

Whenever a group of people come together voluntarily to build something for some purpose, you have a political movement. While not everyone on this project will care about the philosophical basis for the design and purpose of the system, we will be guided by the principle of openness and freedom. The system is being built by the people for the people. We will be sensitive to the needs of the subscribers to the OTAS alerts. If we don’t meet their needs in ways that are suited to them, we will have no users and our work will be futile. One of the first documents Charlie passed on to me was entitled “Why projects fail”, and it touched on that exact issue, among others.

An interesting facet of open source software development is the notion of a gift culture. No money is being exchanged and no leadership hierarchy is in place. Among ourselves, the developers of OTAS will be rewarded according to how much we give, by how much we contribute. And it is each individual’s reputation that will be on the line according to the work that he/she does. We are “competing for recognition” based not on what we control, but on what we give away. For a more elaborate essay on this topic, I point you to Eric Raymond’s book Homesteading the Noosphere, specifically the chapter, “The Hacker Milieu as Gift Culture”.

Ultimately, the reputations of the OTAS developers will be held out to the world based on the quality of service that OTAS provides. Failure to produce a working system will be one red mark. Missed alerts and false alerts are an entirely different beast. Plus we need to consider the question of liability since business and lives could potentially be disrupted by the normal and abnormal functioning of our system.

Categories
Tech

Why OTAS is important

I just want to point you to this latest “I, Cringely” article in which Robert Cringely discusses why the Open Tsunami Alert System (OTAS) is an important development.

Categories
China Speech Tech

LugRadio Clip

Here’s the clip from the LugRadio show where they talk about me. (See yesterday’s post). Note: just as a warning, you should avoid this if you’re sensitive to off-colour humour and language. Otherwise, enjoy!

LugRadio clip (3:08, 1.43 MB)

Categories
Audio Linux

Another Mention

Well, a second mention of my name happened today, in as many weeks, out there on the Internet. And this one really surprised me. The guys at LugRadio mentioned me in the introduction to their latest episode (Season 2, Episode 7, 17 Jan 2005). LugRadio is a bi-weekly Internet “radio” show focusing on Linux and Open Source issues, produced by four guys in the UK. And it’s really a lot of fun to listen to.

It came about like this. I was reading various blogs of the LugRadio presenters one day, and I came across the blog of one of their regular listeners, Schwuk. His blog alerted me to the existence of the book Free as in Freedom which I started reading (see this earlier post of mine for the story). This pleased me enough to fire off an email to Schwuk to thank him for the tip. In the email I mentioned that I was a LugRadio listener, just so he would have an idea where I came from and why I was reading his blog. He must have passed this information on to the LugRadio guys, telling them that they have a listener in China. This impressed them enough, I figure, to talk about the email I sent. They had a good time making fun of Canada and saying hello in Chinese. [So good job guys. You really surprised me.] I’ll have to send an email directly to them this time, to tell them a little more about myself.

If I get around to it, I’ll extract the clip for you, my readers, and post it here. In the mean time, head over to www.lugradio.org and download their latest episode. If you are at all interested in Linux or Open Source, I highly recommend this show. They give lots of great information and discuss the issues with plenty of opinion, and they have a great time doing it. In this same episode, they do a great interview with Mark Shuttleworth of Ubuntu Linux, which is highly intelligent and informative. It’s a great episode, and not just cause I’m mentioned in it!

In any case, I wonder why I’m getting all this attention all of a sudden…

Categories
Tech

Open Tsunami Alert System (OTAS)

I’ve started working with a Computer Scientist named Charles Martin on the Open Tsunami Alert System (OTAS). The call-to-arms which spawned this particular project was the following column by Robert X. Cringely:

Go read it. I hope to be able to use my data processing skills to work on the Tsunami detection part of the system. The plan is to use Internet-available seismic data to issue alerts to people’s computer desktops and mobile phones.

Cringely mentions me and Charles by name in a later column, which is way cool, but also a big responsibility. Yikes! It will be an interesting and challenging experience for me. Many people across the Internet are coming forward to offer their services as well. Now to go learn more about seismic data and seismic processes…