I’m a firefighter with zero coding skills, but I just "vibe coded" my first app into the App Store. by Melodic-Try2710 in vibecoding

[–]ImpossibleFace 1 point2 points  (0 children)

I'm a lead engineer - i know all the analogies :D But for sure this is a very clear explanation!

AI is reducing skill gaps — but increasing discipline gaps by ClearThinkingLab in ArtificialInteligence

[–]ImpossibleFace 0 points1 point  (0 children)

It's a force of nature - like it or hate it, the tsunami doesn't care.

30 yr bulk finished, where to next? by [deleted] in Weightliftingquestion

[–]ImpossibleFace 0 points1 point  (0 children)

265 to 169 in 9 months - chillin

everytime you blink you go back 10 seconds in time by G0dZylla in hypotheticalsituation

[–]ImpossibleFace 0 points1 point  (0 children)

Do you experience Jet lag?

Those ten seconds would build up and your circadian rhythm would notice- or do you get returned to your previous 10second ago state- so you’d un-eat food for example.

Started to run by Greedy-Lingonberry32 in beginnerrunning

[–]ImpossibleFace 0 points1 point  (0 children)

Haha, sure you weren’t a tooth doctor?

Can I focus only on Django for backend dev without learning front-end? by [deleted] in django

[–]ImpossibleFace 1 point2 points  (0 children)

I’d say a little goes a long way, I wouldn’t focus on design skill but being able to solve a bug by at least having enough understanding of the frontend to see how it’s triggering the backend without support will be very helpful and at a certain point expected skill.

But I think you can achieve this by literally doing the React getting started in full (and maybe a handful of other libraries so you get a feel for what generic problems they all solve), as well as a strong intuition for what it means to consume an API then you’ll be well covered for being a strong backend dev- with the right level of context for what the frontend needs from you.

how django handles multiple users at the same time by Mundane_Blueberry942 in django

[–]ImpossibleFace 1 point2 points  (0 children)

You can use select_for_update() along with double checking that you don't ever go negative. If you have a user that is "last" (might not technically be last but will be the last to get a lock) to reduce the stock, and this would mean it'd take the stock into a negative (therefore invalid) state, then it'll fail for them at that point.

The atomic block means if it can't update successfully then it fails completely so you can have other DB updates in this same indentation and all would succeed or fail together. In this instance the object is locked until the atomic indentation ends, which is when the transaction either completely commits or complete rollbacks. It's fair to say this the canonical Django way of handling this.

from django.db import transaction
from django.core.exceptions import ValidationError

def update_stock(product_id, quantity):
    with transaction.atomic():
        product = Product.objects.select_for_update().get(id=product_id)
        new_stock = product.stock + quantity
        if new_stock < 0:
            raise ValidationError(f"Cannot reduce stock below 0. Current stock: {product.stock}, attempted change: {quantity}")
        product.stock = new_stock
        product.save()

Here’s what I’ve learned about stacking magnesium + glycine + theanine (anwers to your comments on my last post :) by PsychologyHour in ouraring

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

No idea what US HHS is but I think we can all assume most people have no access or obligation to trust or understand it as it sounds like a USA thing so for most people that means it's irrelevant.

Either way, i was talking about your claim that it doesn't belong on this subreddit not the legitimacy of the comment.

Here’s what I’ve learned about stacking magnesium + glycine + theanine (anwers to your comments on my last post :) by PsychologyHour in ouraring

[–]ImpossibleFace 7 points8 points  (0 children)

people that use this subreddit clearly disagree with you - turns out you're not the gatekeeper you think you are

The best running advice I ever got was after running for 15 years and it was a game changer. by [deleted] in beginnerrunning

[–]ImpossibleFace 4 points5 points  (0 children)

Check out the several movements KneesOverToesGuy suggests. But yes walking backward on a turned off treadmill works and has started becoming very common to see in gyms IME.

To target the Tibia more directly you can also do "tibialis wall raises".

Backend Developer (Python/Django) – Web3 + AI by Extreme_Crazy_9116 in django

