« first day (3182 days earlier)      last day (1755 days later) » 

12:46 AM
Oh hi all
 
1:01 AM
@TimCastelijns oh shoot i missed this
wait is that regarding the slack message?
why what did i miss :0
 
 
1 hour later…
2:09 AM
ooooo temp scorchin me here
and its 9 o' clock
@JBis whats it like over there
 
2:55 AM
Wiguna R requested access. Rep: 92 - Questions: 7 - Answers: 3 (ratio 4:1.7)
 
 
1 hour later…
4:02 AM
kelvin requested access. Rep: 36 - Questions: 1 - Answers: 5 (ratio 4:20)
 
 
1 hour later…
 
2 hours later…
7:18 AM
OrdinaryDraft requested access. Rep: 522 - Questions: 19 - Answers: 10 (ratio 4:2.1)
 
!accept
 
@OrdinaryDraft welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
I have read and understood the rules
Morning all.
 
welcome
 
wc'
 
7:46 AM
o/
 
o/
 
mehdi which mehdi are you on discord
 
Actually none/both of them, I didn't attach my email address so it recreated a new handle, I get to the office and will attach my email to Mehdi B if it lets me
 
what is the discord server for this room?
o/
 
we don't have a discord server
 
8:00 AM
why
 
haha fooled you discord.gg/qxe6dEk
note we are just messing around there.
 
8:11 AM
cool
thnx
oh no.. you are the owner of that room :O
 
nerds
 
murat I made a vid of my daily workout, need some people to judge upon it
 
Good morning everyone. :)
 
share it
 
cool, gimme a sec
 
Getting blank space at bottom of RecyclerView and not getting what could be an issue with that
 
@MwBakker indeed. What is your rank?
 
I.. no rank
 
8:23 AM
what the fuck.
 
should I click or is it nsfw?
 
I am not sure
 
@MwBakker no, you're "peasant" :D
 
> as the answers show your code is irritating
XD
 
8:30 AM
So sad
I got a peer pressure badge
 
congrats for the shiny badge
 
@MuratKaragöz I'm positive that the error is not produced by the shown code
 
With WeakReference you code literally sits on a thin ice
 
user443346
This guy reminds me of Tim
 
Any code working depending on WeakReference says to GC, "Hey I am right over here, whenever you need to do you work, just take me out." And then any other classes module depending on the garbage collected objects say, "Look how they massacred my boy". GC could happen anytime which is why 'extra' precaution must be taken before using a WeakReference
It's not a bad solution or the best one, to me it is more like a hacky solution
 
It will be removed when there are no more weak references
 
real programmers use only strong references
 
And I used it for AsyncTask too whenever I needed to pass a context
Otherwise e.g. it could happen that the Activity never goes into onDestroy
 
8:44 AM
It works, but it definitely is not the solution to solely rely on. You would have to perform null checks and handle nulls accordingly
 
what async task would one need context for?
 
given that context, what is the solution to rely on, taseer?
 
For example to get resources
 
ah from database for example you mean
btw anyone seen the riots in israel about a killed robber? Imo if you rob someone it's at own risk..
 
For the given problem, I would go for fetching the resources in Android lifecycle classes. Another solution could be(never tried it), I would create a fragment class, set retain instance to true to it survives config changes. Create a public getMyResources() function that return activity.resrouces object
Then in post execute I would access the resources
Idk how good it is and never done an approach like this
 
9:01 AM
every solution involving asynctask is ass
 
On top of that, if you code your async task in a way so that it outlives it's activity, then there is a problem with you
I used to use them a lot, I don't remember the method to check the state of current activity
 
user443346
Left is PHP
 
user443346
Java is right
 
absolute mad lads
 
9:15 AM
o/
 
wtf is touch mode
> Sets the currently selected item. If in touch mode, the item will not be selected but it will still be positioned appropriately.
oh it's not listview specific
 
nvm
oh lol
 
If I put my laptop on power save it says, 2 hours 30 minute remaining, on balanced it says 3 hours. what
 
Saving power takes a lot of energy
 
