« first day (4115 days earlier)      last day (843 days later) » 

12:05 AM
posted on January 21, 2022 by Google Developers

Posted by Arjun Dayal, Group Product Manager, Google Play Games In December, we announced that Google Play Games will be coming to PCs. As part of our broader goal to make our products and services work better together, this product strives to meet players where they are and give them access to their games on as many devices as possible. We're excited to announce that we’ve opened sig

 
 
8 hours later…
7:59 AM
@IvanMilisavljevic read/write files library
 
8:14 AM
\o
 
o/
 
8:31 AM
\o
 
8:43 AM
@grrigore OKIO
This ones really solid, Java IO is a fucking nightmare
 
do you use it?
used it once in a project
 
Yes occasionally when i have such needs
We generally do a lot of IO, but our thing is wrapped into our own abstraction
So Okio is just an implementation detail
We also use
https://developer.android.com/reference/androidx/security/crypto/EncryptedFile
 
8:59 AM
nice
@IvanMilisavljevic I should use this more
can you give me an example of this practice?
I mean you create ca class that uses okio
and use that class instead of okio right?
 
9:33 AM
Yeah we create a top level abstraction
For example FileIOService
that writes to storage, reads from storage, moves a file etc
Now we have a concrete implementation of FileIOService - for example EncryptedFileIOService or SynchronisedFileIOService
etc etc
now for a call site - if you have class that needs to do something with the IO your signature would look something like this
FileStorageFacade(val fileService: FileIOService)

and creating those instances would look like

FileStorageFacade(EncryptedFileIOService()) or EncryptedFileIOService(SynchronisedFileIOService)
This is important for 2 reasons:
- Testing
- Swapping underlying implementation with something different
 
9:54 AM
so it's the facade pattern
thank you great and clear example
got a lot to learn 🥲
 
10:28 AM
This was the most starred message last year on this day:
Jan 21 '21 at 14:24, by Tim
I think they got tired of processing all the money it generated
 
more or less
dont get confused by FileStorageFacade
thats just something we use instead of Repository
 
 
1 hour later…
11:44 AM
i see
 
 
1 hour later…
1:21 PM
@IvanMilisavljevic any good article on this?
or some code samples?
 
Tim
on abstraction?
 
yes
like something done right
 
Tim
it's just a fancy word of hiding implementation details somewhere else
 
yep but there might be some good practices right?
I think i'm already doing it
 
Tim
separation of concerns, not placing logic in classes it doesn't belong, separating layers with interfaces etc
all that good shit
 
1:28 PM
true that
 
 
1 hour later…
2:39 PM
Can I ask you a question regarding memory-consumption?
 
@zaxunobi go
 
@MwBakker riverpod looks nice and quite easy to use
 
3:04 PM
yo
 
Tim
yo
 
tim you ever see hava?
 
Tim
no
 
hava good day lmao gottem
how u doin?
 
Tim
bb being a mind goblin as per usual
 
3:09 PM
xD
 
do you know updog?
 
whats up dog?
 
great, you?
monday it's a free day and i love it
 
not much duder
 
3 days weekend
 
3:12 PM
oooo nice nice
so I have
3.5 hours of meetings today
should I just not work
 
lol
does anyone else get the impression that this LOTR show is gonna suck balls
or am I just super pessimistic/jaded
 
a little
 
Tim
you're realistic
 
getting old sucks
lol
 
3:19 PM
a little
 
I locked my cat in my bedroom because I was holding/hugging him and he went to attack my throat
little bastard
 
@ballBreaker hehehe
@ballBreaker classic cat
 
yah he is now in jail
for his attempted murder
 
Tim
punishing cats is counterproductive
 
tbh it was more so i didn't kill him
it was more for me than for him
I felt the rage build in my belly to strangle him so i locked him ujp
bruh straight up went for my jugular
 
Tim
3:26 PM
arbitrary touches and cuddling sometimes triggers hunting instincts, cat doesn't know he did something 'wrong'
 
wow
 
he knows
dont pretend like he doesnt
 
tim spittin facts
 
Tim
ok NOOB
 
ive spent like a millioon hours with this frickin cat
the little bastard knows
but yeah it was 50% my fault for sure lmao
maybe 60%
 
3:36 PM
soo later nerds
o/
 
sooo later
 
4:01 PM
is there a way to force an app update from console?
 
Tim
sudo?
 
@grrigore use homebrew on mac
otherwise i unno
 
noo
 
4:33 PM
Morning! Is there a way to inspect the AndroidManifest on a app downloaded from the App Store?
Google Play Store**
 
It feels assumed that I have the APK... But when the app is downloaded and installed directly from the Google Play Store, there is no APK available is there?
 
