« first day (2594 days earlier)      last day (2351 days later) » 

5:00 PM
@MarkO'Sullivan cast it?
 
list.addAll(otherList)
 
I'm just bored waiting for these nodes to sync
So bored I'm writing a script to text me when they're done
 
There's more than one field in the object, it's like taking List<User> and creating List<Integer> with all the ages from the user list
 
@TimCastelijns it's linked to the GPS status listener, and location manager
 
well mehdi my boss wants to know how many satellites were used to get an arbitrary location
 
5:01 PM
yes
 
timetogo
 
hence the variable that gets incremented
 
Cya later people!!!! :D
 
Cya Womper
 
bye womp
 
5:02 PM
cya womp
 
users.stream().map(u -> u.getAge()).collect(Collectors.toList())
...oh wait, Android :D
 
any clue how soon after the fix the statusChanged is called?
 
@TimCastelijns it seems you are using activity transition i have to check what is the fix for that
brb cya
 
no idea, Tim
 
in that case, use Kotlin instead
val ages = users.map { it.age }
@MarkO'Sullivan :D
 
5:09 PM
Kotlin <3
 
@milleniumbug ooooh this is the sorta stuff I wanted (no Kotlin atm :(). Thank you!
 
unfortunately, the first one is Java 8 so you likely won't be able to use
 
you could use the stream backport lib for java 7
 
</3
urge to use Kotlin... rising
 
should definitely use.
 
5:12 PM
@TimCastelijns is it a big library?
 
no clue. Not worth it anyway just to reduce 3 lines to 1
 
i started with kotlin recently. Late entry to the kotlin world.
 
@MehdiB. it's not been called in the last 30 mins, but I got 2 locations in the meantime
 
Okay, SMS alerts set up
I should know in 3 minutes if it works
 
5:29 PM
raghav you are in newzealand?
 
No
Success!
 
oh. ok.
 
Raghav you ever play around with making a trading bot?
 
A bit
I need to get into it properly
Probably next month, once I'm more free from all this uni stuff
Trading stressed me out way too much right now
I definitely need a bot to make sure I don't go broke while I'm asleep
 
5:45 PM
o/
 
anyone with firebase push notification experience?
 
the code is pretty scary so I was considering writing my own but eventually lost interest
 
6:09 PM
heyaaaaaa~~ :D
 
welcome back
 
@masud_moni yes
 
@TimCastelijns really? I tested this one github.com/flyingrub/SpeedMeter, and it's about seconds, I had something like 9 satellites in 1min
 
my firebase console says notification is sent successfully but shows 0 ios devices
but one ios device has the app installed
is the cocoapod really that much necessary?
how can I be sure that google-info.plist is present in the app?
@TimCastelijns
And when I try to send only selecting specific device, it says apn certificate error
i have used apn auth key
why is this happening?
 
6:27 PM
o/
 
I don't know if you noticed but this is the android room. I don't know anything about ios
@MehdiB. yes but I don't continuously ask for locations, I just get one every 15 mins with requestSingleUpdate()
 
yes i have noticed that but can't find anything in ios group, thats why came here to try luck
:(
 
@masud_moni apple notifications are a real pain in the ass. make sure you're using a development push certificate, have the entitlements set up etc. I haven't used firebase so I can't help much more than that.
 
Is there anything else other than firebase for ios push notification?
ios is such a pain in the ass
8
:(
 
Hear hear
 
6:51 PM
Anyone have a link to the "How to ask a good question on SO" ?
 
Thanks Mauker
Killer, you're on my list.
 
i didn't do it
 
7:12 PM
@Graeme, that one is outdated, use this one instead stackoverflow.com/help/…
6
 
@ColdFire No, I have a part-time job
Useful API of the day: randomuser.me/api
 
these random users tend to choose really bad passwords :/
 
seriously
 
I appreciate that, Foamy.
 
(I'm off the rest of the week so it's basically friday)
 
Same
 
7:53 PM
 
8:35 PM
@DaveS seeing so many stars it looks like a Rick roll
 
8:46 PM
@DaveS Tired of your shit
Going home
 
9:00 PM
 
9:26 PM
cute cat!
 
-3
Q: I accidentally deleted the sshkeys

Joao OliveiraI accidentally deleted the sshkeys entry from the configuration page compute engine / metadata. it is possible to recover from and an instance that was already created

3
 
Relatable
 
404'ed
 
404 Not Found
saw it on twitter, they may have taken it down
 
9:37 PM
wat
wtf
why is it down
anyway here's a cached version
 
damn
Saw a documentary about a company that mines bitcoins in china that has +50k$/month of electricity bill
 
Wow.
 
yeah it's so stupid
 
Well depends on how much of the market they control, if they can manipulate the market (like the way it was with Bitcoin Cash) they need less than 7 bitcoin profit to break even
 
I wonder how much electricity is used for all cryptos
 
9:48 PM
> Interestingly, Bitcoin’s price increase over the last month has been just over 40%, which is greater than the increase in electricity consumption.
> This means the estimated annualised global mining revenues now stand at $7.2 billion USD (£5.4 billion), which even at the more expensive estimates listed above, means it’s still very profitable.
Pretty mad
 
It is indeed
 
10:13 PM
What would be the starting point of an animation like this one (beside the circle lol)
user image
4
 
Can't answer. Too mesmerized by it
 
haha! same :D Kept staring at it for 1min, kind of trippy
and this one
I see that the second can be done with 2 circles then some modular function on a part of the arc
sinusoidal*
 
10:48 PM
@Graeme you can link to it with [ask] in a comment or in chat
 
10:59 PM
@MehdiB. I want this as a loading icon.
 
haha! same, just got this as requirement
 
just show the gif instead of recreating the animation
 
I didn't find it with a transparent background
 
make your app black and you won't need it :D
5
 
hahahaha
 
11:03 PM
True genius
 
lmfao
gold
 
If we can't adapt the asset, adapt the app
 
reminds me of one day I found a neat sql query that works on Oracle alone, so I dumped mysql
jk :D
 
lmao
 
lmao
 
Whoever finds the code to implement that loading animation has to share, that looks cool as fuck
 
whoever does this should be labeled as the true Jon Skeet of geometry and Android
 
CA can probably help out. He is math genius
 
good point!
@Code-Apprentice need your lights here :D
any idea on how we can create the animation above (the one stared and colored)
No worries about the android code, a math function in the other hand will be very cool :D
 

« first day (2594 days earlier)      last day (2351 days later) »