Idea Exchange
#681
Posted 23 February 2017 - 05:51 PM
#683
Posted 23 February 2017 - 09:11 PM
CodeWeaver, on 23 February 2017 - 04:10 AM, said:
store you colours in a table, even better, load this table from a file so that the user just has to change the file
local theme = {} theme.labelTextColour = colours.red theme.labelBackgroundColour = colours.black theme.progressBarColour = colours.green -- etc.. local function writeLable(text) term.setTextColour(theme.labelTextColour); term.setBackgroundColour(theme.labelBackgroundColour); term.write(tostring(text)) end
#684
Posted 17 March 2017 - 04:36 PM
EDIT: Also, can anyone suggest a way to read the names of variables as a string?
Edited by JerryWester, 17 March 2017 - 04:38 PM.
#685
Posted 19 March 2017 - 12:42 PM
Hello,
I dont know what i wil make. Do someone needs something?
I can make it for you! Reply it:
Example:
Program / OS name
What it need to can do
Features
Programs from others that wil be installed with the program / OS
Inbuild programs / utilities
The program wil be with a license be released!
#686
Posted 19 March 2017 - 03:50 PM
#687
Posted 19 March 2017 - 04:47 PM
#688
Posted 19 March 2017 - 06:39 PM
ObloxCC, on 19 March 2017 - 03:50 PM, said:
Coroutine is very simple. I wil make one, but it wil take some time.
If you do, can you post your own manager. So i can see what you exactly want to have in the manager.
Then i can make it.
KingofGamesYami, on 19 March 2017 - 04:47 PM, said:
I think that that is too hard, i can try it
Edited by DubbelSoftware, 19 March 2017 - 06:43 PM.
#689
Posted 20 March 2017 - 12:51 AM
DubbelSoftware, on 19 March 2017 - 06:39 PM, said:
It's not *that* hard, if you want take a look at the `eball` script from my project Riko4, it's basically 8ball pool, just I haven't added pockets yet. You can find it here
It produces something like this:
#690
Posted 30 March 2017 - 09:40 PM
Incinirate, on 20 March 2017 - 12:51 AM, said:
DubbelSoftware, on 19 March 2017 - 06:39 PM, said:
It's not *that* hard, if you want take a look at the `eball` script from my project Riko4, it's basically 8ball pool, just I haven't added pockets yet. You can find it here
It produces something like this:
When it's done you should make it work over rednet.
#691
Posted 26 July 2017 - 05:18 AM
Multi-layer OS.
Granted, the one shown below is only two layers, but basically what happens is the OS has 2 (or more) coroutines running - one which runs background processes like timers (like the clock), more important key pressses (like ones that handle "Home", "Back", "Task Manager" etc.), change variables in the background as needed (even things as simple as changing UI colours). This layer will be the BASE. The next layer up can be the OS layer. This is what you see and what you can do. It handles all on-screen UI interaction and handles all the functions that you would expect from a UI.
You click on "Control Panel" you expect the Control Panel to open, where you can change user details, UI colours, system options etc.
You click on "Create a window" and you can create a second window that has DJShell running in it.
It just works, and works better than the one coroutine trying to handle everything at once. Most real OS' use the same technique, you just don't notice it as an end-user because it's not meant to be noticed - it's just meant to work.
Plus, you can have a more constant feel with the OS, accessing windows, taskbar or a specific key from ANYWHERE in the OS, not just where the OS is listening. Because of the BASE layer, the OS will ALWAYS be listening to certain commands, as long as it is running.
"Home", "Back", "Forward" and "Task Manager" can be described as something like Android's Home, Back and Running Processes buttons. These (being on CC) are bound to specific keys, which can be accessed from anywhere in the OS.
Pretty nifty idea, though I've never seen an OS that utilises this layer system enough.
#692
Posted 17 August 2017 - 09:49 AM
#693
Posted 18 August 2017 - 04:58 PM
You have a
Server which can be connected to. Be pushed files to and fetched files from.
A user friendly client that can do those functions.
Be handy. And very cool if you can for example put it on a space station with any rocketry mod. Space secure clouds!
#694
Posted 24 August 2017 - 12:44 AM
I was so excited to share what I've done but I can't because it's a surprise and if I did say what it was then there would be others who would try and maybe even finish before me and I'd be crying because I wouldn't finish it because there's tonnes better ones out there..
Just know, it's pretty amazing and I haven't seen it in the list of ideas here (probably because we're all nerds and don't think about it..much).
Ma project is up! Still WIP but it's working decently!
Edited by Dave-ee Jones, 25 August 2017 - 01:14 AM.
#695
Posted 16 September 2017 - 03:04 PM
Dave-ee Jones, on 26 July 2017 - 05:18 AM, said:
Multi-layer OS.
-snap-
This is actually something I'm working on right now. It uses multithreading and e.g. has a timer_task which is responsible for keeping up with the time(Using real time, which requires polling a server, so just getting the time every half second like what you do with os.time() is not really an option here) and is repsonible for handling timers of the multiple running apps(e.g. a background game will pause).
#696
Posted 18 September 2017 - 01:29 AM
#697
Posted 18 September 2017 - 06:15 AM
KingofGamesYami, on 18 September 2017 - 01:29 AM, said:
Do you mean auto-completions for arguments or auto-completions for arguments that are programs? E.g.
edit <program> OR myprogram <true/false> OR myprogram <program>
With programs CC needs to check a directory for programs that can take programs as arguments, therefore allowing you to auto-complete.
With arguments it's a bit harder, but you can still do the same thing. Check a directory for a program config, inside the program config is all the arguments that can be taken and where they can be taken. E.g:
myprogram <expects true / false> <expects "test" / "dev">So it would auto-complete for true / false as the first argument, but the second argument would only try and auto-complete for "test" or "dev".
This is possible with a custom 'bios.lua' through resource packs..
Edited by Dave-ee Jones, 18 September 2017 - 06:16 AM.
#698
Posted 18 September 2017 - 11:45 AM
#699
Posted 18 September 2017 - 07:30 PM
#700
Posted 04 October 2017 - 07:08 PM
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users