[LIVE] 0x1FF Subscriber Special! Programming The Matrix

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024
  • I'm really pleased that the channel has grown beyond my expectations, so I thought I'd celebrate with a silly (and scary) Live Stream! I'm going to Program The Matrix, at the command prompt of course ;-)
    github.com/One...
    Blog: www.onelonecode...

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

  • @javidx9
    @javidx9  7 ปีที่แล้ว +42

    Well it was bit chaotic, but lots of fun! Thanks to all those who watched and joined in - I'm extremely grateful and proud of the fantastic, positive and eager little community that has grown around this channel. Keep on coding!

    • @wowLinh
      @wowLinh 7 ปีที่แล้ว +2

      Couldn't join live. I was busy. But I am watching it now. I think the channel should grow to become much bigger. you are doing a great job. Gratz!!

    • @javidx9
      @javidx9  7 ปีที่แล้ว +2

      Thanks wowLinh! Technically used your code too!

    • @iProgramInCpp
      @iProgramInCpp 6 ปีที่แล้ว +2

      511?

    • @javidx9
      @javidx9  6 ปีที่แล้ว +3

      Yeeeess, a perfectly acceptable number!

    • @codedevelopment784
      @codedevelopment784 3 ปีที่แล้ว

      Seirao mano , vai pra nasa, eu vejo os seus videos e fico tipo mano como chego neste nivel , vai toma no ** seirao

  • @code-dredd
    @code-dredd 5 ปีที่แล้ว +23

    "they won't watch it"
    Hmm, I did. All of it. Well done.

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

    The matrix rain effect is actually made of sushi recipes.

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

    Came for a blast from the past and the comment about being able to talk and code at the same time killed me. Never even thought about it, insane skills. Must be natural now.

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

      ooof, i dunno, it always seems fiddly XD I know my fingers stop typing when i start talking lol

  • @RogerBarraud
    @RogerBarraud 3 ปีที่แล้ว +4

    I watched it! :-)

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

    I really enjoyed watching that. I'm looking forward to your videos on embedded and emulator development! :)

    • @javidx9
      @javidx9  7 ปีที่แล้ว +2

      Hi Steve, Cheers!

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

    Fantastic tutorial, I love the fact that you explain the key parts, the algorithms so effectively well. Love it!

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

    The major thing missing is that many of the characters will randomly change to different characters. The characters are actually backwards versions on katakana characters + numbers + some symbols like * & " : , so you would probably want to have a custom character set for the full authentic experience. Oh, and sometimes there are random characters that are not 'streamers' and the brightness of characters that are not at the head of a streamer are random (though I like the idea of slower streamers being generally darker to give depth).
    Anyway, thank you for helping me get back into coding after a long time of giving up. This stuff reminds me of why I enjoyed it in the first place and your ability to communicate what you are doing is fantastic.

  • @anxonpues6018
    @anxonpues6018 2 ปีที่แล้ว +1

    I enjoy so much your explanation. You really teach! not like those who spent 1 hour to tel about exist integers longs floats and doubles .... I have already 68 so your knowledge arrives for me a little bit late, but you must have huge students because from you they would receive real knowledge. Your English is so English that at times it's a bit hard to follow but I repeat the necessary times to get the "KEY" of your speach. I'am used to follow youtubers that speak english but are from Bosnia for instance ... they have this international flawor of easy english (put in lowercase with the pourpose to recognize yours as TRUE English)
    I would like to sahre with you a pair of programs which play a guess number game eachnone playing one part ... tell me how can I send them to you of course don't have your level..... Finally CONGRATULATIONS and you are a excelent teacher!!

    • @javidx9
      @javidx9  2 ปีที่แล้ว

      Thanks Anxon! If you want to share things with the community, log into the discord server, we have a dedicated "gallery" for showing off projects!

    • @anxonpues6018
      @anxonpues6018 2 ปีที่แล้ว

      @@javidx9 sorry the discord server ?? can you give address or so ?

  • @MrJackojc90
    @MrJackojc90 7 ปีที่แล้ว +3

    Very nice! I'm a bit disappointed I missed it live, but at least I can watch it back now.

    • @javidx9
      @javidx9  7 ปีที่แล้ว +1

      There's a few deliberate mistakes in there!

  • @phutimatle9181
    @phutimatle9181 7 ปีที่แล้ว +2

    Am very impressed by your programming style and your explanation makes things very clear keep it up

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Thanks Phuti!

  • @vancemccarthy2554
    @vancemccarthy2554 4 ปีที่แล้ว +2

    Also in the Matrix program, a few random drops would just suddenly speed up and then go back to its previous speed.

  • @BrekMartin
    @BrekMartin 7 ปีที่แล้ว +15

    Almost time for 0x3FF special :D

    • @javidx9
      @javidx9  7 ปีที่แล้ว +3

      Scary stuff! It would appear my retro racer got posted on a programming reddit.

  • @darknessflame101
    @darknessflame101 6 ปีที่แล้ว +2

    This was very fun to watch and the effect really did come out great, thanks!

    • @javidx9
      @javidx9  6 ปีที่แล้ว

      Thanks darkness, it was terribly scary to do something live, but I'm pleased with how it turned out :D

  • @matansegal9936
    @matansegal9936 7 ปีที่แล้ว +1

    Javid thank you for all of your top notch videos
    It's really nice seeing the recent influx of new subscribers coming to your channel at such a short time :)

    • @javidx9
      @javidx9  7 ปีที่แล้ว +1

      Thanks Matan, It's quite scary too!

  • @1st_ProCactus
    @1st_ProCactus 6 ปีที่แล้ว +2

    Dude im still watching your videos, Your thumbs ratio is most awesome.
    I also have made a matrix effect that runs on a LED matrix using an arduino. It was totally cool to see how you went about it, Mine is totally different to get the same features, minus the character variations. I had to use high frame rate and colour to simulate that effect.
    The 2^9-1 was cool, Ill have to go search for the 2 others, since you have 4.6K subs right now, I guess ill the next one will be less than 3 months away :D Ill be ready for my first youtube live watch by then and I look forward to it.
    cheers again

    • @javidx9
      @javidx9  6 ปีที่แล้ว +1

      Hey ProCactus! Thanks for the support! I want to show some embedded systems stuff this year so its good to know there may be an audience for it. As for the live specials I skipped a few because it grew quicker than I thought and they need some prep. I do stream more frequently on twitch and am active on the discord so you should drop by and say Hi! Theres a few arduino tinkerers on there too.

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

    I am watching this when you have 36K subscribers. You've come a long way! Keep the good work!

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

      Yeah its been quite a ride, thanks Manu!

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

      Now its 138k subs but he deserves more, honestly

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

      The only downside is i cant respond to all the comments! Thanks Vicente!

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

      @@javidx9 thank YOU for your work :D

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

    I have a question for you. Why is it that every time I open one of your videos the timeElapsed between the start of the video and finish feels like 1 second? No matter if it's 2 minutes or 1.5+ hours?

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

      Ahh, that's the special YT temporal flux feature. Its being unrolled to certain channels... Thanks uFlock XD

  • @BudgiePanic
    @BudgiePanic 3 ปีที่แล้ว +1

    "My goal was to get about 50 subscribers"
    what a difference 4 years makes

    • @javidx9
      @javidx9  3 ปีที่แล้ว

      Scary stuff!

  • @Acceptable76
    @Acceptable76 3 ปีที่แล้ว

    You're great Javid. looking forward to you resuming your videos!

    • @javidx9
      @javidx9  3 ปีที่แล้ว +1

      Hey thanks! Should be much longer, I expect now it'll be at the start of the new year. Frankly I'm itching to get back into it, just need x10's permission 😄

    • @Acceptable76
      @Acceptable76 3 ปีที่แล้ว

      @@javidx9 Good to hear! :)

  • @skyhorn9070
    @skyhorn9070 7 ปีที่แล้ว +6

    Very clear and well explained code! Keep that going mate! :D

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Thanks Skyhorn, I don't often get nervous but that was quite challenging!

  • @BeginningProgrammer
    @BeginningProgrammer 6 ปีที่แล้ว +4

    wow Javidx9 you are an awesome game programmer. I can't believe you coded this live in under an hour. Crazy!!!

    • @javidx9
      @javidx9  6 ปีที่แล้ว

      hey thanks man, I knew what I wanted to do in my mind first, so it wasnt too bad.

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

    And now 5 years later you're somewhere between 0×3FFFF and 0x4FFFF!
    Technically its 0x468E8

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

    So much knownledge, you're great javidx9

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

    Watching in 2020, I thought I had forgotten how to read hex or something because it seemed such a low number considering you’re almost at 150k now. Fast development

  • @gabrielmmgomide
    @gabrielmmgomide 4 ปีที่แล้ว +2

    More than 0x2FFFF now

  • @michal_havlicek
    @michal_havlicek 3 ปีที่แล้ว

    Looking forward to 0x3FFFF special :D

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

    Awesome stuff, I quit on programming c# together with school years ago, always wanted to learn/do c+. Your clips really make me want to pick up on this in the future. 👌

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

      lol, you should!

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

    one thumb down: the guy thought this was another sequel to the matrix and that he could watch the full movie here.

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

      Two more got trapped since this comment

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

    Wow I can't believe you just referenced EEVBlog.

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

      one of my favourite channels, along with BigClive

  • @kepeb1
    @kepeb1 7 ปีที่แล้ว +1

    Damn, missed the live.
    Gonna follow along with the video
    cheers man:)

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      It's a bit all over the place. I'll put some source up tonight

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

    printf with ansi escape sequence codes is the best

  • @phraggers
    @phraggers 6 ปีที่แล้ว +2

    I'm blown away by how few lines of code are required for this

  • @eldarsadykov
    @eldarsadykov ปีที่แล้ว

    Thank you!

  • @robertboran6234
    @robertboran6234 7 ปีที่แล้ว +1

    Beautiful !!!

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Hi Robert, nice to see you trawling through the back catalog! I appreciate that!

  • @RogerBarraud
    @RogerBarraud 3 ปีที่แล้ว

    43:53 Oh, you mean that thing they *stole* from Macintosh?

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

    great JavidX9!

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

      Thanks!

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

    'printf' rules. ♥

  • @καλαμ
    @καλαμ 3 ปีที่แล้ว

    43:25 they actually are Japanese characters! :)

  • @ethanhinman5755
    @ethanhinman5755 3 ปีที่แล้ว

    Awesome vid!

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

    What is the difference between string and wstring?

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

      Hi Victor, one supports unicode encoded characters and the other doesnt. Wstring and wchar permit more characters, allowing for additional languages and typographies to be represented.

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

    so , are you the next neo , to make us believe that this is not a simulation ?

  • @nagyzsoltvm
    @nagyzsoltvm 6 ปีที่แล้ว +2

    Yeah its Hungarian Notation

    • @TroyNiemeier
      @TroyNiemeier 3 ปีที่แล้ว

      I'm not a fan of it, but there are more obnoxious notations, for sure!

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

    How do we turn this program into a screen saver that we can select in screen saver settings? That would be great!!

  • @the1Skyseer
    @the1Skyseer 7 ปีที่แล้ว

    Could this (or any of the olcConsoleGameEngine.h code) be compiled under linux? That would be so amazing, to make a nice sort of intro for shell logins!

    • @the1Skyseer
      @the1Skyseer 7 ปีที่แล้ว

      Ps. I have seen the windows.h include in the source, so the proper question would be if it could be ported to compile, I guess. :)

    • @javidx9
      @javidx9  7 ปีที่แล้ว +1

      Hi Da E, yes sadly right now it is not linux compatible, though myself and a few others are working on something so the nixers can play along too!

    • @the1Skyseer
      @the1Skyseer 7 ปีที่แล้ว +1

      That's awesome! And what a quick response aswell! Good luck and please keep going!

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

    so at 12:03 , why do you have to put 's->sText' but at 13:25 , you can put 's.sText'? I mainly code in java so the arrow and pointers in general make no since to me

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

      i believe at 12:03 it is because the method is passing in a pointer called "s" to an object of type sStreamer and therefore to use the method of the object it is pointing to, you use ->
      there are several reasons why youd pass in a pointer to an object. for instance, s being a pointer allows you to directly manipulate the object instead of having s be a copy of the object within the method. i believe this is called pass by reference.
      i think the confusion stems from that he made the method's parameter name the same as the object name.
      i think. i might be wrong.

  • @AdrianDev90
    @AdrianDev90 7 ปีที่แล้ว +1

    Hi javidx9. Its smee again...trouble :P I kept getting an exception at this line of your code m_bufScreen[y * m_nScreenWidth + x].Char.UnicodeChar = c; If I create this line game.ConstructConsole(128, 80, 12, 12); But if i reduce character width and height to under 10, it works. Properties are set to unicode etc.

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Hey Adrian, hmmm first thoughts are that would require a single monitor with minimum resolution 1536x960. Are you running on a full 1080 monitor?

    • @AdrianDev90
      @AdrianDev90 7 ปีที่แล้ว

      Hi javidx9 3 Monitors 2 @ 1920 x 1080 and 1 @ 1680 x 1050

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Ok. Not that then. Which function are you calling that is failing? Is there a chance the x and y go out of bounds?

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      Might need to see some code for this one.

    • @javidx9
      @javidx9  7 ปีที่แล้ว

      What does constructconsole return?

  • @RogerBarraud
    @RogerBarraud 3 ปีที่แล้ว

    Bro, do you even Petzold?
    ;-)

  • @RogerBarraud
    @RogerBarraud 3 ปีที่แล้ว

    Reverse Hungarian notation ... Charles Simonyi q.v.

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

    now You have over 511 likes on this video. Congrats :)

  • @RogerBarraud
    @RogerBarraud 3 ปีที่แล้ว

    29:30 Eccchhhh :-/

  • @isaczelda3066
    @isaczelda3066 ปีที่แล้ว

    it came to my hed andrew tate

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

    using namespace std; >:(

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

      Oh No! This single file solution is in desperate need of redundant characters! Quick - spam std:: everywhere!

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

      @@javidx9 The std:: army shall rise from the ashes.

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

    All I see is blonde, brunette, redhead.

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

    Your binary calculator thingy is unsigned! Booo! 2’s complement signed should be default

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

    Can't even program the real matrix, smh.

  • @jaull3147
    @jaull3147 ปีที่แล้ว

    From the olcConsoleGameEngine.h I get a bunch of errors with the top ones being:
    identifier "_wfopen_s" is undefined
    ...
    'memset' is not a member of 'std'
    Do you know how to fix this? Thanks
    EDIT: Those errors I got were when I tried it on Visual Studio Code.
    Then I tried it on Visual Studio and got the error:
    ERROR: Screen Height / Font Height Too Big
    The operation completed successfully.
    But when I changed the numbers in game.ConstructConsole(128, 80, 12, 12)
    in Visual Studio (not Visual Studio Code) I got it to work.

    • @javidx9
      @javidx9  ปีที่แล้ว

      In VSCode you need to supply additional info to compiler, such as enabling unicode. The "too big" errors imply that your desktop resolution isn't large enough to create the size of console you've requested. Glad you got it running, but upgrade to PGE! 🙂

  • @jaimegvr1
    @jaimegvr1 2 ปีที่แล้ว

    library olcGameConsole.h crash in win10 codeblocks mingw C++.