« first day (124 days earlier)      last day (2786 days later) » 

12:00 AM
@BhargavRao --------v
<repositories>
    <repository>
        <url>https://raw.github.com/Tunaki/chatexchange/mvn-repo/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>fr.tunaki.stackoverflow</groupId>
        <artifactId>chatexchange</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>
oh I forgot the <id> in <repository>
@Burn stop
 
Bye.
 
12:28 AM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:true NaiveBayes:0.23 OpenNLP:1.00) comment
 
 
1 hour later…
1:37 AM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:false NaiveBayes:1.00 OpenNLP:1.00) comment
 
 
1 hour later…
2:57 AM
[ Heat Detector ] SCORE: 7 ★★★☆☆ (Regex:true NaiveBayes:1.00 OpenNLP:0.92) comment
 
3:17 AM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:true NaiveBayes:0.05 OpenNLP:1.00) comment
 
 
1 hour later…
4:42 AM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:false NaiveBayes:1.00 OpenNLP:1.00) comment
 
 
4 hours later…
8:36 AM
[ Heat Detector ] SCORE: 8 ★★★★☆ (Regex:true NaiveBayes:1.00 OpenNLP:0.98) comment
[ Heat Detector ] SCORE: 7 ★★★☆☆ (Regex:true NaiveBayes:1.00 OpenNLP:0.14) comment
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:false NaiveBayes:0.99 OpenNLP:0.99) comment
[ Heat Detector ] SCORE: 8 ★★★★☆ (Regex:true NaiveBayes:0.98 OpenNLP:0.97) comment
 
8:57 AM
I'm offended by Queen's thoughts about this comment of mine
 
explain offended
 
Not exactly offended, but I consider her badly mistrained.
@Queen test don't vote to close these, flag them as spam
 
@JanDvorak [ Heat Detector ] SCORE: 8 ★★★★☆ (Regex:true NaiveBayes:0.98 OpenNLP:0.97)
 
9:17 AM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:true NaiveBayes:0.93 OpenNLP:0.88) comment
 
 
1 hour later…
@BhargavRao hiya
 
@ColdFire Hiya
A NATO post for you -----^
 
i see thanks
 
I'm learnin Java, So in 6-8 weeks the bot will be ready ;)
 
wow nice
i need to learn python :(
 
10:36 AM
It's damn easy compared to Java
 
really?
 
Yeah
 
btw how is bot written in java?
does SO has a JVM?
shouldnt it be js?
 
Nope, we're using Tuna's chat library
That's used to send messages to the chat room
 
chat lib is written in?
 
10:39 AM
See Burnaki's source code. You'll understand it faster than me :P
Java
 
yes but my question how is java executing here?
where is JVM?
 
Nope, The bot is running on a cloud instance
The JVM is there on that cloud instance
 
ohh i see the JVM exist in cloud then
 
Yeah
 
nice
 
10:54 AM
jsonobject vs sqlite database for storing data? @Tunaki
 
 
2 hours later…
12:27 PM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:true NaiveBayes:0.09 OpenNLP:1.00) comment
 
@Queen tp
 
12:59 PM
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:false NaiveBayes:0.99 OpenNLP:0.99) comment
 
@ColdFire What kind of data do you need to store?
 
@JanDvorak Remember she is trained to find heat (offensive, abusive, spam) etc and to me it seems like she found a spam post. You should not see the reported comment as a problem of that specific comment but as a problem on that post.
 
Interesting, is that the desired behavior? Thanks for the explanation.
 
Yhea also since "Flag this post as spam", "This post is just offensive junk", is either very offensive or there is a trouble on post, hence it would be hard to classify stuff like that otherwise
so we choose to alert on it, either way it needs attention
(From this however we are trying to exclude stuff that only needs closing)
Comments, like "This post is unclear" etc
 
Hiya o/
 
1:12 PM
Hiya o/
 
Hiya o/
 
Hiya o/
 
[ Heat Detector ] SCORE: 4 ★★☆☆☆ (Regex:true NaiveBayes:0.37 OpenNLP:0.95) comment cc: @PetterFriberg
[ Heat Detector ] SCORE: 4 ★★☆☆☆ (Regex:true NaiveBayes:0.00 OpenNLP:0.03) comment cc: @PetterFriberg
 
Hiya o/
 
Aloha
 
