As a software engineer, I always find it difficult to answer such basic questions to people that are not in the field. This guy answers the questions so perfectly.
I was a student and TA for Chris at Stanford. He taught a stats class for computer scientists and made it a lot of fun despite the difficult material. He cares deeply about his students. One of my favorite professors!
“I love this question!” *proceeds to enthusiastically answer question* this guy is such a great teacher hes honestly got me thinking about some self studying on coding. He makes it seem so wonderful
I do it using an app and Khan academy. I don't know nor think it's useful (I don't think bc I don't know) but it's really fun. The app I'm using is MIMO. Maybe you can check it out (or other sources) to see if it's something you'll like.
@@Belioyt students arent enthusiastic most of the time because they aren't interested in the subject they're being taught. what a shocker - jimmy doesn't care about math but he loves programming, but he has to spend just as much time in a class for math as he does programming
Wired do doubt has a thorough vetting process that interviews a lot of candidates for these videos. The series is popular enough that I imagine their journalists get solicited by professionals who think they are a good fit too.
This guy is so positive I actually got a little misty-eyed. Even when he's talking about stuff other than coding, like the other aspects of web design, he's just so encouraging.
@@kunaldahiya310 like a AI Learning Lab. 😂 it's kind of like a class 2 to 4 hours long. Students/teachers participate in them to brush up on subjects they already know or on new concepts to the subject. Students I imagine participate to see if they might want to pursue the subject later on. Glad to see you noticed he is a, "computer scientist."👌👍🍻
Meanwhile 6 years ago my first python instructor at my college was like "how do you guys not know python" scolded us for 6 months and then the same thing happened in our Java courses where they had too many high expectations. We need more humans like this within the world and education sector that are just not 60+ year olds that expect you to know everything they know.
Most professors are at universities for their research. Teaching is a chore for many of them. Any time you have a professor who doesn't seem to care or expects way too much, it's typically someone trying to meet their teaching quota.
Yeah describing Stack Overflow as a friendly community where people come together to help each other out and be kind to one another is straight up delusional levels of optimism
@@avantesma1 those are not really error codes, just codes. They tell you that everything went well, normally it says "200 OK". The real error codes are 4xx and 5xx
Ten plus years ago, I was a TA (technically they called us section leaders) for Stanford's intro CS class and Chris was the head TA. Even back then and even when he was only talking to us TAs, he had this exact same genuine enthusiasm. When I heard he had become a professor, I knew he was perfect for it. And when this video popped up in my feed, I knew he would be perfect for it too! My most memorable experience with him was the time we were set to proctor a final exam and the professor no-showed; we had no exams. Chris was running around campus (literally) looking for him. Turns out the prof thought the exam was on a different day and hadn't even finished writing it. Chris had to explain what was going on to a room full of hundreds of stressed students. I think they ended up making the partial exam optional. It was a stressful morning but he handled it well!
I literally still don't understand how the internet works at all, but as usual, WIRED has gotten a charismatic and approachable expert on board and I got sucked in. Love this series!
What most people think of as "the Internet" is actually just "the web" ... a group of applications & services that use the actual Internet. The true Internet is a network of communication lines between computers, a language they use (called TCP/IP), and some rules for how they communicate. It's all structured a little bit like the telephone network, where all the telephones can call each other and make connections. Once a connection is established, information can pass between the two points. (In fact, some of the first computer networks actually used the telephone lines.) Once a couple of computers have established a connection over the Internet, they can exchange pieces of information, data, back and forth. Your mobile phone is actually a computer, so let's use that as an example. If you run an app on your phone, that app may need to talk to another computer to get some information. Let's say you are using Google Maps. Your mobile phone app will "call up" the Google Maps computer on the other side, using the Internet communication network. Once the connection is made, your app might say "Hey, I need directions to XYZ". What's really happening in the background is that your app took your human request, turned it into ones and zeros, and sent those digits to the computer on the other side of the communication connection, the Google Maps server. That server uses that request to understand how to reply. Then it sends its reply, as ones and zeros, to your mobile app. Your mobile app then turns those ones and zeros into a format that you, the user, can understand. The same thing happens when you use your web browser, play a person-to-person game over the network, send an email, or anything else you do "online". Just remember: Internet = communication network; Web = something useful that communicates _over_ the Internet.
@@ComputerGoat Didn't want to add to the confusion so I kept it very basic. No mention of network layers, other kinds of protocols, hardware, etc. The average non-IT civilian isn't going to care at that level.
The first '4' in 404 (and all 4xx errors) means the problem happened on the requesting (frontend) side, whereas a 5xx error means the problem happened on the backend.
Yes, although you can't necessarily trust the backend to tell you correctly whether it has a problem or not. So anything 4xx means the backend says there's a problem with the the request that was sent to it - but just like any other system or human there's a chance it's wrong. 5xx means not just that the backend is broken, but that the backend is prepared to *admit* to being broken. That really can't be wrong, since claiming to broken when it's not broken would itself be a form of brokennes.
I bet his classes are amazing! He explains things so easily, and is friendly about it too. It not just him reading it out of a book and reciting what it says. Way to go Chris!
OH MY GOSH IT'S CHRIS PIECH! I had dinner with him once in 2016 and he was so lovely to talk to. He's actually the one who introduced me to AI by drawing a neural network diagram on a napkin, before then I didn't know what they were!
I too, partake in evening dining activities with this gentleman in the two thousandth sixteenth year after the birth of a central figure in the world's largest religion according to historical scholars.
i LOVE the enthusiasm that he answers what i think many would consider "dumb questions" with and how he uses those as opportunities to offer much further insight into the topic at hand. it's the mark of a genuinely gifted teacher, would love to take his class one day
It's interesting to see how quickly perspectives change. I was a programmer for years but never used stack overflow, but when I learned Basic, the internet didn't exist yet. We had to use books an people we knew in person. Cracked me up when he said he learned on C++ ("that's how old I am").
When I started out, it was already the early 2000s. I didn't have to read anything up in books but I am well familiar with going on page 16 of the Google search results. Instead of the StackOverflow being the dominant online forum, we had many different ones. My favorite answer to a problem, I've been looking up for 2 hours? "Is Google broken?"
I learned Fortran using punch cards, then PDP-11 assembler. And I definitely use Stack Overflow. Why bang your head against the wall on some obscure problem when you can often find someone who has already solved it with a 10 second search?
I really dig this guys energy throughout the video. So many educators teach this stuff with such a lack of energy that it ends up transmitting to the rest of the class but coding is fun and I hope everyone watching this takes it up
for the support series of interviews they always seem to find people who aren't just knowledgeable but more so people who are good teachers with great personalities. great communicators(unlike me). they kind of remind me of Bill Nye or Neil deGrasse Tyson they aren't the smartest scientists on The Cutting Edge of research but they are great at communicating it to the Layman
honestly im thinking of coding purely because it means i can make my own game only thing is that im burnt out and dont have hte motivation to start learning lol
I'm studying computer science rn. I already understood most of the concepts he explained, but the way he explained it really made me a little more enthusiastic for coding and my career. He is very right when he says coding is also beautiful. Call us nerds or whatever, but you can definitely creat art by taking your ideas and turning them onto something the computer understands, and that's an amazing feeling
Oh wow what a blissfully comfy video! No discussions over which paradigm is better, how data should look like, how variables should be named, which file and folder a piece of code should be placed in, etc. Just an overview of what programming is, and how amazing it is for solving many of our problems. Huge props to professor Piech for his fascinating way of teaching!
00:00 Intro 00:12 How many coding languages are there? 00:36 Can coding be self-taught? 01:10 Stack Overflow 02:14 Front end vs Back end 03:35 What is the shortest piece of code that changed the world? 04:17 C++ 05:34 Python 07:35 Error 404 08:29 Programming vs Coding 08:54 Raspberry Pi 09:46 Artificial Intelligence 10:48 Algorithms 11:41 GitHub 12:23 Which coding language is the easiest? 12:53 Do you have to be good at math to code? 13:42 History of coding, Computer Science, Artificial Intelligence 15:10 Is coding required for web design? 15:48 Do you need to know how to code in order to hack? 16:26 Why is coding important?
I'm in shock that they even dedicated one second to answering "What is a 404?" let alone a whole minute. The Twitter user could have typed that exact question into Google an been done with it.
such a brilliant way to inspire others to code. He explained it in such a non-complex way that made me glued to the screen. We need more people who can teach and inspire like this, with all due respect to professors/teachers.
Chris Piech! He's amazing. I was part of the global initiative Code in Place during the pandemic which was in part Standford's CS106A. He and the other professor did some wonderful explaining of complex concepts for beginners. So positive and encouraging!
In just 17 minutes this guy explained everything I literally couldn't comprehend in school when we had coding lessons, and I was getting straight Ds for it. This is literally enlightening
This is the kinda guy who genuinely understands computer science, as a developer it’s can often be hard to communicate that what you’re doing is not just a trade, but it’s an art! I often sit back and learn how to use a new tool and as an artist would say “what can I do with this new medium to create something beautiful or thought provoking” I find myself saying the same exact thing.
Great video. Nice to hear so many British references (Ada Lovelace, Charles Babbage, Alan Turing, Tim Berners-Lee and Monty Python) but there's one he missed: The guy who developed GitHub was always being called a "git" by his British colleague. He knew what it meant, and deliberately used it in the name of the repository. (In British slang, "git" is an insult that can be as strong as "b*st*rd" or as mild as "twit", depending on context.) 😉
For me the Fast inverse square root is one of the coolest and shortest pieces of code that literally changed the world of light and particle physics engine in video games.
I love just how passionate he is answering theses questions. Honestly any person you invite on really taking the time to explain things in areas I’ve never thought about 10 out of 10 🙌🙌
Wow what a surprise! I was a student at Code in Place, Stanford last year and he was one of the instructors. I love his teaching style and genuine humour. His lectures are fun filled. Good to see him again.
Wow. I'm not even interested in coding, this just came up in my feed and I needed something in the background. Despite that, this was very interesting because of how passionate this guy is about his field. I'm sure his students love him
I can vouch for the self taught method. I flunked out of college three times. Heck, I _barely_ graduated high school because I'm bad at math. You don't need to know math to code. We write code so that the computer will do the math for us. I started by teaching myself basic computer repair which led to web design then networking. Eventually, I learned coding and more advanced stuff like database management and server management. I worked in the tech world for 20 years for companies like AOL, Gateway Computers, MSN, AT&T, and ADP. I'm probably giving away my age with those company names. But that's actually another good point. When I started, things like TH-cam, Stack Overflow, and Free Code Camp didn't exist or were not at all as good as they are now. If I could do it in the late 90s and early aughts, anyone can do it now. As long as you can prove your knowledge to the person interviewing you, you'll be fine. Once you get the job, though, the most important thing, especially something like coding, is never stop learning. It changes so fast that you will forever be a student of your profession.
These are the types of people that are perfect teachers. Chris is so amazingly enthusiastic and excited about everything he talks about. He loves everything he makes and talks about, and you can see that every time he talks. Really fun to listen to.
Chris is an amazinggg instructor. I truly enjoyed taking his CS109!! He is the best person delivering materials in normal and understandable language. Glad to see him on youtube :)
Well I also have some list of questions that are as follows:- 1. Why did computer only understand 1s and 0s not English or any other language like us. 2. How do we program/create a programing language(Like the first ever programming language ever) 3. Why do we need such complex programming/coding language? Why can't we just create a program/coding language which can understand normal language like English and etc. 4. Why did we selected switches and not any other thing like buttons? 5. How did the idea of the first computer arise. Some question may seem silly but I am a high school student and just being curious.
Best 17 mins of life. Only we had such teachers who would take the effort to make things so interesting and simple that any can understand. Found a legend.
The often forgotten part of a web design team is the testers!! I can not tell you how many websites are so poorly designed when it comes to the user interface. Government websites are the worse of the worse, IMO
This also plays a little bit into the “hacking” portion because I think many of the people who want to get into hacking, are people who are interested in finding ways to break programs or make them behave in a way they aren’t supposed to. This kind of skill also translates really well into software testing
@@nands4410 thanks for asking! i'm navigating the complexities of life, as we all are ^^ i'm not in cs, but i use programming to design new media experiences. chris' (and mehran's) intro class was so well taught and organized, and their passion and energy for cs is very hope-inspiring. i know i was definitely inspired and gained confidence through their teaching!
Love that you mentioned Ada Lovelace…she does not get enough credit…she was amazing. I thought it was so empowering knowing that she was way ahead of her time…and and a great example…but did not get much recognition. Now we seem to be rediscovering her
You know that you only need one single fullstop to separate sentences and that the next sentence starts with a capital letter?
ปีที่แล้ว +4
Very happy to see Chris here! I loved his classes in Code in Place program. It was always interesting and fun to listen to his teachings. He made me love coding but I guess I wasnt patient enough to make great things with it.
Never really imagined I woulda enjoyed coding or even listening to someone answer question but boy can I tell you I’m very I terrestre after hearing this man speak. The way he brings explains things make it sound so simple and he even uses examples out in the real world to further help figure what he’s talking about. I’d love to sit in one of his lectures and continue to learn.
I think HTTP errors starting with 4 mean a problem with the request, while errors starting with 5 mean a problem on the server handling it. Useful to remember as a user is that when getting 5xx errors we should maybe try again in a minute, the server is probably just too busy right now while with 4xx errors we should first check if we made a mistake.
As someone who is currently studying web developing and trying to specialize in front-end experience, this was very entertaining! We really need more upbeat people like this man in our field!
This guy is very pleasant and highly comprehensive. It's impressive to be this detailed in technical discussion without coming across as condescending or giving a jargon overload, and he nails it. Really good guest and video.
Such an enthusiastic and positive person. I started learning python but got bored pretty and purposeless pretty soon.. thanks to him I wanna continue again
This guy is so energetic and enthusiastic about computers and coding!! Why couldn’t all programming teachers be like this? I would take any class he taught.
It's both easy and hard. In college you have to a lot of mathematics classes including calculus and learn the history of computers and learn all about computers and programming at the lowest levels as well as networks and a lot things I can't remember after all these years. Then you'll have to spend a couple more years learning your specific area of study, for me it was data analysis. That's on top of learning the gen ed/soft skill classes. On the other hand there are a ton of free courses and websites and tools to learn everything on your own, many even offer certifications. Many universities like Harvard and MIT put their classes up for anyone to see amd you can always go to your local university and sit in on any class. You can learn to code by just lessons online and it's not too difficult if you dedicate yourself for a year or two but to be good you want to learn everything related. The only thing you can't get for free is the piece of paper showing your degree and that's not actually as important as your skill in this field.
Programming can be a bit of a learning curve initially and can have annoyances here and there, but generally isn't terribly difficult to learn (especially with the abundance of tutorials) and is extremely rewarding when you're able to achieve what you want
12:58 might be my favorite real-time thought-pivot on youtube (viz "historical connection"). This man cannot be edited for time or clarity. He has already done so. What a guy.
Personal comment: In response to "Do you need to be good at math to code?" I think Historically computer scientists needed to be good at math because memory and processing power was so much more limited so developing mathematically efficient algorithms was so much more important back in the day. Today, Computers have so much power, memory, and multiple processors that the majority of programmers don't need to be great at math. Just my personal thoughts on the movie. loved it.
Well it’s not only in efficiency, for example, mathematical vectors are used in graphics, triangulation, and a couple other areas, but I would say if you have a hard time learning those then you’ll have a hard time reaching those levels, but rly anyone can learn mostly anything given time, dedication and perseverance.
to be honest it’s more so related to what domain you’re in. some domains require a lot of math others don’t. if you’re an ML researcher Id expect the person to know some level of math
Been a few weeks since I've started with Python. I wish this guy was my teacher, his enthousiasm makes me even more excited to learn much and much more!
To expand on the 404 error - HTTP, the protocol we use to access the web, uses all kinds of codes to show what is going on: 1xx - these are used for proxy servers - if you are behind a proxy server, these are the response codes you're gonna get. 2xx - these are the OK codes - if you get one of these, everything is (probably) working as it should. 3xx - these are redirects - the thing you are looking for is somewhere else and the server sent you there. You'll probably never see any of the above ones, since those are mostly to show that everything is working OK. But it's good to know them when working with and analyzing HTTP traffic. 4xx - these are client errors - you did something wrong on your end, like looking for something that doesn't exist, or made a request the server doesn't understand. 5xx - these are server errors - something went wrong on the server - there might be an outage or there's a bug in the backend code. Usually the only thing you can do with these is wait.
Yes and 5xx doesn't only mean that there's a bug in the backend code but that somehow the backend code is clever enough to know it's got a bug. There's some sort of contradictory or nonsensical statement in or something so as it runs the system can tell it's got a bug and send you the 5xx code. There are lots of other bugs that are more damaging where you won't get any error code, the system will just do something that no-one wanted or send you some wrong information. A big part of making reliable systems is setting them up to have multiple layers of checks inside them so that if something is wrong you're more likely to get the relatively harmless 5xx error code and less likely to have the server just do something wrong, like charge you the wrong amount of money or whatever.
Stack overflow is so great. It’s wonderful to get a different set of eyes on something or to search questions that have likely already been answered as well
I got turned down by a university to do a Computing degree because I couldn't pass the maths test they randomly gave me without any notice and claimed I needed advanced maths skills to do the degree. I then went to another university, got a 2:1 in Computing and now I'm a QA automation team lead. So no, you don't need to be good a maths.
I swear if Chris was my lecturer when I was studying I think I would have a much deeper understanding and love for coding. Thank you for your enthusiasm Chris, you're amazing.
The math thing is very true, I was decent in math but It was never my strongest subject in school, but I'm in my Junior year of computer science and learning to code has made math much more interesting because it becomes such a useful tool in programming that it's not just a bunch of random equations anymore. Even hard stuff like advanced calculus has big impacts in my understanding of machine learning and computer graphics. It's still hard to learn, but now it's very rewarding to do so.
Agree. Wasn’t the best student math wise during hs and middle school but got interested in cs & actually trying to learn in my math classes made things very interesting. It’s tough if you’re falling behind but once you understand a topic there’s nothing more satisfying. Also in school but a sophomore. Best of luck with your degree/career
You dont even need math to be a programmer, what on earth are you talking about? And i say this as a senior dev so i ACTUALLY know what im talking about
@@JohnStockton7459 Depends on what kind of programming you're doing. If you're a "senior dev who knows what they are talking about" then you'd already know what I'm talking about. Simulations, computer graphics, data visualization, machine learning, data transmission, aerospace systems, and game engine development to name a few are all much easier with a solid knowledge of calculus and linear algebra, plus the common algorithms used in various fields. Sure, many people end up working with super abstracted high level languages for building websites and apps so they don't have to do math, but those two things are not the only programming that exists, even if they are the most common.
As a software engineer, I always find it difficult to answer such basic questions to people that are not in the field. This guy answers the questions so perfectly.
I'm seriously considering sending this to my parents (who couldn't care less about coding) because he explains computer concepts so well!
Well, not everyone is meant to be a teacher, and some people are just born for it.
@@kynn23 did u tell em about the money
@@Kathan_ Money?
i just started learning coding and this guy managed to teach me more than hour long videos i've watched
I was a student and TA for Chris at Stanford. He taught a stats class for computer scientists and made it a lot of fun despite the difficult material. He cares deeply about his students. One of my favorite professors!
Do you still have his number? I pay good.
i was also a student and TA for Chris at Stanford
@@westernpigeon Does he smell good?
What is happening in this thread.
@@kindlin obviously somebody wants the professors number.
“I love this question!”
*proceeds to enthusiastically answer question*
this guy is such a great teacher hes honestly got me thinking about some self studying on coding. He makes it seem so wonderful
Did you actually do it though? No? Thought so.
@@B3Band you get paid nothing to be a dickhead
I do it using an app and Khan academy. I don't know nor think it's useful (I don't think bc I don't know) but it's really fun. The app I'm using is MIMO. Maybe you can check it out (or other sources) to see if it's something you'll like.
@@B3Band??
@@B3Bandstfu hater
If all schools had teachers like the experts Wired finds, things would be much better
Well, if students were as enthusiastic about learning same way teachers are about their subject matter, things would be much greater
@@Belioyt students arent enthusiastic most of the time because they aren't interested in the subject they're being taught. what a shocker - jimmy doesn't care about math but he loves programming, but he has to spend just as much time in a class for math as he does programming
Pay for Stanford degrees and you'll get em.
Most do, at least that was my experience for CS at my college.
No.
How do you guys find these people, they’re always the perfect teacher
I always wondered that too
Wired do doubt has a thorough vetting process that interviews a lot of candidates for these videos. The series is popular enough that I imagine their journalists get solicited by professionals who think they are a good fit too.
tbf, he IS a teacher haha.
@@hoofhearted4 you know very well not all teachers are like this guy
@@andreicmello but that's not at all what I said or implied lol
This guy is so positive I actually got a little misty-eyed. Even when he's talking about stuff other than coding, like the other aspects of web design, he's just so encouraging.
lol wtf
i love how his teaches. his way of explaining, gestures and all, i get why hes a lecturer
because he's a fed bro
Lecturers are notoriously bad at teaching. They're always researchers first and foremost.
@@itsnottimetostop4462 Researching how to manipulate our minds
... how he* teaches ...
@@einundsiebenziger5488 oh yeah thank you for the correction 😂
I'm taking his class right now, and he is EXACTLY like this in class. Amazing professor, one of the best!
Hi Allen
how lucky you are!
funny seeing you here
Link please?
I like him so much I want to take his class just to have him as a teacher
I dunno why, but everytime I see someone teaching what they love with so much enthusiasm I just shed a few drops of tear.
😆
Me too!!! Same just seeing them doing it, not teaching it.
Passion is a wonderful thing
What a fantastic teacher! I'm watching this whilst coding myself and I gotta say, It's crazy how upbeat and happy this guy is.
I was thinking the same thing, I bet he's great to do a lab with
I think all great teachers have that innate enthusiasm to inspire. Great to see that here.
I'm learning python right now and I wish I had access to a mentor this upbeat and enthusiastic. Its quite inspiring, really.
@@joeyr7294 a lab? He’s a computer scientist
@@kunaldahiya310 like a AI Learning Lab. 😂 it's kind of like a class 2 to 4 hours long. Students/teachers participate in them to brush up on subjects they already know or on new concepts to the subject. Students I imagine participate to see if they might want to pursue the subject later on. Glad to see you noticed he is a, "computer scientist."👌👍🍻
Meanwhile 6 years ago my first python instructor at my college was like "how do you guys not know python" scolded us for 6 months and then the same thing happened in our Java courses where they had too many high expectations. We need more humans like this within the world and education sector that are just not 60+ year olds that expect you to know everything they know.
Yeah agree, im just like
We're here to learn
came here to say this exact same thing except for the six years part bc i just graduated. wish my professors were at least a bit like this guy
Considering the cost and competition to attend Stanford, there’s a premium for these types of instructors.
Most professors are at universities for their research. Teaching is a chore for many of them. Any time you have a professor who doesn't seem to care or expects way too much, it's typically someone trying to meet their teaching quota.
The best schools have the best teachers.
I love this guy, his whole way of being is really warm. Like a kind hug.
I absolutely love this professor's energy. I would NEVER miss a class of his.
I could see why he would be a great teacher. His excitement when reading questions and enthusiasm in answering them shows his personality.
this guy is the most optimistic Computer scietist i have ever seen. and i love his attitude. hope he does more videos like this.
Yeah describing Stack Overflow as a friendly community where people come together to help each other out and be kind to one another is straight up delusional levels of optimism
@@SubmitToTheBiomassAny level of optimism is delusional lmfao
8:18
for those interested:
1xx = information
2xx = success
3xx = redirected
4xx = client error
5xx = server error
Wait. There are error codes for success?
"Error 201: you succeeded too hard. Be humbler."
@@avantesma1 those are not really error codes, just codes. They tell you that everything went well, normally it says "200 OK". The real error codes are 4xx and 5xx
@@tcg1_qc Ah, I see. Thx. =)
@@avantesma1 they are rather response codes
@@avantesma1 They aren't error codes at all. They're status codes
Ten plus years ago, I was a TA (technically they called us section leaders) for Stanford's intro CS class and Chris was the head TA. Even back then and even when he was only talking to us TAs, he had this exact same genuine enthusiasm. When I heard he had become a professor, I knew he was perfect for it. And when this video popped up in my feed, I knew he would be perfect for it too!
My most memorable experience with him was the time we were set to proctor a final exam and the professor no-showed; we had no exams. Chris was running around campus (literally) looking for him. Turns out the prof thought the exam was on a different day and hadn't even finished writing it. Chris had to explain what was going on to a room full of hundreds of stressed students. I think they ended up making the partial exam optional. It was a stressful morning but he handled it well!
Thanks for watching Search and join my Telegram for the right investment💯💯💯
Can't believe the handsome professor was a nerd 😳
Me too Joe!
this guy is such a great teacher, he's got me interested in learning how to code in about 5 mins. He's a professor a standford for a reason
I literally still don't understand how the internet works at all, but as usual, WIRED has gotten a charismatic and approachable expert on board and I got sucked in. Love this series!
ITS A SERIES OF TUBES!
What most people think of as "the Internet" is actually just "the web" ... a group of applications & services that use the actual Internet.
The true Internet is a network of communication lines between computers, a language they use (called TCP/IP), and some rules for how they communicate. It's all structured a little bit like the telephone network, where all the telephones can call each other and make connections. Once a connection is established, information can pass between the two points. (In fact, some of the first computer networks actually used the telephone lines.)
Once a couple of computers have established a connection over the Internet, they can exchange pieces of information, data, back and forth. Your mobile phone is actually a computer, so let's use that as an example. If you run an app on your phone, that app may need to talk to another computer to get some information.
Let's say you are using Google Maps. Your mobile phone app will "call up" the Google Maps computer on the other side, using the Internet communication network. Once the connection is made, your app might say "Hey, I need directions to XYZ". What's really happening in the background is that your app took your human request, turned it into ones and zeros, and sent those digits to the computer on the other side of the communication connection, the Google Maps server. That server uses that request to understand how to reply. Then it sends its reply, as ones and zeros, to your mobile app. Your mobile app then turns those ones and zeros into a format that you, the user, can understand.
The same thing happens when you use your web browser, play a person-to-person game over the network, send an email, or anything else you do "online".
Just remember: Internet = communication network; Web = something useful that communicates _over_ the Internet.
Crash Course has a Computer Science series explaining how internet works in short and animated videos
@@ComputerGoat Didn't want to add to the confusion so I kept it very basic. No mention of network layers, other kinds of protocols, hardware, etc. The average non-IT civilian isn't going to care at that level.
@@ComputerGoat Excellent. IT's been a good career for me for the past 26 years. So I hope it's good for you too.
The first '4' in 404 (and all 4xx errors) means the problem happened on the requesting (frontend) side, whereas a 5xx error means the problem happened on the backend.
Amazing! Thank you!
4 Four, Frontend
5 is and S, Server
That's how I remember
Yes, although you can't necessarily trust the backend to tell you correctly whether it has a problem or not. So anything 4xx means the backend says there's a problem with the the request that was sent to it - but just like any other system or human there's a chance it's wrong. 5xx means not just that the backend is broken, but that the backend is prepared to *admit* to being broken. That really can't be wrong, since claiming to broken when it's not broken would itself be a form of brokennes.
Thanks for watching Search and join my Telegram for the right investment💯💯💯
So many mechanics jokes 🤣🤣🤣
I bet his classes are amazing! He explains things so easily, and is friendly about it too. It not just him reading it out of a book and reciting what it says. Way to go Chris!
OH MY GOSH IT'S CHRIS PIECH! I had dinner with him once in 2016 and he was so lovely to talk to. He's actually the one who introduced me to AI by drawing a neural network diagram on a napkin, before then I didn't know what they were!
i also had dinner with him in 2016
Me too. I also had dinner with him in 2016.
I too, partake in evening dining activities with this gentleman in the two thousandth sixteenth year after the birth of a central figure in the world's largest religion according to historical scholars.
@@VJZ-YT r/increasinglyverbose
I played half life with him in 2016
You can tell he loves what he is talking about an loves teaching coding
It's his job tbf
@Jay
So plenty of people don't like their jobs
@@InfaziationleBron James is the king
i LOVE the enthusiasm that he answers what i think many would consider "dumb questions" with and how he uses those as opportunities to offer much further insight into the topic at hand. it's the mark of a genuinely gifted teacher, would love to take his class one day
I would love to be in a class taught by him.
@@joost00719 is it supposed to be a joke? Then ha-ha
Yes please
I would probably go to Stanford just for this guy
literally said he has a free course go follow it!
@@Dhruvjindal747 well u cant get in tho
I can see why this guy is a teacher. He knows exactly what to say to convey the most meaning with the fewest words.
Thanks for watching Search and join my Telegram for the right investment💯💯💯
It's interesting to see how quickly perspectives change. I was a programmer for years but never used stack overflow, but when I learned Basic, the internet didn't exist yet. We had to use books an people we knew in person. Cracked me up when he said he learned on C++ ("that's how old I am").
When I started out, it was already the early 2000s. I didn't have to read anything up in books but I am well familiar with going on page 16 of the Google search results.
Instead of the StackOverflow being the dominant online forum, we had many different ones. My favorite answer to a problem, I've been looking up for 2 hours? "Is Google broken?"
I learned Fortran using punch cards, then PDP-11 assembler. And I definitely use Stack Overflow. Why bang your head against the wall on some obscure problem when you can often find someone who has already solved it with a 10 second search?
ah, the petty one-upmanship of programmers. never change
@@jojivlogs_4255 😊
What an amazing guy and teacher! His enthousiasm almost convinced me to become a coder today.
almost? Write one piece of code.....
Lol
You should start! I find it pretty fun, you might too! P.S. correct your error in enthusiasm before the trolls come.
What would it take to push you that last inch?
Pick up Visual Studio Code and some tutorial videos! Try it out with some simple scripts (good one to start with is the Python language).
I really dig this guys energy throughout the video. So many educators teach this stuff with such a lack of energy that it ends up transmitting to the rest of the class but coding is fun and I hope everyone watching this takes it up
for the support series of interviews they always seem to find people who aren't just knowledgeable but more so people who are good teachers with great personalities. great communicators(unlike me). they kind of remind me of Bill Nye or Neil deGrasse Tyson they aren't the smartest scientists on The Cutting Edge of research but they are great at communicating it to the Layman
Yikes. This guy got a lot of softball questions and a few hard ones too. And his answers were absolutely idyllic for the audience. It was great.
honestly im thinking of coding purely because it means i can make my own game
only thing is that im burnt out and dont have hte motivation to start learning lol
I'm studying computer science rn. I already understood most of the concepts he explained, but the way he explained it really made me a little more enthusiastic for coding and my career. He is very right when he says coding is also beautiful. Call us nerds or whatever, but you can definitely creat art by taking your ideas and turning them onto something the computer understands, and that's an amazing feeling
I cried in front of this man and he was so nice…love u chris
Did he interview you lol😂
Please give us the story 🤣
But why?
Omg why
We are here for the tea 🍵 🙌
I had Professor Piech for a probability class, and he was amazing!
Thanks for watching Search and join my Telegram for the right investment💯💯💯
Oh wow what a blissfully comfy video! No discussions over which paradigm is better, how data should look like, how variables should be named, which file and folder a piece of code should be placed in, etc. Just an overview of what programming is, and how amazing it is for solving many of our problems.
Huge props to professor Piech for his fascinating way of teaching!
00:00 Intro
00:12 How many coding languages are there?
00:36 Can coding be self-taught?
01:10 Stack Overflow
02:14 Front end vs Back end
03:35 What is the shortest piece of code that changed the world?
04:17 C++
05:34 Python
07:35 Error 404
08:29 Programming vs Coding
08:54 Raspberry Pi
09:46 Artificial Intelligence
10:48 Algorithms
11:41 GitHub
12:23 Which coding language is the easiest?
12:53 Do you have to be good at math to code?
13:42 History of coding, Computer Science, Artificial Intelligence
15:10 Is coding required for web design?
15:48 Do you need to know how to code in order to hack?
16:26 Why is coding important?
tysm
Thank you
Thank you!
Thank you. Wanted to know what that error 404 means before watching all of it.
I'm in shock that they even dedicated one second to answering "What is a 404?" let alone a whole minute.
The Twitter user could have typed that exact question into Google an been done with it.
I couldn't care less about coding, but I loved hearing this guy!
I bet this guy can make you fall in love with coding
@@nileshghadge5016 I think he could
Same
That's one of the qualities of a great teacher to be honest!
such a brilliant way to inspire others to code. He explained it in such a non-complex way that made me glued to the screen. We need more people who can teach and inspire like this, with all due respect to professors/teachers.
Chris Piech! He's amazing. I was part of the global initiative Code in Place during the pandemic which was in part Standford's CS106A. He and the other professor did some wonderful explaining of complex concepts for beginners. So positive and encouraging!
I'm doing Code in Place right now!
@@TessG9107it was such an amazing and self building experience
Loved CiP!!
One of the best presenters in this entire series. Phenomenal host and teacher.
Thanks for watching Search and join my Telegram for the right investment💯💯💯
This guy has some magic around him. I literally want to code right now just by listerning to his enthusiasm :) Love your channel!
In just 17 minutes this guy explained everything I literally couldn't comprehend in school when we had coding lessons, and I was getting straight Ds for it. This is literally enlightening
The way he read the questions and reacted tells us how excited and passionate he is about computer science. You guys have found the best teacher.
The casting directors for this series are amazing. They always find the best people for communicating on all of these topics.
This is the kinda guy who genuinely understands computer science, as a developer it’s can often be hard to communicate that what you’re doing is not just a trade, but it’s an art! I often sit back and learn how to use a new tool and as an artist would say “what can I do with this new medium to create something beautiful or thought provoking” I find myself saying the same exact thing.
Chris was my advisor as an undergrad at Stanford. I can confirm he is just as wonderful in real life ❤
Great video. Nice to hear so many British references (Ada Lovelace, Charles Babbage, Alan Turing, Tim Berners-Lee and Monty Python) but there's one he missed:
The guy who developed GitHub was always being called a "git" by his British colleague. He knew what it meant, and deliberately used it in the name of the repository. (In British slang, "git" is an insult that can be as strong as "b*st*rd" or as mild as "twit", depending on context.) 😉
Yep . Linus Torvalds developed git.. He's egotistical, so like Linux , he named it after himself.. ( his words!).
He explained it so easily and excitedly...wish I had a teacher like him in the school then I didn't had to reteach myself programming.
This guy and his passion for programming is absolutely beautiful.
That guy must be a great teacher. He is just so enthusiastic and positive that I would learn to code in a month studying in his class :D
For me the Fast inverse square root is one of the coolest and shortest pieces of code that literally changed the world of light and particle physics engine in video games.
this guy taught the code in place class during covid - amazing guy
I always hope all of our teachers could teach with positive vibe and easy to understand teaching like him.
I love just how passionate he is answering theses questions. Honestly any person you invite on really taking the time to explain things in areas I’ve never thought about 10 out of 10 🙌🙌
That's because they're offered money+ they are educated
Wow what a surprise! I was a student at Code in Place, Stanford last year and he was one of the instructors. I love his teaching style and genuine humour. His lectures are fun filled. Good to see him again.
you can see how great of a person he is, motivated me to learn more about coding just by his enthusiasm and love while answering the questions
One of the best classes I ever took was with him! Got me into CS and my career when I never thought I’d do anything remotely STEM-related
Wow. I'm not even interested in coding, this just came up in my feed and I needed something in the background. Despite that, this was very interesting because of how passionate this guy is about his field. I'm sure his students love him
this guys seems like a pleasure to be a student of. hope he continues to inspire for years to come in his life
I can vouch for the self taught method. I flunked out of college three times. Heck, I _barely_ graduated high school because I'm bad at math. You don't need to know math to code. We write code so that the computer will do the math for us. I started by teaching myself basic computer repair which led to web design then networking. Eventually, I learned coding and more advanced stuff like database management and server management. I worked in the tech world for 20 years for companies like AOL, Gateway Computers, MSN, AT&T, and ADP. I'm probably giving away my age with those company names. But that's actually another good point. When I started, things like TH-cam, Stack Overflow, and Free Code Camp didn't exist or were not at all as good as they are now. If I could do it in the late 90s and early aughts, anyone can do it now. As long as you can prove your knowledge to the person interviewing you, you'll be fine. Once you get the job, though, the most important thing, especially something like coding, is never stop learning. It changes so fast that you will forever be a student of your profession.
You don't need much math to code but if you want a degree in IT you need a lot of math
Thanks for the insights!
Thanks for sharing. I'm starting to think there is hope for me yet, despite my struggles with Python.
As a Data Scientist, I need a lot of math and probability
That's very insightful, thank you, interesting story
Had Chris Piech as my professor Frosh Year and I can confirm he is literally the best teacher ever
I love how many of the comments are "I had this guy as a teacher and he is phenomenal"
He's not the best teacher
These are the types of people that are perfect teachers. Chris is so amazingly enthusiastic and excited about everything he talks about. He loves everything he makes and talks about, and you can see that every time he talks. Really fun to listen to.
Chris is an amazinggg instructor. I truly enjoyed taking his CS109!! He is the best person delivering materials in normal and understandable language. Glad to see him on youtube :)
What a Piech. He's amazing. Please bring him back!!! This was time well spent.
Prof is so sweet... The way he communicates is wonderful
4:19 My guy turned a joke into a genuinely interesting history lesson on coding languages. I love his energy.
How cool is this guy! Spreading the joy of knowledge to other humans the way he does is really priceless
Well I also have some list of questions that are as follows:-
1. Why did computer only understand 1s and 0s not English or any other language like us.
2. How do we program/create a programing language(Like the first ever programming language ever)
3. Why do we need such complex programming/coding language? Why can't we just create a program/coding language which can understand normal language like English and etc.
4. Why did we selected switches and not any other thing like buttons?
5. How did the idea of the first computer arise.
Some question may seem silly but I am a high school student and just being curious.
He's such a great teacher but I think what I love is how genuinely happy he seems to be explaining these things. His smile is infectious.
😮
Best 17 mins of life. Only we had such teachers who would take the effort to make things so interesting and simple that any can understand. Found a legend.
By far one of the best instructors I've ever had, if not the actual best. Teaching well is a gift, I wish all instructors had it!
i love him, he made this difficult concepts seem so easy to understand, i bet it would be great to have him as a teacher
The often forgotten part of a web design team is the testers!! I can not tell you how many websites are so poorly designed when it comes to the user interface. Government websites are the worse of the worse, IMO
This also plays a little bit into the “hacking” portion because I think many of the people who want to get into hacking, are people who are interested in finding ways to break programs or make them behave in a way they aren’t supposed to. This kind of skill also translates really well into software testing
Well, there is a bit of a difference between QA and UX, though they often overlap
Thanks for watching Search and join my Telegram for the right investment💯💯💯
I would go to all his lectures just for having a bit of his enthusiastic mood. Great teacher!
weird to open youtube and see my old prof's face on recommendations. hi chris! you rock! thanks for 106a, still one of my favorite classes ever.
How are you doing now? Where are you working?
@@nands4410 thanks for asking! i'm navigating the complexities of life, as we all are ^^ i'm not in cs, but i use programming to design new media experiences. chris' (and mehran's) intro class was so well taught and organized, and their passion and energy for cs is very hope-inspiring. i know i was definitely inspired and gained confidence through their teaching!
Love that you mentioned Ada Lovelace…she does not get enough credit…she was amazing. I thought it was so empowering knowing that she was way ahead of her time…and and a great example…but did not get much recognition. Now we seem to be rediscovering her
Just a shame he pronounced her name "adder" not "ada".
You know that you only need one single fullstop to separate sentences and that the next sentence starts with a capital letter?
Very happy to see Chris here! I loved his classes in Code in Place program. It was always interesting and fun to listen to his teachings. He made me love coding but I guess I wasnt patient enough to make great things with it.
This guy's attitude is so uplifting. He is so great at explaining things, I wish he was my teacher.
Thanks for watching Search and join my Telegram for the right investment💯💯💯
Never really imagined I woulda enjoyed coding or even listening to someone answer question but boy can I tell you I’m very I terrestre after hearing this man speak. The way he brings explains things make it sound so simple and he even uses examples out in the real world to further help figure what he’s talking about. I’d love to sit in one of his lectures and continue to learn.
I think HTTP errors starting with 4 mean a problem with the request, while errors starting with 5 mean a problem on the server handling it. Useful to remember as a user is that when getting 5xx errors we should maybe try again in a minute, the server is probably just too busy right now while with 4xx errors we should first check if we made a mistake.
Mine is cloudflare error 😂😂😂
I'm a UI Designer / front end developer and I could listen to this guy for hours , in fact I want this guy to narrate the rest of my life
😮
As someone who is currently studying web developing and trying to specialize in front-end experience, this was very entertaining! We really need more upbeat people like this man in our field!
Thanks for watching Search and join my Telegram for the right investment💯💯💯
This guy is very pleasant and highly comprehensive. It's impressive to be this detailed in technical discussion without coming across as condescending or giving a jargon overload, and he nails it. Really good guest and video.
Such an enthusiastic and positive person. I started learning python but got bored pretty and purposeless pretty soon.. thanks to him I wanna continue again
I LOVE his enthusiasm about this. I wish I heard more people explaining things they love like this guy. THANK YOU
This guy is so energetic and enthusiastic about computers and coding!! Why couldn’t all programming teachers be like this? I would take any class he taught.
😮
It is amazing to see someone who wants to share his pieces of knowledge like him! Yours enforces make the planet a better place
I never thought of learning about coding and computer science this easy.Very informational and interesting video.
It's both easy and hard. In college you have to a lot of mathematics classes including calculus and learn the history of computers and learn all about computers and programming at the lowest levels as well as networks and a lot things I can't remember after all these years. Then you'll have to spend a couple more years learning your specific area of study, for me it was data analysis. That's on top of learning the gen ed/soft skill classes. On the other hand there are a ton of free courses and websites and tools to learn everything on your own, many even offer certifications. Many universities like Harvard and MIT put their classes up for anyone to see amd you can always go to your local university and sit in on any class. You can learn to code by just lessons online and it's not too difficult if you dedicate yourself for a year or two but to be good you want to learn everything related. The only thing you can't get for free is the piece of paper showing your degree and that's not actually as important as your skill in this field.
Id argue coding is the easy part, the rest is the hard part
Programming can be a bit of a learning curve initially and can have annoyances here and there, but generally isn't terribly difficult to learn (especially with the abundance of tutorials) and is extremely rewarding when you're able to achieve what you want
This is the friendliest, nicest professor I have ever seen. Stanford is lucky to have him WOW!!!
12:58 might be my favorite real-time thought-pivot on youtube (viz "historical connection"). This man cannot be edited for time or clarity. He has already done so. What a guy.
Personal comment: In response to "Do you need to be good at math to code?" I think Historically computer scientists needed to be good at math because memory and processing power was so much more limited so developing mathematically efficient algorithms was so much more important back in the day.
Today, Computers have so much power, memory, and multiple processors that the majority of programmers don't need to be great at math.
Just my personal thoughts on the movie. loved it.
Well it’s not only in efficiency, for example, mathematical vectors are used in graphics, triangulation, and a couple other areas, but I would say if you have a hard time learning those then you’ll have a hard time reaching those levels, but rly anyone can learn mostly anything given time, dedication and perseverance.
to be honest it’s more so related to what domain you’re in. some domains require a lot of math others don’t. if you’re an ML researcher Id expect the person to know some level of math
@@syte_y Took words right out of my mouth
I have never studied compute science in my life but I understood every word he explained . World needs more teacher like him . Bravoooo
Been a few weeks since I've started with Python. I wish this guy was my teacher, his enthousiasm makes me even more excited to learn much and much more!
I really love passionate guys like him. It almost feels like they are radiating positive energy.
Wow! He is one of the sweetest person I have ever seen on the Internet. You can feel his passions for Coding through the screen.
To expand on the 404 error - HTTP, the protocol we use to access the web, uses all kinds of codes to show what is going on:
1xx - these are used for proxy servers - if you are behind a proxy server, these are the response codes you're gonna get.
2xx - these are the OK codes - if you get one of these, everything is (probably) working as it should.
3xx - these are redirects - the thing you are looking for is somewhere else and the server sent you there.
You'll probably never see any of the above ones, since those are mostly to show that everything is working OK. But it's good to know them when working with and analyzing HTTP traffic.
4xx - these are client errors - you did something wrong on your end, like looking for something that doesn't exist, or made a request the server doesn't understand.
5xx - these are server errors - something went wrong on the server - there might be an outage or there's a bug in the backend code. Usually the only thing you can do with these is wait.
Yes and 5xx doesn't only mean that there's a bug in the backend code but that somehow the backend code is clever enough to know it's got a bug. There's some sort of contradictory or nonsensical statement in or something so as it runs the system can tell it's got a bug and send you the 5xx code.
There are lots of other bugs that are more damaging where you won't get any error code, the system will just do something that no-one wanted or send you some wrong information.
A big part of making reliable systems is setting them up to have multiple layers of checks inside them so that if something is wrong you're more likely to get the relatively harmless 5xx error code and less likely to have the server just do something wrong, like charge you the wrong amount of money or whatever.
Stack overflow is so great. It’s wonderful to get a different set of eyes on something or to search questions that have likely already been answered as well
I got turned down by a university to do a Computing degree because I couldn't pass the maths test they randomly gave me without any notice and claimed I needed advanced maths skills to do the degree. I then went to another university, got a 2:1 in Computing and now I'm a QA automation team lead. So no, you don't need to be good a maths.
I swear if Chris was my lecturer when I was studying I think I would have a much deeper understanding and love for coding. Thank you for your enthusiasm Chris, you're amazing.
These Tech Support videos are so much fun because they find people who are experts who are *excited* about their field.
I could listen to this man for a week. What a perfect personality. Thanks for the insights!
The math thing is very true, I was decent in math but It was never my strongest subject in school, but I'm in my Junior year of computer science and learning to code has made math much more interesting because it becomes such a useful tool in programming that it's not just a bunch of random equations anymore. Even hard stuff like advanced calculus has big impacts in my understanding of machine learning and computer graphics. It's still hard to learn, but now it's very rewarding to do so.
Agree. Wasn’t the best student math wise during hs and middle school but got interested in cs & actually trying to learn in my math classes made things very interesting. It’s tough if you’re falling behind but once you understand a topic there’s nothing more satisfying. Also in school but a sophomore. Best of luck with your degree/career
You dont even need math to be a programmer, what on earth are you talking about? And i say this as a senior dev so i ACTUALLY know what im talking about
@@JohnStockton7459 Depends on what kind of programming you're doing. If you're a "senior dev who knows what they are talking about" then you'd already know what I'm talking about. Simulations, computer graphics, data visualization, machine learning, data transmission, aerospace systems, and game engine development to name a few are all much easier with a solid knowledge of calculus and linear algebra, plus the common algorithms used in various fields. Sure, many people end up working with super abstracted high level languages for building websites and apps so they don't have to do math, but those two things are not the only programming that exists, even if they are the most common.