« first day (397 days earlier)      last day (3009 days later) » 

Sam
10:14 PM
Hey!
 
user3956566
Hi!
 
Sam
Welcome to the testing facility, please keep your hands and feet inside the room at all times.
 
user3956566
I love our super hero form of moving around the place :D cracks me up
 
user3956566
ok sir
 
Sam
xD
Ikr
 
user3956566
10:14 PM
ok let me get said link
 
Sam
Ok
 
user3956566
The target
 
user3956566
1001
Q: What is a NullReferenceException and how do I fix it?

John SaundersI have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object. What does this mean, and what can I do about it?

 
user3956566
am I allowed to onebox? it's like a patient on the table
 
Sam
You can do whatever you want in here. :)
Just don't flag
 
user3956566
10:16 PM
hi @rene
 
hi
 
Sam
So
 
user3956566
I am making a point of making you feel un-ignored
 
user3956566
I'm going to grab some keywords.
 
Sam
We need to figure out if a random post matches the target?
 
10:16 PM
yes
 
well, maybe if it has the right tags
 
Sam
This may come in handy.
It's a bag of words model.
Used to determine the similarity of, well, a bag of words.
 
Is that a lievenstein distance thingy or whatever it is called
 
Sam
I feel tags alone won't be enough
@rene No, cosine similarity.
If you plug this into a PoS tagger, you could get some nice results.
 
10:18 PM
The tags are more to prevent that you match a java post against it
@Sam I trust you
 
user3956566
Object reference not set to an instance of an object. NullReferenceException
 
user3956566
ok
 
user3956566
now there would be permutations of these and we'd need a minimum requirement
 
Sam
@rene Ah, right
 
user3956566
Sam I'm looking at Pham on git..
 
Sam
10:21 PM
I assume you'll have a repo or something for the code?
 
user3956566
are you talking to me?
 
Sam
I guess so.
 
user3956566
lol
 
Sam
You're leading this adventure. ;)
 
user3956566
oh ok
 
user3956566
10:22 PM
yes I can create one
 
user3956566
I'll need your lead in integrating it with the bot
 
user3956566
let me create a dupe repo
 
user3956566
to git
 
Sam
@MsYvette Don't look too much, it's pretty ugly. :s
Sure ok
Delete all teh tings
 
user3956566
10:24 PM
No no clone
 
user3956566
this is for some regexy type of thing that we can use in places
 
user3956566
so for bots or maybe elsewhere later on
 
Sam
@MsYvette Completely misunderstood, lol.
Right
 
user3956566
because, if this works, it will be large in the end
 
user3956566
humungous
 
user3956566
10:25 PM
jinormous
 
Sam
Yeah
 
user3956566
bigger than an elephant
 
Sam
So C#? :)
 
user3956566
yep
 
user3956566
I need to add you
 
Sam
10:25 PM
\o/
My GH name is ArcticEcho
 
user3956566
yes I can see you from Phambelicous
 
Sam
Derp, ofc.
 
user3956566
ok
 
user3956566
so we need to lock it down, so people can contribute, but it needs our approval
 
user3956566
I'm used to having private repos
 
user3956566
10:28 PM
ah it already is
 
Sam
Well, no one can directly commit anything without being a contributor.
 
user3956566
yes
 
user3956566
it's the same as private, except the visibility
 
Sam
Yeah
 
user3956566
that really is worse than saying water is wet
 
Sam
10:30 PM
What are we going to license this under?
 
user3956566
I have no idea, what does SO use?
 
user3956566
ok, it doesn't matter what type of app I make, as long as I just use C# classes really
 
Sam
Atm, some cc licence.
 
user3956566
how do we set this up?
 
user3956566
Just classes?
 
Sam
10:31 PM
Ok, well
 
user3956566
so it's not runnable on it's own?
 
user3956566
or a new bot?
 
Sam
It depends what exactly we want to put up.
Like
Just the core logic of the algo. (Which would be just a single class file, probably.)
Or
 
