I thought about the problem with LiveData, Fragments, ViewPager
2019-03-20 07953, 2019
gr0uch0mars
and thought that maybe it's better option to go for a different design without ViewPager
2019-03-20 07936, 2019
rvedotrc joined the channel
2019-03-20 07930, 2019
amCap1712
i fixed it
2019-03-20 07934, 2019
amCap1712
gr0uch0mars:
2019-03-20 07949, 2019
gr0uch0mars
!m amCap1712
2019-03-20 07949, 2019
BrainzBot
You're doing good work, amCap1712!
2019-03-20 07954, 2019
gr0uch0mars
how?
2019-03-20 07910, 2019
amCap1712
its more tyoe of a hack around i guess
2019-03-20 07932, 2019
amCap1712
i debugged the app through lifecycle of all components
2019-03-20 07904, 2019
amCap1712
when we click back, activity and viewmodel everything gets destroyed
2019-03-20 07924, 2019
amCap1712
but the repository is saved
2019-03-20 07956, 2019
amCap1712
the live data is not recreated thus as repository is a singleton
2019-03-20 07937, 2019
amCap1712
so what i did is that when ever the repository sends an instance all of the live data in it is reset
2019-03-20 07906, 2019
amCap1712
nothing else needed at all
2019-03-20 07914, 2019
amCap1712
for now it works
2019-03-20 07917, 2019
amCap1712
gr0uch0mars:
2019-03-20 07954, 2019
gr0uch0mars
good idea!
2019-03-20 07917, 2019
gr0uch0mars
I don't think repository should send data on its own, but let's keep your fix
2019-03-20 07952, 2019
amCap1712
yeah thats why a hack around
2019-03-20 07953, 2019
gr0uch0mars
if I can get a simpler working example (without viewpager maybe), I'll think about getting rid of it
2019-03-20 07902, 2019
culinko joined the channel
2019-03-20 07902, 2019
culinko has quit
2019-03-20 07902, 2019
culinko joined the channel
2019-03-20 07910, 2019
gr0uch0mars
but for now we may progress with your solution
2019-03-20 07953, 2019
gr0uch0mars
we should finish this week artist page, don't you think?
2019-03-20 07901, 2019
amCap1712
yes
2019-03-20 07926, 2019
amCap1712
links arebdone to some extent
2019-03-20 07937, 2019
baniket has quit
2019-03-20 07938, 2019
gr0uch0mars
we have artist details, wikipedia, releases, links… what else is pending?
2019-03-20 07948, 2019
gr0uch0mars
works
2019-03-20 07914, 2019
amCap1712
loading states and empty page
2019-03-20 07918, 2019
gr0uch0mars
empty page for?
2019-03-20 07952, 2019
amCap1712
if no data is present for the artist
2019-03-20 07922, 2019
gr0uch0mars
ok, I would suggest putting placeholders while loading. That way the UI is not resized when data is present (for releases art covers, for example). Like Youtube does on the app
2019-03-20 07938, 2019
gr0uch0mars
Grey squares or rectangles
2019-03-20 07914, 2019
pristine--
gr0uch0mars: hey, if i may ask, where are you from?
2019-03-20 07927, 2019
pristine--
wanted to know the timezone
2019-03-20 07942, 2019
gr0uch0mars
pristine--: from Madrid, Spain
2019-03-20 07912, 2019
gr0uch0mars
its 9:39 am local time
2019-03-20 07923, 2019
ruaok waves from Barcelona
2019-03-20 07926, 2019
pristine--
Okay. You are up early morning
2019-03-20 07926, 2019
ruaok
mooin everyone!
2019-03-20 07936, 2019
pristine--
Most of the time
2019-03-20 07937, 2019
gr0uch0mars
good morning!
2019-03-20 07947, 2019
pristine--
So I thought....Nice.
2019-03-20 07957, 2019
pristine--
ruaok: good morning
2019-03-20 07901, 2019
gr0uch0mars
I'm at work. I come at 9:00 am and leave at 18:30
2019-03-20 07920, 2019
ruaok
reosarevok: the gateway is on soft-off. if people ask nicely, it could come back until the schema change.
2019-03-20 07931, 2019
pristine--
gr0uch0mars: nice. I find these hours the best to work. :)
2019-03-20 07944, 2019
ruaok
I'm just trying to see if people do care at all.
2019-03-20 07948, 2019
gr0uch0mars
agree with you
2019-03-20 07954, 2019
ruaok
9am? work? evil.
2019-03-20 07903, 2019
ruaok
10am is a great time to get up :)
2019-03-20 07917, 2019
pristine--
Really 😲
2019-03-20 07918, 2019
gr0uch0mars
ahhaha I wish I could
2019-03-20 07924, 2019
pristine--
I wake up at 8
2019-03-20 07934, 2019
pristine--
Or sometimes 7
2019-03-20 07945, 2019
gr0uch0mars
but early in the morning or late in the evening are the best hours I feel productive
2019-03-20 07948, 2019
ruaok
the only reason why I am up early is because I need to finish a blog post before I catch my flight later
Okay. I will start reading a book on spark. Today I was experimenting by some stupid math logics and the time reduced by around 50 sec
2019-03-20 07907, 2019
pristine--
Lol
2019-03-20 07940, 2019
pristine--
I read a few blogs and realised, spark is lightening fast but one should know how to use it.
2019-03-20 07942, 2019
reosarevok
ruaok: but it's off, was my point :)
2019-03-20 07955, 2019
reosarevok
Which explains why someone's ripper broke on FB :p
2019-03-20 07926, 2019
ruaok
off, but could come back if someone has a compelling reason.
2019-03-20 07935, 2019
pristine--
ruaok: also, I just feel that numpy should be installed on every worker node, maybe that's why we were facing that prob. Maybe iliekcomputers can help.
2019-03-20 07905, 2019
ruaok
actually, you fix it.
2019-03-20 07925, 2019
ruaok
edit Docker.master and Docker.worker and add numpy to the requirements.txt
2019-03-20 07935, 2019
reosarevok
Eh, this is not compelling enough :)
2019-03-20 07947, 2019
pristine--
Okay:)
2019-03-20 07950, 2019
reosarevok
Maybe if the software devs say "we'll fix it but can you give us a bit of time"