« first day (2935 days earlier)      last day (2238 days later) » 

15:00
if there are multiple errors one element can display, the presenter should decide which error message is displayed. If there is only one, then the presenter can say view.showEmailInvalidError() etc
in the first case view.showPasswordInvalidError(errorPwNotLongEnough) or something
Understood, so the view must remain absolutely dumb, even the error lookup is considered an "intelligence"
string lookup is ok, but I think the idea is that the view does not decide for itself which error to show, if there are multiple options for the same field
That makes sense, I appreciate it (y)
but this can get tedious, just do what you like best
It's okay, I'm actually doing a mini-project trying to sum up as much best practices as I can, so not really tied by a deadline
15:04
@AdamMc331 awesome
My new company's app has been released to the public!
interesting version. You made this? :D
Congrats, Mark! The UI looks very clean
are you set on MVP mehdi?
I have been wanting to give MVI a shot but too lazy to do anything lately
Well I helped out, a lot of the code was already done when I joined, I just had to do the redesigns which were missing
15:08
Yes Tim ! Thought it was the most suggested, are there many variations between MVP and mvi ?
If anyone is interested in using it for crypto stuff, download it soon, there'll be a waiting list before anyone gets to use the full app
minSdk 23 you lucky bastard
I envy you
does it have any fun exploits we can use to get rich?
15:09
I was so glad it was going to be at least minSdk 21
I can't install it xD incompatible
incompatible?
Same XD
do you block custom roms?
I think we have to for security measures
15:10
Do you restrict some regions as well?
I'll check
@TimCastelijns / @MehdiB. apparently we don't restrict either
I have a Nexus 6P, Android O
Really curious what is stopping you guys from installing it
15:13
you should be able to find out in the play console
Not available in my country too
Yep just checked, there's been a mistake in the google play console
@MehdiB. btw use verbs in your view methods. validationResults --> showValidationResults
15:15
I don't have permission to change it so getting that changed ASAP
nice get that fast
@TimCastelijns doing it now
@MehdiB. and use 'events' in your presenter methods. submit --> onSubmitClicked or something
oh, I actually thought the presenter shouldn't know what the trigger event was (like a complete separation)
well you can name it onSubmitAction or something to make it more generic. But the idea is that the view only informs the presenter. It does not tell the presenter what to do
15:19
Gotcha, and the Model classes shouldn't be passed from the view right?
like "User" instead of "email, password, fullName"
Anybody has to deal with the absolute nonsense "Cannot find class databindingComponent"
Understood, I like this :D
sorry mwb, I don't use databinding
I don't like it at all xD but I can appreciate the benefits
XD what do you prefer, given you have the choice? your own architecture?
15:22
@MwBakker no , because i never used the databinding crap
Databinding is not crap
The current situation is though
I am not sure mehdi. I have only used MVP and MOS. I want to give MVVM a try with the ViewModel from aac, and also try MVI. See how it all works out
btw, I stumbled across a nice answer in SO stackoverflow.com/questions/6248992/…
> The MVP pattern was described by Fowler in 2004 and he retired it in 2006 by splitting the pattern into Supervising Controller (SC) and Passive View (PV). In SC, the View is bound to the Model but not in PV; in PV, the View is only changed by the Presenter directly.
I'm interested in MVVM as well, i'ts extensively used in web front-end frameworks
MVVM has conflicting documentation / tutorials
But once you get the hang of it, it feels right
looks interesting mehdi, but my eyes hurt after reading 1 line
15:31
Okay so apparently doing a gradual release
@MwBakker i guess to each their own
Tim - maybe it's time for you to ask for a raise, to hire a reader, or maybe CF can lend you one of his employees :D
I find that the UX of medium is agreeable for reading, hope many blogs move there
Kotlin 1.3 is live! :D
5
I was just pinging you..
lmao
I've been watching all morning Eski. ;)
15:36
Oh there was a couple announcements at Droidcon London, Robotoelectric 4 is out of beta and so is AndroidX Testing
stable coroutines is awesome i guess
I wonder if they built the animation with coroutines
15:41
it's alright
CF you run your own business?
kingdom/business whatever you want to call it
2
empire
15:42
lmao
adam you could also read it^
@ColdFire "or maybe CF can lend you one of his employees :D"
we are joking here 99% of the time , havent you got that already?
Could have been
Yeah I got that
15:48
@ColdFire "It’s as if President Trump has hit the journalism industry with a denial-of-service attack." love that lmao
lmao i have said much before this shit NYT got it
they are so slow
Jul 30 at 20:27, by Cold Fire
also when i was saying trump has changed the game i was referring to media credibility mostly
damn i said that in july
too slow NYT too slow
> This release also brings Kotlin/Native Beta that compiles Kotlin code directly to native binaries. The multiplatform capabilities of Kotlin now cover all supported platforms, so one can share business logic between such components as Android and iOS apps.
Yep, but I don't use Kotlin
16:00
kapt is for kotlin though
yeah mark i saw that too
@MarkO'Sullivan ?
Look at the quote I posted
Ah
Anyway I can't move on any longer, suddenly databindingComponents are gone again
Eventhough I am looking at them lol
16:08
starting a new project today!
o/
congrats C-A
awesome CA
o/ carl
@MwB it can help to close the project and import it again
Congrats CA
\o
Anyone going to Droidcon London 2019?
Tickets are cheap atm
what price?
500 Euro?
16:17
Well they just went up in price from the super early bird price
£225 + VAT now
was £150 + VAT
well too costly i need a sponser
Would your work pay for it?
you mean my company right? no lol
@TimCastelijns Good one
Will give it a try
16:24
I occasionally have unresolved import errors that are actually bullshit. When they start to pile up and I can't work properly anymore, I reimport the project and it always fixes it
same
started happening since 3.0
btw anyone tried the latest release?
Yep
"org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac"
It's a fun release
You should def install it bro
@ColdFire I use 3.2.1, except the drawable issue I faced, nothing to report
16:26
hmm no lags and all?
some build errors are fixed by simply building again
¯\_(ツ)_/¯
Been trying for half an hour already
I reverted back to my last edits
Re-importing does not work
I really am not in the mood to manually copy the entire project for the 3rd time :(
that should never be necessary
Scof Lj requested access. Rep: 23 - Questions: 8 - Answers: 2 (ratio 4:1)
16:28
@ScofLj you currently do not meet the requirements to chat here. You can find our requirements in the rules.
what's the detailed error, mwb?
Scof Lj requested access. Rep: 23 - Questions: 8 - Answers: 2 (ratio 4:1)
@ScofLj props for your determination, but you're not getting in today, please stop requesting.
!reject
@ScofLj you currently do not meet the requirements to chat here. You can find our requirements in the rules.
gradle should give you a hint besides "org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac"
16:29
@TimCastelijns I agree
Scof Lj requested access. Rep: 23 - Questions: 8 - Answers: 2 (ratio 4:1)
But it's another hour wasted and I am desperate about this error
use this hammer carl
@ScofLj for repeated requests for access without actually acknowledging you don't meet the requirements you've been banned from the room for 24 hours
welcome to the read-only list @ScofLj, I hope it's been fun
how did the user SD manage to post here, despite being out?
16:31
I don't understand your question Mehdi
possibly raghav failed at his job
ah so you mean he got accepted by mistake :D
I have corrected his failure
yeah the radio buttons for those two options are right next to each other
16:34
makes sense now :D
@RaghavSood your mistake of putting him on the write-access list has been corrected thanks to Tim.
mehdi i saw that too :D
"error: cannot find symbol class DataBindingComponent" it's an absolute nightmare
0 traces, 0 possible scenario causes left
Never once in my life had to deal this long, this many times with such error
Now I have not only reverted back, I entirely deleted the classes that I had been working on last houres. No difference whatsoever in the error
I know start to figure why ISIS and mass shootings exist..
16:51
?
Because of unfound DataBindingComponent symbols
17:18
o/
17:34
o/
o/
R15 Bot should wave to people who enter the room and wave so I don't feel so lonely
17:50
xD
The java room bots already do that
Shame Tim is letting the Java room show him up
Shame you're letting yourself get so attached to Java that you enter that room.
18:30
I'm getting rusty in java concurrency :(
kotlin a kind of stupefy me :(
kotlin makes concurrency super easy
I'm reading up on coroutines as I have time
they look pretty
Anyone here used room/databinding in the same project?
only room in my new project no databinding
not touching that stuff
18:49
"concurrency...easy" -- no such thing
compared to understanding a dagger based architecture, I'd say it's cake
lol dagger was shit
triggers someone somewhere xD
JW weeps
he gave us so many nice things just to fool so many innocent followers, taking a dagger and stabbing them in the back
jksgdfjhgasdjhfbsdhjabfasdjhbfasd
ROOM IS NOT ADDING ALL OF THE PROPERTIES FROM THIS CLASS INTO THE SCHEMA AND I DON'T UNDERSTAND WHY
you need a migration bro
^
@AdamMc331 cat on keyboard?
go outside, it's not good to stay in your room all day
Tristan is not even here
19:07
@AdamMc331 Maybe if you wrote your own code instead of copy pasting libraries from Github you'd understand it
too ruthless man
room rocks
I think it hurts so much because we all know we do it
room + live data super rocks
@AdamMc331 from what class?
I'm gonna lose my mind
I'll gist in a second
As far as I'm aware, there's NO REASON why column one in this gist isn't included in the schema.
The real name for column_one is short which I thought could be the problem, if it were a sqlite keyword, but I've tried changing it to something else but no luck.
lmao wait just kidding
changing the property name from short to something else worked?!?! what the hell is the columnInfo() annotation for then
whatever sorry to bother y'all
19:17
told you
you might as well say it Adam
no I'm not an idiot room is the idiot this time
and it didn't even fix my whole problem lmao smdh
don't hate the game lib hate the player dev
3
does short get sanitized because it's a type?
Adam over here naming Strings "short"
19:20
it's a string. @SerializedName("short") val short: String? = null is how it's defined.
but anyways, that's not fixing my real problem after all. :/
you need a psychiatrist for that
har har har
You'll never get it back Adam, you just need to accept it and publish a new version
I'm having whatever problem this person had: stackoverflow.com/q/46850286/3131147
the second answer is so vague but I think it's part of my problem I just don't know for sure
all you need is another library that can fix the problem your library has with that library
I think Carl nailed it, I'd assume since it's a reserved keyword in Java, it gets discarded?
uh...
6 mins ago, by eski
does short get sanitized because it's a type?
:p
Yeah it appears I can't use short, but even after changing it, I'm still facing issues with databinding. :/ so I fixed one problem, but I have another one somewhere else
Eski - looks like I'm late to the party, missed your message :D
19:27
I know 2 people that use databinding and they both complain about it all day :/
I normally love it
short is a keyword in several different languages, so it's not a good idea to use it, even if it's not one in Kotlin or your language of choice
use "shawty" instead
or shart
3
snort
pretty close
19:31
short doesn't mean much without context either
it's a field inside a location class
it represents a neighborhood within a city more or less
I know, I renamed it to shortLocation just now.
I didn't know locations could be short or tall :P
19:32
how about "hood"
honestly I'm more confused now lol
I like hood
and the friends list can be named "crew"
19:32
Example: My city might be New York, NY but my short location would be "Park Slope"
das yo hood
accumulated upvotes can be called "cred"
definitely will consider renaming to hood
I'm pretty sure this is why @SerializedName() exists, right? The API can be unchanged and we can make it hood in the app ;D
@ColdFire read this earlier today
what is park slope?
the short location for NY yeah yeah
how will it be used
19:35
if your PM shuts you down just play this song
19:45
@DaveS i said the same things months ago :D
@AdamMc331 isn't that called nearest landmark?
or your address?
not really
what the heck is park slope anyway?
an area?
yeah
like a neighborhood
or hood if you will
well then call it a Locality
that is what we call here
sigh adam way to complicates things :/
always
look I didn't write the file it's not my fault lol
Pretty ironic...
lol
@AdamMc331 stop copying from SO then , write your own code adam.
20:10
> What do you call a stolen Tesla?
> An Edison
damn
My friend told me the range of his Tesla and I was like Watt!
no tesla here
@TimCastelijns did you got your shared transition working finally?
20:29
Did you get*
20:48
my what
you were working on shared transition animation quite a while back remember?
yeah when I interviewed for this job
yup did you got the shared transition working ?
yeah but not lag free
I'm going to be worried about lag when Mr. Zuckerberg is president
20:58
hmm seems like you did activity to activity
Like what happens when Zuck's neural network is trained by racist people on twitter
forgot this room may not have had this discussion yet
zucc vs kanye 2020
there was one other pleb who also wanted to run
lol
there is elizabeth too
there are rumour of taylor swift also looking at politics lol
windsor?
windsor?
21:01
windsor
half windsor
what does that mean?
half windsor is the most popular way to tie a tie for formal events
 
2 hours later…
22:45
omg lol
expected something like making all elements the same value, in the spirit of communism
^
The list is already sorted because every element is equal
ColdSort - hire someone to sort it for you
23:00
FireSort - Demand your servants sort it for you
ColdFireSort - Hire someone to demand your servants hire someone to sort it for you
CfSort - lmao just buy a list that is already sorted
3
lol ^
XD lmao ---------^
I can hear him sighing in his sleep
😂😂😂😂
Unknown command '!kick Mehdi B.'
you're trying to use the StalinSort on me, Comrade?
We're trying to use the StalinSort on us, Comrade.
Are we sorted or... eliminated?
23:07
I'm still waiting for a real conversation where I answer a single-choice question by yes XD
dave have you watched Norsemen yet
I did, I watched episode one and thought it was hilarious, love the dry humor in the Viking setting
unfortunately the wife isn't the slightest bit interested and red dead redemption 2 just came out, so Idk if I'll be watching ep 2 any time soon
maybe while I'm watching my daughter
A moment of silence for @mauker and his new Orange president
23:22
nice. I felt the same, and I just love the accents on these guys
yeah the accents are great
it might be the most entertaining thing I've watched in the past 5 years

« first day (2935 days earlier)      last day (2238 days later) »