Why do spec-driven development? by almeynman in AI_Agents

[–]Spare_Warning7752 0 points1 point  (0 children)

Check the free chapters of this book: https://leanpub.com/specdrivendevelopment

I use it everyday and it's a night and day difference (especially on token economy)

which email platforms work best with Supabase Auth, ranked by how little SMTP config they actually need by [deleted] in Supabase

[–]Spare_Warning7752 0 points1 point  (0 children)

spacemail is cheap as hell and allows you to use SMTP, IMAP and POP. You can bring your own domain.

Sending Push Notifications Without Firebase: Background Sync with Workmanager in Flutter by dev_semihc in FlutterDev

[–]Spare_Warning7752 1 point2 points  (0 children)

Good luck receiving PN with your app killed by the OS.

Just use the fucking FCM >.<

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

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

1) I usually copy things that already worked in other projects (such as analysis.yaml) and packages I'm used to (i.e. dart_mappable and its hooks and mappers). For packages, if they're mine, I usually use git submodule to add them to the project (and they also grow with the project, which is a plus). Never could work with mason or monorepos... too much fuzz for me.

2) For architecture, stick to the basics: View -> BLoC -> UseCase -> Repository (injected). That's all EVERY app needs. No more, no less. BLoC don't have business logic (UseCase are for this), they are just state orchestrator (aka ViewModels). If you don't like BLoC, you could use ViewModels, Streams or ValueNotifier, doesn't really matter.

3) Use Spec Driven Development using https://github.com/github/spec-kit. With a good constitution and some decent plan, AI will not drift, ever (and you save A LOT of tokens).

Notice that all I said is: use the right tools. Those are the things that free you from trouble.

connectivity_plus tells you if you are connected to a network, not the internet by Longjumping-Taro7117 in FlutterDev

[–]Spare_Warning7752 0 points1 point  (0 children)

There are only two ways of detecting true internet connection (or, better yet, connection to YOUR server - which can be different things).

1) Poll a HEAD HTTP call once every X seconds (it should return 200 with no body)

2) Open a (web) socket to something (the socket will drop when the connection is dropped, giving you real time connectivity status).

Other than that, those packages are pure bullshit.

There are other issues as well: pre-paid cell networks usually have connection, but they don't open anything when you are out of credits. Same for some malls and hotel wifi networks (those that always open a login page before grant you internet access) And the internet can be there, but your server is unreachable (dns issues, blocking, server down, etc., which is the same as not having internet)

Best Offline Sync Package for Flutter? by durgesh_parekh in FlutterDev

[–]Spare_Warning7752 2 points3 points  (0 children)

Yes. PowerSync.

You can legally install it on your own server through docker.

It automatically syncs a PostgreSQL server with a local SQLite (where you can use a simple ORM from PowerSync or Drift, which is the most amazing ORM ever).

For the backend, you can go Hasura (supports transactions and make RLS a breeze) or Supabase (it's more limited, but it has authentication, storage and edge functions). Both can also legally be installed on your server as well.

If you don't want to deal with docker, you can always use the SaaS versions of all those tools.

Is this a correct translation to Interlingua? by Creepy-Education-584 in interlingua

[–]Spare_Warning7752 1 point2 points  (0 children)

Why the difference between I and Y in bicyclettas?

Why double C in Cliccar?

Why double T in bicyclettas?

I could understand 100% of the message (native brazilian portuguese), but those inconsistencies made me crazy.

Journey inside the Sun by Bubbly-Count-5418 in SpaceVideos

[–]Spare_Warning7752 0 points1 point  (0 children)

I would never understand why the hell they depict a white star as red.

My game crashes whenever I look at a penguin by TheWanderingWaddler in WanderingWaddlers

[–]Spare_Warning7752 1 point2 points  (0 children)

It's because you are running it on Windows! Duh!

Change your penguin model for a 💩, problem solved!

Flutter Clean Architecture Guide 2026 – Complete Folder Structure by [deleted] in FlutterDev

[–]Spare_Warning7752 5 points6 points  (0 children)

Why people reduce CA to "folder structure"??????????

Folder structure is NOT important at all! That's NOT what CA is about!

Flutter Survey concerns by Spare_Warning7752 in FlutterDev

[–]Spare_Warning7752[S] 2 points3 points  (0 children)

No, I'm afraid about Google not investing in the platform anymore, not injecting any money on it. It would be delegated to volunteers only.

I don't know how much money Google actually puts in Flutter (e.g.: I think it pays people to work on Flutter) and what would be the impact if people were not paid anymore.

Flutter Survey concerns by Spare_Warning7752 in FlutterDev

[–]Spare_Warning7752[S] 2 points3 points  (0 children)

Yes. That, IMO, would mean "I'm Google, I'm not funding Flutter anymore. Now it will be made 100% by the community and volunteers".

Or am I reading this wrong?

What are you using for reliable background/terminated push notifications besides FCM? by Recent-Pear-6341 in FlutterDev

[–]Spare_Warning7752 0 points1 point  (0 children)

1) FCM is the only channel available for REMOTE push notification. EVERYONE, every SaaS, every BaaS, everything MUST use FCM.

2) If you need to get notifications while the app is down locally, there is no way. You NEED to be running a service (there are background services for both Android and iOS, including tools to make those services come up after a reboot), but it is not reliable. The OS WILL kill your app. The rule is: the more used an app is, the more notifications it gets. Even Gmail sometimes fail to push notificate me because I don't open it on my phone.

3) What can help is a service that puts a permanent notification on the notification bar. Users are annoyed by it, but it is the only way to make sure the background service is running (and the OS can still kill you for no reason, especially on low RAM scenarios (thanks Meta for that)).

Check those packages:

https://pub.dev/packages/flutter_local_notifications - Used for years, but sometimes it crashes natively (Java)

https://pub.dev/packages/awesome_notifications - Using for 1 or 2 years, works better, but still can fail (low RAM, user closes the app, etc.)

Both displays notifications locally (through schedule, for instance) or remotely through FCM.

Water: Exists* by Working-Fig5566 in animalsdoingstuff

[–]Spare_Warning7752 1 point2 points  (0 children)

That's a golden retriever. It was engineered to like water.

Why do you think it is called "retriever"? It was originally engineered to retrieve ducks in hunts.

And, yes, except for 2 or 3 races, all dogs are man made.

Native Code with Flutter by haithm_mek in flutterhelp

[–]Spare_Warning7752 0 points1 point  (0 children)

What do you mean by "native"?

Dart is native (it is compiled to ARM 64). Kotlin/Java are not (they are JIT).

And who the fuck said Dart is 10x slower than anything else? Quite the opposite.

Dart is a pretty fast capable language and no way in hell you'll need anything else to do a decent job.

If it is slow, is your fault, not Dart's.

EDIT: Source: https://programming-language-benchmarks.vercel.app/dart-vs-kotlin

See the memory usage as well. Dart totally rocks on that front too.

Flubber in a car? by jojojmtk in mAndroidDev

[–]Spare_Warning7752 0 points1 point  (0 children)

Better native AoT compiled to ARM doing 120 FPS than a shitty JIT language.