[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...
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!
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!!
Thanks wowLinh! Technically used your code too!
511?
Yeeeess, a perfectly acceptable number!
Seirao mano , vai pra nasa, eu vejo os seus videos e fico tipo mano como chego neste nivel , vai toma no ** seirao
"they won't watch it"
Hmm, I did. All of it. Well done.
The matrix rain effect is actually made of sushi recipes.
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.
ooof, i dunno, it always seems fiddly XD I know my fingers stop typing when i start talking lol
I watched it! :-)
I really enjoyed watching that. I'm looking forward to your videos on embedded and emulator development! :)
Hi Steve, Cheers!
Fantastic tutorial, I love the fact that you explain the key parts, the algorithms so effectively well. Love it!
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.
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!!
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!
@@javidx9 sorry the discord server ?? can you give address or so ?
Very nice! I'm a bit disappointed I missed it live, but at least I can watch it back now.
There's a few deliberate mistakes in there!
Am very impressed by your programming style and your explanation makes things very clear keep it up
Thanks Phuti!
Also in the Matrix program, a few random drops would just suddenly speed up and then go back to its previous speed.
Almost time for 0x3FF special :D
Scary stuff! It would appear my retro racer got posted on a programming reddit.
This was very fun to watch and the effect really did come out great, thanks!
Thanks darkness, it was terribly scary to do something live, but I'm pleased with how it turned out :D
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 :)
Thanks Matan, It's quite scary too!
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
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.
I am watching this when you have 36K subscribers. You've come a long way! Keep the good work!
Yeah its been quite a ride, thanks Manu!
Now its 138k subs but he deserves more, honestly
The only downside is i cant respond to all the comments! Thanks Vicente!
@@javidx9 thank YOU for your work :D
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?
Ahh, that's the special YT temporal flux feature. Its being unrolled to certain channels... Thanks uFlock XD
"My goal was to get about 50 subscribers"
what a difference 4 years makes
Scary stuff!
You're great Javid. looking forward to you resuming your videos!
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 😄
@@javidx9 Good to hear! :)
Very clear and well explained code! Keep that going mate! :D
Thanks Skyhorn, I don't often get nervous but that was quite challenging!
wow Javidx9 you are an awesome game programmer. I can't believe you coded this live in under an hour. Crazy!!!
hey thanks man, I knew what I wanted to do in my mind first, so it wasnt too bad.
And now 5 years later you're somewhere between 0×3FFFF and 0x4FFFF!
Technically its 0x468E8
So much knownledge, you're great javidx9
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
More than 0x2FFFF now
Looking forward to 0x3FFFF special :D
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. 👌
lol, you should!
one thumb down: the guy thought this was another sequel to the matrix and that he could watch the full movie here.
Two more got trapped since this comment
Wow I can't believe you just referenced EEVBlog.
one of my favourite channels, along with BigClive
Damn, missed the live.
Gonna follow along with the video
cheers man:)
It's a bit all over the place. I'll put some source up tonight
printf with ansi escape sequence codes is the best
I'm blown away by how few lines of code are required for this
Thank you!
Beautiful !!!
Hi Robert, nice to see you trawling through the back catalog! I appreciate that!
43:53 Oh, you mean that thing they *stole* from Macintosh?
great JavidX9!
Thanks!
'printf' rules. ♥
43:25 they actually are Japanese characters! :)
Awesome vid!
What is the difference between string and wstring?
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.
so , are you the next neo , to make us believe that this is not a simulation ?
Yeah its Hungarian Notation
I'm not a fan of it, but there are more obnoxious notations, for sure!
How do we turn this program into a screen saver that we can select in screen saver settings? That would be great!!
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!
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. :)
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!
That's awesome! And what a quick response aswell! Good luck and please keep going!
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
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.
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.
Hey Adrian, hmmm first thoughts are that would require a single monitor with minimum resolution 1536x960. Are you running on a full 1080 monitor?
Hi javidx9 3 Monitors 2 @ 1920 x 1080 and 1 @ 1680 x 1050
Ok. Not that then. Which function are you calling that is failing? Is there a chance the x and y go out of bounds?
Might need to see some code for this one.
What does constructconsole return?
Bro, do you even Petzold?
;-)
Reverse Hungarian notation ... Charles Simonyi q.v.
now You have over 511 likes on this video. Congrats :)
29:30 Eccchhhh :-/
it came to my hed andrew tate
using namespace std; >:(
Oh No! This single file solution is in desperate need of redundant characters! Quick - spam std:: everywhere!
@@javidx9 The std:: army shall rise from the ashes.
All I see is blonde, brunette, redhead.
Your binary calculator thingy is unsigned! Booo! 2’s complement signed should be default
Can't even program the real matrix, smh.
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.
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! 🙂
library olcGameConsole.h crash in win10 codeblocks mingw C++.