get it from here
 
Appreciate the replies. Thank you.
 
no problem
 
4:54 PM
gotta love when people ask nice easy questions
mauky mauky mauk
 
no easy
 
5:14 PM
man
imagine developing android in 2022
cant even imagine it
 
5:25 PM
Lol
Why?
 
because I've never done android
so I cant imagine it
lmao gottem
get rekt
 
Tim
sit grrig
 
I thought because it sucks
 
Tim
it dosent
 
haha the only stuff I know about android development is what you guys tell me
you are my eyes
 
Tim
5:37 PM
and my bow
 
what kinda bow is it
what are we working with here
 
Tim
a bow of the galadhrim, longer and stouter than those of mirkwood
 
Everything sucks
Except the weekend
 
Tim
what is your favorite song of his
 
5:54 PM
Haha
Hard to say
 
haha
mine is the starboy one
or that other one
you know the one
 
Tim
blinding lights
 
yeah that one
although I'm not really too big of a fan of either, but they are tolerated in this house hold
sometimes I wish I liked normal people music
but then I listen to it and am glad that I don't
 
Mine is the 6 min long
After hours
Idk
 
ou nice
maybe ill check it out
 
6:14 PM
first day outside again after isolation
I take my car from the garage: 172 euro payment for 10 day parking
172 euro! I BUY the entire GARAGE there for that kind of money!
felt sick again immediatly, in bed now
how is your day guys
 
oof
yeah both of my covids came in waves
wave 1: fever/chills/fatigue
wave 2: nose/lungs/sinuses
with about 1 day gap of feeling well inbetween
@MwBakker thats brutal lol
 
6:37 PM
@MwBakker Nice
3 days weekend
 
noice
 
6:59 PM
this is how Dutch people grow up
 
Tim
confirmed
 
Whats that?
 
what the hell
is that like a spread for toast
that isn't really real is it
 
it's food for babies
this flavour is the backbone of our society
 
7:16 PM
-.-
 
you think I am kidding
but I am not
thats the good part
 
7:37 PM
lmfao
thats baby food
I feel like he's trolling us
 
8:02 PM
@grrigore Neat!
 
8:22 PM
Hey I'm a bit new at android and I'm trying to make a screen overlay with a button to initiate speech to text. I currently have a Service that creates and manages a View, and that's all working fine, but when I fire the RecognizerIntent.ACTION_RECOGNIZE_SPEECH, it crashes since the context is a Service, not an Activity, and you can't use a startActivity method. So I tried adding the flag it asks to add but it just does nothing when I do that. Any pointers? I'm a bit lost.
 
8:37 PM
@AdamMc331 Inspired by flutter really useful
 
by any chance any of you have successfully put a fully functional map on flutter?
 
9:03 PM
anyone here used keycloak?
 
@galmeida yeah here's some code
HashMap hashMap = new HashMap<int, String>();
 
hue hue
 
we do a little trolling here
 
yes sir
my head hurts like in my hair hurts
idk how to explain it
but it's being going on for hours
 
your scalp hurts?
not like a headache but somethin else by the sounds of it
 
9:06 PM
@ballBreaker yes
something like that
 
damn that's weird, is your hair long right now?
 
nope
 
weirder
 
ikr
woke up like this
and did nothing unusual to me head
 
my guess would be you somehow slept weird on your hair and it kinda pulled all night
but if its short hair there isn't much to go on
 
9:08 PM
yea same
well not too short idk around 5 cm
 
ah true yah definitely possible then
do you wear over-ear headphones?
 
well more like 7-8
idk
yea i do
 
is it in that area at all?
I've had that slightly from the headband strap on mine before
 
but i woke up like this so i guess it s what you also said
 
true
was thinking maybe a combo
 
9:10 PM
might be
 
but that makes sense if u woke up like that
your gf maybe trolling you is a second option if she stayed over
 
but it's bein going on for 12h like wtf
@ballBreaker guess we ll never know haha
 
maybe it's a warning sign that you're going bald
 
god no please
that s one of my worst fears
 
haha
thats something I've never really thought about, but if it started happening it'd freak me out
 
9:12 PM
i feel like i really don t look ok without hair
some people are ok or they look good
i m solid rock bottom
 
hahaha
Yeah I feel you there, I'm like one inch above rock bottom
 
hi5?
 
getting old kinda sucks
waking up with random pains
 
true that :(
and we re still young
like getting old should start at 45?
right?
shit
 
9:34 PM
hahaha
but then we would live to be like 200
or something
a mathematician will figure that one out later
 

« first day (4115 days earlier)      last day (843 days later) »