Тёмный
Beyond Database
Beyond Database
Beyond Database
Подписаться
Комментарии
@deivydaspagojus418
@deivydaspagojus418 12 дней назад
Hi. Thanks for the great video. Can you suggest where to look for effective tutorial on how to setup Django to run on Could SQL? Or make a video yourself about this?
@WantedGamer-jg8vm
@WantedGamer-jg8vm Месяц назад
داداش ایرانی سلام😂
@hamiddvel
@hamiddvel 4 месяца назад
داداش کامیونیتی فارسی هم اونقدری بد نیست که داری اینگلیسی ریکورد میکنی
@hadimemari6544
@hadimemari6544 6 месяцев назад
well well, that was helpful.
@Mefistofy
@Mefistofy 6 месяцев назад
If performance is important, I'd go with numpy.
@ridabrahim7604
@ridabrahim7604 6 месяцев назад
I'm new to programming and using generators with database in case the data comes one day to be large. my question is isn't it always good to go with does the performance matter as big YES like why we even need to consider another approach?
@nevokrien95
@nevokrien95 7 месяцев назад
if u are working with large data its a thread/process pool excuter with a map if its not parlalizble then save it to memory/push to db inside a for loop if its something like an np array or pytorch tensor try and use the package build in operations the rest is allways comprehention except if u r working with non python people
@That__Guy
@That__Guy 7 месяцев назад
I honestly don't think there's ever a scenario where the cumulative effect of the savings through list comprehensions outweighs the costs of code that is harder to maintain. Dev time is usually more expensive than CPU time and code that is harder to read can significantly increase dev time. You would have to have quite a lot of these loops in your code or really really large arrays to go through to make this effect be noticeable. But that in itself is a code smell and shows that you probably need to use different tools to solve your problem like just using numpy.square(array), which is probably 20 times faster than all of the alternatives.
@smallbluemachine
@smallbluemachine 7 месяцев назад
The "Is performance important" diamond should be further up the tree, where the other branch is C++, but now I'm just being rude.
@BeyondDatabase
@BeyondDatabase 7 месяцев назад
Haha, fair point! Absolutely, it's all about context. While list comprehension in Python can offer great readability and convenience, performance considerations may lead some to explore languages like C++. It's a trade-off between ease of development and raw speed. Although if you go with python you wouldn't want your code freezing unexpectedly!
@nevokrien95
@nevokrien95 7 месяцев назад
ya if u need preformance in raw python stuff went horibly wrong. we have c# java go for a reason...
@JosephBlade.
@JosephBlade. 7 месяцев назад
There is Libraries in C++ to create module for python too if you need more speed for a particular task it can be quiet useful
@saharhatami5970
@saharhatami5970 7 месяцев назад
Welcome back 🎉
@ivanabregu1
@ivanabregu1 8 месяцев назад
Thanks bro!
@tinktechy
@tinktechy 9 месяцев назад
Simplified Real-time Chat App Django Channels + Websockets and User Authentication ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-SWivHeitpk0.html
@jairajsahgal7101
@jairajsahgal7101 9 месяцев назад
Thank you
@saumojitbhattacharjee7292
@saumojitbhattacharjee7292 10 месяцев назад
can you provide repo?
@nielsSavantKing
@nielsSavantKing 11 месяцев назад
@Beyond Datbase. I don't understand that you still put the database in a docker container in the production compose file. Because you say it by yourself that it is not wise to put a database in a docker container in production. So we can omit the database container in production?
@onyilimba
@onyilimba Год назад
Why would you advice against creating nginx in production. The excuse you gave is a very poor one.
@alisahray4253
@alisahray4253 Год назад
how i can use permission_classes in doucumentViewSet, when i send jwt token in request, view return 500 error
@nnamdiekweariri
@nnamdiekweariri Год назад
Thanks so much for your explanations. However, I would like to see you make video on how to connect the containerised django app with a locally running instance of postgres database.
@scarletlady9870
@scarletlady9870 Год назад
I don't understand any of the concepts used but nice video
@zahrasalehi9217
@zahrasalehi9217 Год назад
محتوای خیلی خوبی بود ولی لحن انگلیسی خوبی نداشتین. اینو میگم که بهتر و بهتر بشین و موفقیت تونو ببینم. ساب کردم
@crazykiller767
@crazykiller767 Год назад
which vscode color theme you are using ?
@amaangigani9372
@amaangigani9372 Год назад
You simply have to not provided the html code or starting project link 😂
@symphonysalameh5587
@symphonysalameh5587 Год назад
please do a video where u code about -Time on site -Pages per visit. -Bounce rate -Returning visitors for admin analytics reports i am new to django and this things are advance
@amirh.zeidabadi846
@amirh.zeidabadi846 2 года назад
ro englisit car kon aberomono bordi. in jomle ke gofti "we don't use docker in production" az koja ovordi???🤭
@hassannaghibi1979
@hassannaghibi1979 2 года назад
tnx
@berroubamohamedelamine8667
@berroubamohamedelamine8667 2 года назад
Thanks man
@janekalam
@janekalam 2 года назад
Good job!
@dannyhd8301
@dannyhd8301 2 года назад
great content , thank you
@akrammekbal8936
@akrammekbal8936 2 года назад
docker is obligate ?
@khaledtarek7933
@khaledtarek7933 2 года назад
no
@islamimankhodzhaev543
@islamimankhodzhaev543 2 года назад
im having Connection error wher running python manage.py search_index --rebuild command. Have some one any solutions? Thank you in advance)
@bekzhanrakhmetzhan9547
@bekzhanrakhmetzhan9547 2 года назад
it would be nice if you left the git repository
@dantedt3931
@dantedt3931 2 года назад
Really good. Thanks
@alessandroscimone5463
@alessandroscimone5463 2 года назад
Fantastic! Very helpful. What I don't understand and how to distribute it, for example, on Linode, DigitalOcean or similar?
@Anu_was_here
@Anu_was_here 2 года назад
After following the whole tutorial :( you said Docker is not recommended..
@ernestezis9526
@ernestezis9526 2 года назад
That's not what he said. He said that Docker added a layer of complexity and in production it might be better to use RDS for Postgresql. He seems to be implying that Django and Gunicorn should run in Docker but Nginx and Postgresql should not.
@onyilimba
@onyilimba Год назад
@@ernestezis9526 He was actually talking about nginx, which I think is a bad advice from his part.
@postermelone6761
@postermelone6761 5 месяцев назад
He usee gunicorn, how does static files get solved without nginx then, is he amatuer? Or am i?
@ballinlikebill8334
@ballinlikebill8334 2 года назад
With your setup i could configure nginx on the host machine so that i could even have multiple apps running on dockercontainers right?
@mohsenhassani495
@mohsenhassani495 2 года назад
This was really cool tutorial, it was super fast and just talked about important things, not wasting time on coding. Thank you very much
@yasabhishek
@yasabhishek 2 года назад
Thanks for the video, you cleared a lot of my confusion.
@jlyricks
@jlyricks 2 года назад
I realy like what you're doing. it help me to be more performant on django.
@chopa3466
@chopa3466 2 года назад
You saved my life!!!!
@chandruscm
@chandruscm 2 года назад
I was doing docker wrong! :D Thanks a lot for showing best practices!
@official.letsfeellove
@official.letsfeellove 2 года назад
hello sir please make a video django vue auth with email verification and reset password.
@official.letsfeellove
@official.letsfeellove 2 года назад
hello sir , can you please make a full tutorial video djago vue full authentication system with email verification and password reset. thank you
@peterbasar
@peterbasar 2 года назад
There is actually a wrong video link in the description, the correct one should be: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4wdNx2j1j-w.html
@zaliubovskyi
@zaliubovskyi 2 года назад
Great video man! Straight to the point using the KISS principle.
@andreyandreyovich5454
@andreyandreyovich5454 2 года назад
Thanks. But how could I implemet DocumentViewSet with frontend input. I can't realize... because don't see where is out indicating id or name as q or something else as GET.get('q'). COuld you help?
@tonytrinh1343
@tonytrinh1343 2 года назад
Hey can you provide us the github repo with the code so we can run it locally and learn from it? Thank you so much!
@saharhatami5970
@saharhatami5970 3 года назад
That is so helpful and time saving. Thanks
@pil_low
@pil_low 3 года назад
Ali Kompany Bro.. You are awesome.
@BeyondDatabase
@BeyondDatabase 2 года назад
Glad you liked it
@nikhil96widhani
@nikhil96widhani 3 года назад
Thanks. Can you point me to how i add existing indexes/tables from a database rather than creating new