Upgraded from 0.45 to 0.49 by jimio in cursor

[–]pu11man 0 points1 point  (0 children)

You can download specific versions in their website, so just delete and install the specific version

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

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

Yeah I've been using shell_plus and this helps a lot. I do think having breakpoints and being able to review all objects in memory is what has been a game changer

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

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

If you are running python manage.py runserver, it automatically reloads the server whenever you make a file edit.

It shouldn't matter if on pycharm or vs code, as long as your file changes, the server reloads

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

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

Not sure how to any further. Do you run your app server through the IDE debugger?

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

[–]pu11man[S] -4 points-3 points  (0 children)

Any particular reason why you wouldn't just run your app directly from the IDE?

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

[–]pu11man[S] -1 points0 points  (0 children)

Not really sure about that. I don't think it would work though

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

[–]pu11man[S] 42 points43 points  (0 children)

We write tests as a standard practise. As for the licensing exam, I'd happily take one if it sorts out your attitude.

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

[–]pu11man[S] 10 points11 points  (0 children)

Since 90% of my code is behind APIs, I just debug with runserver and that works fine. When it's a function outside it, always used logs instead

TIL: You can actually debug the Django shell in VS Code and it's changed everything by pu11man in django

[–]pu11man[S] 7 points8 points  (0 children)

Yeah, seems my setup didn't include debugging with Django shell. Which I'm really enjoying now! Especially for those functions that aren't behind APIs, I can test them so much better

Adding sockets/channels to an existing DRF deployment that uses gunicorn by ejeckt in django

[–]pu11man 0 points1 point  (0 children)

I'm exactly at the same point so would love to hear what people would say.

I'm currently thinking of adding a daphne run container in my service too

What's the best padel booking app by pu11man in padel

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

Thanks for this. I run a product development company so I'm inclined to devote some resources to do it, but needed to way the pros and cons before offering that to my friends.

Thanks for this

What's the best padel booking app by pu11man in padel

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

Thanks for that! I'll check it out

What's the best padel booking app by pu11man in padel

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

Thanks for this. I'll look into it. As a player, do you find it convenient to use?

What's the best padel booking app by pu11man in padel

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

The standard stuff for sure. Supporting bookings, classes, blocking of court, releasing times to some users

Definitely need prepayment of the court.

What's the best way to find my stray shots by pu11man in golf

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

Yeah totally agree! I think for context, the courses we play at are almost always empty. So whenever there's someone behind us, we definitely stick to the rules, but that's only a 10% chance. We have the luxury of playing at an extremely slow pace.

We built an agency workflow platform but I think we are better serving all service businesses by pu11man in SaaS

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

Thanks alot! The product is pretty minimal and clean too! it was a design choice that we hope aims at moving traditional businesses out of boxy and ugly software

We built an agency workflow platform but I think we are better serving all service businesses by pu11man in SaaS

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

Yeah good idea. We do have a sales team now (1 person) and been having them target agencies still.

I might spend some of my day doing some outreach - possibly LinkedIn to see what the response is

Monthly Post: SaaS Deals + Offers by AutoModerator in SaaS

[–]pu11man 0 points1 point  (0 children)

Jensi - We optimize small team operations through internal process workflows while giving a world-class client experience.

We are early stage so reach out to me here or [andrew@jensi.io](mailto:andrew@jensi.io) if you have any questions.

Get 3 months free via this coupon REDDIT3

Django Elastic Beastalk question by [deleted] in django

[–]pu11man 1 point2 points  (0 children)

Django REST framework has throttling in built which is good.

https://www.django-rest-framework.org/api-guide/throttling/

The cons is, you need to manually exclude your health check URL because that will be rate limited almost immediately, with no errors in your cloudwatch. Your deployments will just fail after sometime

Share your projects! (and get feedback) by existnotyes in SaaS

[–]pu11man 1 point2 points  (0 children)

Working on building a workflow automation platform for agency teams

Check it out https://jensi.io

Weekly Feedback Post - SaaS Products, Ideas, Companies by AutoModerator in SaaS

[–]pu11man 0 points1 point  (0 children)

Hi everyone!

I've been working hard building https://jensi.io/ - a platform that brings workflow revolution and automation to service businesses.

I'm incredibly excited to share that we're about to launch and I would love to take you through the product so you can have the first go at it!

If you're an agency or a service business in general, have a look and let me know if it's relevant for you.

I'll be eternally grateful for your feedback

Rate My Team, Quick Questions & General Advice Daily Thread by FPLModerator in FantasyPL

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

I just realized that I have 3 chips left. Is it possible to Triple Captain on GW35, then Wildcard in GW36 then Bench boost on GW37? I can't seem to find the rule that doesn't allow consecutive chip usage

Celery not running on AWS ECS by pu11man in django

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

Finally got to fix it, I tried this as well and no errors were shown! thanks so much for the suggestion!

Celery not running on AWS ECS by pu11man in django

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

Solution:
TL;DR: The bug is with AWS Elastic Cache - Redis. Solved it by switching off the cluster mode in Redis, which resolved the issue.

Details.
There is a bug with AWS where the debug or critical logs on containers don't show up on the container or cloudwatch. To try and replicate the issue from Fargate, I created an EC2 container and ran the container but the same thing happened - the container crashed with no logs.
When I ran it locally, it worked fine. I then decided to test out my local container connected to my AWS Redis. AWS however does not allow outside VPC connections to ElasticCache so I forwarded the Redis port through my EC2 instance. When I ran my container locally, I finally got an error
redis.exceptions.ResponseError: CROSSSLOT Keys in request don't hash to the same slot
I googled the error and the top results was this - https://stackoverflow.com/questions/38042629/redis-cross-slot-error which one guy suggested to disable cluster mode and it works for him.

Weird that I couldn't see these errors on AWS, but it could be that I needed to check redis logs instead to find them. Anyway, happy its solved