« first day (2939 days earlier)      last day (2235 days later) » 

12:00
@RaghavSood I have a worse rep haha
Yes, but your q:a ratio is better
!stats MwBakker
Unknown command '!stats MwBakker'
Goddammit Tim
lol
@RaghavSood very interesting thanks for sharing
also fu samsung
@RaghavSood Is it? I dk
12:07
!stats mwb
Unknown command '!stats mwb'
I'm incognito
!stat mwb
Unknown command '!stat mwb'
eLi
eLi
12:35
Does it sound good to enable multidex in small project?
@bluetoothfx What problem do you mean?
@ColdFire you're too slow!
One question, anyone of you know why I'm getting the play store tab updated when I upload a new apk almost instantly but the app is not updated?
On Google developer console says : Updates to your app are usually available on Google Play after a few hours, although they may take longer.
But how long is it, I updated it like 8h ago
eLi
eLi
check ur app versionCode
to new one
12:43
@codeMagic you are too late
I changed it, for instance yesterday was 6
I update the versionCode to 7
And in Play store put version code 7
I tried again with version 8 and changed some text, but still with the versionCode 6
stats needs userId not username you plebs
Also I get form developer console this : Your update has been published

The update of the application xxxxx created on November 2 has already been published in Play Store. 2018 12:54.
But seems like only for the text
Not for the app \o/
publish does not mean it has completed rollout
Means Tim?
You mean that publish doesn't mean that the apk is updated?
eLi
eLi
12:48
@Skizo-ozᴉʞS rollout your new release
Weird... I don't know why it takes so long :S
The thing is that I installed the apk from /release bla bla and it works
And that's the same apk I uploaded to Play Store
So perhaps I have to wait a little bit more
Right?
why does it even matter how long it takes
Because it was an error on production
And I need to distribute the app again
And I can not do it until the app is published
And I want to be sure that the changes will go live
2
Q: notification.setOngoing(true) does not work in Android 8.1

