« first day (2896 days earlier)      last day (2053 days later) » 

2:00 PM
AoT S03
Historia uprising
 
oooooh
nice
 
i read manga a lot before i have forgotten most of it now xD
 
there are a lot of mangas I want to read but I forgot to
 
what manga is it at currently?
100?
 
2:01 PM
Eric, Germany is warm, currently 25°C and more and sunny as hell. I might lose my pale skin...
 
25 sounds like temperature murat would love
 
I'm going to germany tomorrow for the weekend
 
nice
 
nice
 
beside that we are doing heavy work in the company to get some nice feature (at least as an MVP) shipped
 
2:01 PM
understatement
its 30°
 
depends, sun or shadow, in or out
 
shoes are out
 
there are a lot of mangas I want to read but I forgot to
 
ow
 
like?
 
2:03 PM
I don't even remember hahaha
Like... UQ Holder
 
xD
 
xD
wtf never heard of UQ holder
 
It's somewhat a sequel to Negima
Hmmm, this is weird
I got a class on my project on AS, and it's icon is telling me it's not a class, although it is one.
 
kotlin
 
Yes, but it makes no sense
my project is 100% kotlin, other fragments and activities are ok, this one isn't
 
2:17 PM
weird AS
 
Hmmm, got an e-mail from one of my apps
"We’ve identified that your app collects and transmits the Android advertising ID"
I blame crashlytics
 
warning from play store?
 
Yes
 
user443346
@Mauker My project is 100% PHP
 
I have to change it in 7 days or they'll remove it
 
2:20 PM
D:
 
I blame crashlytics [2] since I'm not using ads on the app
 
you have not updated crashlytics?
 
what do you mean?
 
updated crashlytics is compliant with new policy of playstore
 
com.crashlytics.sdk.android:crashlytics:2.9.4@aar
that's the version this app is using
let me check
Hm, there's a 2.9.5
 
2:22 PM
2.9.5 is the latest
but 2.9.4 is already compliant
 
weird
 
what is the complete email?
 
"Reason for warning: Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreement

Google Play requires developers to provide a valid privacy policy when the app requests or handles sensitive user or device information. We’ve identified that your app collects and transmits the Android advertising ID, which is subject to a privacy policy requirement. "
 
oh you dont have a privacy policy
that is all
just put up a privacy policy
 
Hmmm, I have one inside the app
But I guess they want a URL, right?
 
2:25 PM
yes
 
Ok, thanks CF
 
put that url in the play store privacy policy section
and you are done
 
"Service classes should not hold UI elements. Period"
This is coming from an example, is this incorrect?
 public class SnackbarUtils {

    public static void showSnackbar(View v, String snackbarText) {
        if (v == null || snackbarText == null) {
            return;
        }
        Snackbar.make(v, snackbarText, Snackbar.LENGTH_LONG).show();
    }
}
 
what does it have to do with a service
 
2:36 PM
Util class != Service class?
 
no
Util class == Util class
 
Sorry, guess I mixed up some things
 
you are mixing up android service with a normal service(whatever the heck it is)
 
android has components that are literally called "Service"
 
2:38 PM
^
 
user443346
Another Dutchie
 
user443346
Two is enough
 
i thought he was brazilian
 
user443346
With the name Bakker? Naah :p
 
user443346
Is typical Dutch name
 
2:41 PM
sounds similar to Mauker xD
 
@TimCastelijns Sorry about that, I guess I should have known
 
Oh right he is Maurico
 
@ColdFire Why Brazillian?
 
I actually meant to say this when I said not to confuse android with WPF
 
2:42 PM
!cf[0]
 
sigh
 
@MwBakker sounds similar to Mauker so xD
 
Mauker is not his real name though
 
lol
 
Yeah yeah
 
2:43 PM
Mauker is my nickname for years now, but not my name
I'm more used to ppl calling me by mauker than by anything else tho
 
its Mauricio right?
 
Right :D
 
I come from a time where CF went by his real name
 
