« first day (3338 days earlier)      last day (1601 days later) » 
00:00 - 22:0022:00 - 00:00

12:00 AM
 
just be a terrible father and play with your kids cM
 
I already feel bad enough for beating the crap out of my daughter in speed all weekend
 
@DaveS Thanks Dave, I love it! I'll DM you my address
 
I'm pretty sure she wanted to cry. I even told her a few times not to
 
Jkjk, I may actually get it though lol
 
12:08 AM
Tradam back together again playing Pun Intended
 
@AdamMc331 plz
 
@codeMagic well you can't let them win or they'll never be motivated to improve
that's why everytime my 1.5 year old plays peekabo I lock eyes with her and never let her break LOS
 
Right, and I never do
lmao, good for you!
 
you gotta establish dominance early
 
I have. That's why when they started walking, I would throw pillows down in front of them to make them fall. Just to let them know I could break them at any time
 
12:12 AM
lol
 
plus it's funny to watch
 
on a serious note shes turning into a scary good climber
she went all the way up the bucket ladders on the 5yr + playground like 6-7 feet high no problem
I had to take her off cause she was getting out of reach
 
That is scary at that age. It will be cool in 4-5 years if she's a boy But scary at that age
 
yeah
like one of these but at the top just attaches to the playground
 
@Adam plz
 
12:16 AM
My 9 yo boy has always been a climber and jumper. It's still scary but funny as hell that he's always climbing shit.
We'll be at the ballpark and his mom will yell at him to get down off the fence and I'll have to yell at him too even though I've been watching him for 10 minutes
damn, lol
she's 1.5?
 
yeah
it wasn't straight up though
slanted at an angle but a fairly steep one
just went up it like stairs
she has good technique though, only moves 1 limb at a time
 
sounds like my youngest but she might be a little more daring
Pro tip: get her in gymnastics because soon she's going to be jumping off that shit. That way she at least knows how to do it correctly
 
user image
2
 
that's a good idea
although for now shes really cautious about going down anything
 
"for now" :D
Also, I didn't have my kids in gymnastics that young but I wish I did. I watched some of the little tikes when my kids were and it was fricking adorable. haha
 
12:24 AM
lol Looking to see if they take anyone that young around me
 
:)
 
found one that does 1.5-3 yr olds
 
nice
 
1:07 AM
Ok. Got my footage. To editing!
 
 
2 hours later…
2:41 AM
o/
 
 
3 hours later…
5:54 AM
Why issues went missing?
 
Looks like you're having... issues
 
Hmmm
Did issues button are disabled for deefault?
Assume any project must have an issue, why did they disable it by default
unless a project for printing Hello World!
 
Tom
6:48 AM
hello
it's Santa Claus day
I guess @geisterfurz007Stopthischaos, mostly you will appreciate this:
 
7:31 AM
Greetings!.
i am developing a side project for fun. its for selecting a team of 5 members each side for a football game.
i have used firebase when people login i take their details and store them.
whenever a player says yes its updated on firebase as well. so only 10 people can say yes.
and i need to randomly put 5 people on each side. is there a way i could put that logic on server ( free server) and listen to changes in firebase so that i can choose a team randomly or it could be based on player rankings.
Any ideas would are welcome!
i could use a firebase databse triggers reading on it
 
8:05 AM
You could select them in some deterministic way
 
can you elaborate?
 
hash(current UTC date + player_id)%2
All players who get a 0 for that are team A, others are team B
 
i could use rankings instead of randomly choosing them
 
You'll end up with two groups of exactly five, which can be calculated on each device independently
So the devices don't need to talk to each other, and firebase needs no additional logic
Using the date as an input will prevent the same ten people from always being partitioned the same way
but it will result in the partition always being the same for a given day, if they are playing multiple games
So you could do something more precise like minute or hour timestamps after the 10th player says yes to make sure you have multiple sorts per day
 
there won't be multiple games
i already have date but i could use timestamp and simply as above
 
8:08 AM
Using timestamp is harder since you need all 10 devices to select the same timestamp
If any device is off by a second or two they will get a different result
 
yes.
 
Using a timestamp truncated to the hour or day prevents that, allows you to have a reasonable amount of drift in the clocks
 
o/
 
8:31 AM
hi
MB I need your help with some data binding related stuff that I don't get
Can I show you the code?
 
Tim
I will flag it
2
 
</3
 
I would trash it, but databinding code is already trash
 
and he's gone xD
Imma ping him so hard
@MwBakker If you have the time and are in the mood to have a look at this code (data binding stuff). In showOrderDetails method I get all the data I need from the presenter, but it won't bind it to the layout, reason: unknown...
I cut out the unnecessary part
 
@RaghavSood can i just use hash of userid since its unique for each user.
 
8:40 AM
Also, products are binding well, but the other fields (line 66 to 75) don't
 
