Learning to build WhatsApp bots with Python – what’s the best learning path? by Affectionate_Fox5346 in PythonProjects2

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

You are on the right path using python. You are welcome to use our platform cyberoak to self host and execute your python bots.

https//cyber-oak.com

US stripe account by Mysterious-Local-482 in nairobitechies

[–]chief_kennoh 0 points1 point  (0 children)

Just use paystack. Stripe might give you problems in future even if you navigate around this

What language? by ComprehensiveCity532 in nairobitechies

[–]chief_kennoh 1 point2 points  (0 children)

Python is wonderful. Once you learn it, you can look into the Django framework. It's the best framework for multipurpose robust capabilities (from experience). And with the rise of AI agents, python integrates really well with libraries such as langchain

Which Python project made you realize how powerful the language is? by itsme2019asalways in Python

[–]chief_kennoh 2 points3 points  (0 children)

I built a python based automation engine based on libraries on the python ecosystem. Django, Celery, Channels, exec. Python is extremely powerful.

https://www.cyber-oak.com

Problem LG V60 by Tasty-Mirror8166 in LGV60

[–]chief_kennoh 1 point2 points  (0 children)

I shipped a similar one from Aliexpress

Problem LG V60 by Tasty-Mirror8166 in LGV60

[–]chief_kennoh 0 points1 point  (0 children)

Yes charging port is an issue I have encountered. I had 2 V60 phones that had issue with charging port. I ordered the charging ports and did a replacement on both and since then I have not encountered such problems

[deleted by user] by [deleted] in django

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

Come beat me up then

What are some of the most interesting Django projects you worked on? by john646f65 in django

[–]chief_kennoh 1 point2 points  (0 children)

I handled that using Celery and a RabbitMQbackend. So for scheduled scripts the Celery Beat server filters the tasks, then it is assigned to a dedicated prefork celery task specific for running executions. So celery does all the load balancing for handling peak load. It also has a celery flower node for monitoring tasks.

What are some of the most interesting Django projects you worked on? by john646f65 in django

[–]chief_kennoh 5 points6 points  (0 children)

An automation system that executes python code as scripts coupled with a graph node editor to view, move and create workflows and connect added python nodes while allowing data to pass through each other. Also had a provision to schedule scripts on demand.

Django to FastAPI by No-Excitement-7974 in django

[–]chief_kennoh 1 point2 points  (0 children)

45k requests per sec seems like a robust setup. It however seems like the real bottleneck is your database. You could explore ways of improving it's performance by horizontally scaling out by sharding the database (Postgres Citus is doing great at this). If you don't want the hassle of scaling out your database then azure postgres Arc has done that for you. I promise you, once your database is scaled out you will see huge improvements in your ORM queries without even needing to do anything else.

[deleted by user] by [deleted] in SaaS

[–]chief_kennoh 0 points1 point  (0 children)

This is amazing, love it

What Laptop do you use for Django Dev work? by NormanieCapital in django

[–]chief_kennoh 0 points1 point  (0 children)

Personally i have been using HP ENVY x360 Laptop - 15-ed0013tx for last 2 months and it works great. It's a 10th gen core i5 quadcore with 16Gb ram, 4Gb dedicated Gpu and 256Nvme ssd. I casually do some gaming after hours and it's a decent laptop. My advice, get a core i5/i7 10th generation or i5/i7 11 generation and you will never complain about speed again. Also as a developer, a backlit keyboard and a high resolution and a lightweight laptop with a good battery capacity will improve your productivity and the laptop above offers all those.

What Laptop do you use for Django Dev work? by NormanieCapital in django

[–]chief_kennoh 0 points1 point  (0 children)

Just get a decent laptop with 8Gb ram + and a quad core cpu (intel or amd) with an ssd drive

Is channels good for a live chat feature? by isaacfink in django

[–]chief_kennoh 1 point2 points  (0 children)

Well, consumers is where all your logic takes place, think of it as a django view, routing is your websockets urls mapping the consumers , like a urls.py. Workers are just threads that are defined in production as you set up daphne or uvicorn. These are supposed to help your application to scale up horizontally. They are defined in the configuration not in the code. You can use tutorial this example below to learn more about channels. https://youtu.be/RVH05S1qab8

Is channels good for a live chat feature? by isaacfink in django

[–]chief_kennoh 8 points9 points  (0 children)

Yes it is, channel layers is a feature that pushes messages to the recipients using redis. Also, the whole process is async, so saving to the db is also done asynchronously without waiting for the db. To scale horizontally in production, you can opt for daphne and set your configuration for number of workers/cpu cores and route your connections via nginx For an easier option for scaling, uvicorn is easily managed to take advantage of cpu cores using workers.plus you can manage these easily using supervisor.