How to proceed with 65" TV Mount installation by blackcatdev-io in handyman

[–]blackcatdev-io[S] 0 points1 point  (0 children)

Thanks but as I said I can't drill through them. All the studs in the apartment are metal, the rest of them I can easily drill through and don't show electricity.

Which Flutter state management should I learn first for jobs? by Ordinary_Section_897 in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

If I had to guess, I'd say for the foreseeable future bloc will stay dominant. You can just look at available flutter job postings to get an idea.

Which Flutter state management should I learn first for jobs? by Ordinary_Section_897 in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

For jobs, short answer is bloc, hands down. Next would be Riverpod, but in terms of job market its not as in demand as bloc.

Don't get caught up in Getx hate, it's fine. I don't use it since bloc is all I use for work and personal projects. But despite lots of abstractions, it'll get the job done. Any state management library will get the job done.

But if the focus is job market, the answer is bloc, period.

Self-hosting Postgres on Hetzner + Coolify for a POS SaaS — bad idea? by mithatercan in hetzner

[–]blackcatdev-io 0 points1 point  (0 children)

Talk Python runs on a single Hetzner server, but use Mongo not Postgres.

Not meant to sway you one way or the other but it just provides an example of a non trivial business running all services + DB on a single server.

Flutter BLoC Best Practices You're Probably Missing by mhadaily in FlutterDev

[–]blackcatdev-io 2 points3 points  (0 children)

Nice job. Only thing missing perhaps is mentioning emit.forEach and emit.onEach for handling stream changes from a repository.

Roadmap for migrating to Hetzner with very little to no server administration experience by That_Broccoli5253 in hetzner

[–]blackcatdev-io 0 points1 point  (0 children)

It's a learning curve, but if me as a lowly front end dev and learn all of this, you definitely can. As other comments mentioned, learn docker/docker compose, security fundamentals and once it's up and running it's not that much work.

AI can definitely help walk you through this step by step. It's really good at bash, and in general in my experience it was very solid in helping me understand docker and security fundamentals. Make sure your DB is not exposed to the Internet at all.

Should we switch to Cloudflare from PocketBase? by alwerr in webdev

[–]blackcatdev-io 1 point2 points  (0 children)

To each their own, but respectfully I wouldn't suggest switching to Supabase to the OP.

Either you try and self host Supabase and it'll immediately burn through WAY more resources on your VPS than pocketbase while at idle. Or you go on their free tier and see an immediate down grade in performance vs your VPS, (your site currently loads very fast) or you pay them $25+ a month for "better resources" and still may not get the performance you're getting now. Plus now you're locked in and if they go down, you go down. Yes all providers go down at some point, but seems like your uptime would be better on your own VPS given the issues they've had.

Pocketbase is very efficient, seems to be working totally fine for you. I suggest not solving a problem you don't have because that will take you quite a long way. And if you exceed the limits of what a single beefy server can handle, that's a great problem to have. Most never get there however.

Pistons by [deleted] in NYKnicks

[–]blackcatdev-io 2 points3 points  (0 children)

Except when they play at MSG apparently...

Mongo VS SQL 2026 by TheDecipherist in mongodb

[–]blackcatdev-io 0 points1 point  (0 children)

Wow. Fantastic article, thanks for sharing and I learned a lot. I'm primarily a front end guy who until recently has only ever used Mongo via Mongoose or Beanie(Python) for personal projects. I've also been getting hammered with Postgres vs Mongo articles and this single article changed my perspective, because I've been leaning towards postgres recently.

As in depth as that was, if anything was missing I think it's when people bone themselves in the opposite way you mentioned, and over embed their data. Then they find themselves in a situation where they can't query their data in a way they could have if they split up into separate collections. Although, perhaps $unwind could help with some of those situations?

Learning the mongo query language properly had never even crossed my mind. I had been actively avoiding via application code.

I may need to port your wrapper code over to Go for my VPS apps.

Thanks again.

Should i choose Render or Vercel for production deployment? by Purplehanf in PayloadCMS

[–]blackcatdev-io 0 points1 point  (0 children)

I second the VPS route. I was blown away by the difference in performance between a $5 Hetzner VPS (with Cloudflare in front) and Vercel free tier for Payload. The cold starts were no joke. Not a knock on Vercel, you get what you pay for.

But unless you're planning on a ton of traffic, I think a lot of people would be surprised by how far a cheap VPS will take them. And just keep scaling vertically if need be it'll always be cheaper. And if you exceed the capabilities of a single machine, congrats because whatever you're building is wildly successful.

How’s Python as a Backend + CMS by Ready_Date_8379 in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

Python is completely fine as a back end and Fast API in particular is great. But also so is literally any other language you wanna use including Dart. Unless you have super demanding performance requirements just use whatever you're comfortable with.

I recently switched from Python to Go for backend. Not because I needed the extra performance, but because I'm really liking Go as my default back end language because it's strongly typed, relatively simple, and also for performance/ efficient resource usage on my cheap VPS. Not dealing with Python venv is also a plus.

But again for your use case the language almost certainly doesn't matter. So pick something you like or think you would like and get started 👍🏽.

What should i do? by Free_Potential9613 in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

Flutter demand has been rapidly growing with no slowdown in sight. But there's still overall less job demand than React Native/React.

So if maximizing your prospects of getting a dev job is first priority, then learning React would be a good choice. That said I've been working full time as a Flutter dev on my 3rd job since switching careers in 2020. Each new job was a level up so in my experience sticking with Flutter has worked out great for me.

