« first day (3224 days earlier)      last day (1739 days later) » 
00:00 - 20:0020:00 - 00:00

8:05 PM
omg :'D
 
not bad, not great
 
is... i.stack.imgur.com down or do you guys see that?
It got a 43/100
So not quite burn it with fire, but pretty close
 
what is it?
is it describing your personality?
jk jk :p
 
lol
So I just went to run my unit tests and now it can't resolve anything android
 
You see the picture, yea?
 
8:10 PM
I have the flag to return default values for Android
 
It's blocked on my end for some reason
 
but I'm getting NoClassDefFoundErrors all over
yes, I see that image
 
@ballBreaker yes "Open Flaw Severities"
 
Ahh okay, yeah it's one of our legacy applications uploaded to Verascan to scan for information security vulnerabilities
Also yeah, my personality xD
jk my personality is obviously a 69/420
 
Restarting Android Studio fixed it all
 
8:16 PM
oh man lol
Don't you hate that
 
doesn't happen that often
 
That's good, yeah IDE causing issues is a pain, I'm no stranger to that dealing w/ eclipse these days <_<
 
The guy who created VS Code created Eclipse
He said VS Code is his apology for eclipse
 
"dealing w/ eclipse these days" o.O
 
8:28 PM
Jena mera, kushian teri <3
I increased my recycler view UI perf as much as I could
And now the the scrolling is smooth af
Everything is drawn under 2 times, mostly blue UI
 
da be di da be da
 
I am blue
But yeah, it still does not look the way I want, I mean perf wise it's more than perfect
 
@eski yeah v_v'
I mean, technically this is even worse.. I'm dealing with RAD (Rational Application Developer)
So not only is it ECLIPSE it's also IBM
Literally hitler
I program using Hitler
 
@TaseerAhmad show screenshot
 
ok
CL helped alot in reducing overdraws
Back then, I was nesting LinearLayouts and it was awful
 
8:38 PM
oof
how does it look in normal mode
 
It's white
I am working on pixel perfect UI after many months
The way things are setup, the cardview is being overlapped by a CL, I will see what I can do
 
that's normal
wait I thought you said FAB
 
The FAB does not confine to material design spacing
Slightly reduced app load time by using ViewStubs
 
What does Kushian mean? I've seen you say the word twice now haha
Only result I get is
 
I am trying to find a way to make that card view appear but apparently it resides behind a constraint layout, so any property I set does not apply, like elevation or corner radius
@ballBreaker ahahasaha
I genuinely did not know the word actually existed in the dictionary
 
8:47 PM
bahaha me either
 
> apparently it resides behind a constraint layout
what
 
I feel like everything you can think of has an urban dictionary definition
 
Kushian in my lang means happiness
 
ahh oki!
Wasn't sure what the language was
Pakistani to English clearly isn't right hahahaha
 
@TimCastelijns T_T don't judge me, I don't what's the issue here so I am coming up with possible causes
 
8:49 PM
> Five languages have more than 10 million speakers each in Pakistan – Punjabi, Pashto, Sindhi, Saraiki and Urdu
Jeeze how do you keep track
 
I don't even know what you're talking about G
 
@ballBreaker We have one word 'gay' as well when converted
I know Punjabi, Saraiki, Urdu and English :P
 
any of you nerds handle graphs (data structure) frequently?
 
The thing with regional languages is that they don't largely differ from each other so it's easier to learn
@TimCastelijns idk how to explain the problem ;_;
 
