« first day (2769 days earlier)      last day (2193 days later) » 

4:00 AM
nice come-back at life
 
4:17 AM
Is this ViewModel thing separate from MVP?
 
4:27 AM
o/
 
4:45 AM
o/
 
4:55 AM
 
I have returned
 
^In another world, when me and @MarkO'Sullivan meet
What have you acquired this time Raghav?
 
Peace
 
5:10 AM
public static final Class[] ENTITIES = { Task.class };
this is a constant, right?
Room database lib is not accepting it as a constant.
@Database(entities = DatabaseSchema.ENTITIES)
says DatabaseSchema.ENTITIES needs to be a constant.
 
That's not a constant
Constants are known at compile time
Task.class might not be
Compile time constants are only primitives and strings
Although I think these days sinlg classes work
Try making it a regular final var, not an array
 
5:43 AM
thanks
> Task.class might not be
this is confusing. we don't change it at compile time.
I should read more.
 
I suspect it might, but it isn't a primitive or string literal
It's sort of like Calendar.TO_MILLISECONDS(10) will not be considered a constant, but 10000 will
 
Morning
 
6:28 AM
Morning
 
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!!! :D
 
Acceptable morning to you too, W0MP3R
 
morning!!!
 
@Abhi is jordy from florida now?
okay i am tired
spent last night coding
 
6:43 AM
\o
 
sup warren
 
nothing, my layout glitch is a real rendering/layouting glitch. When I change the text via stetho, which triggers a new layouting round, it directly jumps into the right place..
totally crazy
though I haven't figured out why the title text differs too
but know back to work mindset
and on your side? You worked through the night?
 
kind of
i started a self project
and i overspent time on it
 
ah the pleasure of starting from scratch just to fail, again, hitting the hard wall of "no damn time" (talking by personal experience, wish you the best of luck with your project though!)
 
an app dedicated to cover heritage and humanitarian stuff
using open api's from the gov
thanks! _D
 
6:50 AM
sounds nice
 
the app will give users access to the registry of missing people during the dictatorship (between 1936-1955), the found mass graves map (between 1937-1949), heritage routes between important locations, and a registry of entities and museums to visit.
there is nothing like that right now
among other features
 
@Abhi LOL I don't like Fortnite that much
o/
 
spent the afternoon mixing json and xml apis on my firebase backend
then the night playing with the data
 
my pixel 2 phone could not start even after charging for hours. Had to call google to fix the problem. The customer executive said its a boot loader problem. Dam.
 
Last night I got firebase auth login responding with a firebase user so that was pleasing
 
6:59 AM
haven't had issues so far with my pixel, except that security updates slow it down a lot
@MarkO'Sullivan it's lovely to see hte first row ever in the authentication tab
 
no problem until today. kept the phone charging and tried starting. no response from the phone.
the customer support from google is excellent
 
@CptEric na I created it manually on the console :D not an actual user just yet
 
