« first day (3337 days earlier)      last day (1612 days later) » 

2:11 AM
o/
 
3:01 AM
Hiya o/
 
I FIXED MY STAR BUTTON!
 
3:12 AM
No.
 
 
1 hour later…
4:39 AM
I have acquired coffee
 
coffee * coffee = energy
 
4:56 AM
coffee * coffee = coffee squared = iced coffee
 
 
2 hours later…
6:36 AM
Greetings!
 
Tom
6:51 AM
morning
 
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
Tom
@nyconing coffee^2 = mc^2 ?
 
eli
7:23 AM
Hi
 
How are you feeling this fine morning??? :D
 
ok!!! :D
 
How are you always this happy?
TEACH ME!
 
7:28 AM
ohhh.... I got some good news this morning
 
can't tell yet
it's too early
and I don't want to jinx it >.<
 
;D
 
eli
@Tim can you recal the day i said i can't spot a clear difference btn Jetpack Compose and Anko. I was asking myself what the reason to have both of them in kotlin. Today i found Anko is now officially deprecated
 
7:37 AM
o/
@W0MP3R I got some terrible news
 
nooooo
D:
are you ok?
 
@Mauker hello!. what happened?
 
Kind of
I was driving
and someone hit my car
Just got out of the hospital
The car didn't have insurance
 
oh shit
 
7:53 AM
Luckily I didn't break any bones
But my muscles hurt
quite a lot
anyway
got a medical leave for a few days
Going to bed now, morning!
 
take care.
 
eli
Sorry for accident @Mauker
 
Tim
@eli good news
 
\o
@Mauker take care and rest!
 
hello
 
hello
 
8:29 AM
\o
 
9:19 AM
 
9:33 AM
... I just went through the pain of 6 connections, 3 rerooting and 2h of transport, to log in and see this shit... Well thanks...
 
you are welcome
 
Tom
hi @Nyakouai I have a question about aoc 4.2
 
please
type in messages
 
so we can get rid of this picture from the screen :D
 
9:36 AM
heheh
that was funny lol
 
@Tom Sorry... about what?
 
aoc 4.2
 
Tom
this leg scares me
 
we're almost there
keep talking
 
Tom
ok, will ask later
 
9:47 AM
What is aoc 4.2?
 
Tom
@Nyakouai I will write on priv
 
I have returned
 
10:17 AM
What is aoc 4.2?
 
Advent of Code 4.2
 
wow
we don't do that here
 
Tim
yeah that sounds like something for nerds
 
10:44 AM
Anyone watched Pennyworth?
 
eli
Is it okay to do this getApplication().getResources().getColor(R.color.primary_dark) instead of getResources().getColor(R.color.primary_dark)
??
 
Yes.
 
eli
Why do i need global application state just to change a color ?
 
getResources() is defined on the Context, the application state is the root
But it would work in an Activity or anything that inherits from the Context
It stems from context as your application's resources are defined under your application's... context
 
Tim
getColor(int) is deprecated btw
 
eli
10:54 AM
Thanks Raghav i was about to cook someone here
 
Don't let me stop you
Try some of the younger members, probably more tender
 
eli
@Tim i have no idea realy
 
Tim
in other words, neither are okay, because colors are bound to theme
 
That depends, there are probably some legitimate scenarios to get random colors
Notifications, maybe
 
NSFW 20 ingenious ways to use p*la in the Romanian language
pla means dck
 
Tim
11:01 AM
what is dck?
huh
 
just open it it's not explicit
and some explanations
 
Err on the side of caution, I don't know if it's that bad but it's funny.
 
and it's gone
 
11:54 AM
1 message moved to Trash can
 
W0mp still did not make her big reveal?
 
I bet she got the first step to move to Mehdi
That's gotta be it!
 
12:11 PM
i need some databinding help
 
Tim
you won't get it here
 
Hi!
is there a way to use same ServiceConnection for all activities?
 
Tim
yes
use one activity
 
yes use a singleton
 
I have to use more than one activity Tim!
I have no idea how to create a singleton class
 