Ashvin solanki build.setOngoing(true); build.setAutoCancel(false); notification.flags= Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT; setOngoing is not working if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { /* Create or update. */ _notificationChann...

eLi
eLi
@Skizo-ozᴉʞS you can create new release event if the first release was not yet published
12:54
That's what I did
Well I guess I have to wait
You just need to wait
It can take up to 24 hours
Yes, I'll do it
Thanks guys ^^
g\o\od morning!
tim i need appropriate answers
13:02
1 message moved to Trash can
Do not spam
fragmentation, customization and wizardry
@RaghavSood sorry for that sir
probably that phone has some kind of setting to configure that behavior
eLi
eLi
@RaghavSood hahaaaaaaaaaaaaa
@Ashvinsolanki I think we already talked about it. Some phones are just shit. Don't waste your time trying to fix an issue for every possible phone
13:05
i know that post answer it helps some one
post it yourself
nonono! I will!
I need that bounty!
I wanna see SO statistics!
> This Happens in Custom OS ? Like Vivo
Why do you even bother with custom roms
13:07
@RaymondArteaga post it i will grant the bounty
@MuratKaragöz ya
  static class insertAsyncTask extends AsyncTask<Storage, Void, Void>
How do I make Storage generic?
  static class insertAsyncTask extends AsyncTask<object, Void, Void> == error
webrama.pl requested access. Rep: 1281 - Questions: 61 - Answers: 30 (ratio 4:2)
done!
wiiiii!
lol
that answer
remove my statement from your answer
13:09
can I change Tim by someone?
@webrama.pl welcome. Please start by reading the rules and confirm you have read them before saying anything else.
@TimCastelijns can I ommit your name?
I think what you've told is useful
@RaymondArteaga awarding bounty in 16 hours
it's totally irrelevant
13:10
"Totally irrelevant" is also coincidentally an apt name for Tim
People getting into the android world must know some phones are -trash-
Done
Do you like it this way?
@Ashvinsolanki you don't care about what anyone else might have to say about it? You are satisfied with this answer?
@MwBakker Use T
InsertAsyncTask<T> extends AsyncTask<T, Void, Void>
Maybe someone will give a better answer
I didn't post it as answer because I don't think it's a nice answer, so no
13:12
sir i will wait for 6 days
But I'm pretty convinced that's a good answer
@RaymondArteaga Aah thanks I did InsertAsyncTask<T> extends AsyncTask<<T>, Void, Void>
And that gave an error as well, but it's just T
if ending boutiy and no one posted answer i will grant it to Raymond
@MwBakker replace <<T> with <T
I remember I spent 6 days trying to fix an nonexistent bug on a chat app. Android was killing the process, and turn out to be a phone customization to save battery.
13:13
"Cannot resolve"
works for me
Bro you have to use my answer
AsyncTask :astonished:
who is using that nowadays?
eLi
eLi
@RaymondArteaga o/
Those stuff makes your app a probiotic stuff!
eLi
eLi
13:16
@RaymondArteaga i didn't know before
(becouse of the bugs generation)
use coroutines
and kotlin
and google architecture components
:P
@MuratKaragöz Woops, you're right
I mistook something
6 mins ago, by Tim Castelijns
@MwBakker replace <<T> with <T
:( I said it
what you didn't know before?
13:19
Don't try to steal reps from me Timothy
But now the constructor of that class is invalid
Saying it is expecting some sort of return type
just let AS auto generate it
cursor on the class name and alt+enter
implement members
You need to make doInBackground also generic
you need to re-implement your overrides too
Time for coffee
13:27
nice
don't drink too much coffee... It will turn you darker
eLi
eLi
@RaymondArteaga Yes Raymond
?? Yes?
what you didn't know before?
I have acquired coffee
eLi
eLi
@RaymondArteaga I don't have an answer
13:35
an aswer for what?
the question
??
Am I missing something?
The question for me is what's the question
you need some emojis bro
The answer is the question
🤔 this one 🤔
13:38
Reprocessing history...
quick raghav delete it
still lost :(
-_-
Whicketty whicketty word up mortals
eLi
eLi
@RaymondArteaga why i didin't know before
but i have to blame my self
lol tim
word graeme
13:43
what you didn't know before?
@TimCastelijns But that wasn't what the problem was
I forgot the <T> at the end of the method name
Sup CF?
27 mins ago, by Tim Castelijns
just let AS auto generate it
eLi
eLi
@RaymondArteaga AsyncTask stuff makes your app a probiotic stuff!
That was a later issue, and that part did help me
Now I just need to figure how to get to know which class type I am dealing with
On Google there are not the answers I am looking for
13:48
usually you don't want to know that
    protected Void doInBackground(final T... params)
    {
        mAsyncTaskDao.insertStorage((Storage)params[0]);
        return null;
    }
In here I do
insertStorage or insertShelf
Whatever object comes through decides it
Use instanceof?
Or move to a language like go, which doesn't have generics
cries in large amounts of code
6
@Graeme nothing much working wbu?
I could also make an insert method for each of them
But that would produce kinda duplicate methods
Or, you make a Storable interface, which is implemented by Storage and Shelf. Then you cast the param to a Storable, and call .store(), and each implementation of the interface moves through to insertStorage or insertShelf as needed
Which might be wrong, since I have no idea about room or whatever you're using
13:54
Why would you want to cast it to Storage again
I imagine insertStorage expects a Storage instance
It could either be Shelf or Storage
@RaghavSood yes
This is what I want to achieve
instanceof is a pretty good sign of bad design btw
One moment
There are a few legit uses of it, but yeah, you shouldn't have it all over the place
13:56
raghav's suggestion with the interface is the only sane option
 protected Void doInBackground(final T... params)
    {
        if (params[0].class == Storage)
        {
            mAsyncTaskDao.insertStorage((Storage)params[0]);
        }
        else if (params[0].class == Shelf)
        {
            mAsyncTaskDao.insertShelf((Shelf)params[0]);
        }
        return null;
    }
That's even worse than instanceof
The syntax is invalid
doesn't compile
For one, I don't think it'll work. For two, I don't think it'll even compile
13:57
Exactly
Just sketching the idea what I mean
It does not compile
*.class instances are resolved at compile time, which won't happen here
I would say you should go the interface route
using instanceof or similar in a generic method is really counter intuitive. The point of generics is that it doesn't matter what the type is
@ColdFire Nothin
So you guys would create different static classes for each doInBackGround process?
no we would do as raghav said, with the Storable interface
14:01
Why do you think you would need static classes here?
@TimCastelijns ?
@RaghavSood Suggested in the Android tutorial Room with a View
8 mins ago, by Raghav Sood
Or, you make a Storable interface, which is implemented by Storage and Shelf. Then you cast the param to a Storable, and call .store(), and each implementation of the interface moves through to insertStorage or insertShelf as needed
"A set which is not finite is infinite" -> Sure glad I pay tuition for this
you don't even have to cast if you make the generic <T extends Storable> instead of <T>
I just don't understand this part
" and each implementation of the interface moves through to insertStorage or insertShelf as needed"
Ah
Wait, got it
14:05
Syntax etc. might be off, but it should convey the idea
Haven't written actual Java code in ages
eeeeek
Why you still cast it to Storage
Because I don't remember enough java generics to write Tim's extend suggestion out :D
But yes, do as Tim said, and you can avoid casting it
Might even be able to do Storable... params, not sure if that'll work though
It'd work in go :D
I never remember that shit either
Yeah, IDE always handled that stuff
You would not even need a generic for that
just use Storage as type
14:10
You mean storable?
Storage and Shelf are two separate types from his thing
yeah that one
Storable
murat generic god to the rescue
when would you use it though?
I mostly used to use generics for x of y (Collection<T> stuff), or in interfaces/abstract classes where params/return types needed to vary randomly
In a lot of cases though, interfaces and superclasses work just as well
Then again, every time I have to make such a decision, I'm never really sure if I'm doing it right
Maybe I just write a lot of bad code
If you planing on adding/reading stuff then you need the generic type
if you plan on just calling a method, just use the type
@RaghavSood Thank you very much
14:21
ok
cool murat
And thanks Tim and Murat as well
generics discussion finally over?
let's talk about type erasure
Let's talk about how I should have attended math class throughout the semester instead of trying to learn 15 different topics in one night
14:25
note to future raghav : should go to classes
type erasure is the bane of generics
14:46
The insert of a Storage / Shelf happens in a Data Accessable Object, which is an interface by itself
just focus on making stuff work now, architecture is a nice topic for later
Well
I might be wrong in order to make it work I see an IF as only possibility
There is only one DAO so far
yeah this seems a bit odd
also "shelves" is the plural
14:55
@RaymondArteaga About the right click thing, it was intel's chipset context menu fault
@TimCastelijns Damn
Refactor*
Dao is a very abstract name btw, don't name a concrete class that
It's good for interfaces ^
I have no idea what else to call it
Just don't go with "fooDaoImpl" :D
15:00
from the methods it would be a StorableDao, but it's odd that this class implements Storable
Maukerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
I can't work with the extending of Storable, unfortunatly
I think, usually each Model has it's own Repository but I am not sure
And it seems like extra code for something that is right now quite similair
Storable indicates that this is a class that can be stored. However Dao says this is a data access object class. It does not really go together
@MwBakker yes indeed
15:16
CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
15:26
hmmm CF is 207
background verification done. i have two offers now. one with 16% hike and another 50%
travel distance is 10 kms and other is 17kms. dam i hate travelling in my city. traffic blocks and the smokes from vehicles make me sick
I have 8km
any distance but travel time should be within 30-40mins
28km for me
travel time?
15:29
yes one way
so 56km/day, that's not negligible
yeah. if it was the same distance here it would take 2 and half hours one way
i would not take that job at all
28km
do you work in another city or what
@TimCastelijns ?
15:32
yes mehdi 2h travel time per day
that's ok. so 1 hr ( one way) is still reasonable.
damn...
@TimCastelijns 😄🔫
@ColdFire 14*16 - 1
15:33
we should ask tesla to invent a machine where we could hop to places in less than half an hour
clever
@Raghunandan that's actually his plan with the "Boring company"
@Raghunandan next level thieving
calculation is way off but ok lol
15:36
hehe
he actually started prototyping it, he dug a tunnel somewhere in the US
Last two employees quit because of 1h commute
how do you mange that timothy
yeah seen that on fb long back
soulless?
15:38
murat you should try travelling in any metro cities in india.
silently rage at retards on the road
😂
listen to radio, zone out, autopilot on, regain consciousness near home
how much is an acceptable commute for you murat? 30min?
sounds like you need a benz
30min is max
15:39
walk dog, cook dinner, eat dinner, clean up, relax for 2h, go to bed, repeat
but I am not using public transport
insert more walk dogs btw
if i had no car my commute would be over 1 hour
sounds like your dog is having a royal time of his life
15:40
lol
I lived 20min walking from my previous job
but it's not very agreeable to see the same landscape during and outside of work hours
Wouldn't it be cool if there was a machine that could perfectly 'break' all or molecules and transport them quickly
And at destination rebuild you
my dog chills/sleeps for 23.25 hours a day and walks and sniffs for the rest of the time
We'd immediatly discover if we have a soul or not as well
@TimCastelijns make it 24 hour
15:42
then it would be a cat
you mean dead
teletransporter
@MwBakker sounds like the serie "travelers"
I don't watch series ..
I don't have Netflix
😱😱
15:43
blocked
3
You need to cultivate yourself
I do Urbex, is that cultivational?
I just work from home :D
Also, turns out I need just 45% on this exam to pass
Sadly, I'm uncertain if I'll get that much lol
what class?
15:51
Discrete math
Not really a hard class, it's just super spread out, and covering all of it in one night does not seem ideal
not really hard is kind of implied when you only need 45% to pass
Well, to be fair, I wouldn't be much worse off if I'd slacked off even more
Since you need a minimum of 40% on the final to pass the course, even if you have 100% in everything else
that's a really low bar
Yeah, that's why I can still pass lol
You need 50% in the course, minimum of 40% on the final
posted on November 02, 2018 by Lingfeng Yang

Emulator 28.0.15 is now available in the Canary and Dev channels. This is a candidate for stable release. We will release this to the stable channel soon, and are actively seeking last-minute feedback before then. Please file an issue in Issuetracker if there are any problems with 28.0.15, and with 28.0.x in general. Changes:Fixed issues that could result in misleading reports of hanging.Fixed

15:55
If I get 45% or so on the final, I'll have enough for a C
Somebody here knows who's baroness Usha Prashar?
Wow! I googled it! She need my help to move some founds!
I send her my bank account number so she can withdraw the founds she need and I will get a juicy part!
nice!

« first day (2939 days earlier)      last day (2235 days later) »