« first day (2757 days earlier)      last day (2416 days later) » 

10:00
@TimCastelijns can you give me a couple of heads up on unit testing? We got a tester in our team now and he's writing unit tests atm for Android. Like are you supposed to use Mockito to get around dependencies / using Context?
if we're talking ides, atom ftw
VScode!
how is he writing the tests? Didn't you write the code?
never realised how bloated android studio is until i tried atom
10:03
never realized how slow was atom until i tried VScode :D
i bet you use spaces too
weirdo
and that's not a joke: really, atom is damn slow on my mac mini and my pc
i enver turn my computer off so not sure
i use whatever the ide has as default. i don't have time for religious discussions :P
im almost tempted to try vim because i use the terminal alot
but that's a dark road
10:05
@TimCastelijns I did, I got some unit tests but he's wanting to write some more
user443346
Oh guys, big chance I got hired at new job
Congrats!
Well actually... I'll wait until it's confirmed
Where's the job?
Pizza tester
dream job
10:07
Ah fuck
I forgot to buy pizza
@MarkO'Sullivan why? The code is already in production right
@TimCastelijns to help with regression tests
Ideally we want to have automated tests where it goes through a ton of different tests before our tester has to go through and physically use the wristband / apps for BLE tests / other integration tests
is the tester a different person than the person writing the tests?
10:10
mark puts fake wig on ~"no, señor".
The testers are users
@MarkO'Sullivan Basically a CI pipeline
so he is writing tests but he doesn't know how it works? Just wanting to clarify the issue
He's going through the code base
That's not the issue, the issue is how to get around the dependencies in Android
10:12
any components in particular you are testing?
There's a ton of my code which uses Context or some other dependency and so I have no idea how to unit test that
time to take 6 weeks to rewrite this app to use DI xD
lol eric
You're joking?
You can't unit test without DI?
I thought you could use mockito
10:14
you can test without DI
it's just 600x harder
note that my testing knowledge is fairly limited, anything I say may be false :P
assert tim
there, i fixed it.
can you give an example mark
user443346
@MarkO'Sullivan Zwollywood
a class you want to test
Android testing is a bit different
10:17
@TimCastelijns how would I go about testing Retrofit calls?
what aspect would you like to test
What happens when certain codes come back, on request time out, wrong POST info sent, etc
I recently did this myself to test response status codes and body, after googling for 3 years I ended up using information from this post stackoverflow.com/questions/35748656/…
user443346
I need weekend
@TimCastelijns so a mocked server seems to be the best approach?
10:20
the gist is to use a mock webserver from which you create the <..>Service.class, providing control over what the calls should return
yes. Don't think of it as something complex. It's just an object that returns some response you provide when X call is made
also "best" - it worked for me
I'm guessing a lot of stuff which would be good for us to test is networking / realm related stuff
o/
Sup nerds
though I'm guessing
it's up to you what is critical enough to the app that it should be covered
For AlertDialog, setNegativeButton(. ... . --> dialog.dismiss()), does presenter need to interfere here too? just to close the dialog?
10:24
you'll find that the more separated the logic is, the easier it is to test
@rupinderjeet it auto dismisses
if presenter wants to know when dismissal happens you can tell it, otherwise not necessary
Unless you turn it off
I think you all should use golang, it's very testable
ok thanks.
10:28
You're welcome
@TimCastelijns yeah I'm thinking a lot of my code hasn't been written in a way where I've got loads of unit testable code
it is the only downside of the MOS pattern
Today, I was helping someone about android, and he kept asking questions. Again and again. Very obvious ones. I felt irritated. But..
I do the same to you guys, especially to tim
this gets tough, but thanks to all of you.
@TimCastelijns some would say it's a positive, enables faster rapid prototyping
10:32
can't argue with that logic
MOS pattern¿?
Best Subreddit -> reddit.com/r/Ooer
@MarkO'Sullivan lol
Mos is do it like you want pattern
10:45
@ColdFire no that isn't the MOS pattern :( it's do it like how I would want you to
Well then it's cf pattern
CPT pattern it is then
i'll just fork your code style repo
and rename it
w@ m8
CF pattern = delegates everywhere and all classes subclass from class Lackey. Delegate all work to lackeys so you don't have to do anything yourself
user443346
10:51
4 hours untill weekend <3
1h 10min until weekend
I wonder if I could ever do a presentation and somewhere within it mention architecture patterns and include MOS in it
It's weekend
I managed to include it in a Reddit post which nobody pointed out
if @AdamMc331 can talk about coffee brands you can talk about MOS
10:52
I did
> I can't be the only developer out there who feels a bit overwhelmed any time they hear of a new app architecture pattern? There are tons out there and what proof is there to know which one is the best? MVVM, MVP, MOS, MVC, MVI...
Top rated comment lmao
is there any node/weirdoframework thingie that takes pictures and counts people in them?
for demonstrations / street pics / etc
tensorflow objectify for node if it exists
your are into tensorflow now?
I wanna look into Machine Learning
but I'm doing Flutter atm
10:58
I have briefly studied it. I would use it to detect cat images posted in chat, for automatic removal
... it's a hard life
@TimCastelijns cat hater :o
you can use adam's kotdogornot for that
just makeit katornot
never heard of it
@TimCastelijns hmm what?
My flight is delayed by 3h I will fucking kill indigo for this
11:06
where are you travelling to?
To india
From?. flights delayed due to sand storms yesterday. Killed around 100 people
Rajasthan and UP mainly affected.
that'a nice country with less population and most places uninhabited by humans.
11:11
oops its no sand storm. its dust storm ndtv.com/india-news/…
dust?
as in.. house dust?
nope. street dust . its usually dry this time of the season
that would be sand right?
i thought so. news channels say dust storm.
yup it is sand storm.
Lol our new channels are joke anyway
Trash media
11:14
media is like that in most countries
Poor CF
GO enjoy your trip
Maybe I don't know about other countries media so I will give them benefit of doubt lol
11:24
my new gig -- ble app, may I rest in peace :)
you're working on that ?
awesome
ha ha ha
@netpork
Awesome netpork
11:38
Lmao awesome
More drama coming soon
I am curious who the user was tho
@ColdFire keep your calm bro. We have to flag messages like this
Hmm what?
I can't even curse airlines now?
@netpork working with BLE trying to control the beast that is BLE?
the twelve headed beast
there is a differnce between cursing and saying you're going to fucking kill some
11:54
Indigo is a airlines for God's sake
I cannot practically kill a airlines
Not with that attitude
you know what I mean
technically you can't either sake on god.
That reminds why does _ something _ also works for italics?
12:00
to combine and make bold italics
scrap that
no idea.
Can I hide R.drawable.logo in some class, and then, say SomeClass.getIcon(id) from presenter. For presenter, its just an integer.
The blog did bring a lot of outrage meta.stackoverflow.com/questions/366858/…
Yes abhi and rupin
Maybe I will get to write an article "the fall of SO" lol
12:05
Has the author spoken anything else on the issue, maybe clarifying his stance?
Jokes aside this drama is going nowhere for few days at least it seems
it's popcorn for days man
True
I just hope the site doesn't go the way where it can't be reversed
And it seems they are already going the wrong way :(
Particular words and terms triggered everyone
One thing they always ignore is SO is not only for US but the world
12:13
I think the "sexist" term was used because of the low female participation stat
@MuratK. OP just received the gossiping badge :D
user443346
I just had the best response from Team India ever.
user443346
Requested RDP
user443346
Got this as a response:
user443346
We cannot arrange remote desktop, but if needed we can setup VR with INFRA partners to collaborate with them for the details required in the citrix server.
user443346
12:23
:DDDDDDD
user443346
Seems noice, VR instead of RDP
lol I've had my dose of support guys this week
the prod is still down, and the guy asks me to fill a checklist, wtf XD
@Jordy tell them, yes it's needed, please do so
user443346
I replied: Do i need a google card board for it?
Abiding to the "Welcoming policy", do we have to even answer tutorial questions? Or direct questions found by a simple Google search
12:34
up to you, as long as you are nice and welcoming and don't scare away users that could otherwise potentially have clicked on ads
first day using an iphone
i def prefer android
how's your tutor?
Okay have you checked the IAT link at the end of the blog?
I don't have in-depth knowledge in psychology but it seems pretty stupid. I have two sides of options and choose a word in which side it belongs to.
The faster I choose one side, more preference I have towards it
13:10
@Jordy lol
13:25
@Ahmad what happened to op5?
user443346
@Ahmad Someone call an ambulance
user443346
Ahmad is having a stroke
140
Q: Curation and cynicism: Or why Stack Overflow sometimes doesn't seem welcoming

MachavityThere's been a lot of talk lately about the state of Stack Overflow, sparked by this blog entry that levies this charge Stack Overflow is intended to be an inclusive place where every programmer can participate. But it’s built on mechanics and norms that push people away if they don’t know th...

This is getting interesting
grabs popcorn
@netpork company phone
you are the master of changing companies, surely you can do it once more
13:35
people still answer "remove from collection while iterating throws ConcurrentModificationException" in 2018
LOL tim
xD
Lmao
Mehdi exactly that is the issue
People don't even Google stuff
O/
“Excuse me, code quality check time”
6
14:11
adorbs
@vincrichaud could you do that for me please if you don't mind. — Pramish Luitel 3 mins ago
XD
do my homework plx
LOL
14:29
Lol
user443346
Does hating cats gets me banned?
easy q
yes
user443346
Dogs > cats
user443346
Unless it's catdog
android developers can relate..,
14:41
Adam you wake up too late
reposting /r/ stuff
user443346
@AdamMc331 AS doesn't warm my PC, it warms my heart.
user443346
Ask your boss for liquid cooling
user443346
@AdamMc331 does that mean it runs your CPU so much that your laptop is venting all the heat as fast as it can?
@MuratK. I posted an answer to that question already. Not with complete working code, of course, but enough to point the OP in the right direction.
it becomes a serious problem for me because I don't have AC in my apartment
14:44
lol Eski
I could cook a steak on my laptop when I'm building a project.
me, either. Fortunately I am on the west side of the building, so direct sun is limited.
the macbook will throttle itself to keep from overheating
@Code-Apprentice If you were hunting for reps, that was the wrong question. Besides that I don't think that the OP had any intentions of being guided
@MuratK. I don't usually hunt for reps. If I'm in the mood, I'll provide guidance to one-off questions, though.
Yeah I understand that
but that is a question which should be trashed, but since that blog post everyone is going sissy
user443346
14:48
@eski Hahahaha uhuuuu, try opening flash player ;)
play say "carefully placed into the waste bin", trashed may offend some users.
user443346
Thrashbooks
@MarkO'Sullivan luckily we have a guy that is working on ble only. we support him with hugs and handkerchiefs on a daily manner.
@eski lmao so true
14:54
how did I say play instead of please...
15:08
@eski implicit bias... Smh :D
@netpork hugs and handkerchiefs? ... no counselor for him to talk things over with?
I'm seriously tempted to play with BLE now to see for myself why do you all hate it
you should see a therapist and get that self-hatred checked out
5
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Afternoon Everyone!!!! :D
@MehdiB. are you happy atm?
Cause that'll change dramatically when you starting using BLE
15:19
On a scale of 1 to 10, i'm at 4
I wouldn't recommend it
You'll drop to a -4
BACK
Eski XD
make it -6 if your BLE device is made by china team
we almost had a china team alert today.
15:21
or Samsung
nah samsung apis are simple, they work or they don't , there's no middle ground
15:34
I am not an Android developer... I am a Samsung developer...
yay~~
sup carl, sup emm!
16:03
Hiya Carl, Emm!!!!! :D
what's going on with everyone?
Sup carl
16:39
o/
17:05
heya, womp!!!
@Emmanuel Long time, no see
17:15
netpork! How's my favorite pig doing?
@ashutiwari4 you have access. Start by reading the rules and confirm you have read them before saying anything else
Hi Guys
hi
did you by any chance read my message to you?
Yup
and thanks for adding me to the community :)
17:28
did you read the rules?
I have read and understood the rules
(Y)
great thanks
I am running into a problmem
I am creating a lib which uses volley for network communication and main project also uses volley for network communication .. So volley is being packed twice
Is it possible to include volley just once and get used at both place
Any idea around it ?
welcome ashutiwari4, got a SO question for that?
no
Can you guys help me with it \
17:33
Just put a constructor that takes a volley instance as a parameter in the library
well.I say to help you help yourself, study a bit more about gradle and listing dependencies, esp when they are shared.
Any good resource you can share ?
Maybe I misunderstood the question I guess
You need further details?
I need a SO question that I can fight cold fire on for yummy delicous SO points
Could you put the details in a SO question and link it here
17:51
@SteelToe you have access. Start by reading the rules and confirm you have read them before saying anything else
18:12
@eski <3 legit life motto
@petey lol
18:29
o/
Tristan, I was talking about you earlier
I have read and understood the rules
Mauk Mauk what's up!
Got a new job :D
what about you?
18:31
Sweet! Where at?
Not much new
The company name is Verite
Link?
verite.org?
Awesome mauker1
Aww
@SteelToe thanks and welcome
18:43
lmao the one question I answered on the English StackExchange is randomly getting upvoted
3
A: "He cooked me a soup with a lot of hot oil"

