Starting my Operating Systems (Python 3.10)
Vložit
- čas přidán 9. 09. 2024
- Hello, everyone. I'm starting up my operating systems. I did the Ruby startup earlier, and now I'm working on the Python operating system. It's a really simple method, base don the old Unix platform. I'm going to make something simple to begin with, which would be a login screen that asks for a name and a password. The login name and password are already built in. So I won't have to worry about any profile creation. I guess that's the next step.
he has more curiosity then most computer science students I see nowadays. Yes his understanding is not all there yet but holy shit he is just starting,
ikr
You are creating an operating system, in python, using notepad. What? This is fucking hilarious please keep going.
Thank you. I will.
lmfao this guy is a joke quite literally
@@ckpioosurely it’s a bit 😭😭
@@sambazeley5366 yea like no way he's actually using notepad, making a os in python and that os isn't even a os
@@ckpioohas he got a mental disabillity? or is it a bit? or is he genuinely just curious and a little overzealous? i mean im in support of it really either way 😭
HTML5 version?? LMAOOO
in notpad is crazy i dont have as much mental strength as you good luck sir!!
Grazie mille. Programming in Notepad is trippy...
@@Battleganz What about notepad++?
@@zdenekkoukol5496 I've never used it. It sounds nice, but It has a lot more features than I need right now. I have Visual Studio Code on my computer, but it's too much for just a simple script.
Again, this is no OS, it is an AUTH program
But cool
exactly, i basically created google by making a search function on my webpage
You could make the argument that every OS has an auth program as one of its components, therefore this would be both an OS AND an auth program. But that's as far as it goes. And I said in the title that I was just starting and that this was a prototype. So, you were WRONG!
@@Battleganz maybe I am missing something, but I don't think the title states that this is meant to be a prototype
@@Battleganz No it is not even a argument, because to bring up that point would be similar to saying that the following is untrue a is equal to b always, but b need not be equal to a
Good luck bro keep going, haters gonna say what they want.
Hell, I ain't doing nothing else. I was liking all their posts and everything. Got like 40 subscribers!
@GhOs7-Operator Thank you oh-so-very much.
WTF did i just watch ?
FR
Did I accidentally upload a porno or something? What's going on with these videos?
Yes bro oil up I'll be there in 5
It's just that we are watching python be written in notepad and being used to create an "os" which is just you logging into nothing. Good luck on your journey though, everyone starts somewhere sorry for being rude.
You've taken effort to make a video and put it up , it's nice to see you interest in programming.
Like the above comment mentioned one has to start somewhere , but it appears that you have a wrong notion of what an OS does if you go about building one and you start off with making a login screen .
As for notepad , well one should always use tools one is comfortable with , but there are several free much powerfull editors out there ,and I would definitely urge you to try out one of them .
Whatever it is you're building , have fun. Everyone starts of knowing next to little , what sets the pros apart is how fast they cover ground through reading, experimenting and exposure.
Have fun ❤
you don't need semicolon in python
that's why you put whitespaces and indentations
to distinguish lines
Nice John, really great start to your operating system! Happy to send over some really good books on OS development if you'd like. I think they use a different language than Python, however, you could still apply the concepts. Otherwise, keep going my man!
Thanks, but I think I have the basics. And those books are prolly so big they need a thousand dollars postage, each.
Hey John, just an fyi for version 2, passwords usually aren’t stored or compared in plain text. Usually they’re hashed. You might want to google hash functions in Python.
I pretty much already knew that the passwords aren't stored in the exact function. I was doing it for speed's sake.
@@Battleganzwhat he’s trying to say is security wise and code wise, it’s a bad practice. If a user wants to change a password, you’d need to edit the code. If a new user is to be added to your system, you’d have to change your code. Instead write code around the idea that you could have infinite number of users.
Passwords are typically saved to the hard drive “hashed” which means it was ran through a function that creates a unique, fixed length string that is used to verify the data. I’d read up and research on hashing. This would allow your code to be more secure because you wouldn’t be storing the password where somebody can just read it. As it stands, if I wanted to break into your auth system, I could read that Python file, dump the process memory and run strings, or run through some sort of debugger and see what the code does to check password validity.
@@denic6861 That is true.
new templeOS?
I don't even know what that is. Look at me...
😂
Just curious what you'll be working on after the login screen? And why not finish the prototype in one language before moving to the next?
Well, I wanted to spread it out a bit, because each way of doing it has a different way of working. I wanted to "stretch out my muscles" a bit.
@@Battleganz this can work but when you're starting out it's best to stick to one language to learn the ins and outs of programming then move across to different languages
@@pepsalt I did upload another python video, though.
You know visual studio code is free right..? I believe it comes with Windows sometimes too.
I have Visual Studio Code on my computer, though I rarely use it.
@@Battleganz Ah I see. Whatever works for you, they all achieve the same purpose just with different tools.
@@Battleganz but WHY notepad specifically, why not notepad++ or the main question WHY NOT USE A IDE OR A TERMINAL EDITOR LIKE A SANE PERSON
@@ckpioo It's EASIER for me to code n Notepad.
Depends how old his computer is.... visual studio runs a bit slow on mine.... I use geany for my coding purpose but notepad works.
Unless the people commenting have tried to create an OS themselves, just stfu already lmao. The dude is having fun discovering the world of computer science. This why nerds are the worst
for real
Well I'll certainly keep all this in mind for next time. Thanks.
i made one, so yeah, i can smartass yall
@@lowlevelcodingch and i can smartass about it to, doesn't mean I should. let a guy learn stuff on his own terms. we all made mistakes when learning
@@pepsalt yeyeye i commented i stopped with it, lol
Do u even understand what is an OS and a Kernel ..... OS with python is impossible because the bootup will require unmanaged code ... so ur python interpretur is of no use there.... U are working with bare metal this what you are showing is just an cli python app not an OS ..... Please understand the base CS concepts before making a video like this.
Forget about python u can't even write an Os in java, C# or any language than works on top of a VM. So sorry this is completely wrong. Languages that can be used are C, Cpp, Rust which are pre compiled and not compiled at runtime.
You can build an OS on any platform. It doesn't need a kernel and a shell, particularly if it's just a prototype/example.
@@Battleganz I'm really sorry you r completely wrong just read any operating systems book to understand what I'm saying... U can call it an application but it's not an OS... What r the functionality of an OS read it u will understand what I'm saying
You can prototype on anything. You can prototype on a piece of paper or a post-it note. You don't have to have the most perfect OS in history to be prototyping/starting out. You are wrong, and you're losing the argument. Thank you.
@@Battleganz You can definitely mess around with Python to prototype parts of an operating system like handling files or making a basic user interface.
But for the serious stuff like dealing with hardware or managing memory efficiently, you'll eventually need to switch to more low-level languages like C or assembly.
@@keyon_renner This is only a prototype. My first operating system will not be the most advanced operating system in history, and I never said that it would be. Thank you.
bro that is not an OS
I said that it was a prototype. You misunderstood me. The title said that I was just starting out. It was a prototype.
@@BattleganzI get it but people think that you are making an OS like that and it's really hard to make an OS with such a high level language as python.
@@Ale_Dev But...It's a prototype! The final product will NOT be in Python! It's a prototype! That's what a prototype MEANS. It means NOT FINISHED PRODUCT! People don't fucking LISTEN when you're talking to them!
@Battleganz, haha, sorry if it seemed like I was trying to make you mad. I was just a bit disappointed because I thought it would be cool if it was a real OS, you know? Like in Python. Didn't mean to ruffle any feathers, just sharing my thoughts! 😄"
@@Ale_Dev I ain't doing shit else...