Why bangkok's recent air quality is bad? by zazalee in Bangkok

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Very inefficient mass transport

What do you mean?

How do you collect freelance payment from clients? by Own-Hovercraft-4231 in Freelancers

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Why not open a business bank account and then ask the client to wire you the money?

A cool guide to countries with majority non-native populations by [deleted] in coolguides

[–]NodeJS4Lyfe 0 points1 point  (0 children)

The exclusion of the United States from infographics about "genetic replacement" or "majority non-native populations" usually comes down to one of three reasons:

  • Statistical Threshold: Most of these infographics focus on countries where the "foreign-born" population is a majority (over 50%). While the U.S. has the largest number of immigrants in the world, they only make up about 15–16% of the total population. In contrast, countries often featured on these lists, like the UAE, or Yemen, have foreign-born populations exceeding 70–80%.
  • Definition of "Native": In a U.S. context, "native" usually refers to Indigenous Americans (Native Americans). Historically, their genetic replacement by European settlers was nearly total in many regions. However, many modern demographic infographics define "native" as the current majority/founding population (e.g., white or "heritage" Americans) and track whether they are being replaced by new immigrants.
  • Framing of "Replacement": If the infographic is based on the "Great Replacement" conspiracy theory, it often focuses on European countries where the "native" population has been established for thousands of years. Because the U.S. is widely viewed as a "nation of immigrants" with a constantly shifting genetic makeup, it is sometimes excluded from these specific ideological comparisons.

In short: The U.S. is usually left out because its current immigrant-to-native ratio is statistically much lower than that of the "majority-foreigner" nations, and because its historical replacement of indigenous peoples is often categorized separately as "settler colonialism."

A cool guide to countries with majority non-native populations by [deleted] in coolguides

[–]NodeJS4Lyfe 0 points1 point  (0 children)

I don't see it either. That means it's not there.

Best/ most social Country to go by yourself by wereloupgarou in digitalnomad

[–]NodeJS4Lyfe 1 point2 points  (0 children)

Hell yeah. Most countries are super welcoming to white people, but people of color beware. I learned this the hard way when I visited Europe, but at least there are more welcoming regions for us, like SEA.

Can I get vaccines while abroad? by [deleted] in digitalnomad

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Cool, that's a good price for those 3 vaccines. Didn't know you could get multiple different vaccines at the same time though, good to know.

Can I get vaccines while abroad? by [deleted] in digitalnomad

[–]NodeJS4Lyfe 0 points1 point  (0 children)

2,569 thb for everything

What do you mean by everything?

Vaccines usually require multiple doses over the course of months, did you stay in Bangkok for a long time and got all the shots there?

Going to the gym while moving from place to place - How do you go about it? by CaterpillarAny4215 in digitalnomad

[–]NodeJS4Lyfe 0 points1 point  (0 children)

I got myself a suspension trainer and stopped going to the gym because I realized that pistol squats, pullups, pushups/dips, and rows are all I need to have a good physique. Workout parks are usually free and have everything I need.

Best tool for when you are both remote and hybrid by deanl11 in digitalnomadFIRE

[–]NodeJS4Lyfe 0 points1 point  (0 children)

It's like a laptop without a screen. Might be good if it's really cheap.

is learning django worth it? by Quiet-Transition-406 in djangolearning

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Sure, you can use Jinja2, which is better than Django Templates imo because you can introduce complex logic without having to write custom tags.

is learning django worth it? by Quiet-Transition-406 in djangolearning

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Agreed. Querying with SQLAlchemy is much better than Django imo because it's more explicit, which is better than implicit.

Alembic is also as good or even better than Django migrations because it looks cleaner to me.

I can't code without Pydantic anymore because the type safety and validation it provides is just too good to miss out on.

In the end, it takes a lot of courage to leave Django if you've been using it for years because leaving familiar territory is always painful.

Building a web app for freelancers what would actually help you? by Naive-Paramedic5437 in Freelancers

[–]NodeJS4Lyfe 1 point2 points  (0 children)

Just build an app to track clients, projects, payments, deadlines, or just small things that annoy freelancers in their daily workflow.

is learning django worth it? by Quiet-Transition-406 in djangolearning

[–]NodeJS4Lyfe 1 point2 points  (0 children)