user3956566
yes
 
Sam
A fully functioning bot. (Project file, classes, etc.)
 
user3956566
10:32 PM
you want to build a bot with me?
 
Sam
Sure
 
user3956566
I'll get you to set up the project, that will save us stuffing around
 
user3956566
I did start one
 
user3956566
but I'm sure mine will be wrong
 
Sam
So, we're doing a bot?
 
user3956566
10:33 PM
yes
 
user3956566
if you like
 
user3956566
I'm excited
 
Sam
Right :D
I'll get the solution setup.
 
user3956566
I want to be more active with writing code like this
 
user3956566
Ok
 
Sam
10:34 PM
What are we calling the bot?
And is the readme ok?
> A proof-of-concept algorithm for finding duplicate posts on Stack Overflow.
 
user3956566
ok what do you think?
 
user3956566
yes
 
user3956566
Sham?
 
Sam
¯\_(ツ)_/¯
What do you like? :)
 
user3956566
Do you want a rhyming bot?
 
user3956566
10:35 PM
I'm thinking
 
Sam
I've already got plenty of bots named under my style.
This one's yours.
 
user3956566
do you need to know now?
 
Sam
Yeah
To make the project
 
user3956566
yes I figured
 
Sam
I can change it later though
 
user3956566
10:36 PM
Troop
 
user3956566
he finds dupes
 
Sam
Done
Do you want me to add Appveyor CI?
 
user3956566
is that cute enough and many enough for the site?? lol
 
user3956566
AppveyorCI? ?
 
user3956566
10:37 PM
yes googled
 
user3956566
I think you need to guide me on bot management
 
Sam
Basically, it checks if our code is buildable.
 
user3956566
what does it do that VS doesn't do?
 
Sam
We get a nice little badge for the repo. ;)
 
user3956566
ah k
 
Sam
10:38 PM
@MsYvette Nothing. It's just to show that our code can compile fine.
 
user3956566
I better sign up or something
 
user3956566
@Sam if you like it Sam, we can
 
Sam
Ok
Which version of VS are you using?
 
user3956566
oh sorry
 
user3956566
2015 enterprise
 
Sam
10:43 PM
np
 
user3956566
you?
 
Sam
VS 2015 community
I only asked so I knew if we can use C#6.
 
user3956566
k
 
user3956566
I'm rebooting
 
Sam
k
Let me know when you get back.
 
user3956566
10:51 PM
@Sam I'm back
 
Sam
Wb
 
user3956566
thanks, it was a hard time
 
user3956566
:D
 
Sam
I've added the basic source files to the repo
lol
Appveyor's plugged in and working nicely.
 
user3956566
ah thanks
 
Sam
10:52 PM
I've also added the chat lib (nuget package)
 
user3956566
thanks
 
user3956566
I'm cloning it
 
user3956566
got it
 
Sam
We'll need some kind of basic class for reading a config file
np
And also the logic of joining a room/posting messages.
 
user3956566
yes
 
Sam
10:54 PM
Besides that, all we have to do is just figure out how we're going to get this algo working.
 
user3956566
I have an idea on the actual text to search on
 
Sam
Also, where exactly are we going to get all these posts from?
 
user3956566
this is where I am not good at knowing how to grab them from the site
 
user3956566
Object reference not set to an instance of an object. NullReferenceException c#

tag = c#

"not set to an instance of an object"

"NullReferenceException"

"NullReference Exception"

"Null Reference Exception"

"Object reference Exception"
 
Sam
Ah, right
@MsYvette So we then compare these phrases to a dupe target to get a % match?
 
user3956566
10:55 PM
@Sam I think so
 
user3956566
the words are the easiest part
 
Sam
Why not compare the entire post against the dupe target?
Since that's what we'll be doing if this gets the go ahead, right?
 
user3956566
I don't know if that is necessary, except a word count
 
user3956566
yes def in terms of the whole post
 
