Great explanation. Was struggling with the concept. Now I am confident with the topic
@thiagom519519 күн бұрын
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.
@digitalmachine010122 күн бұрын
Good information
@radianiasacademy845423 күн бұрын
Could you please explain how to deploy an vue django app to a live server/ shared hosting?
@andreasmoller188423 күн бұрын
{}
@ilyasbayramov532425 күн бұрын
Fake video. True video kzfaq.info/get/bejne/mOCVntCGnK6yj2Q.html
@ygr494325 күн бұрын
شكرا ❤❤
@ygr494325 күн бұрын
شكرا ❤❤
@rxlvnd339727 күн бұрын
Just what i needed! Simple & short, thank you!
@najmulsharifworld27 күн бұрын
hi boss , how to import the document under the function ? def on_click(e): ul = document.getElementById('left') ul.innerHTML = 'Hello world'
@balaraju498129 күн бұрын
thanks for help
@chrikkeАй бұрын
if a benchmark shows golang being slower, there is probably something wrong with the test.
@coyoteclan480Ай бұрын
I also use Xubuntu
@user-vu9dl3vn7lАй бұрын
Thanks a lot for this great video! ❤
@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Ай бұрын
Shots fired
@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Ай бұрын
Большое спасибо! Очень понятно.
@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Ай бұрын
Nice tutorial
@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Ай бұрын
Tanks verymuch im need getme 😢IM not found find all content
@arthurlee7280Ай бұрын
523871cdf88301b8317aaaea5e21b221ad20b7f6: 523871cdf88301b8317aaaea5e21b221ad20b7f6 sessid: f1ca4119d026719e398a57cf9f931740 login: login password: blabla request_type: auth помогите как решить это? откуда мне взять sesid и 523871cdf88301b8317aaaea5e21b221ad20b7f6 Причем 523871cdf88301b8317aaaea5e21b221ad20b7f6 разный
@lucassola1509Ай бұрын
thank you bro!
@XiaoweiChen-hr3vhАй бұрын
import is such a tricky concept in golang, I've been struggling this for a whole day. appreciate your video
@alien432hz9Ай бұрын
Javascript comes from the island of Java.
@akshayas5402Ай бұрын
Thank you. The mocking videos are so informative
@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()
@florinbujoreanu10202 ай бұрын
Only 1 of your videos brings more value than other tutorial youtubers tens of videos. I am so happy to re-discover your channel.
@florinbujoreanu10202 ай бұрын
Perfect explanation, this man is teaching us how to fish, unlike the others. I have no words of gratitude.
@florinbujoreanu10202 ай бұрын
TOP NOTCH! Bravo!
@florinbujoreanu10202 ай бұрын
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.
@deveshchoudhary1212 ай бұрын
Thank you sir, u solved my doubt .
@edsanville2 ай бұрын
I got 15 PhDs in rocket science and brain surgery, so I could create and distribute a python package.
@arun-poudel2 ай бұрын
Mojo is comming 🔥🔥🔥🔥🔥
@albumin30days902 ай бұрын
never use loops in python rule #1 of 1 rules
@scarecrow94592 ай бұрын
Thanks! Was very helpfull. My FQW is safe now!)!)
@guga-araujo2 ай бұрын
Woww!! And does /admin/ work as expected?
@matvey83742 ай бұрын
Very good video, helped me with oauth2.0
@JohnJohnson-ch6xq2 ай бұрын
I have been studying for cloud computing. I want to know if I should consider JavaScript or Python? Please advise.
@madebyabhi122 ай бұрын
Javascript
@RoomOfClouds2 ай бұрын
Thank you! Responses package is so much easier to test requests package. It was very easy to test urllib3 Retry mechanism.
@RunItUp23k2 ай бұрын
очень просто и не требует установки библиотек
@NewLondonMarshall2 ай бұрын
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Ай бұрын
You can write however you want. Blame the op. If you want to force some formatting, use linter.
@botfly74442 ай бұрын
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?
@zaemiel2 ай бұрын
It's the video #3, have you seen the first two?
@botfly74442 ай бұрын
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?
@labibchy63172 ай бұрын
Hey mate where i can get free api endpoint? in CMC its currently pricy
@jesusdelarua59952 ай бұрын
Great explanation.
@Aravindudhaya2 ай бұрын
Python execution speed very slow. Any way both technologies to have know our holding our jobs.