Placeholder Image

字幕列表 影片播放

  • So there seems to be a little bit of a trend here on YouTube for people to do magic in their videos.

  • And Peter MacKinnon and I happen to be a little bit of a magician myself.

  • So, uh, as you can see, there's nothing in my hands.

  • And if I just snap my fingers What?

  • How did this work?

  • I know you must be confused by now.

  • You're probably questioning everything you thought you knew things like, Do I even exist?

  • What's the purpose of life?

  • Is the Earth really round?

  • And unfortunately, a magician never tells, So I guess you're just gonna have to let this one go anyway.

  • Let's move on with the video.

  • These are five projects that I think every programmer should try at least once.

  • First project is building a Web scraper.

  • Web scraping is something that I think that every programmer should try at least once, because it can be super useful, especially when it comes to automation of tasks.

  • Let's take something like paying the electric bill.

  • For instance, you could easily create a python script where all you enter, it's the amount to be paid, and then the script takes care of going to your bank side, logging in and making the payment.

  • I guess you want to be careful with some like this.

  • I can see how this could easily go wrong.

  • But that issue is one example that comes to mind that illustrates the use of Web scraping.

  • And there's tons of other instances where you might be doing a repetitive and really tedious, boring task that could easily be automated with some Web scraping.

  • So therefore, I think that Web scraping or building a Web scraper is a really good project to try out, and there's a lot of interesting applications for it.

  • Second project that I think you try is building a simple AP I sorry for the rhyme.

  • Creating an A P I is also something that I think it's extremely useful not only because it's a great skill toe have to be able to build on a p I, but also because by doing this you get a vastly better understanding of how the Web works.

  • You'll understand the basics of that going to building something like Facebook, instagram or Google.

  • And if you also add in an SQL daughter base with this, you get a project that's well set up to give you a really solid understanding of the basics of back end development.

  • This is one of those projects that I personally think is the most fun toe work on, because once you understand how to build a simple A P I and an SQL daughter base to go along with that, you basically understand how to build something like Facebook, even though there's a lot more that goes into building Facebook.

  • This is the fundamental stuff that you need to know in order to be able to do something like that, which is really cool once you understand it.

  • And now you might be thinking, Well, what would I host this on?

  • Luckily for you or video sponsor, atlantic dot net takes care of that for you.

  • Atlanta dot net provides great DBS hosting, and they're offering a free one gig virtual server with assistance and block storage for free for a year, plus $50 in free credits to use for other service is that they offer Try atlantic dot net to develop tests or launch your next projects.

  • Unlike many other big names, they have great, always available technical support and their support.

  • People actually work there, which is something that's really important for me, especially when I get stuck late at night coating on some problem and I want to get help straightaway.

  • They actually provide this, which is great.

  • So go to atlantic dot net slash cow and used to Cuban Code CAL with capital letters to get a $50 credit.

  • Okay, Third Project is to create a simple snake game, so this one's a classic.

  • There are tons of tutorials available on how to do this and how to improve it and add crazy features to it.

  • I recommend building your 1st 1 in Java script because it's just the simplest way to get one up and running.

  • And after doing that, I would also recommend giving it a go in another language, and building it with a graphical user interface or gooey, for instance, of Eli Java would be great for some like this.

  • For me personally, creating a gooey in Java has always made a lot more sense than something like Tiki intern Python.

  • It would require a lot less code to write it antique intern python, But for whatever reason, when I've used Tiki interim Python.

  • It's never really run that smoothly, and I've gotten a lot of issues that I've never really experienced with Java, so that might just be me.

  • But anyway, I think that this is a great project to learn the basics of creating a game and all the things that go along with that, like animations and game.

  • A logic.

  • I also recommend, following a tutorial to understand how to create the base game and then going off on your own and trying to add new features things like implementing logic so that when the snake bites its own tail, it bites off one part of the tail instead of the game being over.

  • You can go with this because there are lots of great challenges that you can add in that are fun to try moving on to the fourth project, creating a basic Web server.

  • If this doesn't excite you, then I guess you're pretty normal.

  • But I'm not, so it excites me.

  • And there are lots of reasons for why you'd want to be able to build a Web server and lots of uses.

  • You could have for one, but one of the main things for me is that if you're able to create an A P I with a daughter base and then you add that you're also able to create a Web server to go along with that, then you basically become the full package because that's all that goes into creating something like Google.

  • They basically have Web servers running with an A P I.

  • That allows you to access their daughter basis that's hosted on their Web servers.

  • Now this is one that may cost you a little bit of money to try out, because you will need a dedicated machine to build this.

  • But I suspect that a lot of people might have an old PC somewhere sitting around gathering dust, which honestly can be perfect for something like this.

  • Keep in mind that you don't have to build the most powerful Web serving the world, since you will most likely be the only use, sir, I don't believe that you need a whole lot to build something decent.

  • You can then use this Web server to store your files and essentially creating your own cloud storage.

  • And I know that a lot of people are feeling a little bit iffy about Google and Apple and whatever else having access to all your files.

  • So if you create your own Web server, then you can be the only one who has access.

  • So I definitely think that this is an interesting project to try out.

  • And I might actually make a video on this in the future at some point last project that I think every program I should try ISS creating a Chip h candy later.

  • All right, so this one is just fun to try out.

  • And I also think that it's quite different from the other projects that I've described in the sense that I think it's a little bit more difficult to actually create.

  • So what is an emulator?

  • And what is the difference between an emulator and a simulator?

  • The simplest description here is to take the classic poem game as an example.

  • Let's say that the original Pong game was written in the language see and assigned to run on System A, which only runs programs written in C.

  • I can still write a poem game in Java and run it on a different system that only runs Java code.

  • But that means that I'm simulating that game when I could also do is I could emulate the actual system A that pond runs on, which allows me toe run the original Pong game written in sea on a system that only runs Java code.

  • This means that we won't just be able to run a pawn, but we will be able to run any other game that was developed for system, eh?

  • So this is a really interesting thing to try out, and it opens up a whole new world of possibilities in terms of writing emulators for more modern machines like Xbox, PlayStation or whatever else you might want to dig your teeth into.

  • Ah, leave links in the description Thio Resource is that I think might be helpful for this and also for the other projects that I've described.

  • But that's it for this one.

  • I hope you enjoyed it.

  • And before you go, I just want to mention that I've created a separate channel called Live Coder where do some lifestream coding every now and then.

  • So if you want to, you can go subscribe to that channel for some pure longform coding sessions.

  • All right, that's it for this one.

  • I hope you enjoyed it, and I hope we'll see in the next one.

  • You guys should be coded from start.

  • I have a lot of respect for Philip, and I'm sure that his platform could do a lot of great things.

  • But just Web startups and phone starts so competitive right now that you have to assume that anything you're doing, there's a team of 2 to 4 dedicated hard core hackers working 24 7 something similar.

  • So if you have this iteration where you have to submit something out, something else to make a comeback, you know it wasn't quite right.

  • Stuff lost in translation.

  • You're gonna get like, one or two cycles per day at best.

  • Meanwhile, that other teams get 20 cycles a day.

So there seems to be a little bit of a trend here on YouTube for people to do magic in their videos.

字幕與單字

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

A2 初級

每個程序員都應該嘗試的5個項目 (5 Projects Every Programmer Should Try)

  • 10 1
    林宜悉 發佈於 2021 年 01 月 14 日
影片單字