I have few things to tell you about your OS:
- To be honest, it's not nice to look at this OS, i don't really like the GUI.
- To mask a password typing, use read like
read("*");
. - Please, USE
os.pullEvent()
because USING arrow keys is just insane; you have POSIBILITIES with mouse, for example:
term.setBackgroundColor(colors.black);
term.clear();
run = true;
while run do
local event, result, x, y = os.pullEvent();
paintutils.drawPixel(x, y, colors.blue);
end
Do you have asked NitroFingers for using her API (.menu) ?Please, use a free webhost for data hosting because using Pastebin… it's just like when you have the cancer (no i'm just joking xD. Seriously, use at a minimum FreeWebHosting, or use a old computer connected at internet using Apache on Linux, and open your ports onto the internet (see on internet for more information)You do not use a password encryption, where augmenting the chances of piracy of password.So, to make a OS:
- Learn what & why a API is useful
- Learn the documents
- Review your code before uploading into a server
- Use a password encryption (SHA1, SHA256…)
- Make a better GUI (create your own GUI is useful because you can control what is doing a single function)
Thanks for reading. Good luck and happy coding :-)
1) disliking an OS because of the way it looks is extremely narrow-minded. I hate the way bash (that's what my Arch installation booted into, until recently) looks like, but I still love Linux.
2) Why is Pastebin bad? If you want to store much code, use GitHub (or something else like this). Using homebrew systems, which might even run on home-hosted servers, is a really stupid idea because it would open your computer, or even your entire network, up for hackers unless you know what you are doing. Also there already are programs which can download entire GitHub repos so that would save you time too.
3) FFS. I hate it when people say that hashing is encryption! Encryption is working in two directions. You can encrypt, and decrypt. Hashing only goes one direction. There's no way (or it's at least too hard) to crack a hash.
4) Reviewing code, okay. If he uses a linter to ensure that there are no syntax mistakes, that would work with an OS. But once it becomes bigger than "just another graphical shell", there's no way for the dev to test every corner-case. It's the user's job.
5) os.pullEvent() allows you to pull (almost) any event. So it's OP's decision if they want to use the keyboard or the mouse. One won't exclude the other. They are still using .pullEvent().