Sam
ok
 
user3956566
10:57 PM
But I think we need to target keyword groups
 
user3956566
that's my opinion and it could be wrong Sam
 
Sam
@MsYvette Ofc
 
user3956566
it's like smokey
 
user3956566
but looking for more complex sets of words
 
Sam
So we need to extract the words which have greater meaning in our matching.
 
user3956566
10:58 PM
yes
 
user3956566
that is why i thought word sets
 
Sam
Sounds like a job for the bag of words model.
 
user3956566
as object, or exception for eg are meaningless
 
user3956566
yes
 
user3956566
bag of words
 
user3956566
10:59 PM
and it could end up huge
 
user3956566
bigger than a whale
 
Sam
Using tf-idf
tf–idf, short for term frequency–inverse document frequency, is a numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus. It is often used as a weighting factor in information retrieval and text mining. The tf-idf value increases proportionally to the number of times a word appears in the document, but is offset by the frequency of the word in the corpus, which helps to adjust for the fact that some words appear more frequently in general. Variations of the tf–idf weighting scheme are often used by search engines as a central tool in scoring...
I think I may have a DB dump form SO laying around somewhere
 
user3956566
reading
 
Sam
k
 
user3956566
hi @PetterFriberg \o
 
11:01 PM
Just spying some....
 
user3956566
we're making a bot
 
Sam
Hiya
 
Sam
I apparently don't have the file anymore. :/
 
user3956566
nevermind
 
11:02 PM
Hi, yeah a saw that on the taverna...
 
user3956566
there is data a plenty
 
user3956566
so far we have called him Troop
 
user3956566
he finds dupes
 
Sounds nice lets use openCV : )
 
user3956566
you want to help?
 
user3956566
 
I love to but I don't think I have the skill, I will try to go after the op... tomorrow I will post a meta on it....
 
user3956566
op?
 
original poster : ), but there will be space for you bot, but before he posts!
 
user3956566
I don't have the skill. I need to review Sam's yam bot to work out how the hell to do this one
 
I'm only good at image recognition but if you need a nice report please tell me : )
 
Sam
11:06 PM
Ok, so what we could do is, just compare new questions as they're posted (realtime) to a specified dupe target.
And then calc the match
 
user3956566
@Sam yes
 
Sam
Instead of messing with DBs
 
I leave you at to work cya...
 
user3956566
bye
 
Sam
Cya!
 
user3956566
11:07 PM
ok
 
user3956566
and what match do we need?
 
user3956566
we ignore words less than 4 letters?
 
Sam
No no no, we need all those small words, they'll help us generate a more accurate model of the post
 
user3956566
> I have some code and when it executes, it throws a NullReferenceException, saying:

Object reference not set to an instance of an object.
What does this mean, and what can I do about it?
 
user3956566
ok
 
Sam
11:08 PM
The tf-idf metric will kill off all the common words
So no need to worry about those :)
 
user3956566
and this
 
user3956566
> I am receiving this error and I'm not sure what it means?

Object reference not set to an instance of an object.
 
Sam
Ok
 
user3956566
these are the two types of questions that will lead to the dupe target
 
user3956566
so it's either or
 
user3956566
11:10 PM
You really are carrying dead weight here
 
user3956566
I'm not good at taking the initiative when working with someone else.. lack confidence and experience
 
Sam
Np :)
I'm not that experienced with working on a team either
 
Good Night... :D
 
Sam
Night :D
 
user3956566
@PraveenKumar night! \o
 
11:11 PM
:)
 
user3956566
:D
 
user3956566
so we'd use a similar principle to Smokey, but just for SO
 
Sam
In what sense?
 
user3956566
grabbing the posts
 
Sam
Oh, right
Yeah, but we'll be using Pham's internals, which are faster ;)
 
user3956566
11:14 PM
oky doky
 
user3956566
well it's kinda your bot Sam :D
 
