Пікірлер
@jesseinit
@jesseinit 10 күн бұрын
This doesn't work on version 1.22
@aashrayzaveri9510
@aashrayzaveri9510 18 күн бұрын
Great explanation. Was struggling with the concept. Now I am confident with the topic
@thiagom5195
@thiagom5195 19 күн бұрын
I think that this is not a good python code, when do in python range(2, 250001) it will create a list with each element from 2 to 250001 before do the "for". this create a horrible performace code.
@digitalmachine0101
@digitalmachine0101 22 күн бұрын
Good information
@radianiasacademy8454
@radianiasacademy8454 23 күн бұрын
Could you please explain how to deploy an vue django app to a live server/ shared hosting?
@andreasmoller1884
@andreasmoller1884 23 күн бұрын
{}
@ilyasbayramov5324
@ilyasbayramov5324 25 күн бұрын
Fake video. True video kzfaq.info/get/bejne/mOCVntCGnK6yj2Q.html
@ygr4943
@ygr4943 25 күн бұрын
شكرا ❤❤
@ygr4943
@ygr4943 25 күн бұрын
شكرا ❤❤
@rxlvnd3397
@rxlvnd3397 27 күн бұрын
Just what i needed! Simple & short, thank you!
@najmulsharifworld
@najmulsharifworld 27 күн бұрын
hi boss , how to import the document under the function ? def on_click(e): ul = document.getElementById('left') ul.innerHTML = 'Hello world'
@balaraju4981
@balaraju4981 29 күн бұрын
thanks for help
@chrikke
@chrikke Ай бұрын
if a benchmark shows golang being slower, there is probably something wrong with the test.
@coyoteclan480
@coyoteclan480 Ай бұрын
I also use Xubuntu
@user-vu9dl3vn7l
@user-vu9dl3vn7l Ай бұрын
Thanks a lot for this great video! ❤
@federicobau8651
@federicobau8651 Ай бұрын
I think this videos is a troll (I hope). For the comment section i think people are extremely confused and are not real developers
@sinterusde8869
@sinterusde8869 Ай бұрын
Shots fired
@wiono
@wiono Ай бұрын
in order to share a python solution create a virtual environment and install all packages to it. Everything will be in one folder. Compress it and sent to someone.
@philnikitin657
@philnikitin657 Ай бұрын
Большое спасибо! Очень понятно.
@ThabeloManeta
@ThabeloManeta Ай бұрын
Sir what if my view does a long calls like 2 minutes, and the other user want to request to the same view. how do i implement the thread cause it is doing this sequentially
@Bholu420
@Bholu420 Ай бұрын
Nice tutorial
@Mau5trakt
@Mau5trakt Ай бұрын
I'm on windows and i got the following issues but i was able to fix them. (Using redis from docker) #1: in the settings.py file change the variable name 'celery_broker_url' to 'CELERY_BROKER_URL' #2 if the celery -A ytDjangoChannels2 worker -l INFO doesn't print the Chuck norris quote install the eventlet library (pip install eventlet ) then add -P eventlet to the command. remaining as follows: celery -A ytDjangoChannels2 worker -l INFO -P eventlet pd: ytDjangoChannels2 is the name of my Django project Eddited: ok i had finished but the websocket doesn't receive the message only was conected so i tried a lot of things but was able to do it. First of all STOP THE CELERY COMMANDS AND LAUNCH IT TILL THE END. It could be a little obvious but when was the part of running the first time i let it and then i was trying to get the response of the web socet but i didn't had loaded the changes. i reloaded the two commands. Then i was reading a django channels tutorials and in its, the socket.onmessage method got a validation socket.onmessage = (event) => { console.log(event) const data = JSON.parse(event.data) if (data.type === 'send_joke' ){ console.log(data) document.querySelector('#jokes').innerText = data.message } and, in my consumers.py async def send_joke(self, event): text_message = event['text'] await self.send(text_data=json.dumps({ 'type': 'send_joke', 'message': text_message, })) then i was getting an error in the celery -A ytDjangoChannels2 worker -l INFO -P eventlet command which says async_to_sync(channel_layer.group_send(('jokes', {'type': 'send_joke', 'text': joke}))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: RedisChannelLayer.group_send() missing 1 required positional argument: 'message' then in my tasks.py i only add the variable async_to_sync(channel_layer.group_send)('jokes', message={'type': 'send_joke', 'text': joke}) which is the missing argument.
@youtraders
@youtraders Ай бұрын
Tanks verymuch im need getme 😢IM not found find all content
@arthurlee7280
@arthurlee7280 Ай бұрын
523871cdf88301b8317aaaea5e21b221ad20b7f6: 523871cdf88301b8317aaaea5e21b221ad20b7f6 sessid: f1ca4119d026719e398a57cf9f931740 login: login password: blabla request_type: auth помогите как решить это? откуда мне взять sesid и 523871cdf88301b8317aaaea5e21b221ad20b7f6 Причем 523871cdf88301b8317aaaea5e21b221ad20b7f6 разный
@lucassola1509
@lucassola1509 Ай бұрын
thank you bro!
@XiaoweiChen-hr3vh
@XiaoweiChen-hr3vh Ай бұрын
import is such a tricky concept in golang, I've been struggling this for a whole day. appreciate your video
@alien432hz9
@alien432hz9 Ай бұрын
Javascript comes from the island of Java.
@akshayas5402
@akshayas5402 Ай бұрын
Thank you. The mocking videos are so informative
@NH-ij8dz
@NH-ij8dz Ай бұрын
On a i5 10600k and using multi processing you can get this down to 25 seconds on python. If you use pypy's Jit you can get it down to below 5s. def process(): """Splits the task into multiple parts""" current_min = 2 tasks_per_worker = 250001 // 12 tasks = [] for _ in range(12): tasks.append( multiprocessing.Process( target=, args=(current_min, current_min + tasks_per_worker) ) ) current_min += tasks_per_worker # Start and await tasks. for task in tasks: task.start() for task in tasks: task.join()
@florinbujoreanu1020
@florinbujoreanu1020 2 ай бұрын
Only 1 of your videos brings more value than other tutorial youtubers tens of videos. I am so happy to re-discover your channel.
@florinbujoreanu1020
@florinbujoreanu1020 2 ай бұрын
Perfect explanation, this man is teaching us how to fish, unlike the others. I have no words of gratitude.
@florinbujoreanu1020
@florinbujoreanu1020 2 ай бұрын
TOP NOTCH! Bravo!
@florinbujoreanu1020
@florinbujoreanu1020 2 ай бұрын
Most kivy tutorials on youtube have the exact same content, making me think they just copy the official documentation or other videos, but this guy really does know kivy.
@deveshchoudhary121
@deveshchoudhary121 2 ай бұрын
Thank you sir, u solved my doubt .
@edsanville
@edsanville 2 ай бұрын
I got 15 PhDs in rocket science and brain surgery, so I could create and distribute a python package.
@arun-poudel
@arun-poudel 2 ай бұрын
Mojo is comming 🔥🔥🔥🔥🔥
@albumin30days90
@albumin30days90 2 ай бұрын
never use loops in python rule #1 of 1 rules
@scarecrow9459
@scarecrow9459 2 ай бұрын
Thanks! Was very helpfull. My FQW is safe now!)!)
@guga-araujo
@guga-araujo 2 ай бұрын
Woww!! And does /admin/ work as expected?
@matvey8374
@matvey8374 2 ай бұрын
Very good video, helped me with oauth2.0
@JohnJohnson-ch6xq
@JohnJohnson-ch6xq 2 ай бұрын
I have been studying for cloud computing. I want to know if I should consider JavaScript or Python? Please advise.
@madebyabhi12
@madebyabhi12 2 ай бұрын
Javascript
@RoomOfClouds
@RoomOfClouds 2 ай бұрын
Thank you! Responses package is so much easier to test requests package. It was very easy to test urllib3 Retry mechanism.
@RunItUp23k
@RunItUp23k 2 ай бұрын
очень просто и не требует установки библиотек
@NewLondonMarshall
@NewLondonMarshall 2 ай бұрын
The code formatting on the JavaScript side hurt me. No spaces in the for loop variable declaration check and increment, no space between the closing parenthesis and the opening curly brace. Ouch
@smash3689
@smash3689 Ай бұрын
You can write however you want. Blame the op. If you want to force some formatting, use linter.
@botfly7444
@botfly7444 2 ай бұрын
thx for the tutorial, however i don't understand how to test the response.raise_for_status() instance in the try-block in main.py, can u explain to me?
@zaemiel
@zaemiel 2 ай бұрын
It's the video #3, have you seen the first two?
@botfly7444
@botfly7444 2 ай бұрын
i did it today, how can i test an exception raise ? instesad of return 'some_text' how can i test through the responses methods the reaise HTTPError for example?
@labibchy6317
@labibchy6317 2 ай бұрын
Hey mate where i can get free api endpoint? in CMC its currently pricy
@jesusdelarua5995
@jesusdelarua5995 2 ай бұрын
Great explanation.
@Aravindudhaya
@Aravindudhaya 2 ай бұрын
Python execution speed very slow. Any way both technologies to have know our holding our jobs.
@afro_habesha
@afro_habesha 2 ай бұрын
Thanks
@Bit_Maximum
@Bit_Maximum 3 ай бұрын
Thanks!