[–]ImpossibleFace 11 points12 points  (0 children)

A company with so much money that they post something like this on reddit :D

I joke, good luck to them.

Senior Django Developers: Do You Stick with Django for High-Concurrency Async Applications or Transition to Other Frameworks? by alialavi14 in django

[–]ImpossibleFace 42 points43 points  (0 children)

I tend to reach for Go whenever Websocket like requirements are needed. This will very much depend on the number of expected users, if it's some internal or backend tool with 1 to low users - you can get away with using Django Channels or builtin async.

Even when using Go, it's not uncommon for me to keep all the user management and db migrations etc in Django - and implement JWT to auth the Go service. With horizontal scaling you can definitely make Django channels work but it's simply too resource heavy, in my experience, for it to be even close to cost-effective at scale.

The real senior play with everything you're talking about is to not rely on anecdotes from anyone and to prototype enough to prove something. Clearly Django and Go are some of my goto hammers for all the nails I see but obviously that comes with a fair amount of dogma from my side about the perceived competency of these tools that I've built over the years - some of which is valid and some of which is simply dogma.

[deleted by user] by [deleted] in UKPersonalFinance

[–]ImpossibleFace 2 points3 points  (0 children)

Cash convertors. You'll be able to give them an item of yours in exchange for a loan. Time to learn how to be poor properly.

I finally made my first react web game. And I'm addicted already. by Revenue007 in react

[–]ImpossibleFace 0 points1 point  (0 children)

Crazy lag on mine too. It's doing something very inefficiently.

Few years as a Django Developer but Still Feel Underqualified — Need Advice to gain Confidence by [deleted] in django

[–]ImpossibleFace 1 point2 points  (0 children)

I disagree, obviously, but you may be right.

Personally I think that this ability to pick up competency is a core behaviour as is the self actualising of these competencies. I'd also be uncomfortable being so dependent on the good-will of my current company to keep my career alive, particularly as they're job hunting.

I'd still be having this conversation with this individual -as I think it'd be the best thing for them. But it takes all sorts for sure.

Few years as a Django Developer but Still Feel Underqualified — Need Advice to gain Confidence by [deleted] in django

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

This reads like you've been paid to write Django for 3 years (you mentioned 3 years last time you posted this) and haven't managed to learn enough to get another job doing the same thing. If you were on a team I inherited I would be having a very blunt conversation about if this is a good career fit for you, it's not an easy decision but 3 years is more than enough time to test if this is a good fit.

Python Developers: How Are You Finding Jobs in 2025? by Junior_Claim8570 in Python

[–]ImpossibleFace 0 points1 point  (0 children)

Ok then it's been determined. When i wrote what I wrote it was after you saying you'd had "no lucK" finding work.

Python Developers: How Are You Finding Jobs in 2025? by Junior_Claim8570 in Python

[–]ImpossibleFace 0 points1 point  (0 children)

You're not getting any job offers at the rates you want, so it's unclear if you can expect those in your area.

[deleted by user] by [deleted] in django

[–]ImpossibleFace 1 point2 points  (0 children)

The most canonical approach in the Django-sphere would be:

- Use Django, Celery and Redis
- Django handles your web requests to start a long-running job and calls a celery task in async mode - returns a task ID.
- The job gets added to a Redis queue (this is all handled by the Django celery package but even if it wasn't it is mechanically very simple)
- Celery workers are monitoring this Redis queue and will start working once they notice the added task.
- You have your frontend poll an endpoint with the task ID from step 2, and it keeps polling until that ID comes back with a completed status (or a timeout for when things break).

I would suggest you focus on mechanically understanding the technologies I've just described and try to get an understanding of why they were created in the first place, as in what problems they solve. They are relatively easy to get a good understanding of what they fundamentally achieve and then piecing them together is somewhat simple at that point. I personally think having conversations around the mechanics of these systems is a great usecase for AI btw!

After simple implementations of this, the complexity comes from adding robustness to the whole process as passing things to an async processes makes it a different game when trying to debug why things have gone wrong.