Moral Operating System

“We have stronger opinions about [iPhone vs. Android] than we do the moral frameworks to guide our decisions.” To be fair the choices were selected to be ones most people would have to have taken a Philosophy major to understand, Kant versus Mill. There are other moral guides like Jesus, Aquinas, Richard Dawkins, Mohammed, Pope Bennedict, Baha’u’llah, we could use. But, yeah, the point is to think and discuss.

Useful User Agents

Rather than depend on end users to accurately report the browser used, I look for the user-agent in the web server logs. (Yes, I know it can be spoofed. Power users would be trying different things to resolve their own issues not coming to us.)

Followers of this blog may recall I changed the Weblogic config.xml to record user agents to the webserver.log.

One trick I use is the double quotes in awk to identify just the user agent. This information is then sorting by name to count (uniq -c) how many of each is present. Finally, I sort again by number with the largest at the top to see which are the most common.

grep <term> webserver.log | awk -F\” ‘{print $2}’ | sort | uniq -c | sort -n -r

This is what I will use looking for a specific user. If I am looking at a wider range, such as the user age for hits on a page, then I probably will use the head command to look at the top 20.

A “feature” of this is getting the build (Firefox 3.011) rather than just the version (Firefox 3). For getting the version, I tend to use something more like this to count the found version out of the log.

grep <term> webserver.log | awk -F\” ‘{print $2}’ | grep -c ‘<version>’

I have yet to see many CE/Vista URIs with the names of web browsers. So these are the most common versions one would likely find (what to grep – name – notes):

  1. MSIE # – Microsoft Internet Explorer – I’ve seen 5 through 8 in the last few months.
  2. Firefox # – Mozilla Firefox – I’ve seen 2 through 3.5. There is enough difference between 3 and 3.5 (also 2 and 2.5) I would count them separately.
  3. Safari – Apple/WebKit – In searching for this one, I would add to the search a ‘grep -v Chrome’ or to eliminate Google Chrome user agents.
  4. Chrome # – Google Chrome – Only versions 1 and 2.

Naturally there many, many others. It surprised me to see iPhone and Android on the list.

Why Read Books?

That I read books probably lowers my highly coveted geek cred. Instead, e-books read on the computer screen, phone screen, or e-book reader should have long ago replaced reading on dead wood. Unfortunately, I am intentionally avoiding reading books much on computers, phone, or readers.

  1. Why I need a purseNo purse to carry more stuff. I have big fingers, so I need stuff with big buttons. Things like iPhones are maddening to use because I cannot seem to hit the buttons correctly. Things with lots of big buttons tend to be big which makes them a pain to carry.

  2. Never underestimate my ability to break toys. Only the most resilient of electronic toys survive me. It isn’t uncommon for my laptops, phones, or cameras to experience 5 foot falls. Everything I carry with me ends up with marks from the abuse even books. Paper can take the abuse. I have no faith e-book readers could maintain their screens from being around me.
  3. Computers tend to tempt me to fail at multi-tasking. When I shut down my computer to go home, I typically have at the minimum a dozen windows. (Even the client I use to connect to my servers usually can fill that dozen.) Reading on a computer rarely will result in more than a page of reading every 10 minutes. Because blog posts are usually pretty short, distractions have less chance to interfere with reading them.
  4. Books are common enough people accept them as normal. Cool toys attract attention. I’d expect an expensive phone or e-reader or laptop to attract the kind of attention which results in theft. Books are cheap few would care to go to the effort.
  5. Phone are becoming more like computers. What I don’t want is a phone (or another device) which I treat like my computer, aka failing at multi-tasking. Just today I squared 1024 on paper instead of using the calculator on my phone. Having access to the Internet through my phone could be bad for keeping me on task.
  6. Why faux paper when you could use paper? The e-book readers market how much their technology looks like paper. Paper looks, feels, smells, and tastes like paper.
    🙂
  7. Spending money on a device to get to read seems counter-intuitive. The devices should be subsidized by the content. But that would mean Amazon $10 books would cost more like $20.

Typically I don’t change until I have a problem with what I am using. Books don’t cause me problems. So I am happy to continue to read books for the foreseeable future.