@TimCastelijns I knew you'd be coming back on that one haha, it's tough to go through mvvm android when I just figured WPF MVVM. Mixing things up is something I feared to do
 
user443346
I really want some frikandelbroodjes :/
 
2:44 PM
not many know it
 
When he was Hot Water?
 
lol
well all those who are in fb friend list know it xD
 
@Jordy Where are you from?
 
xD
 
altho adam forgets it often
 
user443346
2:45 PM
@MwBakker Frikandellenland
4
 
@ColdFire "Who is this Ankit fella again?"
 
reminds me no adam's rant of trump in days
 
@Jordy That is a verdomd good case
 
nice jordy
 
tho i havent login in days on fb
@Mauker the one who knew about the keystore lost thingy :D
 
2:47 PM
lmao
Adam be like: 👀🔑🏪
 
have you seen the adam's post " I just want the Indians to lose?" on fb
that was epic xD
 
lol I missed that one
Mark Mauker on that
 
he edited it tho :(
 
oh :(
Hey @Tim, I see you're sorting things out
6
 
its pretty old sorting algo
 
2:54 PM
Are you telling Tim's older than Carl?
 
just few years after tim came into existance
 
uh oh
 
@Mauker no that is impossible
user image
2
 
gota keep that meme for dating apps.
not gonna land me a date, but atleast i'll laugh.
 
xD
 
3:00 PM
lol
 
Haha
 
time to go home.
 
cya
 
bye~~
 
@CptEric I once asked a girl if she recently went through a chemo, because she was -shiningly stunning-
 
3:01 PM
@Jordy i watched a funny bollywood movie clip i wish i could have shared it with you but its in hindi
if you could find a english version of hera pheri do watch it xD
 
o/
 
o/
 
Hiya Adam!!!!! :D
 
user443346
@ColdFire Always up for bollywood :D
 
its not in english man
 
user443346
3:07 PM
I speak fluent hindi
 
speak one sentence
 
user443346
Gutenmorgen
 
user443346
Wir gehts?
 
that is german
 
user443346
Oh
 
user443346
3:08 PM
My bad
 
lol
 
namaste prins
 
user443346
In that case: I don't speak Hindi
 
prince**
 
go back to elementary school, your writing in hindi is very bad
 
3:10 PM
well first prins isn't a hindi word also that script is not hindi
 
you're probably right, raajakumaar
 
its raajkumar
oh google translate translates it correctly in hindi script but wrong in latin script xD
btw hindi uses the devanagari script
 
we know that
they teach some hindi in NL schools
because of all the immigrants
 
are you kidding or for real?
there are lots of indian in NL Tho
damn i could take a job in NL to teach hindi xD
> I have an Indian boy friend , hence want to learn his language , I am a beginner . If something is possible in one yr time frame .. Teacher should be professional and realise that I am totally new to the language and need some good help.
xD
 
> professional
well damn. Maybe you can do something else?
 
3:22 PM
😂😂😂
savage XD
 
huh poor joke
 
not sure
it was worth 2 messages from me, including an "XD" and 3 "😂"
 
user443346
@RaghavSood You scared away the "IM SO SMART AND MY TEACHERS ARE DUMB" guy
 
3:35 PM
o/
 
3:46 PM
GOOOOD MORNING @W0MP3R !!!!!!!!
 
HIYA CARL!!!!!!! :D
 
How is it going???
 
I'm ok
got a lot of work done yesterday, it was good
even though it was in Kotlin
 
o/
anyone plays LOL here?
 
3:56 PM
@CarlAnderson Don't you like Kotlin?
 
cool new kid in town
 
Time to go~~
Cya people!!!! :D
 
cya WOMP!
@Mauker at this point in my life I would be ok not having to learn yet another programming language. Kotlin is fine. It's got some interesting features and after getting into it for a bit it feels like a decent language. It has some danger to be easily obfuscated (aka perl), but overall seems like the right direction.
 
cya womp
 
4:15 PM
Gotcha
 
4:28 PM
posted on September 20, 2018 by Android Developers

table, th, td { border: 1px solid black; } td { width:100px; } Posted by Jason Woloz and Mayank Jain, Android Security & Privacy Team Our Android and Play security reward programs help us work with top researchers from around the world to improve Android ecosystem security every day. Thank you to all the amazing researchers who submitted vulnerability reports. Android Security Re

 
I have acquired cereal
 
@RaghavSood Skynet explain yourself: twitter.com/nowthisnews/status/1042806339985072130
 
Web crawling only takes us so far
We must crawl the world
 
4:44 PM
xD
adam have you written about the elvis operator in kotlin?
when you are gonna write about the cool stuff in kotlin
 
4:58 PM
o/
 
o/
 
o/
 
o/
 
what plugin do you guys use for unit testing code coverage ?
 
5:18 PM
o/
 
o/
 
5:39 PM
@Mauker underrated pun right here
 
5:54 PM
yo guys, is there a way to add a gradient background on a MaterialButton?
 
oh coool
i found the operator a nice feature
+1 nothing is more java than this line - Runtime runtime = Runtime.getRuntime(); — BRampersad Oct 23 '11 at 23:40
4
 
2
A: How to generate code coverage reports for Android unit tests

NixSamI've founded answer here https://stackoverflow.com/a/23965581/1775228 Basically, you add to your gradle file: debug { testCoverageEnabled true } and android { jacoco { version = '0.7.9' } } After that run ./gradlew createDebugCoverageReport in terminal and report wil...

Have you guys used it? or something else ?
> ./gradlew createDebugCoverageReport
 
6:10 PM
I am using it and it is still a nightmare to set it up
 
how it create coverage without running unit test ?
 
it shouldn't
unless it is the pure jacoco.exec binary to html report job (not sure)
 
yep
i am still not sure how it create coverage report by running this command only ./gradlew createDebugCoverageReport without running unit test
> After that run

./gradlew createDebugCoverageReport
in terminal and report will be generated in

/build/reports/coverage/debug
 
well you probably still have a binary testresult in your build folder
 
ah ok it decides from the last test result
gotcha
 
6:17 PM
Just a guess but it sounds reasonable to be your problem
 
It is hard to achieve 90% code coverage, architect restricted in the CI/CD to cover 90% test coverage else you can't merge your feature branch
yep I agree
 
90% is not trivial but not hard. Hard would be 90% on all code branches too
 
yes you need to take care of statements, functions, branching
branching sometimes a mess
 
@DaveS ikr
 
I bet @AdamMc331 would agree
 
6:22 PM
i dont understand why people force to write unit test using junit not roboelectric
 
I learned from the best
 
to start with I would go with 50% so everyone gets used to it and increase over time the percentage
 
fair enough
 
code coverage is purely method count, right? like if I had a class with 10 public methods, I would need a unit test for 9 of those methods to achieve 90% coverage?
 
line count
 
6:26 PM
how does line count work?
 
by code execution
 
cover each line of code, even though if it has branching
test branching too
 
not sure I follow, how would a tool detect that?
 
JoCoCo plugin generates a report
 
it detects if the line of code was reached or something? eg it runs the tests once to determine that?
 
6:28 PM
I think it generates a HTML report
 
they do bytecode manipulation
for example there was/is (unsure) a bug where with codecoverage = true your debugger starts to misbehave because if fails to show you local parameters and variables. Iirc it was caused by jacoco adding a parameter to all methods but messing up the parameter index or so while doing this
Details about how jacoco works are publicly available
 
oh wow, looks like I have some reading to do
 
Warren do you use JUnit or Roboelectric ? I don't understand why people use JUnit even you have nothing which need real device to test like GPS, open gl, camera stuff
 
Junit
There was once a very very good talk about what to test and what not
 
I need to read JUnit, never done
 
6:35 PM
and basically the argument: If you use robo, you test a reimplementation of a framework you can't change. So instead you should test your code
also junit is way faster
 
good, have to go through once
 
7:32 PM
cya guys
 
see ya
 

« first day (2896 days earlier)      last day (2053 days later) »