nice paradox
 
9:21 AM
xD
 
9:33 AM
Actually, Edge is a really nice browser
Especially for opening.epub files
 
@TimCastelijns What is wrong with people answering with random stuff stackoverflow.com/a/56866476/4467208
 
sheer hunger for points
btw "I have import static androidx.core.graphics.drawable.IconCompat.getResources" 💪
btw good job on getting all those answers deleted, I also voted to delete the current one because it's bullshit
 
10:00 AM
Since I stopped caring that much about reps, I started downvoting way more
 
nice, I went through the same, but a while ago
 
nice, I was the victim of downvoting
 
there are always 2 sides, maybe the network was victim of your posts
 
I wish if we could exchange SO points for bit coins
I would have made $5,877,204
 
This was the most starred message last year on this day:
Jul 3 '18 at 6:52, by WarrenFaith
Just in case someone is looking for a job as a Senior Android Developer in Berlin -> my company is hiring!
 
10:16 AM
I like how he puts himself into the front
asserting dominance
 
who?
 
Taseer, I guess Murat is talking about Mr. WarrenFaith
 
mr warren lol
 
10:51 AM
update to my DHL story
its arriving tomorrow
 
Delivering Hectic and Late
 
1 month 13 days
and its like 2hr flight from serbia to germany
@TaseerAhmad dont use asynctasks, ever
there is just no proper implementation with asynctasks
 
I used to, I have tasted first generation of android development before moving to 2nd gen
 
@TimCastelijns hahahaha
 
@MehdiB. , How are you bro?
 
11:02 AM
Good noon Fellas..
So I guess people have started learning Kotlin..
 
@RakeshKumar good, thanks for asking, how are you?
 
its on Coroutines vs Java threads
 
I am good bro
 
11:04 AM
I am getting strange issue
 
I always thought that Google would force Kotlin through our heads.
 
@MehdiB. , check this https://imgur.com/a/yGNJxEp

Getting blank space at bottom of RecyclerView and not getting what could be the issue with that
 
@RakeshKumar what happens if you set the height of the RV to match_parent ?
@murat you on discord yet?
 
11:08 AM
@MehdiB. bro, I already tried by giving android:layout_width="match_parent". But It didn't work
 
my spanish ex gf suddenly asks me to come with her to berlin
 
@RakeshKumar bro, did you try: layout_constraintBottom_toBottomOf="parent"
@MwBakker ooooh that's good news
 
Apologies, I am asking this question again as I have asked this question above. Coz, I got no reply from no one
 
@MuratKaragöz interested?
 
nah, I like it here
 
11:11 AM
@MehdiB. well if I come to berlin I ofc also wanna meet you guys but it's a bit strange she asks me out of the blue
 
@MehdiB. bro, CoordinatorLayout is the root layout
 
why do you have fit system window flag on RV?
 
The layout works out, that's why
 
@TimCastelijns bro, It doesn't work, If it is removed
@RaghavSood , Welcome back bro, haven't seen you frequently here
 
Yeah, I'm temporarily in India, bandwidth here sucks
Can barely coordinate the swarm, no bits left for chat rooms
 
11:21 AM
what doesn't work
 
Too much hot these days here
 
@TimCastelijns Democracy
 
bro, that blank space remains the same by removing that that tag
`android:fitsSystemWindows="true"` at their bottom
 
but why do you have it
 
@TimCastelijns bro, I have added that in hasty. It might have inserted there. I have tried also on google about that space at their bottom and try to inspect that layout by Layout Inspector. But couldn't remove that blank space. :(
 
11:29 AM
o/
 
11:52 AM
@RaghavSood lol
 
@TimCastelijns Some people made some bad choices 62 years ago
 
12:50 PM
o/
Morning everyone!
 
morevening.
 
you guys have to start doing kotlin
 
google also said it.
 
im in love with kotlin
i was against it ~2 years ago, but man
it makes my life much much easier
 
good, here, more work for you then :D
 
12:58 PM
Now only left is to embrace databinding
 
