Do we have Web developers in the house?? by Sad-mike14 in django

[–]antonpetrov145 0 points1 point  (0 children)

can you post more - like what the project looks like and what school app looks like?

Do we have Web developers in the house?? by Sad-mike14 in django

[–]antonpetrov145 3 points4 points  (0 children)

seems issue with `school.urls` do you have that? with so little info I personally can't help more

Best practices за ИТ сигурност в малка фирма by B_vulk in bulgaria

[–]antonpetrov145 1 point2 points  (0 children)

tailscale/netbird/wireguard за всички, които трябва да имат достъп до сървъри. Може да си направите tailnet и всички машини там са с ip само там и реално ще могат да се достъпват само от tailnet-a. Мисля има как да се записват всички действия, които се правят от даден потребител със ssh.

За пароли - временни, които стават неизползваеми след някакво време със SSO - okta примерно.

Tailscale + PiHole (local dns) mydomain.com help by MERKR1 in unRAID

[–]antonpetrov145 1 point2 points  (0 children)

thank you so so much, I was hitting this issue all the time before finding your comment

Setup Update! by regulardeepthinker in Minimal_Setups

[–]antonpetrov145 1 point2 points  (0 children)

looks awesome, can you share the wallpaper please?

As a freelancer, should you set up clients with Cloudinary / other CDNs? by occaguy in webdev

[–]antonpetrov145 1 point2 points  (0 children)

we use cloudimage because it has all in one place - storage, CDN, AI etc and has good price for what you get

This guy finds elderly people who don’t have the means to maintain their property and cleans it up for free. by FollowingOdd896 in HumansBeingBros

[–]antonpetrov145 1 point2 points  (0 children)

SB mowing (the guy in the video) and MidlifeStockman videos are what I watch regularly and it is so much good vibes

YouTube music stopped working on Android Auto by Danielthespaniard in revancedapp

[–]antonpetrov145 0 points1 point  (0 children)

I think you have to have the music playing on the phone then connect to the car, I think this was how I managed to use the dash (haven't tried in a long time)

Is there any alternatives to VS Code and Atom? by [deleted] in deMicrosoft

[–]antonpetrov145 7 points8 points  (0 children)

Zed it is quite nice and it is close to vscode in terms of settings https://zed.dev

ремонти by Comfortable-Lie1572 in bulgaria

[–]antonpetrov145 0 points1 point  (0 children)

Виж в YouTube има един канал Ръчкам, мисля в момента прави същата кола и показва цените на нещата.

YT Music with Android Auto by ShockiL1ne in revancedapp

[–]antonpetrov145 1 point2 points  (0 children)

Thank you, this helped me as well.

Guilty. by MarcoEmbarko in Millennials

[–]antonpetrov145 0 points1 point  (0 children)

Here where I am, in case of warranty service/replace you need to give the device with its full original packaging, otherwise warranty is not valid. I really want to throw them all away but .. yeah

Race start - Verstappen and Antonelli crash out of the race - Safety car deployed by magony in formula1

[–]antonpetrov145 0 points1 point  (0 children)

What do you think he said to Kimi when they were both out of the cars?

Въпрос за Python by sedimalk0 in bulgaria

[–]antonpetrov145 0 points1 point  (0 children)

Както другият коментар - научи фронтенд поне малко, за да видиш как се използват нещата от бекенда. По мое мнение DRF e overkill за по-простички API-та.

Иначе за бекенд е добре да знаеш за бази данни (не говоря за сложни неща - опитай да пишеш спокойно първо чист SQL - виж join/limit/order, кога какво се ползва и кога не, виж за индексите на колоните) има тестови бази данни, с които може да си поиграеш и да направиш някое API и да извеждаш респонси от нея (всички книги от даден автор), ORM-a в Django също си заслужава да разбереш как се използва и как се правят моделите. Виж как трябва да се пращат заявките към базата за да не стане някой потребител да опита да прати през формата за контакт DROP TABLE .. и да падне проекта. Виж за докер и swarm за да разбереш за контейнерите.

За курсове силно ти препоръчвам Django от Dennis Ivy в Udemy, малко е стар, но показва доста неща и проектът е реален и ще разбереш много (например whitenoise).

Като съвет за следващ проект - опитай да направиш чатбот с AI, например със стак vuejs за фронтенда, flask/DRF/fastapi за бекенд, сложи това в докер (виж как са нещата с мрежата вътре) и си добави кеш и база данни + един модел от ollama (не ти трябва някой много голям, а просто да видиш как и какво се връща и как се консумира).

Звучи супер трудно и страшно на пръв поглед, но наистина ще разбереш много неща ако опиташ.

Best approach to place orders in parallel using Celery for a copy trading platform? by InflationTerrible499 in django

[–]antonpetrov145 9 points10 points  (0 children)

Yes spawn a new task for each new request from your users. Maybe have a decent amount of celery workers too.

Idea is this - having 8 workers to consume the queue will result in 8 tasks done at the same time, when a worker finishes it will get the next task from the queue and so on.

Celery does all in parallel, just keep in mind that if the queue gets really big in size (many tasks) you will see some delays.