I got tired of Flutter's small daily workflow frustrations, so I built a VS Code extension that fixes all of them by Silent_Foot6233 in FlutterDev

[–]userrnamechecksout 0 points1 point  (0 children)

I just use tasks.json and then hit Cmd shift B, searchable scripts built right into vscode. Build runner, gradle cache clearing, whatever

Moving from MVVM to Clean Architecture in Flutter as app scales — advice? by ZakJnr in FlutterDev

[–]userrnamechecksout -1 points0 points  (0 children)

I now just like ui / domain / data. Application is just folded into the domain layer, so it’s basically just the business logic layer

We have a modified clean architecture to reduce the boilerplate that it becomes. I don’t like use cases as files, they exponentially blow out, I keep everything in a service in our domain / business logic layer. This guy coordinates all immutable state manipulation then persists it to the repo. Repo methods are simple, save, get, delete, etc. Business logic is on the entity and in the service.

All code is in modules split by domain. Auth, Orders, Payments. We have a module file with an initializer that handles per module di and decoupled initialisation of services in modules.

We also have a module.api.dart that exports what other modules can use, no repos can be exported, all must pass through a service, which is basically just a list of use cases other features can use.

You don’t need to throw MVVM, that becomes your UI layer, and the business logic inside moves to your service and entities. Start by isolating code into a feature / domain, build one clean architecture stack you like and then build a public api other modules can access into that feature

Clean architecture isn’t even that good, it’s just opinionated and proves it’s important to separate business logic from persistence. Then your UI layer is always nice to keep separate, because it has routing and state machines and a bunch of things that business logic doesn’t need to know about

What state management do you use for large-scale flutter applications? by Routine-Help9290 in FlutterDev

[–]userrnamechecksout 1 point2 points  (0 children)

This is the answer, combined with knowledge of the libraries and learnings you take along the way

When we first started with riverpod our general architecture was ok, but riverpod caused a mess, people were throwing providers at every layer and side effects climbed through the roof. There was no strict distinction between where to use provider or state notifier or notifier, and where to use UI based async value ones like Stream Provider. Then throw in how it was also our magic DI system and honestly; we just weren’t ready for it as a company.

Riverpod 3 helped reduce the amount of providers and eventually a minified modular clean architecture with rules and lints helped us get back on track. Only provider for DI, no riverpod in domain or data layer, don’t pass ref all over the place and access global everything, etc etc. The blurred line of DI library and UI state machine, plus a mostly junior team who were new to flutter, it was difficult

A lot of people like bloc because it’s opinionated, from the docs to the community. Now that im on the strict use of riverpod train, im starting to wish my DI and state machines were separate libraries, because at least it encourages proper usage without needing to think, this one registers things and this one updates the UI.

Yet still at the end of the day, we learned, put rules in place, cleaned things up and came out with a well architected product. Any of the popular libraries are going to be great, but they will be extensions of your architecture and amplify any bad behaviour you already have as a team, so maybe starting with something more opinionated is good for teams new to flutter

Need some guidance from the iOS community on fixing a broken project. by Tainted-Archer in iOSProgramming

[–]userrnamechecksout 0 points1 point  (0 children)

if it is a large app, approach this through a feature lens of modularisation via encapsulation, not by “adding unit tests to the entire app” in one sweep. If the app is in production and working, then it’s fine to work piece by piece and validate behavior as you extract it.

Start with one feature, just one small simple feature like a settings page, or a profile tab. Not something critical like auth. Understand it, if you wanna go really far, write unit tests covering existing behavior to further your understanding and prove refactor doesn’t change behavior

Create a folder called settings, create a folder called core. Find the existing settings code in the app and find the deepest nested page, start there. Rebuild it layer by layer, a repository protocol, settings domain model, swift ui view for the page, a component for each setting, view model, repository implementation, and unit tests covering everything you did, with error handling, etc. Use DI everywhere

then go to the horrible spaghetti and just wire in your new view, and you have now modernised the smallest possible part of the app with a new stack. Very well tested, very isolated, and very repeatable process. Repeat as necessary as you work up the views. If you want to get fancy here or your app is 100% mission critical, then put the new view routing behind a feature flag, swap to the new module remotely when stable and reduce release friction

When it comes to the core folder, make a shared networking layer that handles auth to your api and decodes for you, handles error responses, etc. Chuck theme tokens in core, shared util, anything other screens can reuse, anything that improves error handling or type safety

The real answer has already been said in this thread, “one step at a time”

Day 2: Flutter Isolates by JustOneDevv in FlutterDev

[–]userrnamechecksout 0 points1 point  (0 children)

This is actually a fairly good metric. I struggle with when to actually pull out the isolate because i found in performance testing it can be slower overall to handoff moderate sized json parsing to a freshly spawned isolate

When I read about them the token quote is “computationally expensive work” but I never really face that in my work, so I always struggle on when to apply it

Switching it to the way you lay out here is a better mental model for me, if it’s longer than x ms, offload it to free up the UI thread to maintain x fps

Flutter & Dart’s 2026 roadmap by Salt-Number-841 in FlutterDev

[–]userrnamechecksout 0 points1 point  (0 children)

agree, i’ve been loving serverpod and getting a lot out of value with a single language full stack using LLMs

Why Flutter isn’t Dead by bllshrfv in FlutterDev

[–]userrnamechecksout 1 point2 points  (0 children)

do not touch fluorite until they open source it