I have worked on kotlin project only once upon a time and since then have not started work on kotlin, Only java
 
im ditching arc navigation, possibly view models as well
gonna do my framework stuff in pure C
also fyi
check this out
 
@IvanMilisavljevic how will that work
 
probably not at all :d
question: Do we need anything from view models for coroutines or livedata?
any kind of ViewModel scope or something?
 
1:14 PM
no, they have a builtin coroutinescope nowadays, but you don't need it
 
that settles it then
 
Don't we all use Kotlin now
 
i guess not, there is people still on java
No more ViewModels for me
 
We should add that as a new room rule lol
Anyways, I have some cool news to share!
I will be speaking at droidcon London in October! Come meet up with @MarkO'Sullivan and I and hopefully others. :)
18
 
What is your topic
 
1:18 PM
why do you have a legacy profile?
 
for backward compatibility
 
^ I have no heckin' clue
 
also I closed the site because it is not secure, I don't want to get hacked
 
I'm talking about the robot pattern for maintainable UI testing
 
Congrats! :)
 
1:19 PM
Thanks. :)
 
@AdamMc331 , Great, Congratulations bro. :)
 
Am I allowed to pin this or is that too cocky
 
how much is it going to cost?
 
do you think it is more important than either of the currently pinned messages? If so then remove one and pin yours
 
I do think it's more important than "no"
but we could debate
 
1:21 PM
just do it
 
can you leave me the honor of doing it?
 
@IvanMilisavljevic Their website says 495 pounds but heck if I know how expensive that is I'm from freedomland: uk.droidcon.com
 
@AdamMc331 you can find some nice tips here vimeo.com/channels/1367759/266512108
 
@TimCastelijns Yeah I'm basically gonna plagiarize this persons work
@MehdiB. omg I'm so sorry I just missed this do you want me to unpin so you can repin lmao
 
@AdamMc331 hahaha no worries, I'm sure there will be a next time :D
 
1:23 PM
I do have another speaking opportunity next month actually, but it's not a droidcon so I don't think it's worth pinning lmao
 
got a link?
 
But I'll be presenting about architecture patterns at Android Summit hosted by Capital One! (Not to be confused with Android Dev Summit, hosted by Google)
2
Their schedule isn't up yet
 
nice, asserting that you are the biggest nerd in this room
 
@MehdiB. feel free to (un)pin any message you like. I try to keep pins at a max of 2 but feel free
 
That is a title I am very proud of
 
1:25 PM
@AdamMc331 Gonna talk about multi module DI?
 
No, I'm staying out of the current DI arguments lmao
 
@AdamMc331 hope to see others from Room 15 there! Ed will be there too I think
 
@TimCastelijns thanks! I think 2 is the right number so there is enough room for quality jokes :D
 
I'm breaking down the differences between all the MV* patterns and trying to help people understand why there are so many and how each one builds on a previous one
 
wow nice
 
1:26 PM
am I quality joke to you guys? :/
 
Don't forget about the MOS pattern
 
I'll share the video whenever it's live. I tried writing it as a blog post once but... it would be very long
 
i would really like to see that, but USA is way too far
ye, share the link when its up
and ping me
 
Will do. :)
 
1:27 PM
yo adam
did you see the ping
 
@MehdiB. very wise words
 
tim wants his prize from you
 
@AdamMc331 that's a topic I'm highly interested in, so wouldn't mind reading a long article on the subject
 
adam check discord
 
@AdamMc331 congratss
 
1:28 PM
I don't use discord tf
 
@MehdiB. yeah me 2
 
@AdamMc331 cocky
 
@TimCastelijns lmaoo sorry I missed this
 
@AdamMc331 plz do
 
I love when CF catches up on chat and then pings me about every message along the way lol
 
1:28 PM
xD
 
@MehdiB. I'll keep that in mind! I like writing blog posts to go with my talks if I can, because it helps people who learn better from reading than videos (also easier to do at your own pace, no headphones needed, etc)
 
@AdamMc331 have you see plaid?
 
@AdamMc331 where are you going to chat when SO shuts down then
 
