Web Programming with Flask - Intro to Computer Science - Harvard's CS50 (2018)

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 155

  • @freecodecamp
    @freecodecamp  5 років тому +42

    This is the eighth video in the course. Check out the full playlist: ua-cam.com/play/PLWKjhJtqVAbmGw5fN5BQlwuug-8bDmabi.html
    Here is a forum to discuss CS50 with other people from freeCodeCamp: www.freecodecamp.org/forum/c/harvard-cs50

    • @saurabh7199
      @saurabh7199 5 років тому

      Thank you very much☺☺

    • @nakedglenn
      @nakedglenn 11 місяців тому +1

      0:49

    • @nakedglenn
      @nakedglenn 11 місяців тому

      www.google.com/viewer/content/eak5vu7b/CFvWEG

  • @dazzykin
    @dazzykin 3 роки тому +122

    So grateful to have such high quality education available for free. I love modern times.

    • @whipit2404
      @whipit2404 3 роки тому +1

      I'm surprised nobody is protesting inequality in higher education. Students of prestigious universities have long had access to superior teaching and resources. Thereby increasing inequality between those who are admitted to these schools and those who are not.

    • @rafeeali8307
      @rafeeali8307 2 роки тому +3

      @@whipit2404 I mean that's just reality, the parents of the students probably worked really hard to where they are now so they could provide a world-class education for their kids. Nothing to protest here, not getting into Harvard doesn't mean the end of the world but you can hope to either work harder then others to get in yourself or work hard so that your kids get into Harvard.

    • @conservativestrawman9837
      @conservativestrawman9837 2 роки тому

      why does flask run not work?

  • @sarmadali5174
    @sarmadali5174 5 років тому +192

    This man is a genius. He knows the art of teaching. No doubt! He is one of the best teacher in the world.

    • @kedarrana2747
      @kedarrana2747 4 роки тому +4

      He has to
      After all he has the pressure of teaching in so called world's number 1 university 😅

    • @and_rotate69
      @and_rotate69 4 роки тому +3

      That's what you get from paying > 50k$/year

    • @joshurlay
      @joshurlay 2 роки тому

      @@and_rotate69 I agree that paying well above 80k for these positions would attract and retain top talent in teaching, but I know at least some terrible professors that make over 6 figures. Watching this lecture almost made me wanna cry from how different the quality of some classes is in my university.

  • @zw9423
    @zw9423 2 роки тому +21

    The preparation that went into this single lecture... He delivers it like a performance of a magician. Beautiful teaching

  • @jayhu6075
    @jayhu6075 4 роки тому +12

    He blow my mind with this kind of teaching.
    Many thanks for sharing, because i cannot afford a study at Harvard and this helped my a lot.

  • @VicodeMedia
    @VicodeMedia 5 років тому +29

    I am doing research about this topic for a long time and still couldn't find enough but this video covers everything I need! Thank you!

    • @jitendra2510
      @jitendra2510 5 років тому

      Which topic he actually covered? I didn't watched as I am thinking it is about building a basic flask app. Am I wrong?

  • @atur42
    @atur42 4 роки тому +6

    David is really a brilliant instructor.

  • @abuansarpatowary
    @abuansarpatowary 5 років тому +24

    What a talented teacher he is!

  • @michaelwong6004
    @michaelwong6004 4 роки тому +72

    LOL he's speaking like 1.5x by default

  • @ms77grz
    @ms77grz 5 років тому +3

    At 1:27:03
    Works 3-4 times faster:
    q = request.args.get('q')
    words = [word for word in WORDS if word.startswith(q)]
    than:
    words = [word for word in WORDS if word.startswith(request.args.get('q'))]

    • @wol2231
      @wol2231 4 роки тому

      No, it does not work any faster. They're both equivalent.

    • @tusharpathade2557
      @tusharpathade2557 4 роки тому

      Yeah it will work faster as request.args.get('q') is being evaluated once. Good point. 👍

  • @DKSorg
    @DKSorg Рік тому

    Completed the CS50 Intro this May, just Lectures.... Big help in understanding the Lager concepts in order to better understand more niche UA-cam Videos and actually understanding what is happening and how, but also being able to troubleshoot and correct.
    -> Just started a project that requires Flask.

  • @ahmedkadry7717
    @ahmedkadry7717 3 роки тому

    I can't explain how I'm grateful for the existence of this channel

  • @chrismalingshu
    @chrismalingshu 3 роки тому +2

    Now I understand how a good teaching be like! Thanks Prof David

  • @will_strong_forme
    @will_strong_forme 7 місяців тому

    This’s a great teacher of Harvard! Thank Harvard’s for the free source.

  • @wolfisraging
    @wolfisraging 5 років тому +41

    He is one the best teacher in the world

    • @331SVTCobra
      @331SVTCobra 5 років тому

      I humbly submit Prof Art Dickenson from Cal Poly, SLO as the greatest of all time.

  • @noblephilip8669
    @noblephilip8669 5 років тому +7

    Just into the 4th minute of the lecture, and I have to say I love it.

  • @StrangeIndeed
    @StrangeIndeed 3 роки тому +1

    I wish I had seen this last year, when I started to learn web development. This is soo good

  • @brentmakes
    @brentmakes 2 роки тому +3

    Thank you for this incredible gift to the learning community!

  • @CodingMazaa
    @CodingMazaa 5 років тому +23

    Despite studying C Sharp and Kotlin, Python remains my favourite language.

  • @matt-g-recovers
    @matt-g-recovers 3 роки тому

    If I could have this man's clarity of thought

  • @liamwelsh5565
    @liamwelsh5565 2 роки тому +1

    1:23:19 Probably the only wrong thing in this video. "Not sure what this does? Just run it!" lmao
    Other than that, the fact that you can get such a high-quality course online for free is unbelievable to me. I can assure you that the intro to CS course you take at your local college, the one you pay hundreds or thousands of dollars for does not come close to this.

  • @jiwon5315
    @jiwon5315 5 років тому +6

    I want the lecturer to teach me anything and everything haha, he’s soo good >_

  • @malikqatagan8977
    @malikqatagan8977 2 роки тому +1

    Better version than newer ones

  • @snaecooceans8744
    @snaecooceans8744 5 років тому +31

    I love how someone has blurred the web address in the Web Bar, yet forgot to do it in the Console LUL

  • @sardinastekno
    @sardinastekno 3 роки тому

    Perfect teacher for the subject of programming. Thank you for posting this video

  • @ThePRINCEBARPAGA
    @ThePRINCEBARPAGA 5 років тому +1

    This playlist is a gem! Thanks a ton for making this available. Never had so much fun learning!!

  • @axelgrind
    @axelgrind 5 років тому +2

    Wow! The Harvard lecture is surprisingly, great! Thanks for posting these Harvard people. :)

  • @iChrisBirch
    @iChrisBirch 3 роки тому +1

    Such an energetic teacher, very engaging. 👍

  • @kirbyurner
    @kirbyurner 4 роки тому

    At 1:30:15 I'd emphasize a list comprehension may be spread out over several lines for readability i.e. it doesn't literally have to all be on one line. Indenting within the square brackets won't matter to Python, but the reader might appreciate the added whitespace.

  • @zizouchamp
    @zizouchamp 3 роки тому

    Wow Just Amazing Teacher you are . Crystal clear with each and every topics

  • @SUGATORAY
    @SUGATORAY 2 роки тому

    1:30:20 The instructor said that you cannot indent in a list comprehension (only use a list-comprehension when it fits within the screen). This is not true.
    Since the list comprehension is wrapped within a pair of brackets [ ], you can break the line anywhere you prefer to facilitate enhanced readability; and the list comprehension will work perfectly fine. Although, a really long list-comprehension that requires one to break down into multiple lines, may not be desirable, as future maintenance of such code could elicit unnecessary confusion. One of the tenets of writing better code is also the how less cryptic it is for future maintenance.
    Also, request.args.get("q") is getting called as many times as the number of words in WORDS variable. Perhaps a more resource-conserved approach will be this:
    q = request.args.get("q")
    words = [ word for word in WORDS if word.startswith(q) ]

  • @Vlox47
    @Vlox47 3 роки тому +3

    Amazingly concise overview of the usefulness of flask and exactly what I was looking for.
    I thought it was a missed opportunity in the video to mention that list comprehension is done in C rather than for loops which are native python, making loops embedded in list comprehension orders of magnitude faster than regular for loops.

  • @matthiashupfer2659
    @matthiashupfer2659 4 роки тому

    This is so great! Thanks Harvard for putting this online. What a source!

  • @piyiotisc
    @piyiotisc Рік тому

    Thanks for this lectures. The professor is amazing

  • @lucamannini97
    @lucamannini97 4 роки тому

    Absolutely stunning quality of lessons.

  • @-0-__-0-
    @-0-__-0- 2 роки тому

    If you guys are looking for a HDR version. Check out CS50 2021 in HDR - Lecture 9 - Flask. Almost the same topic, just different year. Happy learning.

  • @sonamohialdin3376
    @sonamohialdin3376 Рік тому

    Excellent teaching

  • @voulieav
    @voulieav Рік тому

    I wish this guy was the teacher at uni - i wouldnt have dropped out of software engineering.

  • @kbaeve
    @kbaeve 2 роки тому

    Forgetting the submit button at ~27 min made me crack up a bit haha. I probably made a thousand forms over the last 10 years, and always forget the freakin submit button on first try, to this day. xD

  • @Nasengold
    @Nasengold 2 роки тому

    incredible teacher

  • @DesignsbyBlanc
    @DesignsbyBlanc Рік тому

    David's amazing!

  • @terryhenyo9216
    @terryhenyo9216 5 років тому

    This man has amazing energy!

  • @ms77grz
    @ms77grz 5 років тому +2

    Brilliant speaker!

  • @tielessin
    @tielessin 2 роки тому

    What a great teacher!

  • @georgezviadgoglodze7810
    @georgezviadgoglodze7810 3 роки тому

    teacher is amazing...

  • @legel93
    @legel93 4 роки тому

    Brilliant video! David Malan is insanely good.

  • @tutujnrlangat
    @tutujnrlangat Рік тому

    Wow it's so amazing,I found it interesting,I guess it's the right time I got it since am still learning it,,and can I get documentation for this course also,

  • @rosendo3219
    @rosendo3219 4 роки тому

    lecture not started yet but instructor is already in sweat

  • @Troglodyte2021
    @Troglodyte2021 4 роки тому

    What a great teacher! I am happy for him because he must be paid really good working for Harvard since Harvard is such an expensive elitist school.

  • @komakechgeoffrey5707
    @komakechgeoffrey5707 3 роки тому

    Thanks for the presentation

  • @diomaiale9986
    @diomaiale9986 4 роки тому

    Amazing !!! I wish I was in the room with you, this is just perfect lesson!!!

  • @felicevalentine7386
    @felicevalentine7386 3 роки тому

    Hi is amazing , teachers like that you get once in a lifetime if you are lucky !

  • @elgharbisalaheddine3107
    @elgharbisalaheddine3107 5 років тому +1

    This man is a genius

  • @section9999
    @section9999 4 роки тому

    Yeah this guy knows how to teach!

  • @jean-michelbendaci2564
    @jean-michelbendaci2564 Рік тому

    Thanks David.
    Satya Nadella blackmailed and active corrupt.

  • @fredybenavides7346
    @fredybenavides7346 3 роки тому

    Excellent teacher.

  • @dracula5752
    @dracula5752 5 років тому

    amazing teacher and lecture

  • @ErickG
    @ErickG 5 років тому +5

    This guy teaches.

  • @zombietechz8361
    @zombietechz8361 3 роки тому +1

    Awesome video. Where can i find the source code and notes of this 2018 course? Clickking the link leads me to 2020.

  • @forestriver437
    @forestriver437 5 років тому +8

    "see how easy web programming is"
    Me: Still gets failure
    .
    .
    .
    .
    lol I forgot to give select a name of dorm

  • @TheHelpGuy
    @TheHelpGuy 5 років тому +30

    I'm kinda obsessed with coding, i barely sleep these days writing code.

    • @rezzo_6fn659
      @rezzo_6fn659 5 років тому +4

      Hlomani Job I’m trying to get into it. Looked at a few schools but they are expensive. Trying the university of UA-cam first

    • @TheHelpGuy
      @TheHelpGuy 5 років тому +6

      @@rezzo_6fn659 that's the cheapest University of all time

    • @TheHelpGuy
      @TheHelpGuy 5 років тому

      @Virasman Learning what exactly, coding or?

    • @rezzo_6fn659
      @rezzo_6fn659 5 років тому

      Hlomani Job I agree

    • @sergi3629
      @sergi3629 5 років тому +6

      @@rezzo_6fn659 You just need structure to study yourself. For example the freecodecamp curriculum privides a good visualization of what a good structure is. Html first, then Css, then javascript, then frameworks, libraries, API's...I would find good resources so you can go deeper on each one. Get some web developer bootcamp Udemy courses for example which also provide a structured path. Just advice from someone who started this journey 3 years ago and now I work doing this : )

  • @osiris5449
    @osiris5449 2 роки тому

    his energy... a f*cking chapel? 😂 I cant.

  • @markdillon9588
    @markdillon9588 4 роки тому

    Brilliant speaker 😁👍

  • @forestriver437
    @forestriver437 5 років тому

    58:00 didn't work for me of course but I changed some stuff around in the SMPT method host='ip address', port=port number and tried it and it just stopped halfway through loading...

  • @anony88
    @anony88 3 роки тому +1

    This guy condensed a 6 hour flask tutorial into 1hr 51min. Impressive lol.

    • @anony88
      @anony88 Рік тому

      I forgot I made this comment 2yrs ago

  • @higiniofuentes2551
    @higiniofuentes2551 3 роки тому

    Génial!
    Claro conciso evolutivo!
    Gracias!!!

  • @karlduckett
    @karlduckett 5 років тому +2

    Great tutorial :)
    Come on man, no-one wants a select list of 15+ hard-coded. Pass that badboy though WTForms as a python list. Haha

  • @alireza2295
    @alireza2295 4 роки тому

    Man, you are best!

  • @Siddharathbhardwaj
    @Siddharathbhardwaj 4 роки тому

    they are good but they shown the url in some sort of clips ....like in 27:15

  • @stream24x75
    @stream24x75 5 років тому +1

    Thanks for the video

  • @estebmun9462
    @estebmun9462 3 роки тому

    Really,Amazing

  • @feeelgoood9580
    @feeelgoood9580 5 років тому

    Amazing teacher!

  • @EnzoGuo
    @EnzoGuo 5 років тому +1

    good tutorial, thanks.

  • @eduardolz12
    @eduardolz12 2 роки тому

    Not trying to be the ‘smartguy’ but why would the person blur the whole url to hide it probably for security reasons at 16:00 and dont hide it from the tv behind the teacher at 16:00 for example?

  • @AshPragasam
    @AshPragasam 4 роки тому +32

    As an advanced AI machine pretending to be a person he's quite convincing, except he keeps accidentally saying stuff like, "The humans figured this out."

    • @himanshushukla787
      @himanshushukla787 4 роки тому +1

      😂 yeah but true he taught way better than anyone else I have learned from

    • @AshPragasam
      @AshPragasam 4 роки тому

      @@himanshushukla787 omg they've surpassed us! 😅

  • @malamhari_
    @malamhari_ 4 роки тому

    Love it, thanks!

  • @cheunhong9769
    @cheunhong9769 3 роки тому

    Wow they have their own IDE.

  • @mcbotface
    @mcbotface 3 роки тому

    The instructor used jsonify() in application.py but he didn't show the conversion of the JavaScript array returned into HTML elements in JavaScript section in index.html.

  • @vivekdey1827
    @vivekdey1827 3 роки тому +1

    At 18:45 , how its even working before he changed the code?

    • @conservativestrawman9837
      @conservativestrawman9837 2 роки тому

      I haven't even got that far into the vid, I tried doing what he was doing in the current CS50 video for the course I paid for - and no matter what I do I can't get flask run to work I am seriously banging my head against a seemingly non-existent wall

  • @rohansethi6976
    @rohansethi6976 5 років тому

    Nice Explanation...

  • @Kennethlumor
    @Kennethlumor 3 роки тому

    Sir please and please help me do a video on how to add a search 🔎 systems to the flask app

  • @brothermalcolm
    @brothermalcolm 2 роки тому

    @14:35 flask hello world
    give me access to the library
    turn my file into a web app
    listen to get requests on /

  • @erglaligzda2265
    @erglaligzda2265 3 роки тому

    Great lecture! Thanks for free high quality material! 😊

  • @samareshyadav9681
    @samareshyadav9681 5 років тому

    Looking for Another video about data bases in Flask

  • @palanikumar8023
    @palanikumar8023 4 роки тому +1

    Plz anyone tell about server login in email concept...And can I give any name??

  • @chwenjun225
    @chwenjun225 2 роки тому

    wow, that's so cool

  • @eder8170
    @eder8170 3 роки тому

    Am building my portfolio with flask

  • @joer4227
    @joer4227 Рік тому

    How come when he showed how to handle the arguments in the url did his hello david, hello world work before he type the code to make it work

  • @kickflipz
    @kickflipz 3 роки тому

    My man keeps scrolling directly to addict, addictions 😂😂😂

  • @331SVTCobra
    @331SVTCobra 5 років тому

    Dangit, why didn't I go to Harvard? This prof rocks.

    • @Wildkomments
      @Wildkomments 4 роки тому

      cuz u stoopid duh

    • @conservativestrawman9837
      @conservativestrawman9837 2 роки тому

      @@Wildkomments then riddle me this. why does 'flask run' not work? I have had no issues with the class at all and now I'm basically brick walled on the last lesson. So frustrating -_________-

  • @Urrzah
    @Urrzah 5 років тому +1

    Yeah this David Malan guy is an okay teacher but he's definitely no Mr. Nagoor Babu sir.

    • @MMABeijing
      @MMABeijing 5 років тому

      nagoor babu has no flask class, correct?

  • @roboedar
    @roboedar 5 років тому +2

    dude, where is the green screen?!

  • @mcbotface
    @mcbotface 3 роки тому

    why is jharvard3 blurred out in url?

  • @marijatosic217
    @marijatosic217 5 років тому

    Anyone had this error when running flask:
    flask.cli.NoAppException: Could not import "application".
    Thank you!

  • @joeblowmha
    @joeblowmha 3 роки тому +1

    youth pastor energy

  • @miaohf
    @miaohf 5 років тому

    good video

  • @bricolageb9398
    @bricolageb9398 2 роки тому

    I will tell my family that i study some dev courses in havard university hahah

  • @amateruss
    @amateruss 3 роки тому +1

    Jesus how do you even find those libraries?

  • @tusharpathade2557
    @tusharpathade2557 4 роки тому

    I didn't find full source code. In fact, I didn't find all directions, I found only CSV and .py files.

  • @sbutler7069
    @sbutler7069 5 років тому +1

    Once you add the students list I get an internal error. I cannot figure out what it is.

    • @vatsalaykhobragade
      @vatsalaykhobragade 5 років тому

      What Is the error code ??

    • @sbutler7069
      @sbutler7069 5 років тому

      @@vatsalaykhobragade I don't remember hat was a month ago lol