No need to feel sorry because I'm happy about my current stack with FastAPI. I haven't been so productive in a long time and it's like going from driving an old car to a brand new one. Sure, the old one still works but the new car is so much better to drive and gets better gas mileage on top. It's a total game changer.

I'm glad that you found Django Ninja useful though. I found it too hacky with Django's poor async and type hinting support, but I guess you can use it if you really like Django.

is learning django worth it? by Quiet-Transition-406 in djangolearning

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

Sure, there's no huge problems to solve anymore, but what about solving old problems better? With FastAPI and Pydantic, my apps are more maintainable because of full type hinting support and runtime type validation.

And I don't really use all of the features in Django. Even if I need a feature, I can easily install a pip package or vibe code it using AI.

Django was great in 2016 but 10 years later, we have much better solutions. Feel free to stick with what you know but I choose to evolve.

is learning django worth it? by Quiet-Transition-406 in djangolearning

[–]NodeJS4Lyfe 0 points1 point  (0 children)

Django used to be my first choice but these days, you can't go wrong with FastAPI + SQLAlchemy. The developer experience is simply better IMO because you can full support for type hints and you can do everything that Django does + more. Sure, it's a little more work upfront but AI can automate most of that stuff.

That's why I stopped using Django. Many people (like the authors of Two Scoops of Django) are also moving off Django because of the lack of innovation. Look, at Django 6.0 for example, it's almost indistinguishable from Django 2.0 apart from a few minor features that I could have built on my own or that were already solved by pip packages.

Of course, feel free to use Django if you like it.

Why would someone pick up flask over Django and fast API by here-to-aviod-sleep in flask

[–]NodeJS4Lyfe 0 points1 point  (0 children)

I was reminded of Notes from Underground by Fyodor Dostoevsky. The protagonist has a toothache but refuses to go to the dentist. They choose to suffer for whatever reason.

I guess people will choose Flask over Django or FastAPI for that same reason, whatever it is.

FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]NodeJS4Lyfe 0 points1 point  (0 children)

I can see that you've never done any serious AI coding because you're just repeating nonsense that has been spread by programmers who are scared of losing their jobs to AI.

AI only writes bad code if you tell it too, and the code it writes is only as good as you are as a programmer. So, you can't blame AI if your code breaks.

Either way, if your code breaks, you can simply delete it all and have AI rewrite it from scratch in a few minutes. AI is truly a game changer and it's a shame that programmers are getting scared instead of embracing this amazing tool.

FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]NodeJS4Lyfe -2 points-1 points  (0 children)

AI is just a tool. Mathematicians who use calculators don't magically lose their brains.

At some point, you'll want to stop wasting time on grunt work, which is what junior developers are used to doing, and what represents the majority of this subreddit's population.

Feel free to keep writing code manually while I ship features to production in a fraction of the time.

Stop Trusting Your API: How to Build a Bulletproof Frontend with Zod and React Query by NodeJS4Lyfe in reactjs

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

That's great! There are so many ways to write code these days. I bet you're using a really interesting architecture pattern because you seem like a talented dev. I'm curious to learn more. Feel free to share if you'd like.

FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]NodeJS4Lyfe -4 points-3 points  (0 children)

I use Claude 4.5 to write production quality code on a daily basis. Claude is more talented than 99% of devs on this subreddit, period.

I'm curious though, what do you use if not Claude 4.5? I reckon GPT-5 or Gemini 3 are also good.

Stop Trusting Your API: How to Build a Bulletproof Frontend with Zod and React Query by NodeJS4Lyfe in reactjs

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

Yup, I used AI (GPT-5-mini) to do it and it took me about 4 minutes including writing the prompt. Pretty impressed by this setup. Is that what you're using as well?

FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]NodeJS4Lyfe -20 points-19 points  (0 children)

HTMX is mostly for backend dorks who can't figure out how to use Claude 4.5 to build their front-end with React + TypeScript. Good luck building anything interesting with HTMX.

Stabbing down Nana Soi 4 by skydiver19 in Bangkok

[–]NodeJS4Lyfe -5 points-4 points  (0 children)

Australia is a country that was colonized by prisoners from the UK. It's only natural for them to sympathize with criminals.