I wanna implement this (because I don't see a lib providing this :O) en.wikipedia.org/wiki/HCS_clustering_algorithm
 
8:52 PM
Raghav slays data structures on a daily basis
 
but from my reading there are performances improvements on that algo with heuristics
(of which I don't find implementations of course...)
 
saw it but it has just 2 stars XD
and it doesn't do heuristics, basically just the implementation of the pseudo code on that wikipedia article
 
@TimCastelijns Okay, so I will describe the problem in a few sentences. If I make constraint layout as the root of the layout, then place a cardview and then place a constraint layout in that cardview, then I am able to apply card view properties(like card corner radius...), otherwise I end up with a card view not visible
It is technically visible, but it's applied properties are not
 
why do you need the root CL
 
8:59 PM
@TaseerAhmad that seems way to complicated
also general rule of thumb never nest constraint layouts, they are pretty heavy do calculate and draw
 
I don't need to, but for some reason if I make CL as the root then the card view elevation and corner radius is visible
@IvanMilisavljevic That is what I am trying to avoid
I suck at explaining
 
and what are you trying to achieve?
 
Just a card view with elevation and corner radius
 
and whats the problem with using CardView layout?
 
Wait, I will show you the blueprint, it would be easier to understand
 
9:04 PM
roger
 
back in the day, we wouldn't use the Design editor of AS, because it sucked, does it work now?
 
F - FrameLayout(root) CL - Constraint layout T- TextViews
And now I will show you the XML and then you would automatically understand the problem
@MehdiB. I don't know man, I recently started using GUI editor, I used to write XMLs before
It's kind of ok, does the job
 
Afterall, I beleive that's what Google wants us to do, use this editor with the intro of CLs
 
9:08 PM
well its fine
 
@TaseerAhmad nice!
are you as fast at writing layouts in code VS the editor?
 
@IvanMilisavljevic You see the problem now? The card view layout is not appearing at all, only frame layout and CL layouts are visible
 
yeah
your root has wrap content, but the cv has match parent
also wild guess, remove that foreground from the cardview
 
Writing XMLs is a little faster because I can just hit enter and move on to a new line and write new property, but with GUI I have to scroll and do clicking
 
cardview needs that to get the ripple
also GUI editor adds dumb attributes
 
9:13 PM
@IvanMilisavljevic Yes it's because the whole layout size is defined by text views. If you see the text view property, they have a text limit on them, so where they finish the limit, whole layout adjusts to it
This problem has to do with root layouts
 
Yuck
 
so if i understand correctly cardview is not visible?
 
can you see tha background of the cardview?
 
9:22 PM
nope
 
also there is this
   android:elevation="6dp"
vs app:cardElevation="6dp"
but that shouldn't be the issue
 
oh well
that was stupid of me
chaging to app namespace makes elevation appear
 
stupid of google, not you
 
yeah, also you constraint is a bit off
 
but the problem is not done yet, the corner radius does not appear
 
9:24 PM
for the noteDetailText
 
let me see
what's the issue with it? I don't see it
 
when are you guys starting ML so we can complain about new stuff?
 
@TaseerAhmad you dont need bottom constraint
otherwise it might overlap with the images
 
I find the problems quite challenging as soon as you get out of the hello world examples, would be nice to discuss the approaches in groups
 
also one note
use tools atributes
 
9:29 PM
👍 nice catch
@MehdiB. when we reach the epitome of complaining about Android
 
some of you already have :D
 
alien dating app?
 
also try not to define paddings and margins on the single layout
try to put them on the container
 
container?
 
9:32 PM
yeah like constraint layout
define single padding for the layout
il give you an example give me a sec
 
@IvanMilisavljevic whats the xml behind it?
I suck at UI, I made a mistake when learning Android back in 18 by spending most of my time in just creating and not reading docs
BTW, what's your catch on this article -> proandroiddev.com/when-to-load-data-in-viewmodels-ad9616940da7 ?
 
@TaseerAhmad Uf i have like 3 hours worth of rant on ViewModels on android
actually entire MVVM
ignore the formating, my as is acting up
 
That's much better than what I wrote, you removed redundant constraints
 
So by the original standard which originates from .NET (if i remember correctly).
View -> ui
Model -> domain
ViewModel -> Place where the interaction between V&M happens. Basically (in some way) both components are allowed to interact with each other by using two way binding
Opposed to MVP where non of V or M knows anything about other components in the system
Problem with android is that ViewModels have weaker access than the View (activity in our case
So if your not using DataBinding your doing it wrong
if you want to implement MVVM by the original standard, you need access to the view
and ofcourse you will be leaking Context all over the place
If you want to go with LiveData, in that case, thats more likely to be some kind of poor mans MVP
 
9:50 PM
welp, idk much about software architechture designs, only started with MVVM
 
lol the stuff i just wrote is complete mess
i hope you get the point
i find MVP far better suited for the android
 
@IvanMilisavljevic I tried following this but the corner radius is still not working :/
The corner radius does appear if I switch the view to overdraw mode, but it does not appear, its like the card view is invisible
I will see what I can do
 
here is the example of simple MVP implementation
@TaseerAhmad hook your phone to the usb
and go
Tools -> Layout Inspector
and see whats going on with that cardview
@MehdiB. i really hope never :D
 
@PrasadPawar you have write access, please read the rules before anything else: room-15.github.io
 
i have to learn high school level math first :D
As a bonus, you can create AS templates for common components in the system
Like for those Presenters and Views
So you can generate all of that boilerplate thru AS
 
10:18 PM
@PrasadPawar for leaving without acknowledging the rules, I've revoked your access.
 
i think zuc is alive
!status
nope
 
10:31 PM
@PrasadPawar second chance. There won't be a third. Please read this first: room-15.github.io
 
@IvanMilisavljevic 99% of chances are that you'll just use the algorithms made by actual mathematicians :D
 
ye, but i have to learn what i have to use :D
 
@CarlAnderson Gee, Carl can be scary...
 
i did some firebase ML
 
@SnakeException yep. I don't like being trolled by people requesting access multiple times and then ignoring the chat.
 
10:40 PM
Makes sense, I guess.
Wait so you already revoked his access once?
 
22 mins ago, by Carl Anderson
@PrasadPawar for leaving without acknowledging the rules, I've revoked your access.
Yes
On this very screen.
 
Oh hehe
@PrasadPawar He means it :D
@PrasadPawar We'll know if you read them or not. Trust me.
Hey all whats the fastest way to permalink chat messages because right now I'm doing copy+paste lol
 
lol there is a button which says permalink
click on arrow next to the message
 
I clicked it, it just opens up the message and doesn't permalink to chat
Then what I usually do after that is copy+paste the url
 
@PrasadPawar for leaving without acknowledging the rules, I've revoked your access. Please don't request it again today or you'll be banned.
 
10:50 PM
LOL
@PrasadPawar Should have have listened to our pings buddy
 
@SnakeException no need to taunt him.
 
Well, no, I wasn't really. I pinged him three times
 
@IvanMilisavljevic It's not Zuc, it's Zucc >:(
Respect the bot
 
11:46 PM
So, I have been recently reading about solid principles and out of all principles I found interface segreggation principle really useful in Android dev
Though, have not implemented it yet, I will try it with ViewModels
 
11:58 PM
But I have a question, if one had followed SRP religiously, why would there be a need for ISP? I mean if one class contains certain methods that the other class would not use, why not create another class specifically for that class to use, either using inheritance or composition?
 
00:00 - 20:0020:00 - 00:00

« first day (3224 days earlier)      last day (1739 days later) »