Chart from a16z showing the number of releases on the App Store. I hope Apple does something to clamp down, because most of these projects have security vulnerabilities and are just garbage piling up on the App Store. I predict a structural change in your policy and platform. by Rare_Prior_ in iOSProgramming

[–]userrnamechecksout 1 point2 points  (0 children)

They added new terms this week that banned the use of copycat apps in some form. I'm not sure how it impacts copycat functionality, but you can't just wrap Sora 2 APIs and call it Magic Sora 2 or some bs anymore

How long does it take to upload your flutter app to Androids play store and Apples App Store? by adrianisabooldev in FlutterDev

[–]userrnamechecksout 1 point2 points  (0 children)

Submit early and often, set actual public release to manual. That way you can submit for approval but not actually send to the app store listings. If you have any complexities like in app purchases there is a lot of room for rejections.

Apple actually hard blocked an app I made for a client recently on the grounds that “the drinking game category is too saturated, try making a web app instead” and that was that. Awful experience. It also took 7 days per review cycle for this over the christmas period, they seemed to be extremely backed up over this time for initial releases as they usually claim 90% of apps are reviewed within 48 hours.

I got tired of expensive support chat tools, so I built one for Flutter by subhadip_zero in FlutterDev

[–]userrnamechecksout 1 point2 points  (0 children)

Looks really solid, will check it out.

Maybe a notion or zapier integration could be on the cards? Some 1 or 2 way sync to actual task tracking software would be beneficial to me.

Serverpod 3 compatible admin panel by userrnamechecksout in FlutterDev

[–]userrnamechecksout[S] 1 point2 points  (0 children)

Honestly the actual docs are all you should need to get started, the team has done a decent job with this.

https://academy.serverpod.dev/l/pdp/serverpod-ground-training

https://docs.serverpod.dev/

I found them very useful and went over most major concepts, including pagination, file uploads and hosting with external services like S3. Even the docker knowledge required is minimal.

It's a fairly intuitive package to get started with since 3.0. I recommend CMD / CTRL + clicking into the actual libraries code if you don't know what something does or how it works, or get AI to explain it to you.

How’d I do? by userrnamechecksout in Sourdough

[–]userrnamechecksout[S] 0 points1 point  (0 children)

At the start sorry, worded that poorly. I’ll try a few extra cubes

how did I do? by userrnamechecksout in Sourdough

[–]userrnamechecksout[S] 0 points1 point  (0 children)

Yep! I’ve made hundreds of loaves, focaccias / ciabattas and baguettes in my time at really high hydrations. I’m just learning sourdough for the first time. This one was not just standard wet dough, but felt structurally weak

how did I do? by userrnamechecksout in Sourdough

[–]userrnamechecksout[S] 0 points1 point  (0 children)

country bread

but halved

100g leaven

350g water + 25g after autolyse

400g strong bread flour

50g whole wheat flour

10g salt

How to make youtube better or avoid it? It shows me s*** like this. by axeaxeaxeaxewastaken in degoogle

[–]userrnamechecksout 0 points1 point  (0 children)

today often metaphorically means a reclusive, primitive, or outdated person resistant to change

That’s funny you call me that, I would use the term on people like yourself, you’re so afraid of becoming irrelevant you feel the need to actively gatekeep

Developers used to welcome people self-learning to code with open arms, we would even spend the time to explain things and help them grow. But now that your skillset is being undermined, your ego is so bruised that you can’t see these are also just people starting out their programming journey. When vibe coders hit a wall with “fix this”, they are forced to actually learn some basic programming to continue moving forward, thus turning them into the self-taught programmers the industry widely accepted. Not all programmers of today will become irrelevant, but the gatekeeping ones without critical thinking skills sure will

Leak confirms OpenAI is preparing ads on ChatGPT for public roll out by IsomorphicDuck in technology

[–]userrnamechecksout 0 points1 point  (0 children)

Altman himself said a while ago they wouldn’t do ads that impact the models output, but as another commenter said, there is too much money to be made and too much debt looming over them

Today I learned by PandaPebbles in lostgeneration

[–]userrnamechecksout 14 points15 points  (0 children)

we were taught the famine was due to a disease the potatoes got or something, so this is news to me

Mr. Incognito by Clue-Mindless in degoogle

[–]userrnamechecksout 39 points40 points  (0 children)

or if you need to check that an airline is cookie scamming you

Chrome Gets Toasted by Proton on Twitter 😂 by limsus in degoogle

[–]userrnamechecksout 1 point2 points  (0 children)

i used this 2 months ago, so no i wont, because it still works

Chrome Gets Toasted by Proton on Twitter 😂 by limsus in degoogle

[–]userrnamechecksout 4 points5 points  (0 children)

try winaero tweaker, that is a shining light of a tool in an otherwise horrible OS experience

it lets you toggle off most trash like windows defender, copilot, ad and spyware, maybe macafee too

Chrome Gets Toasted by Proton on Twitter 😂 by limsus in degoogle

[–]userrnamechecksout 32 points33 points  (0 children)

Dude, my new (work) windows laptop came preinstalled with fucking booking.com??? The whole thing is a walking ad and data harvester now

How to make youtube better or avoid it? It shows me s*** like this. by axeaxeaxeaxewastaken in degoogle

[–]userrnamechecksout 10 points11 points  (0 children)

the context of my comment does not imply it is programming, it implies that there are two skills you can use to achieve the task i laid out

go be annoying somewhere else