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):
- MSIE # – Microsoft Internet Explorer – I’ve seen 5 through 8 in the last few months.
- 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.
- 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.
- Chrome # – Google Chrome – Only versions 1 and 2.
Naturally there many, many others. It surprised me to see iPhone and Android on the list.



The Twitter Timesink
May 6, 2009 in Twitter by Ezra S F | No comments
Glenn asked: “What is it about Twitter that makes it more of a time sink than Facebook?”
I consider a time sink something where I invest a high value of time for boring and poor value.
My contacts mostly duplicate in Twitter what they provide in Facebook. The time I spend reading Twitter posts I’ve already read in Facebook is a waste of my time. My Twitter contacts respond about a 1/5th as much as Facebook users (it used to be higher in Twitter). So I get more out of Facebook.
Twitter Replies suck. The Replies system makes it look like my contacts reply much more to me than others which I find highly unlikely. More likely the Replies implementation stifles conversation by requiring either everyone to be public or to allow all the participants to follow each other for there to be one conversation. Instead its many different (sometimes hidden) duplicate conversations. Facebook comments are attached to the status update so following a conversation is significantly easier.
Twitter Apps suck. Last Friday, I looked at Facebook Connect for AIR. My complaint about it was my interactions with Facebook would be as limited as Twitter. The promise of Twitter apps is to do more than the Twitter.com web UI provides. Many just provide easier ways to do the same thing: see your Twitter timeline. Others let you see quantification of your usage. Facebook apps by contrast provide access to content not within Facebook, so more of the web because part of my Facebook access so I can actually do more.
Except Socialthing and Tweetdeck. They are exemplary implementations of Twitter Apps. They extend the functionality of just Twitter by itself and are primary reasons I kept at it for so long. Socialthing unofficially died a while ago and official stoppage of support was announced last week while I wasn’t using it. Tweetdeck probably will stick around for a while.
Twitter lacks granular privacy. In Twitter, either you are private or public or ban specific users. I’m torn between public and not. So I opted for private with sneezypb where I mostly subscribe to friends. My other account, ezrasf, was where I subscribed to Blackboard community members, educational technologists, etc. Facebook could improve some in privacy as well. Compared to Twitter, Facebook makes a great attempt at granular privacy. Plurk, another microblogging / status update site, represents the privacy Holy Grail for me. It allows for making specific posts public, private, available to groups, or individuals.