looking in to it right now
 
eli
Hi
 
@grrigore Line 66 var currentTotal does not seem to get notified about its change
does the value remain on 0 in the View?
 
but I've set them on line 30+
yes
 
@Raghunandan But that will be the same every day
So the same ten people will always be sorted the same way
You need a "salt"
 
8:44 AM
Yes but only 10 people will say yes and the ids are all unique
 
@grrigore you are binding it, you are setting the value once yes but when this value changes there is nothing to 'ping' the view about the change in the bound element
 
yes i need a salt
 
Yes, but what if the same ten people say yes the next game?
 
yes selecting team will not be random in that case
will have to use salt
 
Just add a shared, unique-per-session salt, and sort them then split into two
 
8:46 AM
I tried to run execute pending bindings or something like that, in the showorderdetails method but with no success
 
If you have some kind of "game id", that would work too if it is unique per round
 
@grrigore I have a solution perhaps but the way I bound my elements goes a little different than your method
 
hmm. go it.
 
Using LiveData?
 
there are two ways to include the 'ping' after a change
you can either bind the element and change the setter to something like INotifyblablahChanged adding to the setter of the bound property
Or, shorter, you can use ObservableField<Integer>
I am not near android studio right now in this office but will put a little syntax for you
 
8:50 AM
I think I can figure it out, but I've used this approach with this.object = newObject before and it worked.. guess I'm missing something
I have to leave for 30 mins ~ 1 hour
I'll let you know and thanks :)
 
@grrigore as I said the way you bind these elements differ from my way but I can't spot any form of notifier in your snippet
working like that gist you dont need to worry about setting notifiers since the ObservableField object has such included (rather than setting notifiers in setters of bound properties constantly)
 
o/
 
\o
 
o/
 
9:08 AM
@nyconing that is odd
 
9:27 AM
@MwBakker but what about the products
that binds, it's because of the notifyDataSetChanged()?
 
I suppose the MutableList<ProductEntity> products works the way it should?
 
yes
 
cause the MutableList has a notifier during the add or delete in the list set
 
that does
um, ok, thank you, I'll try the observable thing
 
btw sideNote: if you ever come to do this products = differentProductsList the notifier of the MutableList will not fire because it's a complete new list rather than a change in the list
 
9:34 AM
yes, gotta use .add or .addall
I mean use the same object
 
yep, may sound obvious but I bumped into it without realisation and caused me a lot of time to figure why nothing got notified..
then I procedeed to notify my head of a bump when I knew wth I was doing
 
We gotta go through that
Did it! Thanks @MwBakker
 
9:49 AM
you're welcome
btw a lot of the code of method showOrderDetailscan be performed in the xml, you can bind visibility status there
could save you some lines in your activity
 
Like what?
 
<textView_subtotal_label android:visibility="@{products!= null ? View.VISIBLE : View.GONE}"/>
 
Yes, right
Still a beginner with this data binding
 
!= null might not be what you want to check on though but you get the intention
cause a non null list could still be empty
 
Yes, I check if it's empty
 
9:59 AM
could perform a .size on it but not sure if that goes for mutableList
 
is data binding kotlin or java? (might be idiot question)
 
I did it in Java, goes both ways but I have no experience with Kotlin
 
in kotlin you have isNullorEmpty()
pretty convenient
 
Yes
 
@CptEric title.isNullOrBlank()
 
10:06 AM
why not both?
 
you dont need both checks
isNullOrBlank checks if text is empty or is consisted only of whitespace characters
 
I mean you can do both :P
 
@IvanMilisavljevic I think he means why can't the other also be a possible way to do it
 
^
 
Tim
empty checks "", blank also checks " "
both check null
 
10:07 AM
Noice
F
 
empty =/= size = 0?
I thought empty meant not null but also no elements in list
 
isEmpty means no elements in the list, right?
 
I don't know, I suppose yes
 
Tim
we are talking about strings
 
I have returned
 
10:10 AM
public inline fun CharSequence.isEmpty(): Boolean = length == 0
 
huh I was talking about a MutableList
 
I was talking about life
 
no strings attached
 
@grrigore you forgot a trim() there
other " " is not gonna be considered as empty
 
Tim
he copied it from source
 
10:11 AM
that's not my code
 
ah
 
Tim
medhdi see isBlank
 
Gotta report to google xD
 
Tim - ah okay, so they define blank and empty differently
 
@RaghavSood hello
 
Tim
10:15 AM
user image
3
round earthers hate this pic
 
If earth curvature fit into that shoe sole, I guess it would be way easier to meet all of you guys
 
But Tim would still not want to meet
 
makes sense
 
I'd just wave him from app. 4m high. Someone has a short ladder?
 
Tim
user image
6
 
10:19 AM
I must work
 
Brilliant
 