yeah write a blog
adam get on with the times its 2019 already , install discord
 
https://github.com/android/plaid
it should be google's opinion on how to do framework stuff on android
2
 
1:30 PM
Is there a room15 discord?
 
yes
 
I've heard of Plaid but I haven't looked at it yet. Thanks for the link!
 
I would really like to hear your 2 cents on it, i've tried to figure it out, but it has way to much ui stuff
 
oh nice indeed
starred
@IvanMilisavljevic 2 cents
 
1:34 PM
plaid is alright but half of the app is custom views
 
niceeeeeeeeeeeeeee then
where is mauker
 
yeah thats why i said its way to hard to figure out the actual architecture
 
summon maukerrrrrrrrrrrrrrr @Mauker
damn ivan and mauker icon looks identical
 
Mauker, plz.
 
1:35 PM
<3
 
!nm aettestup
 
this is the only pic of me thats actually normal, like ever
 
@MehdiB. I am not familiar with this reference.
 
!nm -help
 
o/
 
1:36 PM
@MehdiB. I am not familiar with this reference.
 
o/
 
o/
!nm
 
!nm
 
1:36 PM
a wild bear appears
 
So it will always repeat the same image ?
!nm
 
Hey CF
 
looks like it will.
 
it picks the best image out of a collection
 
1:37 PM
!nm shitting log
 
!nm -h
 
@MehdiB. I am not familiar with this reference.
@TimCastelijns Try !nm reference where reference can be any of the following: attestup,couples,cape,girl,funeral
 
sup graeme
!nm couples
 
I don't think I could find a clip of the shitting log scene
 
1:38 PM
xD
 
@ColdFire yoooooooooooooooo
 
oh here he is
 
user443346
500 POUNDS + VAT?
 
user443346
Hahahahahahahahahaahhahah
 
user443346
Sorry Adam, I rather buy something useful from that money
 
1:40 PM
Okay. So I have a problem related to architecture of the application. In java, we had checked exceptions, and the calling function itself knew what exceptions are to be handled. But, in case of Dart, it does not have anything like checked exceptions, and my application follows layered arch (or Clean arch), and has many plugins and other loose components. How should I handle exceptions ?
Almost every exception will get converted into a UI element.
 
That video is actually legit amazing. What's it from?
 
incoming norsemen promotion
 
Is Norsemen a netflix thing?
 
@Graeme Norsemen, the best tv show ever made
 
1:42 PM
Also, I tried using documentation for this, but then, each layer will have to explicitly mention the exceptions it can throw (which can be quite a list some times) and then, it kind of a repetitive thing.
 
@ZeekHuge hm
 
I will begin watching on Netflix soon
 
you won't regret it
 
!help
 
@Mauker You can find information on what I can do here
 
1:45 PM
@ZeekHuge catch them asap and convert them into 'domain models' that represent error state
 
Oh I forgot about Ahmad
!ahmad
 
I dunno man, I'm just an intern @ Xiaomi.
 
@ZeekHuge there is this peace of on the exceptions docks
Client code is not forced to catch for exceptions, so it’s up to you to determine when and how to handle potential errors.
 
That checks out, @Ahmad never left China after all
 
1:53 PM
@Graeme It's awesome. Very monty python-esque
 
Hey BB
 
Ey dude!
 
@IvanMilisavljevic: Okay. Makes sense.
 
how're you doing?
 
@TimCastelijns: I did think about that too, but thought its too much an extra work.
but, maybe thats all we have got.
 
1:55 PM
Not too bad, had a looong week though, had something planned every night since last wednesday up until yesterday... have a date tonight too <_<
wanting things to end so I can get high and play video games
and rest
How about you?
 
@ballBreaker nice for your date to look forward to xD
Finishing the last things and need to apply for jobs tomorrow
my first ex from spain messaged me out of the blue yesterday telling me she wants to go to Berlin with me
kinda odd
 
and tim called me a peasant on discord
 
the bot gave you that role when you entered, it was not my decision
 

« first day (3182 days earlier)      last day (1755 days later) »