admob is not giving me money :(
0,29 € :(
 
@MarkO'Sullivan how long did it take?
 
@TimCastelijns surprisingly pretty fast, the actual plugin / firebase setup was quite smooth. Minus me having issues with play service version with the emulator (using Flutter for it)
I think one of the Flutter devs might be looking at trying out Flutter on Apple Watch
 
7:06 AM
no I mean the actual login lol
sometimes signIn with custom token takes like 10 seconds here. No clue why
 
Was pretty quick, couple of seconds I guess?
 
depends on how fast google is at that moment.
for me usually 2-4s
 
Apple Watch / Flutter related tweet: twitter.com/mjohnsullivan/status/996426888414351360
Yeah mine was around that Eric
 
couple of seconds is quite slow imo
 
it's okay
our fastest homebrew login is 0-2s, but it's a insurance company
 
7:19 AM
@CptEric lol
You need users eric
I agree 2s is slow
 
nah
facebook takes 6-8s
 
Fb is crap
 
has more users than all of us combined
 
exactly we are getting 2 sec with handful of users
that is not good :D
 
if your system is scalable that is no issue. if you can give 2s when you have 1K users and 2s when you have 10K users you're okay
if your time to login exponentialyl grows, then it's not okay
 
7:26 AM
yes
 
yes
 
so far for us it takes the same time to login when there's 1 concurrent user than when there's 800.
 
we have a O (log n) login well good job boys
 
atleast by our logs.
 
lol nice
4
Q: RecyclerView onClickListener

JordySo after 5 months of webdevelopment I needed to get back into android but I noticed some of my old code isn't working anymore. I have a RecyclerView with a adapter for the data but the onClickListener for the items doesn't respond to anything. This is what my code looks like: public class Projec...

asked by jordy answered by me , marked dup by tim lol
that is too many r15 on one question
 
7:30 AM
not my fault I have to clean up your mess
 
jordy's mess lol
 
CF answered that in 4 mins holy shit
 
well i was answering questions back then
 
this issue is super obvious if you have dealt with it before, or google it
 
yup
sends jordy to the noob corner
wait didnt jordy again asked about this RV clicklistener few days back?
 
7:40 AM
yeah
we are all noobs
 
lol true
 
This piss take talk from Chet Haase & Romain Guy is hilarious: mixitconf.org/en/2018/comedy-talk
 
Having Log.d() in presenter is anti-MVP?
because it is android.util.Log (?)
 
closed 40 tabs and RAM usage still same :/
these browsers :/
 
7:57 AM
chrome?
 
Don't use chrome
 
opera
 
Mozilla ftw
 
YEEEAAAAHHHH
Firefox ftw
 
7:58 AM
chrome does release memory i guess the only good thing about chrome
 
@ColdFire I use this extension to reduce ram usage in Chrome
 
ff is fucking up these days
 
just buy 16gb extra ram for 5$ and stop complaining lol
 
wtf 5$?
 
$5 = 16GB RAM, when?
 
7:59 AM
8gb ram is almost 90$ here
 
I bought 8GB, replacing 4GB(which he kept), in almost $65
 
my laptop is already at 12gb i am gonna upgrade to 16 soon
that is the maximum supported by my laptop anyway
 
@rupinderjeet Doesn't the extension increase the ram usage more?
 
i have a friend who is gonna to US soon i am gonna ask for a 32gb i have in sight
new laptop \o/
@rupinderjeet i know that extension i dont use chrome tho
 
I have 16GB and I feel that's not enough
Need moooore
 
8:02 AM
ram is cheap af
 
yeah 16gb is not enough for a heavy user like me
i totally agree
 
for me, I am at 192 MB ram for chrome than 900+ before it.
 
well its cheap in the west lol
rupin impossible
192mb must be the ram of core chrome process lol
 
@rupinderjeet That extension itself would siphon 192mb ram
 
@Abhi 🤔
 
8:07 AM
ok something is wrong with AS ever since i am using the kotlin plugin its lagging way more :/
 
How can I see how much ram the extension is using? This is it though.
 
@TimCastelijns Tim, give me your nerd badge back pls
 
@ColdFire are you using 1.5.1 still?
 
3.1
 
damn you caught up on me
 
8:12 AM
1.5.1 was way smooth :(
lol
oh 3.1.2 is available in stable release
i guess 7 open project is just too much for studio to handle
 
Or 3.2 is there for you in canary
3.2 CF
wink wink
nudge nudge
 
i used 3.2
on my laptop
didn't like it
too slow
 
yeah newer AS version are just too slow :(
 
:|
Apparently you can speed it up by disabling a lot of the default plugins
 
no no, slow as: directly lag in the UI or the code edit
i had lag while adding a gradle plugin
 
8:21 AM
yeah that----------------------^
lags while typing is annoying AF
 
I sometimes have that. Reopening the project always fixes it
 
@ColdFire i hate that, or just typing and nothing being entered at all (restart always fixes it ... restart of AS / PC)
 
o/
 
i might install a linux variant besides windows
windows 10 is annoying af and extremely ram hungry
o/ netpork
 
I don't know anyone who willingly develops on windows
 
8:31 AM
i don't have it (lag) at all on 3.1.2
so i guess it's just debugging enabled shit
i went back to 3.1.2
 
yeah i solved it by closing 3 project and closing some opera tabs
i guess i ran into serious RAM constraint
 
well duh
 
but yeah AS has too RAM hungry these days
 
my os sierra is high
 
does CL even supports wrap_content?
 
8:43 AM
@netpork shouldn't allow it to smoke weed
 
Belgium denies extradition to spain of the catalan politicians living there.
 
Edit - oh wait I misread
 
lovely belgiums :D
 
Yay for Belgium
I read it that Belgium was extraditing them lol
 
lol
 
8:45 AM
Scotland denied it temporarily yesterday until spain provides more proof, the same that belgium did a month ago. the spanish gov has 30 days to prove that the crimes existed outside of the paper reasoning.
 
nice
 
so in a month we might see Clara free too.
 
That is a nice promotion from LG in Canada: lg-promotions.com/ca/en/pages/g7tvgift/holding
 
oh boy
free tv with phone?
either they desperate or they want to overthrow samsung
 
wow
 
8:49 AM
in any case, the phone looks awesome in HW
and probably the phone's profit margin > raw tv production cost
so they win less, but they still win.
ex:if the phone is 899€, and the prod cost of any high-end cost is never more than 400€, that means that they can offer for free anything between 0€ and 499€ and still recover production costs.
 
9:06 AM
Good noon guys
 
AsteroidOS 1.0 Released! https://asteroidos.org/news/1-0-release/index.html https://www.youtube.com/watch?v=bEmKH7ylSXc
 
@CptEric seen pathsense geofence?
 
yeah, but there's no pricing
 
what about covering all other costs that are not production costs
 
publicly atleast
@MarkO'Sullivan looks nice.
ugh. QML and QtCreator
 
9:16 AM
mark good OS but hey we already have android for smartwatches now
 
think it's the first open source wearable os
It's not just for Android though Cold Fire
It should work for everything apparently
 
my only problem with android wear is that it lacks so many basic stuff.
Wear 2.0 maps had no navigation UI for example
 
@MarkO'Sullivan yeah
 
you couldn't call or ask maps for directions.
that's shit.
 
android wear is still a work in progress
 
9:19 AM
for a work in progress there's 400€ watches out there
 
yeah
 
rx doOnSubscribe and doOnTerminate are to be used for "side effects". Is show/hide progressbar a side effect?
 
no they are effect
but possibly depending on the context they can be
 
@CptEric Just wait till you find out how many countries use democracy as their system
 
92
Q: Any optimization for random access on a very big array when the value in 95% of cases is either 0 or 1?

JohnAlIs there any possible optimization for random access on a very big array (I currently use uint8_t, and I'm asking about whats better) uint8_t MyArray[10000000]; when the value at any position in the array is 0 or 1 for 95% of all cases, 2 in 4% of cases, between 3 and 255 in the other 1%...

this is interesting
@Raghunandan reading it now
webservice.getUser(userId).subscribeOn(AndroidSchedulers.mainThread())
how to tell if a blog post sucks ^
(this is an other blog btw)
 
by comparing with other blogs..
 
lol
 
116
Q: Electronic opt-out, correcting miscommunication, and additional questions answered about the 2018 ToS update

Tim PostWe’ve listened to what you’ve been telling us about the arbitration clause that our most recent ToS update introduced. While we can't incorporate all of the feedback you offered, we did listen to it, and got with our legal experts and higher-ups to see what we could deliver as a compromise. We ...

 
@TimCastelijns like when a webservice is unavailable i suppose
you hide the loader and show a appropraite msg
 
9:42 AM
why else would you show a loading indicator
 
For kicks
 
@MarkO'Sullivan how's your fluttah GF app going?
 
what do you show when doing a webservice call?
 
kinetic procedural butterflies
depends. if the network call is BG-> nothing, if it is required for the user input, either a dialog or a UI-embedded progress
 
a loading indicator
but I meant to ask you in what context showing/hiding a loading indicator is not a side effect
 
9:50 AM
in normal cases when everything goes alright and you get a 200 event i guess
oh its onComplete also a side effect method?
 
no it is a terminal event
what operation or api call you are doing and what the outcome might be is not relevant
 
onComplete is called when api call is done right?
or is it something else?
 
I do this: codereview.stackexchange.com/questions/194168 Three calls to view.setProgressVisibility(false);
 
onComplete is called when the source says it is done emitting items without encountering an error
 
In REST api, there is usually only one object (data ?) to emit, right?
 
9:57 AM
yes
 
But, if we get listed data, we can emit multiple times locally.
ok thanks
 
you can, but the origin will still be a single item
 
oh then sounds like it will be side effect most of the times and only if items are finished it will not be a side effect
 
but that is where I don't understand what you mean
how can it be a side effect at the start, but not at the end
 
i am just saying from what i understood side effect is and method event you described
 
9:59 AM
@rupinderjeet I can answer that question, when I have some free time
 
thank you
> (alarmmanager) ... which will wake up the device when it goes off
wakeup = screen on. asleep = screen off. right?
Or is it the state of device being idle or something.
nvm
 
10:38 AM
@CptEric going ok! Got a login screen done over the weekend and hooked in firebase auth last night (just don't have it flowing from login back to the app just yet)
Will look at getting registration done tonight and hooking that in with firebase auth, once that works I'll hook both login / registration in so it requires users to register / login whenever they go to pay for something (wanting users to be able to jump straight into the app without a login landing screen)
 
11:27 AM
Remember to forward all credit card details for your users to my servers for, uh, verification
 
he will use EricPal
paypal but slower & with higher rates.
 
You aren't his pal, bud
 
i am his bud, bro
 
You're no one's bud, mate
 
i am your mate, dude
 
11:30 AM
You're not my mate, guy
 
i am a guy, friend
 
I'm not your friend, buddy
 
i'm not your buddy, pal
i ran out of sinonyms.
 
Glad we got that sorted out
Yeah, me too lol
 
XD
 
11:36 AM
@Shane Welcome! Please read, confirm read, and follow the room rules before you do anything else: room-15.github.io
@maveric Welcome! Please read, confirm read, and follow the room rules before you do anything else: room-15.github.io
 
user443346
@ColdFire No I haven't lul
 
lol
 
user443346
 
user443346
C R I N G E
 
Sure
I have a query.
 
11:42 AM
please, read the rules :D
 
Let's try this again
 
TLN! long time no see man
 
6 mins ago, by Raghav Sood
@Shane Welcome! Please read, confirm read, and follow the room rules before you do anything else: http://room-15.github.io/
 
E V O L U T I O N
 
user443346
11:43 AM
Hahahahah jeeez
 
Cpt o/
I joined Samsung
 
My condolences
 
...owned company Harman
 
user443346
he got me at Samsung
 
lmao raghav
yo fox
 
user443346
11:44 AM
finally someone who understands
 
o/ Cold
Well.. couldn't complete my whole sentence.
 
user443346
You shouldn't
 
I am developing Money Management app, App have to read all the message coming from bank. I have done with few banks messages. My question is from where I find all bank transactions messages.
 
That was the intention anyway
 
yes finally someone who understands samsung is shit
 
user443346
11:45 AM
8 mins ago, by Raghav Sood
@Shane Welcome! Please read, confirm read, and follow the room rules before you do anything else: http://room-15.github.io/
 
Let's not try this again
 
@Shane :/
 
@Shane Access revoked for failing to read the rules. Please try again after a minimum of 48 hours
 
user443346
Damn xd
 
user443346
You made our bot mad Shane, sorry bro
 
11:46 AM
I'm going to let that request slide since it came in before I sent that message. Do not push your luck.
 
i have to admit that while warren's RO skills are more savage, raghav's have some classy touch that makes me want to see the outcome. must be new zealand's air.
 
@Shane They say third time's the charm, and it is, if your goal was to get banned. Which you now are.
 
see what i say?
 
@Shane This community would love to help you. But you would have to follow the guidelines setup.
 
user443346
Well, if you can't read 10 lines of sentences why would anybody here reads his lines
 
11:50 AM
@rupinderjeet Shift+esc on Windows chrome
 
user443346
@rupinderjeet 200MB? How did you manage that? Chrome always uses like 4GB
 
lol
 
user443346
FF <3
 
sometimes i wonder are these people bots who come here?
 
o/
 
11:52 AM
i mean how many times can we ignore pings?
 
It's Raghav testing new ideas
 
Okay, the SO chat on phone is really bloated
 
lol
 
It's Raghav testing new ideas
ugh, fucking internet
 
later o/
 
11:54 AM
Internet's mauking mauker
 
TLN! o/
 
!/me\ow
 
@TheLittleNaruto later
 
@Reno Torture chamber
 
11:58 AM
^ Also kind of a torture
crumch
 
@Reno Revenge
 

« first day (2769 days earlier)      last day (2193 days later) »