1:25 PM
@Tunaki user profile and there selection
 
@Queen fp regex insult --> medium score
 
Aloha petter
 
@ColdFire if you need to query you need a database...
 
i see an unknown animal here? Jan
 
? burni?
 
1:26 PM
@ColdFire Does it need to be permanent? How much data do you think there will be? And does it need to be updated?
 
@PetterFriberg why i can use jsonobject also
 
@Tunaki yes permanant that is why i am writing jsonobject to disk ,data depends on users
but will not be more i guess
at most 4 rows
2 columns
 
Meh. Use a simple file yourself then.
 
[ Heat Detector ] SCORE: 4 ★★☆☆☆ (Regex:true NaiveBayes:0.09 OpenNLP:0.50) comment cc: @PetterFriberg
 
1:28 PM
becoz how many profile users are gonna make
@Queen fp
 
yeah nATO bot
 
4 lines, 2 columns, you really don't need a whole DB
 
yeah was really thinking not making a db
 
1:30 PM
Serialize some objects, or better, store that as a text file
 
yeah json then?
 
Need i/ps for NATO Bot, What should be the rep cut off for reporting here?
 
50
 
I think 0-50 is ok, but you should do some logic on content, length, formatting etc to avoid false positives
 
Remember that the bot ain't take feedback or store. Just like Ed Monitor, it just reports
@PetterFriberg There are many posts that are really good questions! :D
That's a bit difficult to detect.
 
1:34 PM
Yeah you need to do some good dev : )... just to avoid to many false postive
The false postives make people loose interest...
So its a trade of thingzzz.., loose some tp to avoid 100 fp
 
Yeah.
We always have @tuna continuously monitoring the NATO, so we don't need to worry about those tps that we loose :D
 
and then I want to have a preview in chat : )
@BhargavRao test to pass the link for one-boxing lets see how it gets, then you can implement the edit if ok
 
@PetterFriberg Yep, I'm doing that next.
ATM, I'm working on making the code run every 5 mins.
 
ScheduledExecutorService
is what you're looking for
 
1:39 PM
or just use a simple Runnable : )
 
haha tuna to the rescue
btw is new string("") more efficient then stringBuilder()?
i know string concat is slower
but what about when using the new string contructor
 
@BhargavRao Take a look at Executors.newScheduledThreadPool to run it in a thread pool or Executors.newSingleThreadScheduledExecutor to run it in a single thread
 
haha
 
perfect then :)
@ColdFire new String("") is useless. Just use ""
 
1:42 PM
Oh yeah, Why is Thread.sleep not used generally?
 
@BhargavRao I wouldn't say "not use generally", but "used cautiously" :)
 
@BhargavRao becoz of exception
maybe
its makes the thread sleep
 
If run on the main thread, your whole app freezes
 
so should never be used on main thread
 
always use handler
with runnable and delay
 
[ Heat Detector ] SCORE: 5 ★★☆☆☆ (Regex:false NaiveBayes:1.00 OpenNLP:0.98) comment cc: @PetterFriberg
 
Oh, Damn ----^ That''s abug
 
@Queen tp
 
Thanks both. :)
 
1:45 PM
np
 
So Yeah, I need to find out if the answer is already posted here. To prevent it from being posted again and again.
 
yes
maintain a flag i guess?
 
Just keep last timestamp (creationDate) in memory
 
or timestamp
 
what was the bug?
 
1:47 PM
post multiple times
 
same posts 2 times : )
 
Are you filtering the answers by time @BhargavRao?
when calling the SE API?
 
Yeah
 
Yeah you really should do that to avoid back-off
 
But, I've just put for 5 mins.
 
1:48 PM
so in app call pass last creationDate of last answer you got
 
I need to keep it till the timestamp of the previous post.
Yup, that ^
 
How come you have the same answers if the code runs every 5 minutes, and the filter filters answers that are 5 minutes old?
 
Nah, Code runs every 1 minute.
I need to change that.
 
@BhargavRao I pass last creationDate of last post I got and then keep in memory last reported post.. that way you do not need to synch the stuff
//natural on startup I set lastCreationdate like 2 minutes before...
 
The parameter that we need to pass is epoch time, rite?
 
1:56 PM
Yes
 
@PetterFriberg Doing that itself ;)
 
Epoch seconds, Petter is right
 
waffle!
 
