« first day (4618 days earlier)      last day (322 days later) » 

5:38 AM
@Ahmad It just show my respect to community
 
6:21 AM
o/
 
 
2 hours later…
8:19 AM
@ballBreaker Thanks bb <3
It was rescheduled for next month
@ballBreaker Move to montreal too and marry her
@ballBreaker I saw the news :(
 
 
1 hour later…
9:29 AM
 
Tim
classic america, also unexpected runescape
 
10:27 AM
whazaap
 
 
1 hour later…
11:49 AM
looks like nothing it's up
 
12:05 PM
@JBis lol yea sorry about that
NYC looking like bladerunner
@grrigore yo
 
12:25 PM
sup man
 
12:42 PM
nmmm u?
 
1:18 PM
working mate
just came back from me holiday
:(
 
aww
u take a week off?
 
yep it sucks
i was in crete
great one
@MwBakker do we have an app link matE?
 
1:37 PM
oh nice dude
btw im not sure im doing europe any more because of my wrist issues
will see what happens... might save up and do it next spring instead
or do it still but smaller
 
sure mate
just let me know
i'll be here waiting for you
 
will do!
likely wouldnt make it into romania.. probably just like.. france/nl/germany or something
hard to say what will happen yet. I at least have MRi coming up
 
life's good?
@ballBreaker aww
no east side classic tourist :(
imma cross your name on the friends list haha
jk mate
you should add italy tho
instead of nl @Tim can confirm
 
hahaha
 
had my first hike
 
1:46 PM
i would love to do a portugal/spain/italy next
 
it sucks ass
99% of the time you watch your steps so 1% the views
 
altho ive already spent 3 weeks in spain so maybe skip that but idk haha
haha u gotta stop to admire the view
 
aint nobody got time for that mate
 
lol
 
Tim
2:06 PM
yeah nl sucks
 
fair
also thinking about just going to new zealand
but ill probably do that later
i wonder if theres a medical stack exchange
 
2:25 PM
there's reddit
 
ya i did ask on there
 
 
2 hours later…
4:29 PM
Tried to build dirty widget in the wrong build scope.
flutter is being a naughty bitch
 
how did you ... I have never seen that error
 
lol
dirty dirty widget needs a spanking
3
 
@DaveS it's not a gift, it's a curse
 
looks like you tried to initiate your own render of an old widget reference using a new buildcontext
maybe?
 
I think im having synch conflicts with the flow of the build
 
4:41 PM
I don't really try to build my own stuff ever. I use setState and Providers to handle render management
 
me too
 
are you using markNeedsBuild?
 
no, in this case I initiate a future in the initState but since it's also reading a Provider (riverpod) something odd must have happened here
 
0
Q: Tried to build dirty widget in the wrong build scope

SinduWhat is the main cause of the above error in Flutter? I am simply using the following code, where both the pickers use same code to fetch data from different json. if (_equipmentSwitch == equipmentType.Implement) TractorPicker(mapNotifier: modelNotifier) else Harveste...

what's the future do?
 
its quite a general error but I think I know where the cause is, now just trying to correct it
 
4:44 PM
gotcha
just curious because it's a new one for me
 
@DaveS it reads a settings file at the start of the app. At the same time, since this file contains the language codes of the supported languages, it sets the Local variable which is also a watched Provider value. Thus a mutual rebuild occures is now my assumption
it's gonna be a matter of setting the flow correctly I suppose now
@DaveS also for me, it's a funny text in the error for the dirty wid... mind
 
lol
make sure you're not listening to the provider if you grab it in initState. Mutual rebuild shouldn't a problem, but if it's trying to rebuild a widget that no longer exists maybe.
 
obviously Im not reading providers in the initState() I just set the Future value there because at language change it restarted the entre app against my wishes
 
you can, if you use listen: false
 
thus I made it a Stateful widget so I can put the future in the initState to prevent the entire restart. In my mind this should work correctly, in reality it causes this problem
 
4:51 PM
you might try launching the future in a postFrameCallback instead
 
so before making the app class Stateful this error didnt persist
 
You can have the widget render, launch the future, then be rebuilt and the old future completes, triggering a rebuild of a non-existent widget. idk weird
thanks for sharing
 
5:21 PM
its a weird error indeed
perhaps the app class isnt meant to be Stateful
 
5:40 PM
Oh I spotted what went wrong
I passed a WidgetRef object to the parameter of the future (meant for setting the future result on a provider) but obviously I can't pass such object in initState
 
 
1 hour later…
6:46 PM
yeah that'll do it
 
turns out thats not the issue
I can in fact use WidgetRef in initState
 
yes but using it to trigger a render might throw that error. It's probably related to the rebuild in the first place.
whatever new widget is there should be listening for a notify on the provider, so pass a provider ref and update the provider directly
just make sure that provider is further up the widget tree than the widget that's rebuilding
 
7:13 PM
@DaveS Im updating the provider directly, the ref is from WidgetRef which is required to update a provider
but Im starting nightshift soon so I didnt have time to investiage unfortunatly
 
I don't understand why you need the ref to update the provider
 
ref.read(someProvider).state = someNewVal
in Riverpod that is
 
\o
 
@DaveS riverpod is from the creator of provider but wanted some things differently
 
7:17 PM
sup @MwBakker
hi @DaveS
 
yo asim
about to head to work unfortunatly
 
see ya
take care
 
not gone yet
howre you doin?
 
resting, taking some time away from work
for a few days
as self employed I don't get to enjoy weekends
 
well good you take rest now
i gotta run now, see you guys!
have a nice night
 
7:47 PM
o/
 
7:58 PM
I was marking metal with a hard steel nail, cat was sitting next to me watching and she tried to touch with paw when hammer was about to hit the nail, good thing that I knew she is stupid
she often gets kicked around when we wallk but she never learns, responds with expressions "I am just a cat"
 
 
2 hours later…
10:18 PM
posted on June 08, 2023 by Amy Gu

Android Studio - Giraffe | 2022.3.1 Beta 5 is now available in the Beta channel. If you already have an Android Studio build on the Beta channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here. For information on new features and changes in al

 

« first day (4618 days earlier)      last day (322 days later) »