« first day (2770 days earlier)      last day (2402 days later) » 

17:01
Agree
posted on May 17, 2018 by Todd Kopriva

Android Studio 3.2 Canary 15 is now available in the Canary and Dev channels. If you already have an Android Studio build on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on Mac). Otherwise, you can download it here. This update includes the following fixes: R8 parsing of ProGuard rules has been improved

@MarkO'Sullivan the long awaited canary 15
17:20
Ok later o/
17:32
woooooo
Carl!!
@Ahmad You around?
Waiting on the IT guy to remote in and install Windows for the 12th time because the first 11 times didn't fix my shit so this should work :|
cM
You still alive!
lol
he is alive
17:37
Barely
sup
how are the kids doing?
They are good. Keeping me busy with little league, gymnastics, and Cub scouts so that's good
do you make cucumber elephants for your kids?
I don't know what that means and I'm scared to ask
17:40
23 hours ago, by WarrenFaith
user image
Why would you ruin a perfectly good cucumber?
codeMagic!!
do you even know how to write Android code anymore?
I think he retired now that Google officially backs the one activity many fragment pattern.
Nope. But, let's be honest, did I ever really know how
Yuck
I thought about applying for one I just found around here
applying to a retirement home?
17:47
Supposed to be doing C# but none of my tools are working
That sounds like a good idea right about now, Carl
lmao
we also found out your SO gf
Welcome @EmanuelGraf. Unfortunately our restrictions on access prevent you from gaining access here due to your overabundance of Questions versus Answers on StackOverflow.
You can see our requirements here: room-15.github.io
wow that was very smooth
I noticed, CF :D
Kind of misleading, Carl
it was welcoming
we need to be nice in chat, remember? Unless I'm talking to you. Then I don't.
17:54
lol
yeah carl was kinda too polite lol
Aha, my CI build succeeds
Now if only I had more than 4 tests
It's a start
But isn't it rude to invite someone into your home but tell them not to speak?
lmao well carl isnt inviting, they are coming into his house in this case
True but he did welcome them
I think that post was more for rooms like just. We are a very polite bunch :)
btw how is your work going?
still stuck with c#?
haha
well none of the room have changed anything from what i have seen
only our room was concerned and did something
and some room like SOCVR
18:00
Sucks. Trying to do c# but, again, tools aren't working. Did a little react native recently which sucked
oh RN @MarkO'Sullivan is your partner in crime for RN
RN sucks i agree
I'm hoping to stay out of it if possible
yeah much better that way
18:16
BACK
Center
What's wrong with RN? I do ReactJS every day and mostly enjoy it. How's RN and ReactJS different?
the difference is that you're working on it. When codeMagic works on something it makes him grumpy.
3
lol
sigh raghav used his dup hammer on that
@CarlAnderson so you are saying that cM will find something to complain about no matter which language he uses?
18:20
yes , that is what he is saying
@Code-Apprentice Yes
How knows? He might start complaining about CF next.
@ColdFire lost by 6. 2 places need election cause in 1 place bjp mla died. the other there was some trouble so EC cancelled the election in 2 constituencies. A hung assembly now :0
6 was way too close and 12 very close
@Mauker he complains about coldFusion all the time
ikr
18:25
look who is talking of crisis^
bengal assembly should be dissolved and presidentual rule this instant
i have seen this. All the parties having been talking the same shit
@ColdFire that's me
the current karnataka drama is just karma getting to the left
raghu^
karma is bitch, revenge is sweet
@Code-Apprentice I'm saying codeMagic will complain.
18:53
Accepted answer yay
async/await is amazing
How did I never use this before?
Oh, right, because I don't normally write code in JS when I need it to be usable
@RaghavSood You were waiting for a blocker call
# deluser Mauker
Fixed
Fixed even better fix
what, why? :(
Too many humans
18:58
I'm half machine
Hello all, hi again Mauker! Once again, thanks a lot for helping me out with the custom notification ringtone issue. Sad to see that Google has a bug that prevents this from working at all from 7.1>, but still better than nothing
Anyway, I would like to ask if anyone knows how I can fix an unchecked cast from an infered return type
I've been searching for this for a while, but got nowhere
This is what I have and it works, but I'd like to make the warning go away the right way (without suppressing):
protected <T extends Parcelable> T getParcelable() {
return (T) parcelable;
}
the IDE shows a warning at the return section complaining of unchecked cast and I cannot find how to fix this correctly
I'm trying to following the findViewById example so that users don't have to cast the result view
In this case it is for a parcelable
how can I "check cast" this warning=
?
use generics
But then won't it complain about using generics?
It would replace one warning for another
19:27
Warnings are meant to be ignored
adds CF to do not hire list
I don't agree much with that, there's one about storing context in static variables and memory leaks that seems pretty important to heed, I guess
we are jk
19:29
Why do you think I'm not hiring CF?
He agreed with that
Too late
oh ok
we need more code to fix that
more code?
that's about it, the method just gets called from other fragments when restoring after screen rotation
its a parcelable that stores the fragment state and nothing more
@Shadow there is nothing wrong in this code
findViewByID does the same
Yeah it does, but it does not show any warning there
19:35
what is parcelable there?
a object of Parcelable?
its a...
just a sec, let me confirm
private Parcelable parcelable;
that's just it
greetings earthling
flatEarth**
19:39
a 2D picture of a globe doesn't make said globe flat
@Shadow ok the warning is alright
so what I did wrong?
well you are not doing anything wrong
as long as you know the casting is alright
oh.. confusing then.
so is this the right way to automaitcally infer return type?
do you even need the cast?
19:42
i mean you are casting it to T but parcelable is not guaranteed to be T or extending T
@TimCastelijns I do need it where the method is called
for example (SomeClass) getParcelable();
if you depend on the parcelable field it might make more sense to promote the generic to class level
How so, Tim?
just check the parcelable is instanceof T
before casting
@TimCastelijns yes without it it wont even compile
19:43
@ColdFire I see, I thought it was the other way around
and return a default or null object otherwise
that should remove the warning
@Shadow yeah its the other way around you thought it to be that is why the warning
You're assuming your parcelable is instanceof T but if it's not, will throw a class cast exception
that's what the warning is for
you could always check using the "instanceOf" thing
and you can avoid that with the generic class I believe
19:44
that's exactly what I said CF
dave did say that
to be fair
I try that and it complains about class or array expected when doing
if (parcelable instanfceof T){}
well i didnt saw it lol
you need to return something if the condition fails Shadow
but it can be null
Dave, the error is underlining "T"
19:46
if(parcelable instanceof T){return parcelable} else {return null}
hmm
oh true
T.class?
nop, "condition is always false"
I haven't worked with this much
I have to leave for a few mins, brb
19:47
416
Q: How to determine an object's class?

carrierIf class B and class C extend class A and I have an object of type B or C, how can I determine of which type it is an instance?

there are some good answers there you can try
but how about public class Class<T extends Parcelable> { private T parcelable; protected T getParcelable() { return parcelable;} } ?
would it give the same warning?
82
A: Test if object is instanceof a parameter type

Mark PetersThe only way you can do this check is if you have the Class object representing the type: Class<T> type; //maybe passed into the method if ( type.isInstance(obj) ) { //... }

> Class<T> type; //maybe passed into the method
> if ( type.isInstance(obj) ) { //...}
@TimCastelijns yes
he is casting the other way tim
he is casting parcelable to T which can or cannot be hence the warning
12
A: Test if object is instanceof a parameter type

PuceTo extend the sample of Mark Peters, often you want to do something like: Class<T> type; //maybe passed to the method if ( type.isInstance(obj) ) { T t = type.cast(obj); // ... }

^ this shows the type check and then the cast and should fix your warning
4 hours ago, by Code-Apprentice
fuck css
20:04
lol
I'm going down this CSS rabbit hole in our react project and it is so painful.
the biggest problem is that bootstrap.css gets applied after all of our custom css
shouldn't happen unless it's included after your css, or if some css rules of bootstrap collide with yours and are marked !important
Is it possible for a fragment layout surpass its activity layout?
I mean, if I wanted to show something fullscreen from inside a Fragment, how do I achieve that?
back, sorry for the delay
20:19
You're only excused if you answer my question
getActivity().pleaseShowMeFullscreen()
jk, welcome back
Thanks Tim
That actually helped
I kinda feel like making a few extremely polite and well-mannered libraries now
@Mauker what surpass?
20:21
@Code-Apprentice weren't you just talking about how wonderful it was to work in React?
hmm the last link Dave suggested does not work for this case, I am not passing any param
rgbHelper.pleaseProvide(Color.RED);
It'll be great
And the first link Dave gave does not work for this either
both questions are about a variable of an unknown type which can be checked for its class, my case is something different
I am passing an inferred type to the return of the method
there's no variable there other than the parcelable that is returned
and cast
Alt+Enter suggestion tries to generify the class, when I go ahead with it nothing is changed
guess that's just how it is then
I just don't understand why in findViewById no warning is thrown
@CarlAnderson CSS != React
it's all web to me
20:27
reactjs itself is great. CSS sucks.
what made you choose React over Angular?
since i don't really like web dev, I'd like to pick one good framework and stick with it for a while lol
But is it really web dev if you aren't changing your stack every 6 months?
hahaha
"Eeew we're on September 2018 and this guy is using May-2018.js..."
20:34
just use tim.js and all is well
> Alert: tim.js may be using your browser to mine bitcoins
hey, bitcoins are cool
Tim XD
Crypto is a scam
3
lots and lots of them are cool...
20:36
lol
much cool, such crypto, wow
3
Someone pin that (@Ahmad)
well, between global banking bubble and crypto currency bubble... I prefer the later since there are many more trying to steal than the first
so they end up stealing from each other, if not from themselves
I don't think crypto is in a bubble yet tbh
Maybe in 20 years
well whatever as long as we are minting money who cares
The taxman
20:38
^
yeah its not a bubble yet but soon to be
if we know it will become a bubble, isn't it technically one already? quotation marks on "technically"
@Mauker ok then
2
LOL
still, it is quite interesting seeing this develop in our lifetime
20:39
More or less any financial instrument will become a bubble
But there will usually be a safe point which it will not go below even when the bubble bursts
@Shadow You're showing anarchist thoughts, here's your Social Credit Score: "D"
There is some intrinsic value in the market, it's just usually very low compared to bubble heights
the best structure of exchange is the exchange of goods. get a house, grow some food and animals, trade for some flu shots and survive until you are 40yo :P
Congratulations, you've invented the barter system
ahahah
20:40
Arguably the most inherently stable financial system
As long as someone always wants what you have
shh, my chicken DO lay golden eggs!
they just haven't turned into gold yet, so keep waiting
20 passing (948ms)
Bow down before your master
So many green checks
948ms lol
that's less than 1000
/r15/timdidthemath
^
good job Tim
20:44
well, I have to do it and get over it, I'll suppress the warning -.-
some things are just not worth growing white hair for
If you oppress your code like this, one day it will rise up in revolution
You have been warned
wow Tim is the smartest one here now
@SuppressWarnings("revolution")
lmaooo
problem solved
and there it is, now it becomes an addiction, this is bad, very bad
20:47
I was trying to find the Thor Ragnarok Revolution gif but giphy has failed me
gotta go take a nap, thanks for the help guys and gals, I might not have found a solution but it was enlightening
Once your code rises up, you'll nap with the fishes garbage collector
you mean jiphy? I'll see myself out
DiGiorno is on twitter trolling people who misspell their name and it's hilarious: twitter.com/DiGiorno/status/997071027569033217
@AdamMc331 lmao
> There are hypocrites, then there are legendary hypocrites, and finally there are Indian liberals
lmao this quote^
20:53
Then there's Indian liberals who think they are conservative
why would they think that?
liberals are racist anyway no need to add redundant words
TIL CF identifies as liberal
2
lmao no
how are you doing CF
20:57
working on a sample app
wbu?
good, just wanted to check on you after your election
election?
To leader of the liberals in India
i am not qualified for that
perhaps barkha dutt might qualify for that
Yeah probably he would
21:04
burkha dutt is she**
@TimCastelijns I don't know man, would he?
@Ahmad new music
although I may as well drop you the full album
21:20
carl the music is nice
it's not amazing tho
discussing it with a friend of mine right now
and started listening to Drink the Sea instead
yeah not amazing but its not that bad imo
@codeMagic both you and I had to do BLE and now both of us had to do RN :D
You doing RN part of your job?
Would recommend checking out Flutter
Much nicer to use after you've experienced RN
Think I might try and do my first PR to the actual RN project this weekend
21:45
lol
Cold Fire is a 1991 novel written by the best-selling author Dean Koontz. == Plot == Recently retired teacher Jim Ironheart (aptly named) risks his life to save lives. In Portland he saves a young boy from an oblivious drunk driver in a van. In Boston he rescues a child from an underground explosion. In Houston he disarms a man who was trying to shoot his own wife – and he is not just lucky enough to be in the right place at the right time. He gets “inspirations” and knows he must hurry to wherever prompted. He rushes off to hail a cab or catch a plane, dropping whatever he’s doing at the moment...
TIL CF is a book
@RaghavSood have you seen the sparkster ICO?
looks quite promising
not just a book, a horror novel
figures
haha
eski always sneaking in with the clichy lines
21:55
with the accurate lines, you mean
@MarkO'Sullivan apparently a company we merged with use it for some of their mobile apps. I did a little work on one with RN and am moving myself to other projects because I don't like it at all.
A bunch of letters that don't go together
21:57
Lannel
clearly the image wasn't meant to be seen by you cM
Looks like "Yannef" to me
What's a lannel?
its Laurel and Yanny both
or Lannel if you want it that way
@ColdFire Meh
21:58
thanks for explaining the joke CF
Ya, I can see a "Y" or "L" which I figured was the point
1 hour ago, by Raghav Sood
Crypto is a scam
also ^
sometimes people like codeMagic need a little help
21:59
Off to Cub scouts. Maybe I'll talk to you all later
They let you sign up?
cM is a scout for the Chicago Cubs?!?!
Maybe he actually meant to type "Off to Club scouts"
And he's finally getting revenge for the times he was passed over by college team scouts
or maybe he misspelt baby seal
"Off to club baby seals"
that sounds right
22:03
@DaveS *misspelt
Wrong image
sometimes I miss my baby seal pelts
Sometimes I miss my baby seal pets, but I'll be damned if this coat isn't soft
22:23
Like Carl
23:01
33 passing (2s)
Progress
23:54
SO meta has more drama than a soap opera — Clint 2 hours ago

« first day (2770 days earlier)      last day (2402 days later) »