Tim
12:21 PM
go to menu>file>new>singleton
(not a joke)
 
Is it that easy?
 
yup
 
Tim
yes
 
I thought creating a singleton class has some hard rules!
 
in kotlin its literally one word
 
12:23 PM
which word?
 
I use java not kotlin
 
in java it's 3 lines
 
object
 
Tim
on what grounds
 
Describe please Mehdi!
 
12:24 PM
enum MahSingleton {
  INSTANCE
}
Then you can define functions in there
 
And how to access it from activities?
 
Tim
you forgot static volatile synchronized
 
MahSingleton.INSTANCE.method()
Also what Tim said (I think at least; no clue; he got more experience than me tho)
 
Tim
I'm just going with the flow here
 
xD
 
Tim
the real answer here is that activities should not share service connections
 
Nov 29 at 16:54, by grrigore
6 hours ago, by Mehdi B.
nice, and the second lesson is to always listen to Tim :D
 
Thanks alot guys i will test it!
 
updated the gist, forgot to add the constructor as private
 
Another question: Can i turn the service to a singleton?
 
Tim
12:32 PM
No
 
I mean declare service instance inside it and return it with getInstance function
Why not? it doesn't work at all or it's not a good approach?
 
Tim
Read back a bit. Don't use singleton for your connection
 
So what to do then?
 
Create new connection for each?
 
define a serviceConnection on every activity?
 
Tim
12:46 PM
yes
 
Actually i'm trying to put a okhttp socket connection in a service for a messenger app and i don't think telegram, Whatsapp and other messengers created this way!
But if you say this is a good way i will do it!
 
Tim
just do what you want lol
don't listen to people on internet
The fact that coding errors can occur in multiple languages is an irrefutable fact, but does little to justify a fundamentally wrong title. The Stack Overflow Blog has never been a place that one goes to find facts or credible evidence, and now we see why. Even when called out and given a chance to fix a potentially inadvertent misleading error, the chance is not taken. I won't speculate as to the reasons, but they aren't flattering. — Cody Gray ♦ yesterday
 
1:11 PM
look at the profile of the guy who reported this
> Medical doctor [...]
 
Tim
> However, I'm not going to change the title, as these CWEs can affect multiple languages. that will generate fewer clicks
 
now this is bad, because that's literally saying: we don't care about spreading wrong info
 
Cody slapped Ryan with words, dang!
 
Tim
I striked out that sentence myself
but it's so obvious that the blog's only purpose is generating traffic
 
They can just make a joint venture with TheSun or some other garbage news site and have them add a tech section
 
Tim
1:20 PM
@MehdiB. this is not news. Note how there is not a single reply to the illegal content relicensing besides "legal told us not to reply"
 
but here it's literally misleading innocent people here to learn... people who trust the quality of the content and take it as a source of truth
 
Tim
@JNat: Changing user names on posts is a really, really bad idea. I know you don't think it is, and I know I don't have any mojo left in this community anymore, but please. I implore you. If there's any tiny shred of concern left at corporate for the welfare of the communities, use it to preserve the integrity of the databases. If any staff member can change anything they want in the databases at any time, we all might as well just pack it up and go home. — Robert Harvey Nov 14 at 17:14
 
At least JNat responded to that not like with a bunch of other stuff by Staff where it's just radio silence.
Most of the posts are fire and forget it feels like.
Although I can understand that for example Sara Chipps won't be out all day responding to all the things when each comment she writes calls for a hydra of new ones.
 
@Tim ohhh more drama
 
Then again, if she were to make the few correct comments, that wouldn't be the case.
 
Tim
1:34 PM
@geisterfurz007Stopthischaos this one too, I just finished reading all the answers and comments and there is not a single staff reply outside of the comments on the question
 
Ah yes, some time ago, I stumbled upon a user profile on SO that said: I'm studying the behaviours of people in the chatrooms of SO for my PhD thesis :D
 
O-o
This chatroom broke their thesis...
 
so basically, we are the products in literally every angle possible of SO :)
 
