<?xml version="1.0"?><!-- generator="b2evolution/0.9.1" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>MetaChat - AskMeCha</title>
        <link>http://metachat.org/index.php?disp=comments</link>
        <description></description>
        <language>en-US</language>
        <docs>http://backend.userland.com/rss</docs>
        <admin:generatorAgent rdf:resource="http://b2evolution.net/?v=0.9.1"/>
        <ttl>60</ttl>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 00:52:39 +0000</pubDate>
            <guid isPermaLink="false">c101299@http://metachat.org</guid>
            <description>(oh and I've tried awstats, the apache log analyzer and just plain old reading the damn thing. Not really helping me see the big picture. There's accusations of cheating and I'd like to make sure that none was going on.)</description>
            <content:encoded><![CDATA[(oh and I've tried awstats, the apache log analyzer and just plain old reading the damn thing. Not really helping me see the big picture. There's accusations of cheating and I'd like to make sure that none was going on.)]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101299</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 00:56:09 +0000</pubDate>
            <guid isPermaLink="false">c101302@http://metachat.org</guid>
            <description>Know any perl?

Use a bit of perl to snarf the log lines into a mysql database. If these are apache logs, there's prolly a CPAN module that will do the parsing for you.

Alternatively, you might be able to pull these right into an Access or SQL Server DB by splitting on the " - " delimiter...

Once you've got your stuff in a DB, query away to your heart's content.</description>
            <content:encoded><![CDATA[Know any perl?<br />
<br />
Use a bit of perl to snarf the log lines into a mysql database. If these are apache logs, there's prolly a CPAN module that will do the parsing for you.<br />
<br />
Alternatively, you might be able to pull these right into an Access or SQL Server DB by splitting on the " - " delimiter...<br />
<br />
Once you've got your stuff in a DB, query away to your heart's content.]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101302</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 00:57:14 +0000</pubDate>
            <guid isPermaLink="false">c101303@http://metachat.org</guid>
            <description>you want to use the linux command line utilities sort -- which will sort the log file, cut, which will isolate just those columns you care about, and uniq, which will reduce to one line repeating lines, and uniq -c which will do what uniq does and also add a count of the number of multiple lines.

I do exactly that to see how many unique IPs are using my FF extensions.</description>
            <content:encoded><![CDATA[you want to use the linux command line utilities sort -- which will sort the log file, cut, which will isolate just those columns you care about, and uniq, which will reduce to one line repeating lines, and uniq -c which will do what uniq does and also add a count of the number of multiple lines.<br />
<br />
I do exactly that to see how many unique IPs are using my FF extensions.]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101303</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 01:16:18 +0000</pubDate>
            <guid isPermaLink="false">c101306@http://metachat.org</guid>
            <description>whoha, my brain is fried. Did I mention that? The mysql query route might have been it, but, brain fried. (Buncha kids had a party here today. Me, not used to being mum pushed very hard as I made sure small and big kids didn't hurt themselves or the babies, my god bloody suicidal crazy little terrors! Someone please put me in a bed now.)

Ok, I'll explain my dumb problem again, you seem so much smarter than me. ;) I had 16 different questions where people could vote - one ip# could only vote once. Now, people are saying that one ip# could vote unlimited times, so basically I'd like to quickly find out if all vote on question5 came from different IP#, or just see if an ip# vote a whole bunch of times on one question. 'cause that would be wrong. ...  yeah I guess I could query the mysql server up and down and around again, but I'd really like some pretty graphs that just looked at the whole file for me....Justto get the big picture. All votes to "WK London" came from these ip's.. Like. Hmm.</description>
            <content:encoded><![CDATA[whoha, my brain is fried. Did I mention that? The mysql query route might have been it, but, brain fried. <small>(Buncha kids had a party here today. Me, not used to being mum pushed very hard as I made sure small and big kids didn't hurt themselves or the babies, <em>my god</em> bloody suicidal crazy little terrors! Someone please put me in a bed now.)</small><br />
<br />
Ok, I'll explain my dumb problem again, you seem so much smarter than me. ;) I had 16 different questions where people could vote - one ip# could only vote once. Now, people are saying that one ip# could vote unlimited times, so basically I'd like to quickly find out if all vote on question5 came from different IP#, or just see if an ip# vote a whole bunch of times on one question. 'cause that would be wrong. ... <small> yeah I guess I could query the mysql server up and down and around again, but I'd really like some pretty graphs that just looked at the whole file for me....Justto get the big picture. All votes to "WK London" came from these ip's.. Like. Hmm.</small>]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101306</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 01:41:24 +0000</pubDate>
            <guid isPermaLink="false">c101308@http://metachat.org</guid>
            <description>ortho is basically right here.  assuming the sample line above only includes the vote data i would use soemthing like this:
cat nameoflogfile | cut -d" " -f1 | sort | uniq -c

this will give you each ip address followed by the number of occurences

if the above doesn't exclude the rest the log file then i'd probably use gawk/awk instead of cat to feed the above command line.  i'm currently too fucked to be helpful on that front.

ps:  i'm very drunk so there are probably large parts of this that are very very wrong</description>
            <content:encoded><![CDATA[ortho is basically right here.  assuming the sample line above only includes the vote data i would use soemthing like this:<br />
<tt>cat nameoflogfile | cut -d" " -f1 | sort | uniq -c</tt><br />
<br />
this will give you each ip address followed by the number of occurences<br />
<br />
if the above doesn't exclude the rest the log file then i'd probably use gawk/awk instead of cat to feed the above command line.  i'm currently too fucked to be helpful on that front.<br />
<br />
<small>ps:  i'm very drunk so there are probably large parts of this that are very very wrong</small>]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101308</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 01:55:37 +0000</pubDate>
            <guid isPermaLink="false">c101310@http://metachat.org</guid>
            <description>The problem is that it looks like your log file has a multi-character delimiter, namely " - ", which sort can't handle. I think you're looking for something like:

perl -ple '$_ = join("\t", (split(/ - /))[6,0])' data.txt | sort | uniq -c

where "6,0" is a list of the columns you're interested in, starting from zero. For graphing the results, Excel's probably the simplest route.

By the way, there are many reasons why multiple votes might come from the same IP address, including libraries, proxies, and anti-virus software.</description>
            <content:encoded><![CDATA[The problem is that it looks like your log file has a multi-character delimiter, namely " - ", which sort can't handle. I think you're looking for something like:<br />
<br />
perl -ple '$_ = join("\t", (split(/ - /))[6,0])' data.txt | sort | uniq -c<br />
<br />
where "6,0" is a list of the columns you're interested in, starting from zero. For graphing the results, Excel's probably the simplest route.<br />
<br />
By the way, there are many reasons why multiple votes might come from the same IP address, including libraries, proxies, and anti-virus software.]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101310</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 03:12:19 +0000</pubDate>
            <guid isPermaLink="false">c101327@http://metachat.org</guid>
            <description>eamon, she can use cut to cut out the fileds she doesn't care about, using -d " " as the delim</description>
            <content:encoded><![CDATA[eamon, she can use cut to cut out the fileds she doesn't care about, using -d " " as the delim]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101327</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 12:44:17 +0000</pubDate>
            <guid isPermaLink="false">c101394@http://metachat.org</guid>
            <description>It's official, a drunk dodgy is more awake than a pooped-out-after-kid-party Dabitch. Maybe one should label kids with "do not operate heavy machinery after handling"? I reckon eamondaly makes sense too. :) Anyway, thanks so much, now that I've had some sleep and some coffe I can get to work! *mwah mwah*! Bless you all for your help. Seriously. I was so brainfried last night it wasn't even funny.  killdevil  asks "know any perl" and I'm ashamed to admit I even have a bit of a script tattooed on my arm, in perl. That's how fried my brain was, I didn't even think of using it.
By the way, there are many reasons why multiple votes might come from the same IP address, including libraries, proxies, and anti-virus software.
True, kids at small ad agencies were unhappy that their 12 machines had the same IP so they could only vote once, it's a crude way of trying to keep people from cheating, but easy. </description>
            <content:encoded><![CDATA[It's official, a drunk dodgy is more awake than a pooped-out-after-kid-party Dabitch. Maybe one should label kids with "do not operate heavy machinery after handling"? I reckon eamondaly makes sense too. :) Anyway, thanks so much, now that I've had some sleep and some coffe I can get to work! *mwah mwah*! Bless you all for your help. Seriously. I was so brainfried last night it wasn't even funny.  killdevil  asks "know any perl" and I'm ashamed to admit I even have a bit of a script tattooed on my arm, in perl. <em>That's </em>how fried my brain was, I didn't even think of using it.<br />
<blockquote>By the way, there are many reasons why multiple votes might come from the same IP address, including libraries, proxies, and anti-virus software.</blockquote><br />
True, kids at small ad agencies were unhappy that their 12 machines had the same IP so they could only vote once, it's a crude way of trying to keep people from cheating, but easy. ]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101394</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 15:15:29 +0000</pubDate>
            <guid isPermaLink="false">c101411@http://metachat.org</guid>
            <description>heh, with cat log.txt | awk '{print $1 "\t " $10}'|grep question |sort -n | uniq -c |sort -nr | head -40   I disovered many many cheaters. Tssssk.</description>
            <content:encoded><![CDATA[heh, with <code>cat log.txt | awk '{print $1 "\t " $10}'|grep question |sort -n | uniq -c |sort -nr | head -40  </code> I disovered many many cheaters. Tssssk.]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101411</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 15:16:18 +0000</pubDate>
            <guid isPermaLink="false">c101412@http://metachat.org</guid>
            <description>thanks for all your help guys. Really. Super!</description>
            <content:encoded><![CDATA[thanks for all your help guys. Really. Super!]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101412</link>
        </item>
                <item>
            <title>In response to: AskMeCha</title>
            <pubDate>Sun, 12 Feb 2006 16:07:36 +0000</pubDate>
            <guid isPermaLink="false">c101424@http://metachat.org</guid>
            <description>cool.  glad to help.</description>
            <content:encoded><![CDATA[cool.  glad to help.]]></content:encoded>
            <link>http://metachat.org/index.php/2006/02/11/askmecha_15#c101424</link>
        </item>
            </channel>
</rss>