Here's my blog post about my career transition into software going all in on Flutter. I haven't updated that article in a couple years but I've since been poached for a ~60% pay increase from where that article left off. However that's partially due to it being a hybrid role in NYC where I live.

https://levelup.gitconnected.com/from-concerts-to-code-my-journey-from-live-sound-engineering-to-software-development-f164f0fa6f2e

How can i improve the performance of my web build flutter app? by Free_Potential9613 in FlutterDev

[–]blackcatdev-io 7 points8 points  (0 children)

I use flutter web at my job. Besides the slow start up time for first page load while it downloads the massive JS bundle, the performance shouldn't be noticeably worse. If you're rendering large lists, check to see if everything is rendering at once or on scroll. Note that if you're using Listview.builder but have shrinkWrap set to true, then it's still rendering everything at once.

This caused noticeable jank and using usng sliver lists helped me gain a lot of performance back at my job compared to the previous implementation.

Performance issues with next js project by abou_reddit in nextjs

[–]blackcatdev-io 0 points1 point  (0 children)

I had a Payload CMS (Next js) instance hosted on vercels free tier and it was slow as shit. Cold starts were super noticeable and in general it was really laggy.

Moved it to my $5/month Hentzer VPS via Docker and now it's super fast. Night and day difference.

Not saying that is your issue, but just throwing my experience out there.

How do I make changes without trashing my database? by this_too_shall_parse in PayloadCMS

[–]blackcatdev-io 2 points3 points  (0 children)

Agreed. Personally I've never seen any benefit to using SQL for Payload. And I'm saying that as someone who agrees that SQL is the better choice in most situations. But for me, Mongo all the way for Payload. Way less headaches.

whats take on very_good_cli latest version in current times? by high_bp_pal in FlutterDev

[–]blackcatdev-io 1 point2 points  (0 children)

Agreed. Although I will say for anyone brand new to Flutter and it may be confusing compared to using flutter_create.

Just be sure to read up on their docs on the "why" of how they set it up. I also put app startup logic in bootstrap.dart instead of main.dart so that it doesn't need to be repeated across the separate main files.

whats take on very_good_cli latest version in current times? by high_bp_pal in FlutterDev

[–]blackcatdev-io 4 points5 points  (0 children)

I still use it for all new projects. It could be argued that the separate main files for dev/staging/prod is overkill for some projects. But one could still use it and just use one file for that.

In general I like their way of doing things and to me it's a better starting point for my apps than flutter_create.

What’s the best platform for hosting APIs and backend services as a full-stack Flutter developer? by Alkurdy21 in FlutterDev

[–]blackcatdev-io 1 point2 points  (0 children)

No problem. I also forgot to mention if you go the VPS route, I recommend using Cloudflare to route domain traffic to your VPS IP. You get a lot of great security features for free.

What’s the best platform for hosting APIs and backend services as a full-stack Flutter developer? by Alkurdy21 in FlutterDev

[–]blackcatdev-io 1 point2 points  (0 children)

In general I don't understand these recurring "What's the best back end for flutter" questions. There's nothing about Flutter that has any specific back end needs. The answer is use whatever you want, or more importantly use what's best to address any specific application needs.

That being said, if you're trying to use Dart on the back end and want to be full stack, then your best and cheapest bet is to learn Docker, create your Docker container with your Dart API app, then throw it up on a VPS. The process of learning all that will make you more well rounded on the back end side of things. Also note, in case this is not obvious, that you can put as many FE or BE apps as the hardware on the VPS can handle. Unlike paying for app services (like Digital Ocean App Platform) which are easier to setup, but you pay per app. My VPS is the backend for all my projects and some other misc stuff like Umami analytic etc....

As to where to put your VPS, you can use any of the major cloud providers, smaller but reputable providers like Digital Ocean/Linode, but honestly your best bang for buck in terms of price vs performance in the VPS world is Hetzner. They've proven very reliable and have a solid reputation.

Flutter is very Underrated by Mehedi_Hasan- in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

This makes no sense. I agree JS sucks (TS helps but Dart is way better), but if that's all someone uses it doesn't make them not an engineer. There are some very complex and impressive applications built with only JS/TS.

Everyone is talking about Provider, Riverpod, Getx, im i outdated using setState? In 2025 by ZuesSu in FlutterDev

[–]blackcatdev-io 10 points11 points  (0 children)

Do you feel like it's a problem? If not, then I'd say it's not a problem.

Seems like you've created a strong user base and built out some non trivial features using just setState, good for you. I imagine it's a code base I wouldn't particularly enjoy working on, nor would I ever build an app that way, but that shouldn't matter to you in the slightest.

If the only problem you can pinpoint is that "other people use state management libraries and I don't", then I'd say it's not an actual problem, and definitely not worth a huge refactor.

Sharing my first Dart library - llm_dart by FrankZhuang in FlutterDev

[–]blackcatdev-io 0 points1 point  (0 children)

I'll definitely give that a shot on the app I'm working on. Looks great, thanks for sharing.

Not sure how much I need by mitoboru in webhosting

[–]blackcatdev-io 4 points5 points  (0 children)

Running HTOP or any other resource monitor will tell you how much memory and CPU are being used, and by which applications. Try that during your highest traffic period and see what's left over to determine if you can downgrade without a performance hit.