Placeholder Image

字幕表 動画を再生する

  • Wait, wait, wait.

  • Good morning.

  • Hello and welcome to the coding train with Whoa, That was like I had my finger over this little air hole here and I got a higher pitch sound Amazing science.

  • My name is Daniel Schiffman, and I'll be your host this morning on a Wednesday, which is every Wednesday.

  • I will say thank you for being here at this regularly scheduled time.

  • I have been so consistent about this, even I'm amazing myself.

  • However, I will report to you that there will be no live stream next Wednesday.

  • I'll be back two weeks from today.

  • So let me just say that from the outset.

  • I have a trip plan to got some stuff going on.

  • But don't worry.

  • Underneath here in my coding train oven is cooking a whole set of videos about working with data and AP eyes that you I have not seen yet because I have been recording a bunch of videos, not during a live stream as an experiment.

  • But that's my little pitch.

  • If you want to join the coding train as a patron or YouTube member, you get some sneak previews of that stuff.

  • Also a big shot out and thank you, too.

  • Brilliant dot org's Who is the sponsor of today's live stream?

  • On brilliant dot org's home page, you will see a challenge about relativity.

  • Classical relativity.

  • We also have the term special relativity.

  • General relativity.

  • Oh, my goodness, my mind since last Wednesday, I think, was last Wednesday, right when the first image of the black hole came out has just exploded with wonder and awe at the universe we live in.

  • And I've been spending a lot of time reading some papers, watching some YouTube videos.

  • I am not a physicist.

  • I do not have a background in that, but I have been sent down.

  • I was gonna say Rabbit hole, but I think the appropriate term here would be many black holes not emerged.

  • By the way, Once you're in it, there's no way to get out.

  • I am past the event horizon.

  • Get me out.

  • But that's what I want to do in the first segment of today.

  • So the first segment today, I'm gonna talk a little bit about the recent black hole image and do a very crude kind of nature of code style physics, simulation of light approaching a black hole, but I will be using Newtonian physics until won't actually be accurate.

  • But I will talk about, um, what's missing there and a little bit about relativity and then kind of like posed that as a challenge to you to think about it.

  • Maybe next week, after I've had more time to read these papers and crunch some of these numbers, maybe I could come back and make it more accurate or or or such the sound.

  • Once again, I take over the the chat.

  • I see the sound Sync is off.

  • I don't know.

  • Someday I'll fix that.

  • I apologize.

  • Um oh, also.

  • So then segment two of today's Lifestream.

  • Look at this.

  • I have a plan and everything, and I'm sure it will go haywire.

  • Think technical problems will.

  • I'll be stuck in the black hole for four hours and never get to the next part.

  • But this is my plan segment to I am going to program the data structure a stack and look at a quiz that's actually if you go to brilliant dot org's slash coating train right now, it'll take you to a page, which is a quiz on stacks, and there's also a quiz on cues.

  • And this is part of some new computer science course materials that brilliant has, which has been really terrific for me to review a lot of the stuff that maybe I did 15 years ago.

  • So it's wonderful for both kind of continuing education for me, like I can, like, look at this stuff again or, uh, very well what I was saying on the slack chat this morning in the coding train patron group that the last time I think I had to implement a stack like actually implemented without just using a kind of using an array as a stand in for a stack or or some other stack from a library was probably 15 years.

  • So I'm gonna have to do that today and look, ATT.

  • Programming my own stack data structure in the context of that quiz and kind of leave that as a challenge for you to take the quiz on Dhe.

  • Then pending time, I will have to say that it is in the title of this video, which I probably shouldn't have put it there, but at a minimum I will show you some new examples that I'm working on that do neuro evolution with tensorflow Js.

  • I would love to do a coding challenge around that that might come the next time.

  • But at a minimum, I do have a few, like finished examples that are basically ports of some of my previous examples.

  • There's a steering of steering one and a flappy bird one that I will show you, Huh?

  • Please say this stop once.

  • I'm just pleasing.

  • You didn't ask me to, like, say, this dot and dab or something.

  • That's really just not a thing.

  • Not a thing.

  • Not a thing.

  • This dot I think I am your entertainer.

  • Give me your instructions and I will entertain you.

  • I think we could just get started, right?

  • What else do I don't have anything else to say in my introduction?

  • I'm, like, efficient and organized like a professional YouTube live streamer person.

  • This will last and there's nothing.

  • It wasn't even that good.

  • Um, Okay, so So here we go.

  • So I want to talk about Come on.

  • No, I remember what I wanted to say.

  • Now it's It links Aaron this video's description.

  • So I want to mention a couple things I think let me Just find it.

  • I have it over here.

  • But let me pull up today's live stream.

  • This will be fun.

  • Eso here.

  • Well, there's 668 people watching.

  • Okay, so I want to talk about two things.

  • One, I want to mention a huge thank you to Chris Orban and stem coding.

  • Chris Orban, from Ohio State University runs a wonderful YouTube channel called stem coating with a lot of P five gs and other coating activities themed around physics.

  • With really science like me, I do my like I don't really understand it, but let me I've been trying clicking this into this plague in this baby.

  • But you've got an actual You've got science people in their PhD students and graduate students.

  • Wonderful, diverse array of presenters on that channel.

  • So I highly recommend you check that out.

  • The reason why I'm thanking Chris in particular is Chris wrote up this wonderful guide, which I just it's actually called simulating a black hole.

  • The one of the coding challenges on the stem coating YouTube channel is a coding challenge called slingshot with gravity, and it's very similar to some examples I have in the nature of code book about looking at gravitational attraction and simulating that in a two D world using Oiler integration and kind of simple I don't want amusing.

  • I hope he was a fancy term.

  • Using some basically X equals X plus speed kind of code thio simulate how bodies interact with gravity.

  • So, Chris, uh, modified the code two kind of talk about black holes a little bit and there's some nice information in here and a lot of explanation.

  • Really nice formula here, which I will talk about for the radius of the event.

  • Event horizon.

  • Um, yeah.

  • Swartz yeah.

  • So otherwise known.

  • Sorry.

  • It's a short steals rate radius.

  • I was like trying to think How do you pronounce that?

  • It's like spelled short child.

  • I think shorts shields very hard to say it like it's under mister.

  • Um so I want to come.

  • I'm gonna come back to this when I do the video, but so I also wanted to just plug if you are a teacher.

  • Ah, wonderful thing that is happening this summer is called the Pathfinder Summer Institute, which is a professional development in computer science and making at Indiana University Bloomington from July 14th 2/19.

  • So if you're a teacher and you're interested in this, please apply.

  • Um, and I'm happy to help.

  • You can reach out to me, but I would suggest reaching out to stem coding or Chris or bond on Twitter to ask any questions about how this works.

  • Uh, all right.

  • So they wanted to mention that here I am mentioning that.

  • Is there some kind of, like theory of relativity going on here with space time?

  • I'm curving my space time into myself in the past.

  • I'm not even this isn't playing.

  • I'm frozen.

  • Be live.

  • I was trying to get to the part where I curved.

  • Uh, I'm gonna There we go on a bend, but a bend space time.

  • You could do it.

  • Are there really like, there's got to be, like, less than 500 people watching?

  • Right?

  • Come on.

  • There you go.

  • This would get this.

  • Uh oh.

  • I'm so behind.

  • All right, I'm gonna give up on this.

  • Oh, it's happening.

  • Okay, okay, we got that.

  • All right.

  • So let's see.

  • Um Let me get out.

  • P five Js Let me log into coating train.

  • Let me go to high contrast and said the text size 36.

  • Maybe if I could get away with a bigger window here.

  • Uh, black.

  • Okay.

  • All right.

  • I think I'm ready to go.

  • Let me check.

  • Chats.

  • Yes.

  • Uh, by the way, Simon, I see.

  • I see in my little message box here, Simon, Tiger is typing.

  • Something will be said soon, But you should check out Simon Tigers YouTube channel as well Who has also recently made some videos about black holes.

  • Ah, yes.

  • That's a good point.

  • Yes.

  • Simon says, come to the white board, then back to the screen and then bend space time.

  • I'm learning about how my feet are younger than my head.

  • Boy.

  • It's amazing thing like my mind is blown.

  • Let's go over here.

  • All right, so let's see.

  • What do I How am I gonna start this of this from 1978?

  • Okay.

  • All right.

  • I think I have everything I need.

  • So, image of black hole.

  • Um, what's going to be a good Is it all?

  • Is there a Let's try this.

  • All right.

  • Start with this.

  • Um and then what's the name of the group of?

  • It's the event horizon.

  • Like the name of the group of the 200 scientists like reference that remember how I was all prepared to head a plan?

  • Event horizon.

  • Scientists like it has a name like that.

  • The, uh, event horizon telescope.

  • Maybe that's what it's called Event Horizon.

  • Rising telescope.

  • Um, about organization.

  • Um GHT ven rising telescope ever, son.

  • Great.

  • Ok, thank you very much.

  • Oh, uh, someone asks, uh So what asks Are you going to simulate a to D section of a three D black hole or rather, a genuine to D black hole?

  • Because the physics are very different in two plus one dimensions.

  • All right, so I would say the answer to that question is neither.

  • I'm not really going to do anything remotely close to accurate.

  • I'm gonna talk about what I've learned in terms of looking at some of these resource is, and I'm basically going to just do a Newtonian gravitation attraction example, but kind of consider one body to be the black hole and one the other body to be a single photons or a beam of light.

  • And look at how that light curves as it approaches in two dimensions.

  • But I'll be basic.

  • This will basically be not accurate because it's sort of like assuming only classical relativity.

  • And I need to think I need to, like, look at apart to would be to revise this to be Maur toe actually be accurate.

  • I think the idea can be the story can be told and it'll be an interesting kind of prompt for the audience was, um, or maybe a rigorous scientific background to contribute here, So that's kind of my plan.

  • So if people are joining because they're going to see some kind of black hole simulation, prepare to be disappointed.

  • Welcome to the coding train where our motto is Prepare to be disappointed.

  • I need like, a little like any little effect.

  • You press the button a little glistening, winking, but I cannot wink, cannot wink of my right eye.

  • My family finds this hysterical.

  • This is me in front of a black hole image, uh, attempting to wink with my right eye.

  • If I were inside a black hole, you would not be able to see me doing that, Nor would I be able to communicate with you.

  • It would also be very, very, very, very, very dead.

  • Or maybe not.

  • Maybe I would just be millions of years in the future, and I would be Matthew McConaughey.

  • Hey, yeah.

  • Okay, let me cycle the kid.

  • Hello.

  • And what?

  • Hello?

  • Welcome to a coding challenge.

  • Simple, very crude.

  • Not so active it to t black old simulation.

  • So I'm fascinated by this image.

  • This image which appeared on the Internet a week ago from the Event Horizon Telescope group of scientists who produced this image with many different telescopes altogether timed with some kind of like Nano Baz N Ow, Brazilian olds Time precision To create this image, there's over 1000 people watching.

  • That's not a record.

  • I have never broken 2000 but, um oh, it's not classical relative spy way Simon is giving No sound effects are a little hold on.

  • So much is coming at me at once.

  • So?

  • So I'm told the sound effects are a little bit loud.

  • I'm gonna turn that down.

  • Maybe Simon corrects me saying it is not classical relativity.

  • It's classical mechanics.

  • It's based on Galilean relativity.

  • Okay, thank you very much.

  • Um, tech writers asking How will that include neuro evolution?

  • It will not know.

  • Evolution is the third segment of today's live stream.

  • I mean, I would love to narrow evolve a black hole, but I don't think that's gonna happen.

  • Um, everybody's telling.

  • My audio's out of sync.

  • I can't do anything about that.

  • I apologize.

  • The good news, I would suggest if it bothers you, turn that off Something else.

  • There will be an edited version of the highlights.

  • If there are the highlights of today's live stream that will have the audio sink fixed.

  • By the way, does every is everybody have the audio synch problem when when this has happened In the past, I've been told that some people have in sync Hit me, baby.

  • That's Britney Spears.

  • Whatever.

  • Some people have it in sync, and some people have it out of sync in before pronunciation complaints.

  • Oh, yeah, I'm sure I pronounced whatever however you say the Galileo and Galileo and Galileo, What did I say?

  • Galileo?

  • Oh, I think we should be able to say it the way.

  • What gift gift gift That's hard to say to you.

  • You give Phil alien mechanics people, I gotta start this.

  • Mmm.

  • Everybody's telling me it's out of sync.

  • All right, all right.

  • It's out of sync for everybody.