These are chat archives for Milk-Enterprises/Gambot

23rd
Sep 2014
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:01
why cant i assign myself as the owner of thie issue
ffs
Rob Kellett
@RobKellett
Sep 23 2014 00:02
you can do it on github directly, right
:confused:
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:03
no
i dont understand
i used issue2pr
and it didnt do anything
:confused:
now im getting mad
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:08
dear god
this variables class is static
@RobKellett do you want me to setup IoC on this project
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:14
nah thats cool
i dont generally expect answers to my questions
:sangry:
Emil Huseynaliev
@emilh91
Sep 23 2014 00:29
MA nigga
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:29
:hibiscus: thats me
Emil Huseynaliev
@emilh91
Sep 23 2014 00:31
Hibiscus
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:34
alright
enough mobile video games
its go time
god dammit
where the fucks robert
this piece of shit needs to be ioc'd
im gonna go ahead and move interfaces to interfaces
Emil Huseynaliev
@emilh91
Sep 23 2014 00:36
Huddup
Mohammed Hossain
@mohammedh123
Sep 23 2014 00:36
huddup?
its official
i have 3 instances of visual studio opened
im working on 3 projects
at the same damn time
Mohammed Hossain
@mohammedh123
Sep 23 2014 01:07
i see ive been abandoned
nah thats ok
SolidX
@SolidX
Sep 23 2014 01:09
wtf there are chatrooms for git :|
and now that that has been said, peace
Mohammed Hossain
@mohammedh123
Sep 23 2014 01:12
:wtf:
Emil Huseynaliev
@emilh91
Sep 23 2014 01:23
Sup
Mohammed Hossain
@mohammedh123
Sep 23 2014 02:22
:wonderhi:
man
im helping with af riend on his project
:soon: gambot development
hopefully start and finish reply before i go to sleep
but i still need roberts approval on iocing it
Emil Huseynaliev
@emilh91
Sep 23 2014 03:45
@RobKellett
what did you want to talk to me aboot?
Mohammed Hossain
@mohammedh123
Sep 23 2014 03:45
dude hes been gone for so long
hes left in us in the dirt
Emil Huseynaliev
@emilh91
Sep 23 2014 03:46
six feet deep, nigga, that's the depth
Mohammed Hossain
@mohammedh123
Sep 23 2014 03:48
donald duck, goofy, mickey mouse
Emil Huseynaliev
@emilh91
Sep 23 2014 03:48
ima punch you in the fuckn mouth
Rob Kellett
@RobKellett
Sep 23 2014 04:02
uh
Rob Kellett
@RobKellett
Sep 23 2014 04:13
yo
Emil Huseynaliev
@emilh91
Sep 23 2014 04:25
boutta eat this nigga
like a nestle crunch
Rob Kellett
@RobKellett
Sep 23 2014 12:34
:confused:
Emil Huseynaliev
@emilh91
Sep 23 2014 13:31
ok so what's going on?
@RobKellett
Rob Kellett
@RobKellett
Sep 23 2014 13:33
:soon:
oh right so
firstly, I was wondering if we could move IDataStore
Rob Kellett
@RobKellett
Sep 23 2014 13:34
since all the interfaces are in .Core, and modules should only have to reference .Core
then the implementation could live in .Data
Emil Huseynaliev
@emilh91
Sep 23 2014 13:34
hmm
Rob Kellett
@RobKellett
Sep 23 2014 13:34
or call that .Data.Redis or something
and the second thing
we need a way to pass an IDataStore to modules
like, we pass an IMessenger in Digest
Emil Huseynaliev
@emilh91
Sep 23 2014 13:35
well isnt mo working on the ioc container?
are we doing that even?
Rob Kellett
@RobKellett
Sep 23 2014 13:35
but maybe we could pass in an IDataStore to Initialize or something
Emil Huseynaliev
@emilh91
Sep 23 2014 13:35
perhaps that can work
yeah I like the idea of moving IDataStore to .Core
Rob Kellett
@RobKellett
Sep 23 2014 13:36
alright
Emil Huseynaliev
@emilh91
Sep 23 2014 13:36
so implementations go in their own shit ok
Rob Kellett
@RobKellett
Sep 23 2014 13:36
:+1:
Emil Huseynaliev
@emilh91
Sep 23 2014 13:37
oh rob here's another things
and @mohammedh123 too i guess
Rob Kellett
@RobKellett
Sep 23 2014 13:37
hit me
Emil Huseynaliev
@emilh91
Sep 23 2014 13:37
what do you think about having a buffer between gambot and the outside world?
Rob Kellett
@RobKellett
Sep 23 2014 13:37
what
Emil Huseynaliev
@emilh91
Sep 23 2014 13:37
so rather than having a server started within gambot
we have 2 distinct processes running
one is the thin wrapper
that passes messages along to gambot, which sits behind it
so this way,
if we have to restart gambot for some reason, any messages sent to "him" are queued until gambot is restarted
Rob Kellett
@RobKellett
Sep 23 2014 13:38
:confused:
Emil Huseynaliev
@emilh91
Sep 23 2014 13:38
the messages will be queued in the buffer
feelz?
Rob Kellett
@RobKellett
Sep 23 2014 13:39
well
I really want gambot to be as no-restart as possible
Emil Huseynaliev
@emilh91
Sep 23 2014 13:39
:/
Rob Kellett
@RobKellett
Sep 23 2014 13:39
which is why pretty much everything is a .dll
Emil Huseynaliev
@emilh91
Sep 23 2014 13:39
:confused:
hmm
Rob Kellett
@RobKellett
Sep 23 2014 13:40
so, a buffer could be implemented
but I'm not sure how valuable that would be
Emil Huseynaliev
@emilh91
Sep 23 2014 13:41
hmm i guess
that way tho, the buffer is a no-restart
¯\_(ツ)_/¯
Rob Kellett
@RobKellett
Sep 23 2014 13:44
let's focus on getting gambot up and running for now
Emil Huseynaliev
@emilh91
Sep 23 2014 13:44
( ͡° ͜ʖ ͡°)
that is
Rob Kellett
@RobKellett
Sep 23 2014 13:44
the buffer seems kind of low-priority to me right now
Emil Huseynaliev
@emilh91
Sep 23 2014 13:44
the plan
Rob Kellett
@RobKellett
Sep 23 2014 13:44
ヽ(´ー`)ノ
Emil Huseynaliev
@emilh91
Sep 23 2014 13:44
alright
i will work on the redis warper
Rob Kellett
@RobKellett
Sep 23 2014 13:45
warper?
:kreygasm:
Emil Huseynaliev
@emilh91
Sep 23 2014 13:45
( ͡° ͜ʖ ͡°)
Emil Huseynaliev
@emilh91
Sep 23 2014 13:54
it's official.
i have mastered sticky notes
guess i'm putting that on my resume... under Technical Skills ( ͡° ͜ʖ ͡°)
Rob Kellett
@RobKellett
Sep 23 2014 13:56
damn
Mohammed Hossain
@mohammedh123
Sep 23 2014 13:58
ヽ(´ー`)ノ
:hibiscus:
@RobKellett asoei are weoidn gioc
brb getting cookie crisps
Rob Kellett
@RobKellett
Sep 23 2014 14:02
naruhodo
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:02
:wonderhi:
alright so
we using ioc?
instead of this static bullshit
static variables class my ass
Emil Huseynaliev
@emilh91
Sep 23 2014 14:05
fuck statics
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:05
FUCK A STATICF
Rob Kellett
@RobKellett
Sep 23 2014 14:05
no statics pls
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:06
alright
do you know the concept behind ioc?
Emil Huseynaliev
@emilh91
Sep 23 2014 14:06
GrandMessageHandler :envy:
Rob Kellett
@RobKellett
Sep 23 2014 14:08
don't fuck with grandmessagehandler
that's my shit
ヽ(´ー`)ノ
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:09
grandmessagehandler :sfacepalm:
i dont even know what its for
Rob Kellett
@RobKellett
Sep 23 2014 14:10
it's the manager for all imessagehandlers
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:10
you mean...a dispatcher?
Emil Huseynaliev
@emilh91
Sep 23 2014 14:10
why not ioC the shit out of it?
Rob Kellett
@RobKellett
Sep 23 2014 14:10
so it holds references to all active handlers and loops through them when a message is received
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:10
ah ok
oh
right
so i wante dto mention
that in a real scenario
you would have users send their gambot messages to a queueing system
Rob Kellett
@RobKellett
Sep 23 2014 14:11
god dammit
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:11
and gammy would pull things off the queue and does em
(amazon sqs, zeromq, etc)
Rob Kellett
@RobKellett
Sep 23 2014 14:11
we literally just discussed this
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:11
no
you were discussing buffers
Rob Kellett
@RobKellett
Sep 23 2014 14:11
no
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:11
im discussing the real life
Emil Huseynaliev
@emilh91
Sep 23 2014 14:11
( ͡° ͜ʖ ͡°)
Rob Kellett
@RobKellett
Sep 23 2014 14:11
:idk:
god gitter's ( ͡° ͜ʖ ͡°) is so good
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:12
yeah
anyways
regarding the ioc thing
so
the grandmessagehandler
this thing
Rob Kellett
@RobKellett
Sep 23 2014 14:13
my opus
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:13
...how were you planning on making it work with injected dlls
:wonder:
Emil Huseynaliev
@emilh91
Sep 23 2014 14:13
your anus
Rob Kellett
@RobKellett
Sep 23 2014 14:13
see AddMessageHandler<T>
inject dll, grab type, pass type to that
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:13
dude how am i supposed to see it
im at work
Rob Kellett
@RobKellett
Sep 23 2014 14:14
it's on github
:confused:
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:14
you cant prove that
Rob Kellett
@RobKellett
Sep 23 2014 14:14
:confused:
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:15
ok
thats fine
anyways
once it starts using ioc
oh fuck
hmm...
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:20
nvm its fine
basically instead of having that static class
we will have some class+interface
ivariablesomeshit i dont fuckig know
and the ctors for whatever need it
will include ivariablesomeshit
Rob Kellett
@RobKellett
Sep 23 2014 14:21
alright
do that
and get back to me
ヽ(´ー`)ノ
Mohammed Hossain
@mohammedh123
Sep 23 2014 14:21
ヽ(´ー`)ノ
Rob Kellett
@RobKellett
Sep 23 2014 17:56
now we just play the waiting game
Mohammed Hossain
@mohammedh123
Sep 23 2014 18:53
:based: waffle :based:
Rob Kellett
@RobKellett
Sep 23 2014 23:58
:soon: