« first day (3294 days earlier)      last day (1646 days later) » 

3:00 PM
I think the battery is broken
 
So it won't start?
 
nope
it died while driving
could be the dynamo too
 
That's strange for the battery IMHO
 
@W0MP3R How cheering
 
I agree it's strange
 
3:02 PM
is that the new car you bought?
 
no this is my daily driver
 
OH shit dude I just got your pict
 
my daily is same age though
 
It died while driving? it wouldn't be the battery then
If it died WHILE driving it's going to be the alternator
Battery just makes sure the car starts
 
ah alternator is the word
 
3:05 PM
theoretically you can start a car and disconnect the battery and the car should continue to run
 
here we call it a dynamo
 
dynamo makes sense too
 
well the car no longer starts either
 
I call it "wtf happened help"
 
@Nyakouai I do try (✿◕‿◕)
 
3:05 PM
it was a sudden shutdown and had to roll to the side of the highway
 
Yeah when you start your car it drops your battery voltage from 12V down to like 10V then the alternator hits it with 14V to charge it back up to 12
So if you start your car once successfully when the alternator is gone you'll only get one start out of it
 
thx womp
 
@TimCastelijns banned for saying his
 
i alreadt kinda had starting problems last few days but had to replacement vehicle
 
But the "sudden shutdown" is a little worrying because with alternator failing it usually kind of slowly dies over a few mins
 
user11867329
3:06 PM
Yeah try to tell him that.
@TimCastelijns Acknowledged.
 
had no replacement vehicle*
 
But yeah it sounds pretty similar to when my alternator died on my bmw
 
@TimCastelijns falsely assuming possession ofcourse
 
@grrigore kotlin is still a little unknown to me, but I see no observableField or any kind of such so how is the adapter beinf notified?
damn mobile posting typing
I was free early today :(
 
mwb is starting to live the nerd life, debugging on the phone :)
 
3:12 PM
I got 3% phone batt left
 
@MwBakker I did something similar in java with no observalbeField
 
@MwBakker but you chose to spend them with your nerd friends and staring at code 💪
 
And it worked..
 
ok well im just pointing the first possibility that is a usual suspect: the object not being notified
ill look further
 
Yes, that's what I think it's happening... you use androidx?
AFAIK that binding adapter runs non-stop, like a while loop
should...
 
3:16 PM
I did use androidx in my app
 
I have to go, please @ me after you have a look
And thank you :)
 
mechanic is here
see you soon hold on
 
Bye guys see you
 
bye
 
3:18 PM
@MwBakker , unfortunately, I have to leave but will respond asap
 
3:38 PM
o/
 
3:51 PM
@raghav "Additionally, the isize and usize types depend on the kind of computer your program is running on: 64 bits if you’re on a 64-bit architecture and 32 bits if you’re on a 32-bit architecture." when is this useful?
 
the length of your integer, aka the range of values it can have
 
when would you use this type over a standard 32/64 bit int
it does say "The primary situation in which you’d use isize or usize is when indexing some sort of collection." but that doesn't mean much to me
 
wait what is usize and isize?
is that some new voodoo shit?
 
the rust boys are talking now CF
 
ah I thought it was their "signed / unsigned - integer"
 
3:56 PM
you have joined the dark side now tim?
 
no there is i32/u32, and then isize/usize which might be also 32 bits
 
