Melan and Brian are GREAT TEACHERS. GOD BLESS BOTH. From India
@defiler902 жыл бұрын
this guy is awesome. touches upon so many aspects without overcomplicating anything.
@Jairo-Arevalo-Rea2 ай бұрын
Wow this was a really interesting lecture, it's amazing how confident you feel when you are guided by such a high quality team of experts... Thanks Brian...
@freeeagle60742 жыл бұрын
Repetition is the mother of memorization. This course uses repetition in a beautiful way. Note, lecture, source code, project, capstone. By the end, it's hard not to remember essential concepts and details.
@alessandrob.g.4524 Жыл бұрын
Yes, redundancy is king (or queen Haha). That's why knowledge from reading books tends to stick so much
@ABBASREICI-os8gu Жыл бұрын
ش111شص
@bpokrepin7 ай бұрын
46:35 hey guys please note that .find_element_by is deprecated, use driver.find_element(By.ID, "increase")
@bpokrepin7 ай бұрын
before that import By: from selenium.webdriver.common.by import By
@bpokrepin7 ай бұрын
same with a tag name: find_element(By.TAG_NAME, "...")
@SaadHussain-op8ps4 ай бұрын
@@bpokrepin for using By, you have to import it from selenium.webdriver.common.by import By
@hirojuarez532526 күн бұрын
It says name ‘By’ is not defined. How to fix this?
@bpokrepin26 күн бұрын
@@hirojuarez5325 you need to import it from the selenium library
@jaddadzakaria Жыл бұрын
Zakaria Jaddad was here thanks Mr Brian for this lecture and the cs50 staff for making this amazing course happen
@muhammadrafehatique67904 жыл бұрын
I fall in love with this Guy! Thank u so much Brain!
@_ashyou2 жыл бұрын
Brian
@CenturionKZ4 жыл бұрын
Brain and David are the best!
@xavier25863 жыл бұрын
It's Brian🥺
@freeeagle60742 жыл бұрын
@@xavier2586 Brian has got brain definitely.
@xavier25862 жыл бұрын
@@freeeagle6074 😂
@freeeagle60742 жыл бұрын
Awesome. Ci/cd beckons to lecture 1. It's like a well-plotted play--somthing the writer seemed to mention casually would have consequences later. Until now, the circle is closed.
@vamsi35157 ай бұрын
23:18 for the function is-valid_flight, "or" opeartor is used instead of "and" to make sure both conditions should be valid
@sireesbrl38336 ай бұрын
If one condition is false it would still return true, how is the flight valid then?
@alliswell36252 жыл бұрын
01:18:51 docker
@MaziarHeidari-i4e10 ай бұрын
Thanks a lot . I love your courses
@donteven46733 жыл бұрын
Thanks so much Brian!!
@AnilSardiwal3 жыл бұрын
Selenium starts at 38:00
@WildThoughtsAI Жыл бұрын
lol nerd
@alainrouleau8 ай бұрын
Thanks very much for the lecture. Would like to have seen the use of Pytest instead of unittest though. The built-in Python unit testing framework is a bit old & clunky with a lot of boilerplate code. The built-in doctest module in Python is also great for beginners who are new to unit testing. And not only is doctest great for unit testing but it also forces you to write docstrings, you know, documentation for your functions/classes, right from the beginning. Which is what you want in a programmer.
@Robert420L3 жыл бұрын
Amazing guru....u r awesome 🙂
@ShivaniKumari-jy8no3 жыл бұрын
💋💋
@hide_yama3 жыл бұрын
I thought that the content of this class would be difficult to learn without actually trying it at the development site.
@mr097409742 жыл бұрын
i'm confused at 36:35 he is creating passenger object outside setUp function. Then don't we a need setUp function? and are objects created outside setUp function aliased and destroyed also?
@Flamekebab3 жыл бұрын
Unfortunately the prime numbers/square root stuff meant that the explanation of assert statements went completely over my head. The example ended up being more convoluted than the concept it was supposed to illustrate :/ (I looked elsewhere and learnt how they worked - on a rewatch I still can't follow what's going on in your example)
@Flamekebab3 жыл бұрын
@leviosa Again, that explanation goes completely over my head. It's not that I'm incapable of understanding it - it's that it's so abstract that I find it difficult to engage with. I've used most forms of maths I was taught over the years for one thing or another but I've never found a use for prime numbers. I do not mean they're useless - just that I've never found an application for them. As a result the explanation might as well be related to the smell of the colour blue and how when approached from an oblique angle it's more of a turquoise. None of that is relevant to what was being taught. The point was to learn how to use assert statements and by applying it to something that, to many of us, is utterly abstract it becomes extremely difficult to follow. Thankfully that sort of weirdness has been very uncommon in CS50!
@innocence31584 жыл бұрын
I love you Brian
@jacobjose480 Жыл бұрын
Marry him
@bakhtiyor_sulaymonov2 жыл бұрын
thanks guys for this quality content
@freelanceprogrammer95373 жыл бұрын
14:13 in Visual Code Windows 10 ??? I did copy and paste all from the file sh in the terminal and work: python -c "from tests0 import test_prime; test_prime(1,False)" python -c "from tests0 import test_prime; test_prime(2,True)" python -c "from tests0 import test_prime; test_prime(8,False)" python -c "from tests0 import test_prime; test_prime(11,False)" python -c "from tests0 import test_prime; test_prime(25,False)" python -c "from tests0 import test_prime; test_prime(28,False)" Result: ERROR on is_prime(11), expected False note: with the function working fine.
@SaadHussain-op8ps4 ай бұрын
for windows, change the file extension from .sh to .cmd add line @echo off at the top of all the scripts then run ./tests0.cmd and it will run as expected
@ibrahimabarry88394 жыл бұрын
thank you brian
@DMxalava3 жыл бұрын
Thank you again!
@AlvinZhou-s5nАй бұрын
Can't get selenium working even with same chrome version. Status code 127
@AzamatBeit. Жыл бұрын
19:26 why test_28 is not appear??
@illiapiliugin82003 жыл бұрын
January 2021 - Flght origin and flight destination is same airport have sence ))))))))
@theblackgods46992 жыл бұрын
1:00:20
@bekzodnegmatillaev89744 жыл бұрын
where do I can get code from "airline" django project?
@endorfineater4 жыл бұрын
In this lecture Brian implements 'airline' kzbin.info/www/bejne/j6uzYmlqjqaBd7c
@endorfineater4 жыл бұрын
You can also try on the lecture web page where there is a list of links including 'source code ' (right click seems to work) cs50.harvard.edu/web/2020/weeks/4/
@RomarioKurti286 ай бұрын
this lecture was hell
@TheMasterboi13 жыл бұрын
Brain You Are Awesome :)
@_ashyou2 жыл бұрын
Brian
@ryanlog8 ай бұрын
CI/CDeez nuts ! Haaah... Gotteeee
@zadilkhwaja2 жыл бұрын
7:15
@KirillSkobelev4 жыл бұрын
Thanks David! jk
@ehza4 жыл бұрын
Thanks Kirill
@oruchkin3 жыл бұрын
thanks Brian
@freelanceprogrammer95373 жыл бұрын
04:07 squeare only (subtitle)
@firefuegomakes Жыл бұрын
It pains my heart to be on the second last project and know that I'm leaving😭
@tsunningwah3471 Жыл бұрын
zibei
@Minsturuiop11 ай бұрын
he is very clear in his explanations.but his face is a little annoying for some reason. still very good lecture !
@SaadHussain-op8ps4 ай бұрын
any one here whose docker is not running and getting error django.db.utils.OperationalError: connection to server at "db" (172.18.0.2), port 5432 failed: FATAL: password authentication failed for user "postgres"
@Stevegerr83 жыл бұрын
When I'm trying the response = c.get(f"/flights/{max_id + 1}") self.assertEqual(response.status_code, 404) I'm getting an error (flights.models.Flight.DoesNotExist: Flight matching query does not exist.) even with Brian's code c/p
@nathansherrard41113 жыл бұрын
The problem isn't in the tests.py, but actually in views.py. In the previous lecture 4 (at the hour and 22 min, 40 secs mark) you see on line 12 it just says: flight = Flight.objects.get(id=flight_id) It actually should be wrapped in a try/except block, with an Except for Flight.DoesNotExist, which can then do a 'raise Http404("Flight not found.")'. That's how you'll get the 404 to properly match in your assertEqual statement. If you download the finished source code from lecture 4 they have this in there (note: I had to manually copy/paste the url and change the schema from http to https to trigger the download). There's also a lot more excepts put in for the "book" function as well.
@pl49532 жыл бұрын
@@nathansherrard4111 Thanks bro!
@dmadalengoitia2 жыл бұрын
@@nathansherrard4111 Thank you very much!!! I think Brian should point that out because if you are just following the lecture without downloading the source code it is really difficult to catch the error...