News for hackers. Stuff that matters.
Re:335k downloads of Learning Python The Hard Way by sigil on Monday April 04, 2011 @03:14PM (#2408057)
There are 20K unique User-Agent strings in the logfile, which gives an extreme lower bound.

  $ cut -f12-100 -d' ' lpthw.Apr.04.2011.log | sed -e 's# "-"$##; s/^"//; s/"$//;' | \
  sort | uniq -c | sed -e 's/^ *//' | \
  sort -k1,1nr | tee ua.txt | wc -l
  20122
UA is still far from uniquely identifying so this is a gross underestimate. If the IP field were hashed instead of 0.0.0.0 a better estimate would be possible, but the order of magnitude of the claim (100k) seems right to me.

There are no comments on this comment yet.