if you are not paying for stuff you are the product
or prize :D
 
Tim
but we are paying
with time
 
1:37 PM
you get internet points for time
 
Yeah, you can buy so much nothing with all those internet points you got Tim!
 
absolutely nothing
also those point can magically vanish will one click
 
Tim
these points have 0 value anymore
 
@George & @k_kumar, sorry, you currently do not meet the requirements to chat here. You can find our requirements in the rules
 
that implies it had any value to begin with?
 
Tim
1:42 PM
they used to indicate level of knowledge or how you want to call it
to some extent
did you notice I changed my name
a while ago
somewhat disassociating myself from here
 
Yes!
You are missing the Kastendings
:')
 
only somewhat
 
Tim
I am
 
yeah i noticed
castling
sounds like a chess move
 
Because it is not appreciated in the java room... Have a cute quokka:
user image
3
 
1:47 PM
why are you here nowadays geiss?
 
I have absolutely no idea and I wouldn't be surprised if the answer of a lot of people here would be the same.
Slacking, I guess
 
Tim
I am only here because most people are not in discord
 
There is a discord?
Can't access discord at work, so I don't know why I ask
 
Yeah, the message with the link to it was recently starred
ADAM!
Henlo!!!
Look, there is a cute quokka up there, that everyone ignored!
 
@geisterfurz007Stopthischaos so cute
 
2:01 PM
FINALLY SOMEONE THANK YOU!!!
 
Time to go~~
Cya later people!!! :D
 
What?
 
Hey hey hey
You have an announcement to make
 
I finish at 15 today x3
not yet
 
2:02 PM
Ermagerd
Well, since you left us hanging, I'll give my own news, that I hope will put a smile on some people face
I'm a failure as a dev
(Raghav, if you are here, do your thing, I'm ready to be stomped)
 
2:15 PM
What!! Nooooo
 
(I'm tempted to pursue the joke, but I'm afraid some people will not see the -thin- line between self deprecating humor and self hatred)
 
We don't mind if you choose to deprecate or hate yourself, proceed
 
Naah, the moment is gone
(hiya cM)
 
2:31 PM
user image
2
 
haha
 
how's it going?
 
Tim
swell
 
swell?
 
Tim
> an old word that basically means fantastic, generally used by old people or hipsters to try to sound hip.
 
2:37 PM
genau, schön.
 
any php guyz?
 
I'm doing a little against my will. So no expert at all
I can write basic codes and cuss a lot
 
prnt.sc/q6mls9 asking for a friend
 
2:42 PM
w0mp knows some
you lost an animal controller.
is it called phil?
 
nope
 
a missing include or require statement?
 
somebody please laugh at it
 
lmao @ missing Phil
 
danke
 
2:44 PM
another photo xD
I'm literally asking for a friend
 
Where is that function it's trying to call located?
 
he fixed it
forgot to add ::class
 
I found a really nice definition of introversion, "Shyness is the fear of negative judgment, while introversion is simply the preference for less stimulation"
 
:marx disliked that:
 
Thanks!
 
2:48 PM
shyness is counting carbs, introversion is choosing salad
 
what?
 
@TaseerAhmad same thing you said, but derpier.
 
I don't understand, can't relate. I hate salad :(
 
sup bois
 
2:55 PM
Once ate a raw tomato...puked.
 
excuse me
what the fuck
tomatoes are great
 
cherry tomatoes are dope for salad
 
If there is one gift earth have given us it's tomatoes
 
No 🤮
 
yes cherry ones are great
 
2:56 PM
the ones I couldn't live without are: tomatoes, cucumber, onions, peas
 
i can live without cucumber.
 
potatoes
 
not really a fan of potatoes
 
living in germany that's almost a hate crime.
 
I read that as "living in Germany is almost a hate crime"
 
2:57 PM
xD
 
Sup
 
Mehdi, agree with you on those picks. wtg
 
@geisterfurz007Stopthischaos damn too much time in hand, no boom flying?
sup magicman
 
No flying at work...
 

« first day (3337 days earlier)      last day (1612 days later) »