« first day (2174 days earlier)      last day (2766 days later) » 

11:00 AM
Some libs require initialization in Application.onCreate, they take a context there and use that for everything
maybe you can do that too
 
you mean instance and not using singleton or static?
like my networkwrapper does it?
 
@TimCastelijns what the fuck is with that question, I don't think she realises the purpose of SO. :|
 
@MarkOSullivan94 many dont
for many people it is dump any question site
 
if you initialized it once with a context, you do not need to pass one as a parameter every time
 
that is true ok i have to remember to clear it
 
11:05 AM
what do you mean by "clear it"?
 
if i initialize it with context i have to keep a global context reference , so i have to clear it means set it to null when app exits
 
Ok now I am interested: How do you know when the app exits?
 
ondestroy i will clear it
 
onDestroy in which class?
 
activity class
 
11:09 AM
ok and who tells you in that moment that the activity is not just destroyed because you started a new one?
 
that rarely happens now
 
1. "rarely" means it will happen and it will lead to problems
 
anyways i am only concerned about my activity because i have most of the things fragments now
 
*because
 
well you are right so scrap that approach also :(
 
11:12 AM
Let me tell you something about the application class: it exists as long as your app runs. So you do not need to set it to null at all. Because in the moment it is not there anymore, your complete app is not there anymore
 
I don't get it - whose Facebook profile was that
 
23 mins ago, by Tim Castelijns
http://i.stack.imgur.com/aofKE.png here you go mark
from that SO question
 
warren i think you are mixing it up
i was not talking about application class there
i was talking about the wrapper
i am aware of application class behaviour
 
ok and why in gods name would you want to deinitialize the wrapper?
 
that is so random
 
11:14 AM
i was concerned about only memory leak nothing else
 
if your wrapper is meant to be always globally available, there is no leaking
it is like saying that you leak the application context. Not possible
 
@Ahmad it happened randomly only
ok let me try that
 
WHY WONT AS STOP TRYING TO CONNECT TO GIT
 
restart cpt
 
for fuck's sake NOBODY ASKED YOU (AS) TO DO SO.
 
11:17 AM
my brain is not working today :(
 
i wanna kill AS
a precious 15s time is spent every run because he wants to use git
 
offline mode
see if it helped
warren you are right ,now i remembered that was activity context that i leaked once
 
Eric, 15 seconds for what? git is local, what does AS tries to do?
 
how can we stop running admob ad? for now, i am setting visibility gone and making AdView & AdRequest = null
 
11:33 AM
tries to connect to the git repo to publish :/
i just disabled it thanks to a SO answer
dunno what AS version control wants to do warren, i just want it to stop trying to.
think i got it.
 
you can also disable the plugin
 
@ColdFire you don't have to do that, because the context will be reinitialized when the app is started again
If you initialize it in Application.onCreate, I don't think it can ever be that that context is null
 
@TimCastelijns nvm that my brain was not working
too much thought going on
and warren rolled over me like a bad dream
 
Oh ok
 
You are welcome :D
 
11:38 AM
lol
Tim you can use warren's name to scare kids i guess
 
this deserves a poem don't you think? Like the one you made for me
 
haha true
 
I am not sure why, but I am laughing like hell at this
 
lol
 
11:44 AM
lol
@rupinderjeet47 tell me a nice anime series and short need to cool my brain down
 
dragonball z
 
wow so short
 
I would love to see Amazon Prime streaming that one...
 
i can watch dbz in probably 10 days
 
that's impressive
doesn't it have like 1000 episodes?
 
11:49 AM
There is also Dragonball and Dragonball GT
 
and db super
new one
 
291 episodes on DBZ
 
I only liked Z
 
the originals are great as well
 
dragonball was superb
 
11:50 AM
GT is unknown to be and the new one is ugly as fuck
 
z was awesome
gt is shit
 
I dislike Gt because of pan and mini goku
 
super havent impressed me yet
 
some parts are cool, like vegeto etc, but main characters are bah
 
with all those god and stupid fucking red god saiyan
 
11:53 AM
:)
 
@ColdFire try Haru Ride(aka blue spring ride) I have japanese version. and i think it is better than dubbed one. subs are great.
12 episodes.
 
\o/
 
college life. etc etc emotional
 
that is what i was looking for
12 episode are nice i can finish in 4 hours
 
hope you like it.
 
11:56 AM
Have you seen sword art online CF?
Good reviews, and also reasonably short
 
yes very nice anime
i have read all of its novels
also
 
What did you think about season 2? I started it but never finished it because so boring compared to season 1
 
yes season was kinda boring
season 1 was awesome
season2 made it a ordinary anime
i like the VR tech
 
Yeah I guess the story of 1 is just so much more appealing, because deep down inside we are all hoping that will become reality in the near future :p
 
have you watched Monster, this is my second favorite after Berserk. Its about birth story of villian(doesn't have super powers, just a human). 73 episodes. worth watching.
ranked 36.
 
12:06 PM
For all of you who are at the office 8 hours a day, how much do you actually spend actually working?
 
2minutes
might be less
 
@TimCastelijns yes that is why
@TimCastelijns an hour
 
Excellent, that makes me employee of the month with me 4 hours
 
haha
i am just wondering why google made getting string and any damn require context and if they why isn't there any inbuilt method that does that without taking context
ios dev doesnt have to deal with this context crap
 
context is consuming so much time
 
12:16 PM
Just abstract it away with a class
 
like how Tim?
 
like Get.string(R.string.text)
Get is a class that has a context already
 
@ChandreshKachariya sorry but you need at least 80 reputation to talk here
 
Tim, awesome (about the post)!
And, good morning, folks!
 
:) hello
 
12:20 PM
hey hey cM!
 
good morning CM
 
morning!
 
What's on the agenda today, cM?
 
complain about fragment and BLE i guess
 
BLE is the devil
 
12:30 PM
Nah already using butterknife
 
how is that easy ^
 
yes butterknife FTW
 
Tim, not really sure. Lol
@ABC you need 80 rep to talk here. room-15.github.io
 
@ABC I already rejected you. Then cM did. Banned.
 
Damn I was too late :D
 
12:37 PM
cruel raghav
give him last warning
 
not cruel, just fair
 
1 warning is enough
 
Tim cruel as ever
 
we stated the reasons for the rejection, he still didn't care, was rejected again, still didn't care. Bäm (like we German say :))
 
