« first day (3204 days earlier)      last day (1745 days later) » 

6:17 PM
o/ all
 
O no.
It's here
 
you bet
 
can someone help me
im fucking dumb
and cant remember what this is called
view.setOnClickListener(new OnClickListener() { // stuff })
 
anonymous class?
 
6:25 PM
what is that called, when you just create an instance of the impl in the method
see thats what i thought
 
Yep anonymous class
 
but then i was reading on how to do that in kotlin and it seemed like i was wrong
ok thanks im not insane
what im trying to do is do that in kotlin, but then reference it as this
 
In Kotlin they may be referred to as lambdas sometimes
 
which it doesnt want to let me do so im trying to read up on the equivalent in kotlin
ill figure it out from here, thanks for the help
 
So, in Kotlin you may do view.setOnClickListener { //lambda }
wait I have your answer
but if you want an anonymous class, try:

`view.setOnClickListener(object : View.OnClickListener() { // stuff })`
the object : notation is more equivalent to an anonymous class
 
6:27 PM
yea, in kotlin youre right its just setOnClickListener { //go nuts }
if i want to unset the click listener (or in my actual case a global layout listener)
in java id go view.remove(this)
im just trying to figure out the syntax for that same concept in kotlin
 
I wonder if you can with the object notation. I'm not positive.
 
i think if i write it that way with object notation it might lets see
 
nerds
 
Every interface with single function can be expressed as lambda
Interfaces can be "instantiated" using anonymous classes (in kotlin with object : Interface)
 
oh, you know what
even if you dont do itin object notation
the object is still available for you to invoke
you just use that instead of this
thats what i needed, thanks
 
6:31 PM
I wonder if you can do this@OnClickListener
 
My internet speed is 200 kbit/s with 2-3 minute delay after few packets
 
oh, maybe not
 
you can't do the thing I just said don't listen to me
 
@TaseerAhmad lol so slow
@DaveS TAKES ONE TO KNOW ONE
 
error, expecting a class body
sigh
 
6:32 PM
It seems like object notation can definitely give you what you want tho
 
It's monsoon season here, so the internet is messed up
 
albeit a little uglier? :shrug:
 
@ballBreaker don't be such a twit bb
 
nah it doesnt thats whats weird
 
flaaaaaaaaaggggeddd
 
6:33 PM
runs from flag
 
@TaseerAhmad kbit??
 
hahahahaha
 
According to urban dictionary
> Twit: The kind of person that makes a retarded chimp look smart.
 
@DaveS 🚩
 
6:33 PM
kotlin....
 
@DaveS you said ballBreaker and bb in one post
 
only typed one of them though
 
1 min ago, by Dave S
@ballBreaker don't be such a twit bb
 
the other one was autofilled
 
6:34 PM
@InsurgentPointerException you can directly reply to messages
and it puts the name in
 
I know, but still
 
don't be a twit bro
 
lol
 
6:35 PM
@InsurgentPointerException yea
 
let me play with that myself
nice tool
 
Yea what Taseer
 
And it is possible to access outer scope too
 
@AdamMc331 What theme?
 
Darcula
Right?
 
6:36 PM
That's from the Kotlin playground: play.kotlinlang.org
I think it's the same default as intellij darcula yeah but I'm not positive
 
ugly as it gets
 
AS has darcula
 
only white IDEs :D
 
AS, Intellij
 
i think i got it
 
6:37 PM
same thing
Whoohoo!
 
I use Darcula to reduce eye strain
 
it is this like you were doing
but you gotta do object notation so like
 
I think it looks good. It feels weird to write, but that's also how you'd have done it in Java so it should be familiar really.

I wish there was a way to specify scope like I can do for the outer one. Like let me do `this@MyAnonClass` or something haha
 
How did you get that newline? In this message ^
 
yea exactly
 
6:39 PM
And it's the opposite if you put a lambda inside a method lmao
 
how did i get what?
if thats directed at me
 
what

do you mean
 
woah why does your code have victims
 
shift+enter
 
it's how y

ou

get a new line

in anything
 
6:40 PM
Like that ^
 
what kinda sketchy app are you making?
 
wow you get pinged if you reply to yourself
that's annoying
 
@AdamMc331 ikr
 
6:41 PM
@AdamMc331 sure is
 
y'all are the worst
 
@AdamMc331 A lot
 
don't make me enforce the rules for once
Tim verified kick-mute works
2
 
sorry too soon
 
6:42 PM
lol
 
First time I got kick-muted for "inappropriate content"
I don't know how that was "inappropriate content" tho
@AdamMc331 Does that include me? 🥺
 
it does now
 
lmao
 
x.....d?
 
.
 
what
 
6:54 PM
@AdamMc331 visiting r15
 
LMAO TOO REAL
 
Why do I always see this
Ack oops
 
We like hiding stuff from you
 
@InsurgentPointerException Are you at work
 
6:55 PM
Is my rep too low? I thought Network points didn't matter
@ballBreaker No
 
Alternatively your work/country/ISP/local dictatorship blocks various domains
 
I would have said web filter blocking imgur
 
Or you managed to get banned at a network level from reddit
 
Since that doesn't seem to be the case, it's probably an add-on for your browser blocking it
 
6:56 PM
Let me try using a VPN
 
Do your parents have parental controls on?
:D
 
They are dying no XD
I see it now
Lool
 
oof, sorry to hear that
 
I mean they are just really old
They aren't really techy
 
oh lmao
Parents getting older = parents dying
I'll make sure to let my 60 year old coworkers know they are dying
2
 
6:58 PM
Besides all the hardware I bought, I have admin access on everything
LOL
28 secs ago, by ballBreaker
I'll make sure to let my 60 year old coworkers know they are dying
How old even are you to be working with 60 year old people?
 
12
 
Between 0 and infinity years
 
@RaghavSood It might seem like that for you but you have no sense of time XD
 
x.....d?
 
@Reno Why do you keep saying that?
 
7:01 PM
LIES,
Free will
 
@ballBreaker was about to tell him I'm sorry to hear that until I read the next message, quite rude of him tbh :D
 
I feel bad for @RaghavSood since he can't understand why we humans think that the cat gif is cute
 
@InsurgentPointerException Do you also feel bad when you look at all your contributions to the world and realize that the cat gif has probably made more people happier?
 
Looks like I'm not the one with the emotional shortcomings then
 
Hmm
Too bad you can't fix that
 
Indeed, much more economical to recycle humans than patch them
 
@InsurgentPointerException I'll tell you if you tell me
I'm 27 lol
 
Too bad you said it first XD
 
7:05 PM
Yea I honestly don't care THAT much
 
But you are 27? Why are you working with ppl 2 times your age?
 
because that's how the adult world works, people usually work from 20 to 65
 
Hmm
Are you saying I'm not an adult?
 
so chances are that a 20y old dude will work with a 62y old person
 
He could just be saying you aren't participating in the adult world
 
7:06 PM
^ that too @MehdiB.
 
will not confirm nor deny
 
Yummy, cherries
@MehdiB. ofc not
 
-.-
What?
I'm lost
 
not worth explaining the joke
 
7:09 PM
so are we, Insurgent, so are we
 
so are we?
Who
 
we are so
 
yes
 
Oh and I mean these kind of cherries
Now I'm eating 70% cocoa dark chocolate
@DaveS bet you can't come up with a baby joke for that
 
Fun fact: IPE acquiring cherries can be expressed succinctly as git cherry-pick
2
 
7:16 PM
XXXDDD
 
I didn't get that :(
Someone please explain
 
Not everyone can pick cherries
 
I was eating cherries
 
@InsurgentPointerException I'm assuming you are not in the business world if you are asking this question hahaha
 
7:20 PM
which confirms my theory that you're still a student
... and on summer break :D
 
Hmm
What if I work remote?
 
xxx ... ddd?
 
Is reno having a stroke
 
7:23 PM
He's POSTing, it's not going well
 
-.-
22 mins ago, by Reno
x.....d?
 
@Reno do you smell burning toast
 
xx .... dd?
 
7:25 PM
xxx.....ddd?
 
oh wait we're doing it wrong
 
that's..funny x.....d?
 
Zoe
y'all hopeless.
 
LIES
 
You have to match the same number of letters
 
Zoe
No.
 
ah..yes
 
maybe
 
I have no idea what u artists are doing
 
autists*
 
XD
 
fuk the edit functionality
 
7:28 PM
@DaveS I can't help myself but think of this when someone says maybe :D
 
lol mehdi
 
im using perhaps meme quite often these days
 
i have it saved on the clipboard
 
smart
 
7:30 PM
and also that legendary smoking dude for noice
tf
 
giphy -> copy link -> gif link
 
@IvanMilisavljevic it does
 
ufuf we can share gifis
noice
 
7:34 PM
Ivan don't be a pleb
damn I found my own gif that I made of myself
 
gimegimegime
 
lols thas you?
 
to anyone who knows who that actually is I'll give their house 10 points
 
7:37 PM
aa i got it
inserts noice gif
 
heh :D
 
heh
meeting cya guys
 
roll -> play games / watch netflix
go
 
7:39 PM
2
 
bb have you seen trailer p boys animated series?
 
I watched the first episode and couldn't really get into it
I know QOTSA is on an episode...and that REALLY makes me want to watch it through
but honestly I just couldn't do it
 
yeah first one is kinda lame
 
I've been watching TPB since it aired in Canada and the animation just doesn't do it for me
The nostalgia of seeing them over the past 15 years or however long it's been now is too strong of a thing to overcome
 
they have a lot of fresh jokes
its far from original series, but its something
 
7:46 PM
Maybe I'll give it another shot at some point
 
My internet is so bad right now, I can't download anything
 
Yay
 

« first day (3204 days earlier)      last day (1745 days later) »