« first day (4486 days earlier)      last day (445 days later) » 

8:22 AM
o/
whatsup grrig
 
hi mate
im in a daily meeting
was looking over flutter 3.7
what about you mate
 
8:38 AM
nice I just got the new package too
I solved a headache issue yesterday night so im relieved
how long do these meetings take you?
 
8:53 AM
nice
around 30 mins
more or less
it depends
how's the app going?
 
it's going fast now bcs I wasnt scheduled for work at the cheesefactory so I had most days to work on it
 
nice man
how long have you been working on it?
 
its now a 2 year project
also bcs I have my jobs to pay rent etc
well 1.5 years I'd say
 
oh wow nice
yea ofc
it's not a full time job
 
9:24 AM
wish it was but then I'm broke in no time
 
haha
it s ok mate you re gonna finish it
and i think working something else helps you
 
yeah it does, I enjoy the variety of work the agency gave me so far
@grrigore thanks grrig
and how is your project going?
 
not going
i don't have the energy to do something after a work day
 
9:41 AM
I get that, which is why I didnt go for a paid software job yet cause it would mean coding 12hrs a day
 
yeap
great move
 
@grrigore here you're absolutely right, otherwise I wouldnt be able to do this project
 
Tim
the trick is to only work 4h at the job
 
i wish haha
 
@Tim cheesefactory has shifts from 06 till 14 or 14 till 22
so I have either the morning or afternoon to do project stuff. 9-5 would have been tougher too
 
Tim
9:46 AM
yes I mean at a software job
 
right
how's the house etc Tim, do you have any pets now?
@grrigore it's a risk though, worst outcome: maybe this whole app flops. Thing is I rather live with dealing with this flop other than wondering the rest of my life "what if"
 
Tim
yes cat and dog in house
 
sweet, what model doggo and cot
 
doggo pic tim
 
Tim
2022 dog and 2018 cat
 
9:57 AM
yes pics please
 
do they get along?
 
10:40 AM
hey!
 
ho!
 
Don't call me a hoe! :P
 
never mate
i was singing the lumineers
 
11:18 AM
heh
 
Tim
11:31 AM
@MwBakker the house is pretty much finished, feel free to visit if you're near waalwijk
 
nice and thank's I'd like that
 
12:14 PM
@Tim nice
 
 
2 hours later…
2:00 PM
do you guys work with modular flutter?
 
no I don't
 
i ll need that
like i ll need to extract some common stuff
and use it in two apps
as an example
I have apps for restaurant managers and clients
and i'll need some UI in both
so I'd like to have something like a library and import into both of them
i guess that's a plugin
 
@grrigore isn't that what you build Widgets for
to re-use them
 
yes
but in different apps
how do I do that?
hmm flavours could work?
 
well that library seems to make it easier
 
2:06 PM
@Timmy-G
would you use flavours for an app that would be used by restaurant managers and restaurant clients?
@MwBakker brb mate
 
@grrigore If the Widget is more complex then I would also advice such library. For common Widgets who just deal with parameters like String or Int it would be copy/paste Widget + (if present) controller
 
2:21 PM
i m back
well my concern is not if a widget is complex or so
it s about having to reuse some code
think about it like this
you have car and bike
and you want some common code
and some different
like an app for car and an app for bike
 
I get you Flutter does not really enfavor inheritance of Widgets
but
if you want some parts of the Widget re-used you can seperate this part into a Widget of its own
 
it's not all about widgets
but yes
like a button with different usages for car and bike
the button would be in a common library/package/smth
and both car and bike would have access to it
 
I have such scenarios, I simply pass the action as parameter
 
the problem is idk what's the best approach for it
@MarkO'Sullivan do you use flutter right?
hi
@MwBakker yes
but imagine you need it in two apps
same button but in two different apps
 
same button, same actions but in two different apps?
 
2:31 PM
not same action
you have to reuse the button in another app
 
@grrigore so just the UI?
 
this is my scenario. I have some code that i have to reuse in two apps
well the button widget
but if i change something to it i need it to change everywhere
 
in both apps you mean then
 
yes
 
@grrigore I do yes
 
2:34 PM
so i have two choices i think:
1. put that button into a plugin/package
2. create flavors in my app
 
Sounds like a package would be more reusable
The button UI is the reusable part
 
how would you handle reusable code in two apps? by two apps i mean one it's for a category of users, another one for another category
 
What it does when pressed is unique to the use case
Can have a common package used by both apps
 
I agree with what mark says
I dk if I would also stick the functionality in that package though but that might be a matter of taste/scenario
 
what about flavors?
 
2:38 PM
no experience in that sorry
 
i mean my 'system' has two types of users each of them with a different app
 
Flavors make sense for that yes
You'll be deploying x2 apps, one for each set of users
 
@MwBakker no worries mate
i think i'll give flavors a try
that will allow me to have all the code in an app and also two different versions of the app
 
Also look into Melos
It's extremely useful for monorepos
 
i don't get what it does but thanks
do you use flavors?
antoher question guys
one app can have more than one package right?
as an example. with android i used to have a package of DB, one for API, one for common UI stuff
even for features
like login, register, home would be different packages
looks like melos is used for this stuff
@MwBakker this is interesting
@MarkO'Sullivan did I get melos right?
this is my scenario
similar to mine
if you'd like to check out mw
 
 
3 hours later…
6:06 PM
@grrigore lmao awesome
Is this the show? I need to start watching it.. movie was hilarious
 
 
2 hours later…
7:38 PM
Yes
I like it
The movie was gold
But the show is pretty good too
 

« first day (4486 days earlier)      last day (445 days later) »