This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
maxderopnl's profile picture

MyOS alpha 0.0001

Started by maxderopnl, 26 September 2014 - 05:48 PM
maxderopnl #1
Posted 26 September 2014 - 07:48 PM
MyOS, a new os in very early stages!

myos is an very very early stage os for your advanced computer!

how to install:

run this on your advanced computer:

pastebin get CUR2UGcX myos


and then run:

myos

and then it starts up, at standard the password is "password", you can change this in the settings(accesible from the menu!)

Credits:
idea and first code: maxderopnl
way better rewrite and help: Freack100
:)/>
Edited on 27 September 2014 - 11:37 AM
MKlegoman357 #2
Posted 26 September 2014 - 08:07 PM
So… features?
KingofGamesYami #3
Posted 26 September 2014 - 08:32 PM
So… features?
There are 57 lines of code. I guess he could classify it as "non-memory intensive."
H4X0RZ #4
Posted 26 September 2014 - 08:41 PM
MyOS, a new os system in early stages!

myos is an very very early stage os for your advanced computer!

how to install:

run this on your advanced computer:

pastebin get c4SYeZva myos

and then run:

myos

and then it starts up, at standard the password is "password", you can change this in the settings(accesible from the menu!)
:)/>

Don't understand me wrong but this isn't near to an OS.
It is, to describe it (in my words) a program which is infinitly running itself and sometimes it runs even a new instance of the shell from where you "force" the user to type in "myos" (very creative name btw) to get "back" to the OS, but actually they start a new instance of your code, from where you would either run the shell or your own program. Another downside of this recursive calling is, that you have to enter the password EVERY time.

#EDIT:
I don't want to look like a big ass but:
1. settings is just editing the code it is running right now, and then it reruns the code.
2. look at this "fancy" title of the thread… you wrote "os system" which whould mean it is an "Operation System System" which looks a bit odd, doesn't it?
Edited on 26 September 2014 - 06:44 PM
Cranium #5
Posted 26 September 2014 - 09:37 PM
While I understand most people on the forums who've been here a while have a certain expectation of code quality, I'd expect more tolerance from you. I'd like to point out that everybody starts out somewhere. If you have some helpful criticism, feel free to provide it. We're here to help each other improve and grow as coders. Let's keep it that way.
H4X0RZ #6
Posted 27 September 2014 - 01:24 PM
While I understand most people on the forums who've been here a while have a certain expectation of code quality, I'd expect more tolerance from you. I'd like to point out that everybody starts out somewhere. If you have some helpful criticism, feel free to provide it. We're here to help each other improve and grow as coders. Let's keep it that way.
True.

-snip-

I don't know if it helps, but I recoded your "OS" and, as long as the user does what the monitor tells him, it should become recursive: http://pastebin.com/CUR2UGcX

Tell me if you want some comments in the code if you don't understand something
maxderopnl #7
Posted 27 September 2014 - 01:34 PM
While I understand most people on the forums who've been here a while have a certain expectation of code quality, I'd expect more tolerance from you. I'd like to point out that everybody starts out somewhere. If you have some helpful criticism, feel free to provide it. We're here to help each other improve and grow as coders. Let's keep it that way.
True.

-snip-

I don't know if it helps, but I recoded your "OS" and, as long as the user does what the monitor tells him, it should become recursive: http://pastebin.com/CUR2UGcX

Tell me if you want some comments in the code if you don't understand something


Thankyou for the rewriting, if i can i would like to use your code (ofcourse with your name in the credits) because its a way better organized code, this is my first program and im not that skilled as you can see. also if you'd like to help me, i would be happy!
Hastumer #8
Posted 26 October 2014 - 09:28 PM
This i like! I've seen here very much "OS? No.". Im also working at my own OS and I'm so far away from a nearly closed alpha-Alpha! =D Everyone, who is making/made an OS knows, you have to start! For example: I'm sitting on the LogIn-Screen now for two weeks! And I've got not very much. So cool OS and i will code some for you! (The Paint and more maybe =D)
biggest yikes #9
Posted 24 November 2014 - 07:22 PM
this is my first program

If you mean your first program in general, you actually did a pretty good job at that!
You should try adding an installation process, so they can choose their own password instead of having to edit the settings file.

EDIT: We all have to start somewhere, and this is an excellent start.
Edited on 24 November 2014 - 06:23 PM
Xenthera #10
Posted 24 November 2014 - 07:58 PM
This reminds me of the "OS Graveyard" post someone wrote the other day. While it is very true that someone has to start somewhere, an "OS" (term used loosely) is not exactly the best place TO start.

My advice is to start small. Really learn programming techniques which could apply to any language and not just lua. Lua is a great start to learn procedural concepts. Then once you're comfortable and not completely lost anymore, try python as well. Once you've got a good grasp, start learning some Object Oriented Programming (OOP) concepts. Python is a nice, simple place for that as well. Once you're comfortable with that, give java a try. (It's scary at first with the evil looking curly brackets, and then they start throwing words at you like, "abstract" or "static") But don't worry everything falls into place eventually and seemingly like magic, things you only dreamed about doing are now starting to become a reality as you think "Wait, I know how to do that!". Then you come back to computercraft and lua seems like something you would learn in elementary (or primary). Because of that, you now have the resources and knowledge to focus on the programs you want to make, rather than worrying about the language itself.

No one said programming is easy, and if you want to do it right (as with most things in existence) you can't expect to suddenly know everything and make the next Call of duty. (although lets be honest, they haven't written new code in probably 7 years) ~ just joking.
DannySMc #11
Posted 04 December 2014 - 04:09 PM
MyOS, a new os in very early stages!

myos is an very very early stage os for your advanced computer!

how to install:

run this on your advanced computer:

pastebin get CUR2UGcX myos


and then run:

myos

and then it starts up, at standard the password is "password", you can change this in the settings(accesible from the menu!)

Credits:
idea and first code: maxderopnl
way better rewrite and help: Freack100
:)/>

Few things to do:

Make an OS with many features! This could be anything, but make it valuable to in-game minecraft, so making a program that has a simple menu and that's all won't suffice.
Add features that can help users like:
+ A word document (like OEED's Ink)
+ A calculator
+ Settings to change colours
+ Games? keep the user entertained, make it useful!!

Also when building an OS, code and think of the following:
(IF NEEDED) a login, maybe a nice logo for 2 seconds when you start the OS, then that 2 seconds all your boot code should be done- this could be opening a setting file and loading colours etc.
Have a look at making interactive menus, even try animating them, a lot harder but working on an OS takes time!!

Nice try, but no cookie buddy!
_removed #12
Posted 18 December 2014 - 08:54 PM
For a coder of your skill, Its a good OS. But as Danny said, you should add other things into it. I'm making my own OS and I can give you some ideas and code a lot more for you. About 200 lines and 7 programs. smiggerOS has round about 7500 lines of code spread around different applications including the main, luaide, calculator, ink and some of Danny's applications too.
Edited on 20 December 2014 - 11:44 AM