Tristan WileyThis sounds like the phrase "in hot water" or "getting in hot water". The phrase means getting in trouble or getting someone in trouble depending on how you use it. The definition of in hot water is "In a difficult situation in which you are likely to be punished" Source - thefreedictiona...

I showed them utbully
DID THEY HIRE ME?
LMAO
idk, are you interested in moving to brazil?
18:46
Sure
:D
I remember when Raghav asked if you'd move to singapore
how's college?
are you interested in moving to mars?
Pretty good
and sure :)
18:50
Don't listen to him, nasa lies, the earth is flat
19:04
jk
19:30
user image
5
Gradle, why so fast?
lmfao
Mauk is ignoring my Facebook message :(
I'm not on fb rn
r15 is easier to disguise at work lmao
lmfao makes sense
But rn I'm waiting for the client to show up so...
 
1 hour later…
21:13
posted on May 04, 2018 by Lingfeng Yang

Emulator 27.3.0 Canary and 27.2.8 Beta are now available in the Canary and Beta channels, respectively. Changes common to both versions: Previously, we hardcoded all AVD userdata image sizes to 2GB. Now, we allow user data sizes under 2GB that are user-specified.Added support for alphanumeric SMS addresses.The Google Play Store is now enabled for Pixel and Pixel 2 device images. This is indica

 
2 hours later…
23:41
@Mauker how is the new job?
@TristanWiley I never heard that phrase before
Oh... the phrase in the title Is a translation

« first day (2757 days earlier)      last day (2416 days later) »