JavaScript Tutorial 12 Doomsday Algorithm

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 96

  • @derekbanas
    @derekbanas  5 ปีที่แล้ว +2

    Subscribe to Me : bit.ly/2FWQZTx [ Click the Notification Bell to Never Miss a Video ]
    JavaScript Tutorial Playlist : th-cam.com/play/PLGLfVvz_LVvTP2Op3wZlaGTUcgCfDuwn.html
    Learn in One Videos for Every Programming Language
    C++ : th-cam.com/video/Rub-JsjMhWY/w-d-xo.html
    Python : th-cam.com/video/N4mEzFDjqtA/w-d-xo.html
    Java : th-cam.com/video/n-xAqcBCws4/w-d-xo.html
    PHP : th-cam.com/video/7TF00hJI78Y/w-d-xo.html
    MySQL : th-cam.com/video/yPu6qV5byu4/w-d-xo.html
    JavaScript : th-cam.com/video/fju9ii8YsGs/w-d-xo.html
    C# : th-cam.com/video/lisiwUZJXqQ/w-d-xo.html
    HTML5 : th-cam.com/video/kDyJN7qQETA/w-d-xo.html
    CSS3 : th-cam.com/video/CUxH_rWSI1k/w-d-xo.html
    JQuery : th-cam.com/video/BWXggB-T1jQ/w-d-xo.html
    TypeScript : th-cam.com/video/-PR_XqW9JJU/w-d-xo.html
    ECMAScript : th-cam.com/video/Jakoi0G8lBg/w-d-xo.html
    Swift : th-cam.com/video/dKaojOZ-az8/w-d-xo.html
    R : th-cam.com/video/s3FozVfd7q4/w-d-xo.html
    Haskell : th-cam.com/video/02_H3LjqMr8/w-d-xo.html
    Handlebars : th-cam.com/video/4HuAnM6b2d8/w-d-xo.html
    Bootstrap : th-cam.com/video/gqOEoUR5RHg/w-d-xo.html
    Rust : th-cam.com/video/U1EFgCNLDB8/w-d-xo.html
    Matlab : th-cam.com/video/NSSTkkKRabI/w-d-xo.html
    Arduino : th-cam.com/video/QO_Jlz1qpDw/w-d-xo.html
    Crystal : th-cam.com/video/DxFP-Wjqtsc/w-d-xo.html
    Emacs : th-cam.com/video/Iagbv974GlQ/w-d-xo.html
    Clojure : th-cam.com/video/ciGyHkDuPAE/w-d-xo.html
    Shell : th-cam.com/video/hwrnmQumtPw/w-d-xo.html
    Perl : th-cam.com/video/WEghIXs8F6c/w-d-xo.html
    Perl6 : th-cam.com/video/l0zPwhgWTgM/w-d-xo.html
    Elixir : th-cam.com/video/pBNOavRoNL0/w-d-xo.html
    D : th-cam.com/video/rwZFTnf9bDU/w-d-xo.html
    Fortran : th-cam.com/video/__2UgFNYgf8/w-d-xo.html
    LaTeX : th-cam.com/video/VhmkLrOjLsw/w-d-xo.html
    F# : th-cam.com/video/c7eNDJN758U/w-d-xo.html
    Kotlin : th-cam.com/video/H_oGi8uuDpA/w-d-xo.html
    Erlang : th-cam.com/video/IEhwc2q1zG4/w-d-xo.html
    Groovy : th-cam.com/video/B98jc8hdu9g/w-d-xo.html
    Scala : th-cam.com/video/DzFt0YkZo8M/w-d-xo.html
    Lua : th-cam.com/video/iMacxZQMPXs/w-d-xo.html
    Ruby : th-cam.com/video/Dji9ALCgfpM/w-d-xo.html
    Go : th-cam.com/video/CF9S4QZuV30/w-d-xo.html
    Objective C : th-cam.com/video/5esQqZIJ83g/w-d-xo.html
    Prolog : th-cam.com/video/SykxWpFwMGs/w-d-xo.html
    LISP : th-cam.com/video/ymSq4wHrqyU/w-d-xo.html
    Express : th-cam.com/video/xDCKcNBFsuI/w-d-xo.html
    Jade : th-cam.com/video/l5AXcXAP4r8/w-d-xo.html
    Sass : th-cam.com/video/wz3kElLbEHE/w-d-xo.html

  • @alexskr1493
    @alexskr1493 5 ปีที่แล้ว +24

    Yes! Finally showed your face! 🤘🏻

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +6

      It was fun to be a little goofy in this video. The TH-cam people told me to show myself. Actually this whole video was basically crafted following TH-cams recommendations.

  • @viditkhandelwal9917
    @viditkhandelwal9917 5 ปีที่แล้ว +6

    I had myself implemented this algorithm in c++ some time ago but without the GUI, had fun.
    Love your videos
    Keep going and thanks!

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thank you :) Yes I thought it was a fun discovery that was worth sharing

  • @patrickg2416
    @patrickg2416 4 ปีที่แล้ว

    You rock Derek! I love that you include random videos of your own personal interests on the channel as well, it keeps things... human :) I saw you had a couple videos on running and if you ever get the chance come on out to Oregon and hit the trails and pavement here. Olympic Trials for track and field are held in Eugene, Oregon at the legendary Hayward Stadium, random, but a specific event to plan for that draws a worldwide audience. There are so many beautiful places to run here and a large community around it (september and early october are the best for the Willamette Valley area, July and August are the best for Central Oregon where you can get a little altitude and some beautiful scenery of the Cascade Mountains, and I have no idea about Eastern Oregon because it's a massive state and 8/9 hours worth of driving from the valley where I'm at. Portland is a traffic nightmare but if you really want to 'get weird', well, it's really not that weird but go for it lol). Thank you so much for everything and I hope you're doing well man! Cheers! ~ Patrick

    • @derekbanas
      @derekbanas  4 ปีที่แล้ว

      Thank you for the awesome message Patrick. It is very rare that I get comments that treat me like a real person :) Yes I have a slight addiction to running which sucks right now because I just dropped a washer on my foot and broke 3 toes. I'm walking though and plan on seeing what I can do with duct tape (David Goggins Style if you know who he is). I'd love to travel. Actually running while traveling is my favorite thing to do. I definitely need to spend more time in the Western US. Beautiful country!

    • @patrickg2416
      @patrickg2416 4 ปีที่แล้ว

      @@derekbanas "Stay HARD" lol Goggins is the MAN I wish I had even a fraction of his mind over matter capabilities that man is a machine! It seems like he uses running as a way to 'run from' the weight he had in the past which brings to mind how interesting running can be in that people do it for different reasons. Some of my favorite videos on TH-cam are the short documentaries made by Billy Yang where he covers Ultra Marathons like the Hard Rock 100 in Colorado or the Western States 100. Watching them always inspires me to get back out there and hit the trails. And who HASN'T dropped a washer on their foot while moving it!? I'm 6'3", that's like a tall person never smashing their head on a cabinet corner haha but I'm sorry that happened ~ you'll be back in no time! Those short documentaries will get you through though, for a young filmmaker they're well done and I've rewatched them several times over!

  • @exodus8814
    @exodus8814 5 ปีที่แล้ว

    Thank you very much Derek :) It's nice to see you're doing a live introduction, that's the closest thing ever to a live coding video. Loving the new thumbnails too! :)

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Yes I have a TH-cam guy that tells me what to do now. I'm happy everyone is enjoying the new format. I'm planning on making the tutorials and thumbnails more fun

  • @unclefreddy2009
    @unclefreddy2009 5 ปีที่แล้ว +3

    Great Peloton hat! You are the reason I am 300 rides in! Great content

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Thanks :) I'm right there with you. I had to change my user id. I'll check if they fixed their follower issue and if so I'll post on Strava again

  • @geektechnique8233
    @geektechnique8233 5 ปีที่แล้ว +2

    Love the fresh upload. This is really cool! Got any estimation how long until we'll see spring boot from you? I desperately need it.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +2

      Thank you :) Sorry for the wait. I'm working on it

    • @ledzeppeman
      @ledzeppeman 5 ปีที่แล้ว +1

      @@derekbanas I'd give my left nut for a good spring boot tutorial.

    • @treppydizzle5092
      @treppydizzle5092 5 ปีที่แล้ว

      @@ledzeppeman I will also offer a testicle for a spring boot / framework tutorial series.

    • @geektechnique8233
      @geektechnique8233 5 ปีที่แล้ว

      @@derekbanas Seems like there's a lot riding on this now.

  • @varungarg2796
    @varungarg2796 5 ปีที่แล้ว +5

    Hey Derek!
    Would love some tutorials on Angular! Please please please!

  • @charljrhode2
    @charljrhode2 5 ปีที่แล้ว +4

    Always wondered what you look like . Great video thanks

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +4

      Not much to look at, but I do have a goofy face made for TH-cam I guess :)

  • @urosuros100
    @urosuros100 5 ปีที่แล้ว

    Stupid question, could use an answer: Why did you use var instead of let or const? Is there a reason to use var in ECMA6 ?

  • @freeairdrop9375
    @freeairdrop9375 5 ปีที่แล้ว +1

    great work derek

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Thank you very much :)

  • @risat3354
    @risat3354 5 ปีที่แล้ว

    Off topic question Derek. Do you catch common cold? I get at least once a year. Even though I stay careful, I cannot avoid it. Any tips you give would be helpful.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +2

      I have not had a cold of any type for almost 2 years. I just made a video about my diet and exercise routine. My diet is 90% fruit and vegetables and I exercise every day. Since I started doing this I feel better then I have ever felt my whole life and I'm in my mid 40s. I just ran a 1/2 marathon this morning for fun and when I was young I was a terrible overweight athlete. I never excelled in athletics and was overweight up until 10 years ago.

    • @nathaniel1069
      @nathaniel1069 5 ปีที่แล้ว

      Derek Banas incredible

  • @improvingasaman6912
    @improvingasaman6912 5 ปีที่แล้ว +2

    Like your content. Great video 🙌

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thank you very much :)

  • @unchart_d
    @unchart_d 5 ปีที่แล้ว

    Thank you for the website brother all content are there and i already found one of the best projects🙏🙏🙏

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      That's awesome! I held off on getting a sponsor until I found one that was great.

  • @2271masoud
    @2271masoud 5 ปีที่แล้ว

    brilliant! thanks for the tutorial Derek

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Thank you :) Happy you liked it

  • @champfisk5613
    @champfisk5613 5 ปีที่แล้ว

    Nice clear video, thx for this sir!

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thank you :) I'm happy you liked it

  • @iulicush86
    @iulicush86 4 ปีที่แล้ว +1

    Where's the 3 coming from? You only calculated 6 2 0

  • @eddie_writes96
    @eddie_writes96 5 ปีที่แล้ว

    First time seeing bro's face, love the content man!!!

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Thank you very much :)

  • @mikopiko
    @mikopiko 5 ปีที่แล้ว

    Do you have any plans on making a tutorial about OCAML?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Yes it is coming very very soon. Sorry for the wait

  • @techworld3043
    @techworld3043 4 ปีที่แล้ว

    you are best in the world

    • @derekbanas
      @derekbanas  4 ปีที่แล้ว

      You are very kind :) Thank you

  • @parasarora5869
    @parasarora5869 5 ปีที่แล้ว

    woww...awesome video....loved it !!! thank uuuu 😇

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Thank you very much :) It was fun to make

  • @techworld3043
    @techworld3043 4 ปีที่แล้ว

    wow amazing

  • @JNET_Reloaded
    @JNET_Reloaded 5 ปีที่แล้ว

    Can you help me Im trying to use the w3school template mail and make t dynamic and work with my private messaging system but only 1 resault displays as the template was made to work with js and css but no php or mysql i have if half working only where i can click 1 and it displays but not more than 1 and im stuck? a tut on this would be amazing.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Can you provide a link to what your struggling with?

    • @JNET_Reloaded
      @JNET_Reloaded 5 ปีที่แล้ว

      @@derekbanas yeah sure its w3schools.com/w3css/tryw3css_templates_mail.htm ps i can share what iv managed to do so far if that helps you out il put online aswell.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      I'll check it out and see what I can do

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thanks I'll see if I can make a mail client

    • @JNET_Reloaded
      @JNET_Reloaded 5 ปีที่แล้ว

      @@derekbanas Thanks dude ur the best :D i belive its todo with the js not being dynamic as you will see thats what I got stuck with, the mail in the mysql is based from adam khorys old tuts from years ago hes friend made the mail (private inbox) thing as an addon to that, I have made my own that works but would like this templaite version as it looks cool like hotmail or google or yahoo style which i find cool but hard to duplicate. (im not good as js and barely good at php and css to be honest). thanks for having a look.

  • @lyricsmint567
    @lyricsmint567 5 ปีที่แล้ว

    Great video derek.
    Please cover electron js for making cross platform Gui applications, in this series..

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thank you :) I plan on covering electron soon

    • @lyricsmint567
      @lyricsmint567 5 ปีที่แล้ว

      This would be awesome..❣️ the legend can i have a heart on my comment.?

  • @PatrickAllenNL
    @PatrickAllenNL 5 ปีที่แล้ว

    Hey Derek! Haven't been here awhile. I see you show your face now 👍🏼

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Nice to see you :) Yes I did that for a bit just to be different

  • @sepgorut2492
    @sepgorut2492 5 ปีที่แล้ว +1

    2:35 Where did the 3 come from?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      If the date is in the 1900s you use 3 and if in 2000s use 2. I explain it later in the video. Sorry for not explaining it up front

    • @boomdoom8671
      @boomdoom8671 5 ปีที่แล้ว

      Thanks

  • @YM-kn1qz
    @YM-kn1qz 5 ปีที่แล้ว

    Could you make a tutorial about windows device driver development (Kernel mode)

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      I'll see what I can do

  • @bikramchettri9405
    @bikramchettri9405 5 ปีที่แล้ว

    Thanks can you please do a video on touch events using javascript?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      I'll see what I can do

    • @bikramchettri9405
      @bikramchettri9405 5 ปีที่แล้ว

      @@derekbanas Thanks for the reply actually i wanted to build a carousel.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      A carousel that responds to touch events? I plan on making JavaScript mobile apps soon

    • @bikramchettri9405
      @bikramchettri9405 5 ปีที่แล้ว

      @@derekbanas Will look out for that tutorial

  • @PatrickAllenNL
    @PatrickAllenNL 5 ปีที่แล้ว

    Dereks Sponsor channel
    th-cam.com/channels/1cOIo0icmgyk0KaYXKgDZQ.html

  • @gabrielsb15
    @gabrielsb15 5 ปีที่แล้ว

    whats the anchor day that is equal to 3?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      If 1900 it is 3 and if 2000s 2

  • @artastica8522
    @artastica8522 5 ปีที่แล้ว

    Hey your a very good programer, I'm a good artist... Would you make a 2d game with me ?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      I would love to but between work and TH-cam I don't have any time :(

  • @brainlicker1
    @brainlicker1 5 ปีที่แล้ว +1

    Anyone have a petition going to change Derek's last name to Bananas?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +3

      Everyone that knows me off the internet already calls me Bananas. The nickname fits my personality well

  • @alexskr1493
    @alexskr1493 5 ปีที่แล้ว

    Should I learn html css and Java script at the same time or should I learn it separately?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      Do whatever is fun for you. I personally prefer to learn something completely before moving on, but you do you

    • @alexskr1493
      @alexskr1493 5 ปีที่แล้ว

      Derek Banas thank you sir

  • @vivek3861
    @vivek3861 5 ปีที่แล้ว

    Got a job! all of it is because of you....

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      That's awesome! Congratulations! I wish you all the best :)

    • @vivek3861
      @vivek3861 5 ปีที่แล้ว

      @@derekbanas Thanks! 😊

  • @yeonakim858
    @yeonakim858 5 ปีที่แล้ว +5

    Oh holy hello! There is actually a face! We are so not worthy master.

  • @ablanchi
    @ablanchi 5 ปีที่แล้ว +1

    Might just be easier to count backwards.

  • @ypn.official
    @ypn.official 5 ปีที่แล้ว

    "So forth and so on..."

  • @hailahong3021
    @hailahong3021 5 ปีที่แล้ว

    Your face is completely different from what I imagined.

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      That's what everyone says

  • @goldencum1611
    @goldencum1611 5 ปีที่แล้ว

    why are you using subBot though?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว

      I'm definitely not. I have been making videos for almost 10 years and I still don't have a million

    • @goldencum1611
      @goldencum1611 5 ปีที่แล้ว

      @@derekbanas th-cam.com/users/Brackeys 818k subs

  • @spooky_zen
    @spooky_zen 5 ปีที่แล้ว

    JS flows like butter. I can barley form expressions as is with out trying to figure out some seemingly ambiguous method names and syntax

  • @AbhishekBM
    @AbhishekBM 5 ปีที่แล้ว +1

    At first I thought the playback speed was 1.5x

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      I do my best to not waste time :)

  • @pravatyadav3623
    @pravatyadav3623 4 ปีที่แล้ว

    Javascript made it possible...ur Frontend

  • @hamzaaz33m
    @hamzaaz33m 5 ปีที่แล้ว

    First?

    • @derekbanas
      @derekbanas  5 ปีที่แล้ว +1

      Thank you for joining the Notification Squad!!!