:(
 
I wonder when do you want to rely on the OS to determine the size rather than having control yourself
 
I'm not sure either
 
Time to go~~
Cya later people!!!! :D
 
3:57 PM
doesn't sounds much useful
cya womp
 
you are learning rust?
 
yes
baby steps though
 
@ColdFire "very"
 
why tho?
you planning to do web dev?
 
4:06 PM
for aoc 2019, rust looked most promising/interesting between a few that I compared
 
o i c
 
> Use usize and isize when it’s related to memory size – the size of an object, or indexing a vector, for instance. It will be a 32-bit number on 32-bit platforms, as that’s the limit of memory they can address, and likewise for 64-bit. Use u32 and i32 when you just want numbers.
 
meaning that's only useful for making sure you're not trying to allocate a bigger memory than actually supported?
 
yes, however it seems there are plenty of scenarios where that could occur
 
hmm
 
4:12 PM
"indexing a vector" I don't understand why, since a vector only has references to its actual objects, so even if there is 2^100 elements who cares?
oh they mean actually storing the indexes of the vector?
 
(I don't know)
 
o/
 
o/
 
4:43 PM
Does anyone see anything wrong with how I'm trying to add a TableRow here ?
The row is getting added to the layout but isn't showing up. It's height is zero.
 
You don't seem to be adding a height to either of the second two layout params
You give the row params wrap_content but I don't think there's anything height on anything for it to wrap
 
true
try setting a fix height to see if it works
 
The weight you are setting I believe would only be for the width because it should be a LL.
 
4:50 PM
yes
 
yes
 
aye
 
why not inflate the layout via xml template?
 
because I don't know how many values I'll need to show
 
xml is for losers
 
4:50 PM
xD
 
you can create your row in xml, just call inflate for each row
 
I believe he is constructing layout based on server values
so no xml maybe
but yeah you could make a layout with only tv and inflate that and add it to the view
that way you can at least avoid declaring margin and all those crap in code
 
!reject
 
I never liked doing layouts in code, usually overly verbose and annoying
 
I updated the Gist - the new version (stripped down) adds the label, but doesn't do the weight correctly
 
4:53 PM
yes same
yuck code in java
 
what's with the damn bot any time I try to use it??
 
@ViralVideos not enough rep, too many questions. Check out the rules: room-15.github.io
 
its only works on tims local machine now
so yeah bad luck
 
bs
 
4:55 PM
The first two rows are added via XML
the last one is from the NewFragment code in my gist
 
I usually set background colors on the views to debug this stuff
 
whoever keeps starring access messages, please don't
 
for margin padding stuff sure eski
 
39
A: Buttons to fill width when using TableLayout

Mark BTry adding android:stretchColumns="*" to your <TableLayout> tag.

 
what does a tablelayout do that a normal RL or CL can't do?
never felt the need to use it
 
4:59 PM
DaveS for the win
 
:(
 
Yay, I'll take my star now
 
It looks like 3 LLs would be enough
 
yuck 3 LL?
 
5:00 PM
why does that bother you so much?
Or 2 vertical if that makes you feel better
 
a single RL or CL
 
CF finds peasant layouts repulsive
only royal layouts do the trick
 
You don't want a RL for that
Is that because he's a royal pita?
 
meh RL and CL both works
LL can get nested pretty fast
 
it's a table
 
5:02 PM
3 rows
 
n rows
 
I'm just looking at the card itself though.
2 columns
lol, dave
 
it's a column of n tablerows
 
xD
 
those table rows have 2 columns
 
5:04 PM
But I haven't done android since eclipse so what do I know
 
but yeah if the layout is this simple RL and CL is too much overhead
 
LL and TL is just fine
and RL is basically deprecated
there's no reason to use RL over CL
 
rl deprecated?
lol that way LL should be nuked
 
Royal Layout is deprecated, the Prince is horrified
 
5:05 PM
LL is fine because it it's light weight and fast
 
and same way RL is light weight version of CL
 
not really
 
yes really
 
constraint layout is faster than relative layout
 
any case does anyone has done benchmarking of these layouts?
if i see that correctly the article is basically comparing a nested RL with CL?
 
5:09 PM
The whole reason CL was invented was to prevent the nested heirarchy issues with RL
simple UI, LL is fine, when you get to RL level of complexity, almost always CL is faster
unless you're using RL like a LL
 
so that is some bs benchmarking
and CL being faster than RL is a plain lie
 
no it's not
CL doesn't need nesting
that's the point
 
i can nest 5-6 ll and claim same
 
that's literally why CL was made
 
so now you are making my point
 
5:10 PM
you're being stupid this morning
 
no
lol wtf
 
haha
 
DaveS, you should know by now, having lived in the US for so long, that facts don't persuade people.
 
CF, quit being stupid this morning
 
5:11 PM
CL's purpose is to improve the performance of nested layouts, that were the direct result of the relative layout model
 
i just rubbished his fact already
 
LL can be faster in simple cases, so can RL but why not use LL in those cases
 
and that is exactly my point
 
as something caught in the middle RL is obsolete
once you get into nesting, which is where you need RL, it's not faster
 
i guess to each their own
 
5:14 PM
> In the N release of Android, the ConstraintLayout class provides similar functionality to RelativeLayout, but at a significantly lower cost.
Like bro
 
sounds like pulling the same nested logic shit
 
the official docs bro
 
didn't they have to redo that as ConstraintLayout 2.0?
 
probably, the initial versions weren't great, had a few bugs around 1.0
 
5:15 PM
2.0?
they added some Motion Layout in 2.0?
it was redo?
 
I still get by on 95% of things with FrameLayout and LinearLayout
 
2.0 I think was ground work for motion layout
1.1 CL became stable
constraint layout and motion layout are incredible for flat, animated, complex layouts
 
What if you nest a CL in RL?
 
why would you do that?
 
That would mean you work for my China team
 
5:19 PM
@eski no RL?
 
barely ever need RL in my experience
 
O_0
 
LinearLayout nesting performance doesn't really get noticeable until like 12 views deep, at least that's how it was when I tested it 7 years ago
 
i think you are referring when you are using in activity or fragment views
its quite noticeable when used is something like RV
 
hmm, they get recycled in that case though
 
5:26 PM
no i mean the scrolling performance is affected
 
yeah they are recycled while scrolling
 
yes but i am talking about the time when they are rendered
tho with caching and all those stuff it shouldn't be a issue now i guess
 
if you nest the RL fragment into a CL activity layout with a LL root element then it should be fine
 
i think they made some layout specially for fragment replacement
ah FragmentContainerView
new shit introduced^
not in stable yet tho
@codeMagic i thought you hated fragments so much you wouldn't use it
 
that's correct
 
5:45 PM
hmm
 
5:59 PM
I also thought you knew I've been trolling about the layouts except for when I answered carl
 
sorry i was context switching too much
working on multiple stuff basically
 
What browser do you use? Firefox seems to have critical issues, memory leaks, and high CPU usage
 
Hello, Android!
Ya'll watching Android Dev Summit?
 
the latest version of FF is good
 
6:16 PM
Ff IV or which is it
 
you can try brave
 
Yo CA
 
posted on October 23, 2019 by Neal Eckard

Android Studio 4.0 Canary 1 is now available in the Canary and Dev channels. If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here. Support for Jetpack Compose Jetpack Compose toolkit provides

 
what you doing cm?
shit 4.0 is here
 
Nothing now. Just got web changes released so sitting back and waiting for the shit storm
what about you?
 
6:24 PM
same old nothing new here
 
Every single time you're two are talking to each other I think it's the same person having a weird monologue
 
haha, its like you and ivan
 
where is @IvanMilisavljevic anyway?
 
tinkering around in data centre
 
6:43 PM
well, we are both from India<na>
 
The guy fixed the demo live
amazing
 
no it's not
what would be amazing is not being broken in the first place
 
lol dave
 
lol true
@codeMagic yay indian brother, high five
 
@codeMagic na
 
6:56 PM
maukeryy
how you doing mauk?
 
I'm good, thanks :)
 
7:11 PM
Jetpack Compose looks amazing
 
o/ C-A
 
It does!
 
user11867329
@Code is Jetpack Compose user-friendly? (Can I send my less tech savvy guys to easily dev apps?)
 
not really
 
No, it still requires writing code
but it looks better than XML layouts
 
7:21 PM
Motion editor <3
 
tho 4.0 looks neat
 
user11867329
@Mauker was that relevant to user-friendly (with advanced user features, code snippets) app dev platform?
 
just read the link you will understand
 
Why's one Activity Multiple Fragment approach better?
 
@Mauker its not imo
 
7:27 PM
The guy said that on the live stream
He was lying :o
 
well that his opinion and its fine
quite a lot people dont see it that way
 
I don't see it like that either
I'm not too fond of Fragments
 
there are cases i see where a activity multi fragments makes sense and quite a lot of cases where it doesn't
i dont have a issue with fragments its just one activity and infinite fragments leads to too much clutter
and sometimes you want stuff to open in a separate activity for various reasons
 
@ColdFire haha! o/\o
a lot of deleted content since I was gone, I see
 
user11867329
42k Rep, you mean to tell me you can't see what I wrote when removed?? lol
 
7:33 PM
"I see" so I think that means he can see
 
xD
 
user11867329
^
 
rep has nothing to do with what you can see in chatroom
it has to do with being a RO or not
 
user11867329
I don't know that.

Rep affects chat abilities (room creation, etc...)
 
user11867329
Hell you even need 50 to even join chat.
 
7:35 PM
yes only RO and mods can see deleted messages
actually its 21 not 50
 
80 for this one
 
well we sometimes take in 50-60 folks too
 
Exceptions
 
user11867329
You're right, no idea where I took 50 from
 
@OakDev I can but not because of my rep
I just didn't bother to
But it sounds like maybe I should
ugh, that was boring
 
7:53 PM
lol
 
lol
 
lotsa nerd talk when I'm not in here I see
How's everyone's day
 

« first day (3294 days earlier)      last day (1646 days later) »