« first day (398 days earlier)      last day (3008 days later) » 

user5912150
11:17 PM
Ada started.
 
Rob
Taking a look at the code now
Could you tell me if you're using VS2015? So that I don't accidentally check in code that's broken for C#5?
IE null coalescing
 
user3956566
vs2015
 
user3956566
@Rob pushed
 
user3956566
I've put everything into directories
 
user3956566
It's only going to get bigger, so it's better to organise it
 
user5912150
11:33 PM
Ada started.
 
user3956566
@Rob I'm now working back on the commands, then will move to replies
 
user3956566
sorry for the pings
 
Rob
No worries
Do you know what will be in Posts.xml?
Is that going to be the dupe targets?
 
Sam
@MsYvette Yes ik
Back
 
user3956566
@Sam sorry I know it's like saying water is wet
 
Sam
11:39 PM
@Rob It's the SO data dump for posts.
Lol, np
 
user3956566
I had to put in error handling, as I don't have the data
 
Sam
It's good to make sure we're all on the same page
 
user3956566
it's a messy console.writeline
 
user3956566
@Sam yep
 
user3956566
but I like sending the error to a string to read it if that's ok
 
user3956566
11:40 PM
in CheckPost
 
Rob
Where is this going to run?
 
Sam
Just skip initialisation for that class if the file doesn't exist
 
Rob
Loading all questions into memory is going to be ouch :D
 
Sam
We only take the oldest x Qs atm.
 
Rob
Ah right
Makes sense
 
Sam
11:42 PM
We'll be running it on one of our PCs atm
We don't have a server
(afaik)
 
user3956566
yep
 
Rob
Are we using the distsim.tagger resource at the moment ? (Looks like BagOfWords.cs is doing it's own distance calculation?)
 
Sam
We will need it eventually.
 
Rob
Right
 
Sam
I'm being hopeful there.
 
Rob
11:46 PM
Just thinking of a way to potentially move it into a DB, so that we're able to grab every single question and not necessarily need it all in memory
 
user3956566
we won't be using it in memory
 
user3956566
ever in real time
 
Rob
And mainly to be on the same page so I know where it's all headed
 
user3956566
it will be scanning the site
 
Rob
I mean the targets
They're loaded into memory in BoWPoS
 
user3956566
11:46 PM
to begin with just
 
user3956566
oh yes
 
Rob
Which works, just trying to see if it's possible to get everything as a potential target
 
user3956566
well I thought of reading from a file on github
 
Rob
without needing a beefy machine
< big aspirations :D
 
Sam
:D
 
user3956566
11:47 PM
but that will take a lot of time to load
 
Sam
Problem is
 
user3956566
I think if we have an updatable file on github
 
user3956566
and she reads from that
 
user3956566
OR
 
Rob
Although it might be an idea to grab only the highest rated questions/answers
 
Sam
11:48 PM
The BoW class requires all the pre-processed "terms" in memory.
 
Rob
since a dupe target of score 0 is probably not a great target anyway
 
Sam
Yeah
 
user3956566
It is only with two dupe targets at the moment
 
user3956566
and will only be used for dupe targets with the most dupes against them
 
user3956566
they will have 100s, somtimes >1000 dupes linked against them and loads of upvotes
 
user3956566
11:49 PM
and will use community census to decide which dupe targets we use
 
Rob
Yep
Do you have an example Posts.xml I can load?
So I can get it running
 
user3956566
I don't I'm downloading this bloody file it's 8gb
 
user3956566
I need some samples also
 
Sam
I can get you a slimmed down version in a few hours.
 
Rob
8gb?
I'll never get that downloaded with aussie internet
 
Sam
11:50 PM
You all have crappy internet?
 
user3956566
the other thing we could do is just link to the dupe targets and the bot reads these posts on start up and these are stored in an array and used to target posts
 
Rob
unbelievably crappy
 
user3956566
I know yes!
 
Sam
:/
 
user3956566
I'm in Sydney Rob
 
Rob
11:51 PM
home is around 600kbs
maximum speed, and we pay ~$100 a month
 
user3956566
I forgot you were an Aussie :D
 
Rob
Melbourne here
 
Sam
1.5 MB/s here
 
user3956566
Mine is f'ed
 
user3956566
Optus in the middle of Sydney
 
user3956566
11:51 PM
slow as, I have to kick the kids offline all the time
 
Rob
I was living overseas for a couple of years.. and I saw how internet is supposed to be
no caps and decent speeds
 
user3956566
 
Rob
Optus is usually pretty good in melb.. just expensive
 
Sam
rofl
 
Rob
Haha
 
user3956566
11:52 PM
cheaper than Telstra
 
user3956566
I did that myself
 
user3956566
Collaroy beach in Sydney
 
Sam
Nice
 
Rob
It blows my mind that they're rolling out an internet infrastructure that's already obsolete
 
user3956566
Tony Abbott, don't get me started
 
user3956566
11:53 PM
At least labor was 'going' to implement something
 
Rob
Hah, yep
Oh well
 
user3956566
What I think is a good idea, is for the full post comparison
 
user3956566
as we have two algorithms
 
user3956566
one with regex and string phrases
 
user3956566
One comparing against a full post
 
user3956566
11:54 PM
rather than store hard coded full posts.
 
user3956566
We could reference them on bot start up
 
user3956566
and they are stored in a string array
 
user3956566
So adding to the duplicates would be as simple as adding a link to a target post
 
user3956566
It's all overhead on start up.
 
user3956566
But there's not much we can do about that and it's better than hardcoding things, then if the posts change, there's no issue
 
Sam
11:56 PM
Well
 
user3956566
61
Q: What does "Object reference not set to an instance of an object" mean?

mohammad rezaI am receiving this error and I'm not sure what it means? Object reference not set to an instance of an object.

 
user3956566
1004
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?

 
Sam
It's going to be faster than processing every targets' body
 
user3956566
ah ok, cos of searching
 
Sam
But. The full post comparison requires all teh bodiez
 
user3956566
11:57 PM
I think for more complex questions - the question body to question body might not be as accurate.. so the key phrases from the target will be more useful, but testing will reveal that
 
user3956566
all teh bodeez
 
Sam
Don't underestimate NLP ;)
 
user3956566
which are we doing?
 
Sam
I'm working on the full post comparison algo
 
user3956566
I wanted to use phrases and with regex for peepels hoo kant spell
 
user3956566
11:58 PM
yes and me on the regex
 
user3956566
and yu don't like the idea of mapping to the targets on start up?
 
Sam
I'm indifferent. It's not like we have any other choice.
 

« first day (398 days earlier)      last day (3008 days later) »