Sam
Just migrating the code now.
Pfft, nah.
It's your idea.
:)
 
user3956566
ok I'm opening Pham in VS
 
user3956566
to have a look at her on the inside
 
user3956566
it's easier than browsing code on github
 
Sam
11:15 PM
You may get lost ;)
I didn't comment on much stuff in there
(Besides the NLP classes)
 
user3956566
I just need the time to go through it and I can do that at my leisure
 
user3956566
I am fairly good at following code in a project
 
Sam
Ok
 
user3956566
so you need to tell me what you want me to do
 
user3956566
I'm your servant
 
Sam
11:17 PM
Alright
 
user3956566
the thing with Troop. is if we have more than one, we have troops
 
user3956566
Troop
 
user3956566
trooper
 
user3956566
troop1
 
Sam
But we'll only be running one bot though?
 
user3956566
11:18 PM
yes, I looking down a long glass
 
user3956566
for other things
 
user3956566
like disabling people's keyboards
 
user3956566
or giving then electric shocks :D
 
Sam
lol
 
user3956566
yes Troop will be for all dupes
 
user3956566
11:19 PM
do you like Troop?
 
Sam
Yeah, it's not bad
 
user3956566
I can make an avatar
 
Sam
ok
 
user3956566
you prefer something else
 
user3956566
ok what do you want me to do?
 
Sam
11:20 PM
No idea lol
 
user3956566
waiting for Pham's nuget's to update
 
user3956566
that's funny
 
Sam
I'm just in the middle of migrating a large class
 
user3956566
ah
 
user3956566
so we're chewing the fat
 
Sam
11:20 PM
@MsYvette You use whatever you want :)
Yeah
 
user3956566
can I tell you something
 
Sam
This class is pretty bloated
 
user3956566
I have no milk
 
Sam
Sure
 
user3956566
I have not had coffee. I feel strange
 
user3956566
11:21 PM
I think I need to have some black stuff or use the soy milk my sister uses
 
Sam
You'll make it ;)
I use almond milk.
 
user3956566
I can't Sam... pulse is slowing.. relaxation levels are rising.. sleep is beckoning
 
user3956566
almond milk sounds nice.. so is rice milk
 
Sam
:o
What time is it for you?
 
user3956566
10.23am
 
user3956566
11:23 PM
been up since 7.30 no caffeine
 
user3956566
Z Z Z ZZ ZZZZzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz‌​zzzzzzzzzzzz
 
Sam
Lol, I got to bed at 6am
 
user3956566
let me get a coffee
 
Sam
ok
 
user3956566
I braided my daughter's hair for school :D
 
Sam
11:24 PM
:)
 
user3956566
I won't be long, my kitchen is just over there --------------------->
 
Sam
Ok
 
user3956566
I'm back
 
Sam
Wb
 
user3956566
did you miss me?
 
Sam
11:29 PM
You weren't gone that long :)
 
user3956566
hehe
 
Teh room of teh wonkiness
 
user3956566
@Kyll hi darling!
 
Sam
lol
 
user3956566
we are building a bot
 
Sam
11:29 PM
Hey Kyll
 
What for?
 
user3956566
well Sam is building it and I'm pretending to help
 
user3956566
to alert us of dupes
 
user3956566
we are starting with one dupe target
 
How would it alert us of that?
 
Sam
11:31 PM
Ok, I've added the classes for listening for new questions
(and pushed)
 
user3956566
ok will pull
 
Sam
Afk for a few mins
 
user3956566
k
 
user3956566
11:54 PM
@Sam I need to go, will bbl
 
Sam
Ok, cya soon!
Lol, got back as you leave
 
user3956566
tell me what you'd like me to do and I can do it when I get back
 
Sam
Sure, but it's your idea
 
user3956566
oh ok
 
user3956566
:D
 
user3956566
11:57 PM
ok I'll ping yu when I get back if you like
 
Sam
Sure
 

« first day (397 days earlier)      last day (3009 days later) »