Placeholder Image

字幕列表 影片播放

由 AI 自動生成
  • Hi, I'm chris peach.

    嗨,我是chris peach。

  • I'm a professor of computer science at stanford University.

    我是斯坦福大學的一名計算機科學教授。

  • Today, I'll be answering your questions from twitter.

    今天,我將在微博上回答你的問題。

  • This is coding support.

    這就是編碼支持。

  • First up from M.

    首先是來自M.

  • T.

    T.

  • X.

    X.

  • T.

    T.

  • How many coding languages are there?

    有多少種編碼語言?

  • Well there's a lot of coding languages.

    嗯,有很多的編碼語言。

  • Some of the most popular ones include python.

    一些最受歡迎的包括蟒蛇。

  • That's great.

    這很好。

  • If you're doing data science or if you're writing scripts for your computer, there's java script.

    如果你在做數據科學,或者如果你在為你的電腦寫腳本,有java腳本。

  • That's great if you're writing a website and there's a whole bunch of other ones like C.

    如果你在寫一個網站,那就很好,還有一大堆像C的其他。

  • C.

    C.

  • Plus plus java and that's just five of the top most common ones.

    再加上java,這只是最常見的五種頂級的。

  • My friend from university even made a coding language of their own just for fun.

    我的大學朋友甚至自己做了一個編碼語言,只是為了好玩。

  • Eugene Daniel asked encoding being self taught.

    尤金-丹尼爾問編碼是自學的。

  • Absolutely.

    絕對的。

  • Coding is such a special what matters is that you have the skills.

    編碼是如此特別,重要的是你有技能。

  • It doesn't matter so much if you have a credential saying you can do it, what matters is that you can pick up a computer and you can code it and make it do wonderful things.

    如果你有一個證書說你能做到這一點並不重要,重要的是你能拿起一臺電腦,你能給它編碼,讓它做一些奇妙的事情。

  • There's a lot of incredible resources out there stanford myself, we offer free programming class if you're interested.

    斯坦福大學有很多令人難以置信的資源,如果你有興趣,我們提供免費的編程課。

  • I know a lot of self taught success for you When I worked at Pixar.

    我知道很多自學成才的你 當我在皮克斯工作時。

  • I knew a lot of programmers there who had never even studied computer science in university or anything like that.

    我認識那裡的很多程序員,他們甚至從來沒有在大學裡學習過計算機科學或類似的東西。

  • They just taught themselves and now we're working at one of the coolest programming companies?

    他們只是自學,現在我們在最酷的編程公司之一工作?

  • Okay.

    好的。

  • Next glacial icon.

    下一個冰川型圖標。

  • I always wondered apocalyptic and action movies.

    我總是想知道世界末日和動作電影。

  • How do coders managed to save the day without ever using stack overflow and glacial icon.

    編碼員如何在不使用堆棧溢出和冰川圖標的情況下設法拯救世界。

  • I'm gonna say that's a fantastic question realistically when we're coding, we're using stack overflow stack overflow is a website where you can go ask questions and see answers and you can see code snippets that other people use to solve problems.

    我要說的是,這是一個奇妙的問題,現實中,當我們在編碼時,我們使用堆棧溢出堆棧溢出是一個網站,你可以去問問題,看到答案,你可以看到其他人用來解決問題的代碼片段。

  • Every serious coder I know use a stack overflow to build better answers.

    我認識的每個嚴肅的程序員都使用堆棧溢出來建立更好的答案。

  • And so it's pretty unrealistic that in an action movie they're not using stack overflow.

    是以,在一部動作電影中,他們不使用堆棧溢出,是非常不現實的。

  • So I guess if you only have a few minutes to save the world, maybe you have to code without getting any help.

    所以我想如果你只有幾分鐘的時間來拯救世界,也許你必須在沒有得到任何幫助的情況下編碼。

  • The origin of the term stack overflow is actually an interesting story.

    堆棧溢出一詞的起源實際上是一個有趣的故事。

  • It comes from one of the problems that you could have while programming, your program has a certain amount of memory.

    它來自於你在編程時可能遇到的一個問題,你的程序有一定的內存量。

  • Part of it's called the stack.

    它的一部分被稱為堆棧。

  • And that stack uses too much memory.

    而且這個堆棧使用了太多的內存。

  • It throws a stack overflow air and this often happens when there's something going really wrong with your program is just consuming memory wildly.

    它拋出了一個堆棧溢出空氣,這往往發生在你的程序真的出了問題,只是瘋狂地消耗內存。

  • But the stack overflow website isn't just about that problem.

    但堆棧溢出網站不僅僅是為了解決這個問題。

  • It's a whole cow community where people come together and help each other and I love that community of all of us coming together and making each other better are 40.

    這是一個完整的奶牛社區,人們走到一起並互相幫助,我喜歡這種大家走到一起並使對方變得更好的社區是40。

  • 40 asks what does front and and back and mean?

    40問:前面和和後面和是什麼意思?

  • I love this question and you know what to show you.

    我喜歡這個問題,你知道要給你看什麼。

  • I'd like to explain a little bit about how the internet works when you use a mobile application.

    我想解釋一下,當你使用一個移動應用程序時,互聯網是如何工作的。

  • Let's say you're using google maps and google maps is telling you how to get from point A to point B.

    假設你在使用谷歌地圖,谷歌地圖告訴你如何從A點到B點。

  • There's a computer program that's running on your phone and that's called the front end, but not all the work is done on your phone.

    有一個電腦程序在你的手機上運行,這被稱為前端,但不是所有的工作都在你的手機上完成。

  • In fact a lot of the work might be done on a different computer.

    事實上,很多工作可能是在不同的電腦上完成的。

  • So what your phone does is it connects over the internet to another computer that we call a server and that computer can do calculations and send the answer back to your phone.

    是以,你的手機所做的是通過互聯網連接到另一臺計算機,我們稱之為服務器,該計算機可以進行計算並將答案發回給你的手機。

  • And you know, this is basically the idea of the internet.

    而且你知道,這基本上是互聯網的想法。

  • We have all these devices and they're talking to other computers on different parts of the world and programs that run on this computer, we call those the back end.

    我們有所有這些設備,它們與世界上不同地方的其他計算機和在這臺計算機上運行的程序進行對話,我們把這些稱為後端。

  • So you have the front end running on things that you interface with and back and running on things that are doing some work behind the scenes that you never see.

    是以,你有前端運行的東西,你與之對接,後端運行的東西,在幕後做一些工作,你永遠看不到。

  • You know, maybe it's a little bit like a car.

    你知道,也許它有點像汽車。

  • The front end might be the steering wheel, that's what humans interact with.

    前端可能是方向盤,那是人類互動的東西。

  • There's a whole bunch of technology there, the back end is the technology you don't see maybe it's like the engine, it's doing really important stuff.

    那裡有一大堆技術,後端是你看不到的技術,也許它就像引擎,它在做真正重要的事情。

  • But when everything is working smoothly, you just interact with that steering wheel.

    但當一切工作順利時,你只是與那個方向盤互動。

  • Some people only specialized in writing programs for the front end.

    有些人只擅長為前端編寫程序。

  • Some people only specialize in writing programs for the back end or you might hear this term full stack engineer and those are programmers who can do both.

    有些人只專注於為後端編寫程序,或者你可能會聽到全棧工程師這個詞,那些是可以做這兩件事的程序員。

  • The front end and the back end.

    前端和後端。

  • And that's a good thing to be next question from Vegas Gasper.

    而這是拉斯維加斯加斯帕的下一個問題,是一件好事。

  • What is the shortest piece of code that changed the world?

    改變世界的最短的一段代碼是什麼?

  • That's a good question.

    這是個好問題。

  • And over a drink we could have a great conversation and debate this.

    而在喝酒的時候,我們可以有一個很好的對話,辯論這個問題。

  • I'm going to say back propagation for artificial intelligence.

    我要說的是人工智能的反向傳播。

  • Back propagation is the few lines of code that tells an artificial intelligence algorithm.

    反向傳播是告訴一個人工智能算法的幾行代碼。

  • If I see data, how can I become smarter based off of that data?

    如果我看到了數據,我怎樣才能在這些數據的基礎上變得更聰明?

  • It's a very simple piece of code based off some cool calculus and that's where most ai gets its intelligence from say your ai algorithms trying to learn what a cat is and it sees a picture of a cat.

    這是一個非常簡單的代碼,基於一些很酷的微積分,這就是大多數人工智能獲得其智能的地方,比如說你的人工智能算法試圖學習什麼是貓,它看到了一張貓的圖片。

  • It can put it through its own little ai brain.

    它可以把它通過自己的小ai大腦。

  • Back propagation will tell it how to change its ai brain so that it is better able to understand cats in the future.

    背面傳播將告訴它如何改變它的ai腦,以便它在未來能夠更好地理解貓。

  • To our but doesn't really have a question but a cute little rhyme.

    對我們來說,但並沒有真正的問題,而是一個可愛的小韻律。

  • How much could a C.

    一個C.能有多少錢?

  • Plus plus if a C.

    如果是C的話,加加。

  • Plus could plus plus C.

    加可以加加C。

  • Plus plus is one of the most popular programming languages.

    加加是最流行的編程語言之一。

  • In fact, it's the one that I first learned on.

    事實上,這是我第一次在上面學習。

  • That's how old I am.

    這就是我的年齡。

  • And C.

    和C.

  • Plus plus is it's what you want to use if you're writing a really intense program like a three D computer game or if you're writing the program to animate a Pixar movie C Plus plus is what you'd use C.

    如果你要寫一個非常緊張的程序,比如一個三D電腦遊戲,或者你要寫一個皮克斯電影的動畫程序,C Plus plus就是你要用的C。

  • Plus plus is actually a descendant of another programming language called C.

    加加實際上是另一種叫做C的編程語言的後裔。

  • And C.

    和C.

  • Is like the grandfather of all languages like the latin equivalent from which may any different language to extend C.

    就像所有語言的祖父一樣,相當於拉丁語,任何不同的語言都可以從中擴展出C。

  • Plus plus is one of those and you can see where it got its name from its C.

    加加是其中之一,你可以看到它的名字來自於它的C。

  • And then Plus plus this program speech for one better.

    然後再加上這個方案的演講,就更完美了。

  • So it's like I'm like see but I'm a little bit better.

    所以我就像看到了,但我的情況好了一點。

  • And there's other descendants you might have heard of like java and python.

    還有一些你可能聽說過的後代,如java和python。

  • And the fact that all these three languages descend from C.

    而事實上,這三種語言都是C語言的後代。

  • Tells you how similar that they are to one another.

    告訴你他們之間的相似程度。

  • Why is C.

    為什麼C.

  • Or C.

    或C.

  • Plus plus?

    加加?

  • So good for video game programming because it's so computational e intense you have to render an entire three D.

    對視頻遊戲編程來說是很好的,因為它的計算能力很強,你必須渲染整個三D。

  • World with trees in the distance and things animating in the front and that.

    遠處有樹的世界,前面有東西的動畫,還有那個。

  • Just ask so much of your computer, C.

    只是對你的電腦要求太多,C。

  • And C.

    和C.

  • Plus plus.

    加加加。

  • They're like your bare bones programming languages.

    它們就像你的原始編程語言。

  • They're the most efficient so they can run the fastest and they can do the most computations per second python and java they're easier to read so it's easier to write the program but the computer can't run them as quickly.

    它們是最有效的,所以它們可以運行得最快,每秒鐘可以做最多的計算,python和java它們更容易閱讀,所以寫程序更容易,但計算機不能快速運行它們。

  • Loss mary angus 14 asks my computer science teacher asked what is python and I replied a very dangerous snake.

    Loss mary angus 14 asked my computer science teacher asked what is python and I replied a very dangerous snake.

  • Uh And he beat me up.

    呃,他還打了我。

  • I feel like we have to have a different conversation about corporal punishment.

    我覺得我們必須就體罰問題進行不同的對話。

  • Here, did you know the name python?

    在這裡,你知道蟒蛇這個名字嗎?

  • The name for this programming language actually comes from monty.

    這種編程語言的名字實際上來自蒙蒂。

  • Python's flying circus.

    Python的飛行馬戲團。

  • The person who invented the programming language called python.

    發明了名為python的編程語言的人。

  • I'm a big fan of the Tv show.

    我是這個電視節目的大粉絲。

  • So I gave it that name.

    所以我給它起了這個名字。

  • It's a general purpose programming language.

    它是一種通用的編程語言。

  • So you could write a google maps back end on it.

    所以你可以在上面寫一個谷歌地圖的後端。

  • You could write data science, you could just write a script that does something fun.

    你可以寫數據科學,你可以只寫一個腳本,做一些有趣的事情。

  • Or you could write a chatbot even.

    或者你甚至可以寫一個哈拉機器人。

  • Do you want to see what python looks like?

    你想看看python是什麼樣子的嗎?

  • I can tell you a really basic intro to python program Hello World.

    我可以告訴你一個非常基本的python程序介紹Hello World。

  • And print 10 numbers.

    並打印10個數字。

  • Here's an example of a very simple python program.

    下面是一個非常簡單的python程序的例子。

  • This says when you run this program, so somebody goes to the computer and they click on, click on your program.

    這說的是當你運行這個程序時,所以有人去電腦上,他們點擊,點擊你的程序。

  • It's going to open up a console and it's going to say hello world.

    它將會打開一個控制檯,並會說hello world。

  • That's the greeting we use when we're trying to show that we can write our first program.

    這就是我們在試圖表明我們可以編寫第一個程序時使用的問候語。

  • It's like your program saying hi, I'm new to this world.

    這就像你的程序在說嗨,我是這個世界的新人。

  • Tell me all about it.

    告訴我所有的情況。

  • And then your program in very cool faction says I'm going to print the numbers.

    然後你的程序在非常酷的派別中說我要打印這些數字。

  • The 1st 10 numbers.

    前10個數字。

  • So it'll print zero, then one, then two, then three, then four, then five and six and seven and eight and nine main is what happens when somebody starts your program.

    所以它會打印0,然後是1,然後是2,然後是3,然後是4,然後是5,然後是6,然後是7,然後是8,然後是9,主要是當有人啟動你的程序時會發生什麼。

  • So death main says when someone starts your program, I'm going to execute all of these commands and then I write the commands one by one.

    所以死亡主說,當有人啟動你的程序時,我要執行所有這些命令,然後我一個一個地寫命令。

  • The first command I wrote is print.

    我寫的第一個命令是print。

  • Hello world Print doesn't mean like print through your printer it means show up on the screen.

    Hello world 打印並不是指通過打印機打印,而是指顯示在螢幕上。

  • The next line says for I in range.

    下一行說,對於範圍內的I。

  • One of the great things about computers is that they can do lots of repetitive tasks without being coming frustrated humans not so much.

    計算機的一個好處是,它們可以做很多重複性的工作,而不至於讓人感到沮喪,而人類就不一樣了。

  • This is one of those basic commands you need to know to make a computer repeated task.

    這是那些你需要知道的基本命令之一,以使計算機重複任務。

  • It says I want to repeat something 10 times and 10 times.

    它說我要重複某事10次,10次。

  • I would like to print out a value.

    我想打印出一個數值。

  • This is a value that's going to change numbers from zero up til nine.

    這是一個將改變從零到九的數字的值。

  • So when you run this program it'll print zero and one and two and three and four and five and six and seven and eight and nine.

    是以,當你運行這個程序時,它會打印出0、1、2、3、4、5、6、7、8、9。

  • Next question from esquire what is the meaning of error?

    esquire的下一個問題,錯誤的含義是什麼?

  • Four oh four oh four oh four is what you see when you go to a website and that website doesn't exist.

    4哦4哦4哦4是你去一個網站時看到的東西,而這個網站並不存在。

  • And the web pages saying I don't know what website you're looking for more broadly when programs don't know what to do or when they break they often throw a thing called an error.

    還有網頁說我不知道你在找什麼網站,更廣泛地說,當程序不知道該怎麼做,或者當它們發生故障時,它們經常會拋出一個叫做錯誤的東西。

  • And as a human you're given these errors errors always have codes they tell the human and they tell somebody who's trying to diagnose what went wrong exactly what the problem was.

    作為一個人,你會得到這些錯誤,錯誤總是有代碼,它們告訴人,它們告訴試圖診斷出錯的人,到底是什麼問題。

  • So when you 044 that's a specific message saying exactly what went wrong was that I wasn't able to find the particular U.

    是以,當你的044是一個具體的資訊,說到底是什麼出了問題,我無法找到特定的U。

  • R.

    R.

  • L.

    L.

  • You were looking for.

    你正在尋找。

  • Web error codes were actually defined by the guy who invented the web tim Berner lee as I understand it.

    據我所知,網絡錯誤代碼實際上是由發明網絡的人Tim Berner lee定義的。

  • He was just coming up with sequential codes.

    他只是想出了連續的代碼。

  • I think the first four means that there was a problem with your web page for a 1424344.

    我認為前四條意味著你的網頁出現了問題,為1424344。

  • Or just different problems that could come up when you're trying to load a webpage.

    或者只是在你試圖加載一個網頁時可能出現的不同問題。

  • Okay next question.

    好的下一個問題。

  • Formula.

    公式。

  • Our programming coding the same thing.

    我們的編程編碼也是如此。

  • Yes coding is the process of opening up an application on your computer and writing a sequence of commands that look a lot like english but are in a specific language that your computer can understand.

    是的,編碼是在你的電腦上打開一個應用程序,寫下一連串的命令,這些命令看起來很像英語,但卻是你的電腦可以理解的特定語言。

  • You can code in something like python or javascript.

    你可以用python或javascript之類的東西編碼。

  • These are the languages of coding and that's how you tell a computer.

    這些是編碼的語言,這就是你告訴計算機的方式。

  • I want you to perform all these actions when somebody hits a button or when somebody opens this application, programming is exact same thing.

    我想讓你在有人點擊一個按鈕或有人打開這個應用程序時執行所有這些動作,編程是完全相同的事情。

  • You're making a program when you're coding future, Lear what is raspberry pi and what can be used for future.

    你在做程序的時候,你在編碼未來,李爾什麼是樹莓派,什麼可以用於未來。

  • Earlier.

    早些時候。

  • This is a raspberry pi and this is one of the world's cheapest computers.

    這是樹莓派,這是世界上最便宜的計算機之一。

  • What are we looking at here?

    我們在這裡看的是什麼?

  • We're looking at a small version of a motherboard and on it it has things that you can plug in like a USB has a place for audio and a place for internet connection and on the chip, it has a thing called a CPU so it's central processing unit, so it can process programs and it has some space for memory, so it can store some data, it can connect to a power source, it could connect to a monitor and it can connect to lots of sensors.

    我們正在看一個小版本的主板,在它上面有你可以插入的東西,如USB有一個地方用於音頻和一個地方用於互聯網連接,在芯片上,它有一個叫做CPU的東西,所以它是中央處理單元,所以它可以處理程序,它有一些空間用於內存,所以它可以存儲一些數據,它可以連接到電源,它可以連接到顯示器,它可以連接到很多傳感器。

  • And why is it soak?

    而為什麼是浸泡呢?

  • Let's say you want to write a program but you wanted to make it physical and interact in the real world?

    比方說,你想寫一個程序,但你想讓它變成實物,在現實世界中進行互動?

  • Maybe you wanted to make a robot or maybe you wanted to make a smart doorbell or something like that.

    也許你想做一個機器人,也許你想做一個智能門鈴或類似的東西。

  • You could use this super cheap programmable computer and maybe you put a sensor in it and maybe you make another actuator and then you make something happen in the real world.

    你可以使用這種超級便宜的可編程計算機,也許你在裡面放一個傳感器,也許你做另一個執行器,然後你在現實世界中做出一些事情來。

  • Next question from T J jesse TJ.

    下一個問題來自T J jesse TJ。

  • How do you code?

    你是如何編碼的?

  • AI, wow, what a deep deep question.

    AI,哇,多麼深奧的問題。

  • In so few words, people might be wondering what a I means a I stand artificial intelligence and artificial intelligence is a very broad term.

    在這麼少的字裡行間,人們可能會想知道一個I是什麼意思一個I代表人工智能,人工智能是一個非常廣泛的術語。

  • It literally means any algorithm which is acting in an intelligent way.

    它的字面意思是任何以智能方式行事的算法。

  • The most common type of artificial intelligence is a type called machine learning and that's when an algorithm gets smarter when it looks at data or when it gets experiences of its own the most common way to code ai is in python using something like pytorch or tensorflow, you say here is the structure of my artificial intelligence network and once I have that struck, I'm going to write some code that can take in data and I'll tell my artificial intelligence to get smarter using data and that's all done in python.

    最常見的人工智能類型是一種叫做機器學習的類型,這就是當一個算法在查看數據或獲得自己的經驗時變得更聰明,最常見的編碼ai的方式是在python中使用類似pytorch或tensorflow的東西,你說這裡是我的人工智能網絡的結構,一旦我有這個打擊,我將寫一些代碼,可以接受數據,我會告訴我的人工智能使用數據變得更聰明,這都是在python中完成。

  • But in 2022 the way people right, aI could be changing.

    但在2022年,人們對的方式,我可能正在改變。

  • There are these really large artificial intelligence networks which have been published and sometimes writing AI is figure out how to talk to these really billion parameter neural networks.

    有這些真正的大型人工智能網絡已經發表,有時寫人工智能是想出如何與這些真正的億萬參數的神經網絡對話。

  • So you can put in prompts that would give you interesting answers.

    是以,你可以放入提示語,讓你得到有趣的答案。

  • Elka must ask.

    埃爾卡必須問。

  • Do you practice algorithms frequently?

    你是否經常練習算法?

  • If yes, why I do practice algorithms frequently.

    如果是,為什麼我經常練習算法。

  • I practice algorithms frequently for lots of reasons.

    我經常練習算法,有很多原因。

  • One, because they're neat one because I teach them one because they keep me becoming a great programmer, but also because we invent algorithms.

    一是因為它們很整潔一是因為我教它們一是因為它們讓我不斷成為一個偉大的程序員,但也是因為我們發明了算法。

  • But what's an algorithm?

    但什麼是算法?

  • An algorithm is basically any piece of code that does an interesting task.

    算法基本上是任何一段能完成一個有趣任務的代碼。

  • So maybe it solves a problem that would take a lot of thought.

    是以,也許它解決了一個需要大量思考的問題。

  • One example of something we worked on recently is we made an algorithm that can do a day.

    我們最近工作的一個例子是我們做了一個可以做一天的算法。

  • Well I test and it's always being thoughtful about what size letter to show somebody next one algorithm you might hear a lot about is like the Tiktok algorithm.

    好吧,我測試了一下,而且一直在考慮給別人看什麼尺寸的信,下一個你可能經常聽到的算法是像Tiktok的算法。

  • What that does is it decides what video you should see next.

    它的作用是決定你接下來應該看什麼視頻。

  • How does it work?

    它是如何工作的?

  • That's in fact a bit of a mystery.

    這其實是一個有點神祕的問題。

  • I don't think they tell the world.

    我不認為他們會告訴全世界。

  • This is how our algorithm works.

    這就是我們的算法的工作方式。

  • But when people say the Tiktok algorithm, what they're talking about is how Tiktok chooses that next video Antam Get hub.

    但是,當人們說Tiktok算法時,他們所談論的是Tiktok如何選擇下一個視頻Antam Get hub。

  • What the hell is get hub?

    Get hub是什麼鬼東西?

  • It sounds rude.

    這聽起來很不禮貌。

  • Get hubs not rude.

    得到樞紐不粗魯。

  • Is your friend.

    是你的朋友。

  • Get hub is a website where a lot of us host our code.

    Get hub是一個網站,我們很多人在這裡託管我們的代碼。

  • So when I write a program often I'm working with other people and we use GIT hub to store our code.

    是以,當我寫一個程序時,我經常和其他人一起工作,我們使用GIT hub來存儲我們的代碼。

  • A lot.

    很多。

  • Like using google docs for when you're working on a word document together.

    比如在你們一起做word文檔的時候使用google docs。

  • Get hubs are place for code.

    獲取樞紐是代碼的地方。

  • It's also a place where you can go and see other people's code.

    這也是一個你可以去看其他人的代碼的地方。

  • Some people choose to put their code up publicly, which means that when I'm working on a project, I can see what other people have done.

    有些人選擇把他們的代碼公開,這意味著當我在一個項目上工作時,我可以看到其他人做了什麼。

  • That's one of the cool things about computer science.

    這就是計算機科學的一個很酷的事情。

  • We're always building on top of each other's ideas.

    我們總是建立在彼此的想法之上。

  • So if somebody is built a really cool program, I don't have to start from scratch often.

    是以,如果有人建立了一個非常酷的程序,我就不必經常從頭開始。

  • I can build on top of their really cool program.

    我可以建立在他們非常酷的程序之上。

  • Next up from nana Simon, which coding language is the easiest one.

    接下來是娜娜-西蒙,哪種編碼語言是最簡單的一種。

  • That's a good question.

    這是個好問題。

  • What we teach intro.

    我們的教學內容介紹。

  • Computer science at stanford, we use python because we think it's the most gentle introduction to programming.

    斯坦福大學的計算機科學,我們使用python,因為我們認為它是最溫和的編程入門。

  • But in the very first week we use an even simpler programming language called this is carol carol is a simple robot.

    但在第一週,我們使用了一種更簡單的編程語言,叫這是卡羅爾卡羅爾是一個簡單的機器人。

  • Carol can only move turn left, Put down a beeper or pick up a beeper.

    卡羅爾只能向左轉,放下一個BP機或拿起一個BP機。

  • But when you add in some of the basic control flow of programming, carol can do anything that we can do in python, which is incredible.

    但是當你加入一些編程的基本控制流程時,卡羅爾可以做任何我們在python中可以做的事情,這真是不可思議。

  • We use as a gentle introduction just to show you the basics and it's a great way to learn.

    我們用作溫和的介紹,只是向你展示基礎知識,這是一個很好的學習方法。

  • If you're curious, diners asks, do you have to be good at math to code?

    如果你很好奇,食客問,你必須擅長數學才能編碼嗎?

  • I low key want to learn, but I'm terrible at math.

    我低調地想學習,但我的數學很糟糕。

  • Do it learn to code?

    它是否學會了編碼?

  • You don't need to be great at math to code.

    你不需要在數學上有多大的造詣,也可以進行編碼。

  • This is a car common misconception.

    這是一個汽車常見的誤解。

  • I think it has its historical roots in the fact that when programming was first invented, they didn't know where to put it inside the university and they happen to put in the math department.

    我認為這有其歷史根源,當編程第一次被髮明時,他們不知道在大學裡面把它放在哪裡,他們碰巧放在了數學系。

  • So people think you have to be great at math.

    是以,人們認為你必須在數學方面很出色。

  • But in reality I've seen so many amazing programmers who don't feel that confident in math and you know what I learned to program.

    但在現實中,我見過很多了不起的程序員,他們對數學不那麼有信心,你知道我是怎麼學編程的。

  • It will probably help your math out because it helps you do lots of things that use logic.

    它可能會對你的數學有所幫助,因為它可以幫助你做很多使用邏輯的事情。

  • And math is one example of something that could use some logic.

    而數學就是一個可以使用一些邏輯的例子。

  • I'd say.

    我想說。

  • What Do you really want to have if you want to learn how to program the desire to build things because programming is all about making stuff and patience because sometimes when you're making things, it won't work out the way you expected.

    如果你想學習如何編程,你真正想擁有的是建造東西的慾望,因為編程是關於製造東西和耐心,因為有時當你在製造東西時,它不會像你預期的那樣工作。

  • And if you're patient, you're willing to work through step by step you'll figure it out in cash.

    如果你有耐心,你願意一步一步地工作,你就會用現金來解決這個問題。

  • 1401.

    1401.

  • I have always been curious about the origin of coding computer software, artificial intelligence.

    我一直對編碼計算機軟件、人工智能的起源感到好奇。

  • My questions were like how scientists could have bridged hardware and software for the first time.

    我的問題是,科學家們如何能首次將硬件和軟件連接起來。

  • What was their mean to do that?

    他們這樣做是什麼意思?

  • And when did they realize that such a thing could be possible?

    他們又是什麼時候意識到這種事情可能發生的呢?

  • The history is so interesting in it.

    其中的歷史是如此有趣。

  • It plays into so many important parts of human history.

    它在人類歷史的許多重要部分發揮著作用。

  • Certainly one of the turning points was World War Two.

    當然,其中的一個轉捩點是第二次世界大戰。

  • When alan turning and a group of other people in the U.

    當Alan turning和其他一群人在美國。

  • K.

    K.

  • Came up with what some people would consider the first computer.

    想出了一些人認為是第一臺計算機的東西。

  • Why?

    為什麼?

  • So that they could decrypt german messages that they were sending between each other.

    這樣,他們就可以解密他們之間發送的德文資訊。

  • And you need to try a whole bunch of Secret keys.

    而且你需要嘗試一大堆祕鑰。

  • If you want to decrypt it.

    如果你想解密它。

  • They built what I would consider some of one of the first computers and would try lots and lots of different keys until it could decrypt the German messages.

    他們建造了一些我認為是最早的計算機之一,並會嘗試很多很多不同的密鑰,直到它能夠解密德國的資訊。

  • You could think of this as one of the first pieces of artificial intelligence because cracking someone else's code.

    你可以把這看作是人工智能的第一批作品之一,因為破解了別人的代碼。

  • That sounds a lot like intelligence.

    這聽起來很像情報。

  • But the history of software goes way before that people were theorizing that you could have something like a computer back back in the day in the 1800s at a loveless and another Professor Charles Babbage.

    但是,軟件的歷史遠遠早於人們在19世紀時在無愛和另一位查爾斯-巴貝奇教授那裡理論化地認為你可以擁有類似計算機的東西。

  • They were saying I think we could have computers that work on digital ones and zeroes and actually these things could solve problems and add a Loveless without even having a computer started writing all these different algorithms and programs when computers didn't exist and they kind of showed the world this is going to be cool once we have the electronics for it.

    他們說,我認為我們可以擁有在數字1和0上工作的計算機,實際上這些東西可以解決問題,甚至在沒有計算機的情況下就開始編寫所有這些不同的算法和程序,當時計算機還不存在,他們向世界展示了一旦我們有了電子技術,這將是很酷的。

  • Ni har D M asks is coding required for web design.

    Ni har D M問,網頁設計是否需要編碼。

  • What's web design?

    什麼是網頁設計?

  • Web design is when you make a website and that can often involve coding.

    網頁設計是指你製作一個網站,這往往會涉及編碼。

  • It turns out a lot of the websites you interact with their running a lot of interesting code underneath the hood.

    事實證明,你與之互動的許多網站都在引擎蓋下運行著許多有趣的代碼。

  • What happens when you click this button when I fill in this form, what's supposed to occur next and people write that in a coding language?

    當我填寫這個表格時,你點擊這個按鈕會發生什麼,接下來應該發生什麼,人們用編碼語言來寫?

  • Having said that a big part of a web design team is also artists.

    雖然如此,網頁設計團隊的很大一部分也是藝術家。

  • People just thinking how can I make this a beautiful website or how can I make this a beautiful user experience and it's a really valuable skill to learn how to become that artist or that user x experience designer.

    人們只是在想,我怎樣才能使這個網站成為一個美麗的網站,或者我怎樣才能使這個網站成為一個美麗的用戶體驗,學習如何成為那個藝術家或那個用戶X體驗設計師,是一個非常有價值的技能。

  • You don't necessarily need coding for that.

    你不一定需要為此進行編碼。

  • Pretty hat hacker.

    漂亮的帽子黑客。

  • Ask the real question is do you need to know how to code in order to hack?

    問一下真正的問題是,你需要知道如何編碼才能入侵嗎?

  • Why or why not?

    為什麼或為什麼不呢?

  • We should break down what hack means because it means different things to different people.

    我們應該分解黑客的含義,因為它對不同的人意味著不同的事情。

  • To some people hacking means breaking into someone's website or something like that.

    對一些人來說,黑客意味著闖入別人的網站或類似的東西。

  • Maybe getting into a database stealing some passwords in my field, we actually call that cracking and that's quite illegal and I wouldn't recommend people do that.

    也許進入數據庫偷取一些密碼,在我的領域,我們實際上稱之為破解,那是相當違法的,我不會建議人們這樣做。

  • Hacking in the world of computer science, sometimes is a shorthand for writing really impressive, regardless of which version you're doing the illegal version or the less illegal version.

    在計算機科學的世界裡,黑客有時是寫出真正令人印象深刻的東西的簡稱,不管你在做哪個版本的非法版本或不太非法的版本。

  • If you want to be doing really interesting things with computers that maybe go against the grain.

    如果你想用計算機做真正有趣的事情,也許會違背規律。

  • Certainly knowing how to code is important.

    當然,知道如何編碼是很重要的。

  • Don't do anything illegal at home, jerry bandito.

    不要在家裡做違法的事情,傑裡-巴蒂託。

  • Why is coding important?

    為什麼編碼很重要?

  • Coding is how you get computers to do things for you.

    編碼是你如何讓計算機為你做事情。

  • So the ability to communicate with computers is just such a powerful tool to have.

    是以,與計算機溝通的能力就是這樣一個強大的工具。

  • Whether you're not, you're doing data science or you're in policy or your art, no matter what you're doing, there's probably a time when your career would benefit from being able to speak the language of computers.

    無論你是做數據科學還是做政策或你的藝術,無論你在做什麼,可能有一天你的職業會從能夠說計算機語言中受益。

  • But I also think coding isn't just useful.

    但我也認為編碼不僅僅是有用的。

  • It's also beautiful.

    它也很美。

  • It is a really beautiful process of how you speak to the computer, how you create things out of nothing.

    這是一個非常美麗的過程,你如何與電腦對話,如何無中生有地創造東西。

  • When I'm coding, I take ideas in my mind and I make them into reality.

    當我在編碼時,我把頭腦中的想法變成現實。

  • Sometimes that's useful and sometimes it's just a beautiful process.

    有時這很有用,有時這只是一個美麗的過程。

  • Okay, that's all the questions.

    好了,這就是所有的問題。

Hi, I'm chris peach.

嗨,我是chris peach。

字幕與單字
由 AI 自動生成

單字即點即查 點擊單字可以查詢單字解釋

A2 初級 中文 計算機 程序 編程 算法 代碼 語言

コンピューター科學者だけど「コーディングについて」質問ある? | 技術支援 | WIRED.jp (コンピューター科学者だけど「コーディングについて」質問ある? | Tech Support | WIRED.jp)

  • 14 1
    林宜悉 發佈於 2022 年 12 月 06 日
影片單字