Well, it's UTC all the way
@PetterFriberg Yeah, I'm sure it's seconds :p
 
You are always right...
 
2:01 PM
previousAnswerTimestamp = Instant.now().minusSeconds(120);
Going the petter way ;)
 
Note that when the bot is down, you won't scan what you missed ;)
 
That's your job! You gotta monitor NATO 24/7
o_o
 
Yes sir!
 
haha
 
Instant.ofEpochSecond(answerCreationDate);
This is correct? (to store the previous timestamp)
 
2:07 PM
Yep
 
Okay, Now just pass it as "fromdate" and Job's done?
 
Awesome, Job's done.
Let's run it again.
I still dunno why IntelliJ defaults to JDK 1.5 instead of Java8
 
you have to install
jdk 8
and change path to that
 
@BhargavRao Maven-compiler-plugin
 
2:14 PM
@BhargavRao hmm, why do you need that?, the creationDate is already UTC in secs
 
@Tunaki Easier to Ctrl+Alt+S and change to Java-8 :D
 
double -_-
 
had to get charger
 
2:19 PM
Thunder here, problem with connection I'm out.. cya later
 
Cya
 
cya
 
cya
 
@PetterFriberg I'm saving that as Instant and hence ...
 
2:23 PM
Huh, How come so many? o_O
@Queen fp
 
some are 13 minutes old
 
Yeah
 
hehe
 
Bah
I'll debug now
I'm sure the issue is with that from parameter :D
@Queen k
 
2:24 PM
@BhargavRao Your reply was not direct to a possible duplicate notification
 
haha
 
@que opt-in [php] pd
 
@bwoebi Thanks, you have opted-in to be notified if a duplicate is found in tag and you are present in room
 
So, let's try…
 
2:28 PM
woot \o/
 
\o/
 
Yippee!!
@petter You've got good news when you're back -----^
 
Ah, So I need to URL decode too
 
2:43 PM
Woohoo, 2nd NAA!
 
Nah, Still there's an error :/
 
@tuna, How do I add seconds to an Instant? minusSeconds(-10)?
 
2:46 PM
plusSeconds?
 
Lol
I forgot that opposite of minus is plus
 
:)
 
Now, if it comes again.... I'll slap myself
 
2:51 PM
Phew
 
^ you caugth one, yoohoo
 
Creating an email for NATOBot :D
 
@BhargavRao Yeah -----------v
 
2:56 PM
^ :)
 
Restarting
"Welcome to Gmail NATO!" :D
 
Okie, Now I need to edit 10 posts.
 
haha
 
@Queen abusive
 
Damn, the error strikes again.
 
3:21 PM
@BhargavRao which error
 
@ColdFire post repeats :/
 
ohh i see yeah repeated
 
Damn, I don't find any nice post to edit!
Has SO become so bad :/
 
hehe yeah
times has change
 
Another NAA ---^
 
^^ double
 
Yeah, If I add 1 second to the time stamp I'm getting this error.
I am running the same code using +2 and +3 secs, Both of them are not showing dupe values. :/
 
4:27 PM
A bit spammy :)
And it is the week-end!
 
@Tunaki *lot
Yeah, So now the others can imagine how your job must have been :)
Oh, and @tuna Is there anyone else whom we need to inform about this bot?
 
yeah too spammy
 
We've still not let the full flow of NATO. This is reduced to <50 rep
 
4:38 PM
well keep it less than 50 only
 
[ Heat Detector ] SCORE: 6 ★★★☆☆ (Regex:false NaiveBayes:1.00 OpenNLP:1.00) comment
 
There'll be a php dupe notif soon
 
Ah, There ---------^
 
@BhargavRao yeah, already closed
 
4:47 PM
@bwoebi reply 'k' to queen
 
@Queen k
@Queen k
@BhargavRao okay
 
@Queen k
 
@ColdFire Sorry you need to be Hammer to run this command (@Petter)
 
:(
 
:)
 
Yeah, Ample number of NAAs found.
Guess we need to store that in some db.
 
As the late answers are also tagged, we can have them run in their respective rooms also :/
Just a thought
 
4:59 PM
@BhargavRao good idea
 
Make those links protocol-independent.
 
protocol independent?
 
There are some mod things that kinda refuse to work over HTTPS still. It's getting better, but still not perfect.
 

« first day (124 days earlier)      last day (2786 days later) »