How to Make Notepad on Windows 2000 (C Programming Speedrun) - Millennium Computing - rogerclark

  Рет қаралды 17,554

Roger Clark Online

Roger Clark Online

4 жыл бұрын

"speedrun" (???) where we build a simple Notepad clone on Windows 2000 using C and Visual Studio 6.
Topics discussed:
- Classic operating systems and UIs
- Native programming vs. high level programming
- Flaws of modern personal computing
- Pixel art and fonts
- Jolt cola
Part 2: • Part 2 - How To Make N...
Source code: github.com/rogerclark/typer
#MillenniumComputing
edited from a Twitch stream on 8/20/2019. apologies for audio artifacts. next time i'll avoid licensed music ^_^
from my Twitch channel: / rogerclark
follow me on Twitter: / rogerclark

Пікірлер: 92
@awesomekling
@awesomekling 4 жыл бұрын
This is very enjoyable content! Could make a great regular series :)
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
thanks dude, means a lot coming from you!
@giothed00d
@giothed00d 4 жыл бұрын
*009 sound system-dreamscape intensifies*
@math0084
@math0084 3 жыл бұрын
Lol
@NatgeYT
@NatgeYT Жыл бұрын
My boyfriend watches you in 2x speed
@iamstillanon3048
@iamstillanon3048 4 жыл бұрын
From Andreas Kling
@pebre79
@pebre79 4 жыл бұрын
Found this gem of a channel and so far really liking the content. Keep it up
@Diginegi
@Diginegi 6 күн бұрын
That was a really cool stream. I’ve done some win32 programming ages ago when I was just starting off and haven’t touched any Windows programming since. I’ve written the code along with you on Windows XP and it was really fun coming back to that.
@xxxtencioncord6074
@xxxtencioncord6074 4 жыл бұрын
This content is fantastic. Pure nostalgia...i came for the content, subbed for the Jolt
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
lol thank you! i'll be back with more stuff like this!
@TimMorgan
@TimMorgan 4 жыл бұрын
I really appreciate seeing the actual process and the mistakes. I would love to see more content like this!
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
that's the plan! check back soon for the continuation!
@VirtualCrickets
@VirtualCrickets 4 жыл бұрын
Thank you so much! I would love to see more videos like this, and I am super glad that you chose C over C++, because it makes things so much more accessible!
@LordFers
@LordFers 4 жыл бұрын
I loves coding on VS 6.0, great video man! Keep it up!
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
LordFers thanks! got another video series coming up soon!
@10e999
@10e999 4 жыл бұрын
system programming is always my favorite to watch. Thanks for the video.
@skreutzer
@skreutzer 4 жыл бұрын
2:10:15 To their credit, with Windows 10 Notepad became able to handle GNU/Linux linebreaks AFTER 30+ years!!!11
@tristacho5472
@tristacho5472 4 жыл бұрын
Late to the party but hope we get more content like this. Love the music and windows 2000 aesthetic ^^
@w花b
@w花b 2 ай бұрын
If you're late, what am I then?
@valcron-1000
@valcron-1000 4 жыл бұрын
What a beast! Thanks for sharing such high quality content!
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
thanks, it was a lot of fun! probably gonna do another one soon
@sonulohani
@sonulohani 4 жыл бұрын
Got your video link in reddit/r/programming and loved it. Upload more this type of content.
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
will do!!
@seebaastian
@seebaastian 4 жыл бұрын
as far I remember, NT stands for New Technology. It was developed from scratch to get rid off the DOS roots windows used to have. In fact, the first commercial hit for the masses that used the NT kernel was windows XP. Nice video ;)
@rogerclarkonline
@rogerclarkonline 2 жыл бұрын
NT standing for "New Technology" is apocryphal. People also say that "WNT" is derived from incrementing each letter in "VMS", which was Dave Cutler's previous kernel project. Cutler never confirmed what the name meant.
@sassymenses
@sassymenses Жыл бұрын
Originally, Windows NT was developed on and for NTen machines (i860XR), and its name "NT" meant exactly NTen.
@n0xx295
@n0xx295 8 ай бұрын
@@rogerclarkonline Nor can he ever, because DEC sued MS over allegations that Windows NT was essentially a continuation of the work Cutler had previously done while developing DEC's own successor to VMS, dubbed project Mica, a mater that was settled outside the court. And if Dave Cutler ever said anything of the sort, it would be an admission of guilt that could very well result in a new lawsuit. IMO, this is one of those times when the silence is pretty damning, as it is fitting that Linux vs Windows is basically just a continuation of the Unix vs VMS wars of the 1970s.
@astemet
@astemet 4 ай бұрын
before it was a virus nest... it was a great idea
@LouigiVerona
@LouigiVerona Ай бұрын
My god, this desktop looks so much like what my computer in 2002 looked like. Win2000 was my first Windows operating system. And OpenMPT was definitely on my desktop!!!
@fjeuber
@fjeuber 3 жыл бұрын
I should be sleeping right now, but this is just too good!
@MattieCooper10000
@MattieCooper10000 4 жыл бұрын
Love this! Thanks!
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
i'll keep going! thank you!
@Graded33
@Graded33 4 жыл бұрын
The sound effects from this OS are S tier
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
Mark Grady bro you should hear the startup sound
@Bluebed
@Bluebed 5 ай бұрын
Very cool project
@ShaggyUltraLounge
@ShaggyUltraLounge 8 ай бұрын
VC 6 is still my favorite today, and I still use it (with VisualAssist) if I don't need to build a 64 bit executable. It has that well thought out look and feel, and it feels... I guess the word is "robust".
@darak2
@darak2 2 жыл бұрын
Windows NT 4 was the pinnacle of Windows UI design. Everything has been downhill since then, either by introducing new, bad UI design (like the ribbon) or by importing bad UI design imported from other platforms (web, mobile).
@segfaultd
@segfaultd 4 жыл бұрын
Loved the video! Brings back so many memories! That soundtrack is awesome too, can you share the track titles? Thanks!
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
added the track list to the video description!
@segfaultd
@segfaultd 4 жыл бұрын
@@rogerclarkonline Thanks a Lot! ❤️
@vargveum9235
@vargveum9235 2 жыл бұрын
Thanks a lot!!!
@ngzod3477
@ngzod3477 4 жыл бұрын
good stuff :)
@dimoextremo
@dimoextremo 4 жыл бұрын
badass
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
just tryin to expand the brand....
@sobreinquisidor
@sobreinquisidor 2 жыл бұрын
I think the ones that really push the hardware to its limits are the game engine developers. Look at the current games on Xbox series X. It's just amazing
@rodrigo-bento-tv
@rodrigo-bento-tv Жыл бұрын
Winamp! It really whips the llama's a%#!!
@astemet
@astemet 4 ай бұрын
was absolutly wörth watching
@skreutzer
@skreutzer 4 жыл бұрын
To whomever might be interested in developing text editors, have a look at texteditors.org - other than that, one important aspect of course is building text input GUI controls.
@jjws600
@jjws600 2 жыл бұрын
Not only is Reaper fast, it is also; very stable, and only $60 and you get a few version number updates for that price, then again only $60, compared to something like Pro Tools, which would cost hundreds per year to have.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
The "visual" in the "visual studio" line of products, was because they allowed you to build applications using drag and drop and a graphical user interface. Something that delphi, visual basic, etc made a lot of use of and it was super trendy back in the 90's
@rogerclarkonline
@rogerclarkonline 9 ай бұрын
This is true. The dialog resource editor is certainly visual, but it isn't a huge part of building real-world applications on Windows, and it also isn't a very good experience in any version of VC. Most of the time, you're just looking at code like any other editor.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
@@rogerclarkonline for sure, but back in the 90's, visually dragging and dropping your gui elements around and entering values into dialogs was all the rage, all the cool kids were doing it then reality came a'knocking, and everybody had their pants pulled down about it and it was all exposed as a useless marketing gimmick nobody gave two shits about. But managers loved it :D
@eversonmay
@eversonmay 2 жыл бұрын
noice!
@mikoposter
@mikoposter 2 ай бұрын
1:46:47 wht would conversion to ASCII be requiered? i thought asciii and unicode were backwards compatible
@skreutzer
@skreutzer 4 жыл бұрын
1:22:27 You never know... with one huge block instead of appending multiple ones, maybe the editor control needs to refresh less (if rendering and updates of the internal buffer isn't suspended/blocked anyway)? Or doing it in one huge chunk may translate to a simple memcpy() or even just a pointer change? Not totally serious here, but without knowing what actually happens behind the scenes, it's mostly assumptions and decisions about performance vs. memory vs. readability vs. convenience etc. Edit control may be able to stream directly from files into its internal buffer (or execute edits directly via file cursor, ignoring the expected slowness of the HDD), at the expense of a file I/O dependency.
@retro_coder
@retro_coder 4 жыл бұрын
That's how it should be done nowadays
@skreutzer
@skreutzer 4 жыл бұрын
1:48:50 One problem with programming text-oriented applications and the way plain text + encoding is handled by operating systems, what can you do other than reading the full file in advance and do heuristical guesses what encoding it might be in, instead of just storing this information semantically in the metadata? Sure, plain text doesn't have a metadata header section or something to safe such indication, it's just ASCII/ANSI-CP/Unicode/whatever raw on disk, but why not have a separate byte stream as supported with various methods, or a general wrapper/container for all file nodes that handle file types better than heuristical guessing based on content or file name extensions? The world would be a much better place IMHO.
@sgt-Badger
@sgt-Badger 2 жыл бұрын
Jolt Cola
@SimGunther
@SimGunther 2 жыл бұрын
7:00 Difference between immersive and simplified is the difference between the UX of Dead Space/Persona5 and a game for toddlers. With the former, there's a respect for the kinds of options presented to the player and you can just change what's relevant to the context at that time while the latter doesn't give you really any choice but to do what it tells you to much like a central authority in any society run by a corpo/govt co-op.
@Hyperian
@Hyperian 4 жыл бұрын
business wants shiny and pretty things full of features that no one uses because it sells more than the bare minimum of what user actually needs.
@madpew
@madpew 2 жыл бұрын
The difference in load time is obviously also because of way less features in VC6, but it gets even worse when you open a real project. And it gets worse every VS iteration.
@Andrew_1991
@Andrew_1991 4 жыл бұрын
windows 2000 :)
@windestruct
@windestruct 4 жыл бұрын
Really good OS. Like XP, but diffrent.
@skreutzer
@skreutzer 4 жыл бұрын
1:06:05 It's not so much that developers/engineers are flat out lying, but what might seem to be a small change for the designer might have huge implications and costs in implementation, leading to either a crappy hack that doesn't work properly (amounting "technical debt" that needs to be paid back eventually) or can easily require significant restructuring. So of course developers can do basically everything (as long as it isn't an unsolved problem of computer science), but if they're doing a good job, they're reporting back to the designer what options there are and which approaches come with which properties/expenses short- and long-term, and usually they already have a preference (sometimes influenced by lazyness or their interest to play with new tech), given the constraints they have to deal with, especially in an enterprise/business setting. Just with the UI element example: surely you can draw it yourself, and add dispatching of interaction events, and then make it all efficient, given that the developer already knows and has experience with this type of basic control development and that libraries are already available/integrated for the target OS, but it might take a while. The developer/engineer has the duty to save the designer from decisions that are technically too expensive to be in his/her interest. Compare to the ton of work described from 1:17:30.
@JosephPaschal369
@JosephPaschal369 4 жыл бұрын
how did you setup your virtualization to be so sharp?
@rogerclarkonline
@rogerclarkonline 4 жыл бұрын
i used VirtualBox fullscreen on a secondary monitor that I set to 1280x720. then i captured the display. hope that helps!
@JosephPaschal369
@JosephPaschal369 4 жыл бұрын
@@rogerclarkonline Thx. when first setting up the vm my native resolution was 16bit 480 and scaling was blurry. Go to Devices > guest additions and like magic you get 32bit 720. Nice OS to work in, plus I have a collection of vintage software to play with...glad to find your vid on reddit cheers
@AEF23C20
@AEF23C20 2 ай бұрын
совершенно согласен с автором видео примерно с 2010-ого айтишечка пошла куда то не туда причём, нынешнее гавнищще полностью бесполезно, потому что тотально тормозит глючит падает забаговано, и я не понимаю зачем и кому нужно это гавнищще
@dihor9575
@dihor9575 3 жыл бұрын
it's a nice video but the introduction to 2k was a bit too exaggerated, i mean the vs c++ was fast just because it was designed for the technology at the time,if you would have been using it on real hardware would have been slower
@rogerclarkonline
@rogerclarkonline 3 жыл бұрын
That's true, but that's exactly the problem. VC6 is still pretty usable today. Why isn't software made today just as fast (or faster), when that's perfectly possible?
@Argoon1981
@Argoon1981 2 жыл бұрын
I have no doubt that if he was running this on a old AMD or Intel 800MHz CPU, that IDE would still take way less time to start than modern Visual Studio.
@winnie8614
@winnie8614 4 сағат бұрын
That's sad that it is not called Buttpad 😞
@Warpgatez
@Warpgatez 2 жыл бұрын
Muted shortly after the start until 24:31
@SimGunther
@SimGunther 2 жыл бұрын
21:21 until 24:31 like you said
@SimGunther
@SimGunther 2 жыл бұрын
Yet again from 1:54:23 until 1:58:48 for the "Google analytics" joke
@rogerclarkonline
@rogerclarkonline 2 жыл бұрын
Sorry about that. Nothing I can do about it, unfortunately. It seems like it got muted long after it had been uploaded.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
Windows NT has a meaning, "N"ew "T"echnology, kids today... :)
@rogerclarkonline
@rogerclarkonline 9 ай бұрын
That's apocryphal. There's no consensus on the origin of the name.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
@@rogerclarkonline it's not though, an explanation about why it stands for "New Technology" is an association found in the windows source code that was leaked all those years ago.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
For those who are unaware, Windows NT originally was OS/2 NT in collaboration with IBM. But they split and went their own way. OS/2 NT stands for New Technology. That's why it's clear Windows NT has the same meaning. I guess you can say it's all a big coincidence. I guess similar to why some fathers called Scott name their son Scott Junior
@rogerclarkonline
@rogerclarkonline 9 ай бұрын
My point is that there is no official definition for NT that has been outwardly expressed by the company. There are many possible explanations, including yours, and including the VMS -> WNT explanation.
@chrisalexthomas
@chrisalexthomas 9 ай бұрын
​@@rogerclarkonline I think the VMS->WNT explanation is ridiculous as saying pick a number less than 5 and being surprised we picked the same number, or like saying you survived a car crash because you picked up a bible in a hotel room this morning. It's completely random and makes no sense at all.
@uzimonkey
@uzimonkey 3 жыл бұрын
All those hardcoded wide strings... this thing will never run on Windows 98 and that's a shame. :P
@sobreinquisidor
@sobreinquisidor 2 жыл бұрын
Holy $hit this is tedious asf
@igornowicki29
@igornowicki29 4 жыл бұрын
Nice video, but I would be really glad if you could compress it to ~20-30 minutes. I doubt many people will watch whole 3 hours, especially the parts with coding.
@ricsip
@ricsip 6 ай бұрын
"NT doesnt actually mean anything"... whoop, lost your whole credibility right at the 1min28sec mark... in a ~3hr video, thats a great achievement I have to say
@rogerclarkonline
@rogerclarkonline 6 ай бұрын
Thank you :)
@ricsip
@ricsip 5 ай бұрын
​@@rogerclarkonlineFor your benefit: NT means New Technology. Theres an entire book how and why this name was given to it, and why it was the most important achievement in microsoft's entire history. Showstopper! The Breakneck Race to Create Windows NT and the Next Generation at Microsoft
@ahafeel
@ahafeel 2 ай бұрын
Yes.. I've used window 2000 both the professional and server versions... An excellent os.. I regarded it much better than XP..
Windows 2000 | A Forgotten Marvel
20:42
NationSquid
Рет қаралды 165 М.
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 329 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,7 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 4,2 МЛН
2 Years Of Learning C | Prime Reacts
22:24
ThePrimeTime
Рет қаралды 252 М.
Object-Oriented Programming is Bad
44:35
Brian Will
Рет қаралды 2,3 МЛН
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 634 М.
Hans tries to TROLL Hikaru, Gets Absolutely DESTROYED
12:31
TightKnights
Рет қаралды 21 М.
Advice for Writing Small Programs in C
1:45:24
Sean Barrett
Рет қаралды 139 М.
Acer Ferrari: The $2,000 Windows XP Laptop from 2005
12:26
LGR
Рет қаралды 1,9 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Windows 2000 - Is it any good today?
16:31
Budget-Builds Official
Рет қаралды 720 М.
the entire history of apple, i guess
16:54
Simplified Things
Рет қаралды 251 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 57 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 496 М.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 1,7 МЛН
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 55 М.
Мой инст: denkiselef. Как забрать телефон через экран.
0:54