viewbinding vs kotlin synthetic views?
 
Tim
viewbinding
 
One view to bring them all and in the darkness bind them
 
Tim
10:25 AM
idk
why not
 
@Tim <3
 
Tim
viewbinding is not databinding
 
LIES.
 
the word binding coming from your fingers was enough
 
@Tim yeah im aware
 
10:30 AM
see you later buddies
 
Not if we see you first
 
hahahh
why did that made me laugh out loud jezus
 
11:12 AM
If anyone has $2500 lying around, you can buy about 500k IHG points
Fairly worthwhile if you're planning on travelling a bunch soon-ish
 
what is IHG?
and what does it give you?
 
Intercontinental Hotel Group
Buying points at that rate gives you deeply discounted hotel rooms at higher end hotels
Not so useful for regular ones, but the flexibility can be cheaper and nice at those too if you are travelling at peak times
 
i've never been at a high end hotel
is it much different in terms of experience? i really only use hotels as bed and breakfast providers
 
You should try it, they're lovely if you can get there without being broke
Beyond the basic difference of just being nicer, they tend to have better services, better locations, and the hotel concierge can be helpful for last minute plans and tickets
But if you just need a place to crash, an airbnb or regular hotel works just fine
I mostly stick to simpler places when traveling for work, since I'll be in offices most of the day anyways
When travelling for the sake of it, I take what I can get
 
i usually jump into booking and sort by price and distance
 
11:27 AM
That is an option, yes
 
11:52 AM
I usually sleep under bridges
 
Gotta try everything out
I've slept everywhere from parks to universities to backpackers to motels to the fanciest hotels in town
Take what you can
ProTip: The backpackers' places tend to be the best source of kidneys
 
12:08 PM
Pro-pro-tip: western european young white tourists tends to have the freshest kidneys
Especially if they wear baggy pants
 
@Nyakouai so I'm not alone
 
12:23 PM
 
Nordics countries are bluer than UK and USA
 
hue hue
cause they used to invade UK xD
 
Tim
netherlands #1
 
Remember, remember, the 8th of June-er
(8 june 793 for the curious)
 
Tim the English man
 
12:30 PM
That seems incorrect.
 
12:47 PM
fake news
 
1:00 PM
@Tim bound to his country, like a true MVVM patriot
 
mvvm?
 
nvvm that part
 
1:25 PM
Isn't today a boring day? I feel like today is a boring day
 
Tim
today is a day, so yes, it is boring
3
 
How motivating Tim. Truly motivatim
 
@MwBakker
How should I wrap a List<Strings>?
 
@Nyakouai I'm looking for a cool abandoned place to visit this weekend but well... none in my area
@grrigore I don't know what you mean with wrap
 
ObservableField<> ?
 
1:30 PM
If I understand correclty you want a List<String> that is being notified at change?
or do you want a List<ObservableField<String>> ?
 
1st one
I add items to the list so I guess I should have Obs<List<>>
 
You have a MutableList that works like that right?
 
That one is using an adapter, this one I just concatenate the elements (strings) into a single one (stings)
 
but you want to show this List in the View?
 
Yes
 
1:46 PM
then you would need an adapter
doesnt have to be custom though for just a bunch of strings
So two things: you want the list to be notified when add/delete is occuring, but you also want the object inside the list to be notified when it undergoes a change, right?
 
Let me explain it better
 
close enough Anderson
 
But I'd better rewrite my code as the current code seems to be fucked up :)
 
@Anderson welcome! Please read, confirm reading, and follow the rules: room-15.github.io
 
it smells lol
I solved it MB, sorry for wasting your time
 
2:06 PM
no worries, I had spent just a minute analyzing since I hadn't had enough info
no time wasted
 
Yay
 
@Tim are you free? just had a question on kotlin coroutines. its been a long time since i used that
 
2:56 PM
heyo all o/
 
Heyo one o/
 
yo bb
 
3:14 PM
😃 how's everyone's friday?
 
Too far away from the week end to my liking
But things are looking up
Yours?
 
hahah nice, same honestly
my left nostril/sinus has been burning like a motherfuck since yesterday around 5pm and my whole left side of my face feels like ive been snorting salt
other than that.. im alright haha
snowing like crazy outside rn which makes me happy
 
hahah not nice, same honestly
Okay not exactly same, but it's this period of the year, where you're almost sick but not quite dying
The snow part is cool tho
LOT LESS since someone told me you can reach -40°C, but still, snow is cool
 
I dont even tihnk im sick because I Feeel fine otherwise.. might be a dry thing idk
might need to lube my finger up and go to town on my nostril
 
Thanks for sharing that xD
 
3:17 PM
haha yeah canada is weird
ranges from -50 to +50 C in the course of 6 months
-50 is quite rare tho
same with +50
 
Holy motherfluffing cow
 