You need to work on identifying what is sarcasm and what isn't :P
 
12:39 PM
Besides the facts that he apparently didn't read the rules at any point and most chat messages were posting questions or asking for help
 
sarcasm is a friend :)
 
@TimCastelijns i mean cruel there
 
We can work on his sarcasm. We broght TLN a long way on that subject. :)
 
TLN?
 
Speaking of, wonder where he's been
 
12:41 PM
ohh naruto you mean
he has his own group
 
yeah the little one
 
The Little Naruto
 
he comes sometime here
 
He used to be a regular
I'll have to hunt him down and have a talk with him :)
 
@codeMagic link of transcipt would love to see that
come in this room then @codeMagic
 
12:43 PM
I don't really have a particular conversation
I just used to mess with him a lot and he never knew when I was joking (language/cultural differences). Kind of like you :)
But he started to learn. Ha
 
well i know when you are joking it was you who didnt get that i was joking
 
Ok ;)
 
cultural difference true
pretty far different cultures
 
this 'reverse psychology' is too much for me to handle
 
reverse psychology?
 
12:45 PM
cultural differences AND language are big sarcasm barriers
 
Haha, Tim
 
its the reverse of psychology
 
sooo
 
wow rupinder
 
what's the reverse of mind?
 
12:46 PM
rup knows what I mean
 
body?
 
never mind
 
reverse of mind is: reverse-mind
 
bodychology? sounds like a weird skin product
 
12:46 PM
dnim is cool
 
"get your second bodychology bottle for 0.99 less!"
 
lol
 
how do you find the root of all your problems? problem*problem.
wait how do americans pronounce the * thing? @codeMagic i'm intrigued.
 
asterisk
 
12:50 PM
x+y = ex plus ey -> x*y =
 
x times y
x multiplied by y
 
no small form?
sounds too long.
 
ey ?
ex?
 
e(x+y)
 
12:51 PM
'times' is no longer than 'minus' :)
 
e is tim's contant
 
lol
 
:I
 
Yeah I am 2.7
 
2.7?
 
12:51 PM
e=2.7
 
sounds weird, sorry.
 
his value.
 
eric how do you pronounce that then?
 
@ABC Just in case you're still around, 4 upvotes, all right after I banned you, pushing you over 80 rep, is highly questionable
 
ABC seems to be a solid 5/7
 
12:52 PM
"per" in catalan, "por" in spanish. diminutive forms of "multiplicat per", "multiplicado por".
that mean " multiplied by"
 
we say gunila is hindi
 
They all happened literally at the same minute as my message
 
I'm not a native english speaker, but I'm fairly certain 'x times y' is as short as it gets
 
yes true Tim
atleast AFAIK
 
12:55 PM
so "x by y" is not accepted then?
 
nope
 
:I
 
what about x into y?
is it accepted?
 
both make no sense
'by' by itself has no meaning
 
@TimCastelijns what is your native language then ?
 
12:57 PM
dutch
 
wow i thought it was english
 
I also know 3 german words and 1 french word
 
i know maybe 5-6 japanese words
 
together, we can make anyone understand us
 
anyone here using firebase crash reporting?
 
12:59 PM
neither does "per" or "por" in spanish, @tim. it's just... we shorthand "4 multiplied by/for/to 6" to "4 by/for/to 6"
 
me warren
@TimCastelijns haha
 
Do you know if I can "hide" crash reports like in the developer console?
I would like to mark them as "solved" or so
 

« first day (2174 days earlier)      last day (2766 days later) »