more typically -30 to 30
 
You're West of Canada, right?
 
nah Toronto
 
I had to check a map to be sure... Always appaled by the distance between towns...
 
3:22 PM
hahaha
yeah canada is massive
I'm always appalled by how small Europe is
It takes 18 hours to get from Toronto to Manitoba
That's like ... UK to Kazakstan
 
Yeah. I checked Montreal to Toronto. Try to do that here, you have crossed a border in most countries
Sorry, what?
 
lol the distance between one province to the other is like the distance from the UK to asia
Yeah Montreal to Toronto is like what, 6 hours?
 
I like to imagine a bearded tall loony arrive in North America, look to the mess going on south, look north to the barren, white expanse of freaking nothing, and goes "Yeaaaah, this is our bit now - Your bit? From here to... - Fluffing don't know. Till there is no more land in this direction I'd say"
It's insane to just imagine the time it took to colonize it
Here, they fought for hundred of meters. Over your place, some rando just took a fuuucking long hike and claimed basically everything he crossed
(Am I vastly oversimplifying things? Of course)
 
hahahahha yeah basically though
and they actually had to give free land out the asshole to people to get them to migrate west
The people who live in say.. Saskatchewan are almost all people who descended from people who were given free farmland as an incentive to get thme out that far
 
3:37 PM
Well, why bother, there was still plenty of space East :P
I understand people being like "tf would I move?"
 
was today a productive day people?
 
Tim
lol
 
^ That
 
Tim
@Raghunandan shoot
 
I'm disappointed guys, today is friday and it's 16h40, you can be not productive at all the whole week but you have no excuses on fridays between 15h30 and 21h
 
3:45 PM
It's already 16h40? Why am I still at work?
16h45 :o !!!
 
@MehdiB. what?
why would you ever want to be productive during those hours
 
Tim
----^--->
 
what am I supposed to be finding to my right
 
Your will to work. Oh wait, no, it seems it has been misplaced ¯_(ツ)_/¯
 
@IvanMilisavljevic this song is awesome and fun
 
3:56 PM
government lies
 
> This site is also protected by an SSL (Secure Sockets Layer) certificate that’s been signed by the U.S. government.
 
Tim
@ballBreaker the destination of the joke after it went over your head
 
The gov is not a CA. They didn't sign their certificate. It was signed by digicert.
 
@Tim oh, I always thought jokes were supposed to be funny
 
3:58 PM
@Tim hahahaha
 
@JBis governments are CAs as well
 
Got to go :) See you all, have a nice week end
 
cya Nya have a good weekend!
 
@ballBreaker i was kidding, not serious etc... you should have understood that.. son, I'm disappoint
@Nyakouai Cya!
 
I think the US gov is a root CA
and digicert is an issuing CA
@MehdiB. T_T too early for jokes
the joke     --------^------->
your head            o
@Tim here you go for the future
 
4:05 PM
@ballBreaker Thats cool. Didn't know it existed. But the root ca for that website is digicert.
guess its semantics\
 
yeeeeeeeeeeeeeee
 
@ballBreaker lol that website uses lets encrypt
 
@ballBreaker hey mate
 
@MwBakker ay dude whats goin on
 
I'm alright, how about you?
 
4:21 PM
im decent other than my nose feeling like I snorted glass
@JBis lol US government shit
 
4:54 PM
Is reddit down for anyone else?
 
Tim
likely
 
5:10 PM
@ballBreaker wouldn't know, i definitely don't browse reddit at work... but no it's not down
actually maybe it is
front page worked
it's slow
 
o/
 
 
1 hour later…
6:34 PM
yeah it worked on my mobile but the web page was all screwy, looks fine now
 
7:11 PM
posted on December 06, 2019 by Android Developers

Posted by David Winer, Kotlin Product Manager When we announced Kotlin as a supported language for Android, there was a tremendous amount of excitement among developers. Since then, there has been a steady increase in the number of developers using Kotlin. Today, we’re proud to say nearly 60% of the top 1,000 Android apps contain Kotlin code, with more and more Android developers intr

 
7:49 PM
Yoooooooooo
o/
 
have a nice weekend my dudes
 
cya
 
yoyo
@grrigore u2bb
 
yes it will
as long as I have to work at my assignment that's due on Sunday night
:X love
so yea
peace and love
 
ciao amigo
 
8:28 PM
posted on December 06, 2019 by lfy

Emulator 29.2.12 is now available in the Canary channel. Changes: Improved emulator performance when using the camera; camera frames are now delivered on a separate thread from the vCPU thread. In particular, ADB and other services like graphics are no longer bottlenecked while the camera is active.(Requires future system image update) Improved virtual camera frame upload performance itself via

 
 
1 hour later…
00:00 - 22:0022:00 - 00:00

« first day (3338 days earlier)      last day (1601 days later) »