OneOS Version 2 - The All in One Operating...
oeed 19 May 2014
awsmazinggenius, on 18 May 2014 - 11:52 PM, said:
tw = term.write tw "this" tw "that" tw "another thing" tw "more stuff" tw "hhhhiiii"As you can see, it is shorter than to write term.write each time
Well I prefer to keep my code easily readable. All my API and function names are full words, but as with minification I don't really want to sacrifice this.
For example:
Drawing.DrawBlankArea(1, 1, Drawing.Screen.Width, 3, colours.lightGrey) Drawing.DrawBlankArea(1, 4, Drawing.Screen.Width, Drawing.Screen.Height-3, colours.white)
GravityScore 19 May 2014
Note this is not an actual solution
skwerlman 19 May 2014
GravityScore, on 19 May 2014 - 04:00 AM, said:
Note this is not an actual solution
Not an actual solution? I think it'll work great!**
* Assuming that lightning was slower than a dead snail at absolute zero.
** Great in this context means 'very poorly'.
On a more serious note, what if you tried just regex-searching through your files, looking for "\n[ ]*" and replacing it with "\n"? (Without quotes, and the square brackets contain one space and one tab)
That'll remove indentation without affecting anything else. It won't save a ton of space, but it also won't affect readability too much.
Edited by skwerlman, 19 May 2014 - 07:50 AM.
apemanzilla 19 May 2014
skwerlman, on 19 May 2014 - 07:43 AM, said:
GravityScore, on 19 May 2014 - 04:00 AM, said:
Note this is not an actual solution
Not an actual solution? I think it'll work great!**
* Assuming that lightning was slower than a dead snail at absolute zero.
** Great in this context means 'very poorly'.
On a more serious note, what if you tried just regex-searching through your files, looking for "\n[ ]*" and replacing it with "\n"? (Without quotes, and the square brackets contain one space and one tab)
That'll remove indentation without affecting anything else. It won't save a ton of space, but it also won't affect readability too much.
Removing comments and extra newlines can help a lot too.
awsmazinggenius 19 May 2014
Lua.is.the.best 22 May 2014
IsaacTBeast, on 12 March 2014 - 11:45 AM, said:
oeed 22 May 2014
Lua.is.the.best, on 22 May 2014 - 01:54 AM, said:
IsaacTBeast, on 12 March 2014 - 11:45 AM, said:
If you are basing something off OneOS I'd appreciate if you forked the repo rather than just reupload everything. Also a link would be good
Please also note that as per the license I do not permit distribution of derivative works without permission (you're welcome to put them on GitHub, but you'll need to ask before releasing on the forums.)
Please make sure you read the license in the main post.
Edited by oeed, 22 May 2014 - 03:05 AM.
Blue 22 May 2014
Lua.is.the.best, on 22 May 2014 - 01:54 AM, said:
IsaacTBeast, on 12 March 2014 - 11:45 AM, said:
oeed 22 May 2014
Glass Systems, on 22 May 2014 - 05:13 AM, said:
Well, NDF-OS clones were based of a YouTube tutorial. If someone wants to essentially rewrite OneOS be my guess, I'll see you 4 months time
Just to reiterate, if you do want to make a derivative OS it's probably best to check with me first. If the forums becomes flooded with them I'm going to say no, it'll just make OneOS worthless.
apemanzilla 22 May 2014
oeed, on 22 May 2014 - 05:50 AM, said:
Glass Systems, on 22 May 2014 - 05:13 AM, said:
Well, NDF-OS clones were based of a YouTube tutorial. If someone wants to essentially rewrite OneOS be my guess, I'll see you 4 months time
Just to reiterate, if you do want to make a derivative OS it's probably best to check with me first. If the forums becomes flooded with them I'm going to say no, it'll just make OneOS worthless.
The5heep 22 May 2014
oeed, on 10 May 2014 - 01:25 AM, said:
awsmazinggenius, on 10 May 2014 - 12:17 AM, said:
skwerlman, on 10 May 2014 - 12:54 AM, said:
oeed, on 09 May 2014 - 11:33 PM, said:
Here's some links to pictures of it:
How is it messy? I think it would go along nicely with your 'one' and 'simple' theme. Also, could we compromise at least and put icons for the file types next to the files? Or next to the file names? Then I would be pleased. And you could still do the sidebar from unity, just have it reserved for opened programs (pretty much have an option to make the homebar on the side)... i would also like to see themes integrated, so you can download them to your computer from the appstore(kinda like an api, then i can write a unity thems *grins*)
apemanzilla, on 22 May 2014 - 04:11 PM, said:
oeed, on 22 May 2014 - 05:50 AM, said:
Glass Systems, on 22 May 2014 - 05:13 AM, said:
Well, NDF-OS clones were based of a YouTube tutorial. If someone wants to essentially rewrite OneOS be my guess, I'll see you 4 months time />
Just to reiterate, if you do want to make a derivative OS it's probably best to check with me first. If the forums becomes flooded with them I'm going to say no, it'll just make OneOS worthless.
>/>
and i believe you meant LINUX MWAHAHAHAHAHAHAHAHAHAHA!!!!!!!!!
Also, oeed, if you want i can try to write an api for the themes... i could probebly do it, then i can send it to you and if you approve, it could be added
Edited by Lyqyd, 22 May 2014 - 09:11 PM.
oeed 22 May 2014
The5heep, on 22 May 2014 - 07:02 PM, said:
oeed, on 10 May 2014 - 01:25 AM, said:
How is it messy? I think it would go along nicely with your 'one' and 'simple' theme. Also, could we compromise at least and put icons for the file types next to the files? Or next to the file names? Then I would be pleased. And you could still do the sidebar from unity, just have it reserved for opened programs (pretty much have an option to make the homebar on the side)... i would also like to see themes integrated, so you can download them to your computer from the appstore(kinda like an api, then i can write a unity thems *grins*)
Also, oeed, if you want i can try to write an api for the themes... i could probebly do it, then i can send it to you and if you approve, it could be added
I don't know, I just find it messy. I've implemented a similar search feature for which you can find screenshots above.
I'm not really sure what themes would change.
You can already change your desktop background.
The menu bar colour is set by other programs in most cases, what's there to change?
skwerlman 23 May 2014
EDIT: Found a OneOS bug: If you try to rename a folder using Files' Rename... menu option, Files crashes, saying: 'startup:702: Can't move a directory inside itself.'
This seems to happen with all folders. I'm honestly surprised no one's found it, since it's a pretty serious bug. This is in OneOS 1.1.1.
Also, the license is still opening in LuaIDE...
Edited by skwerlman, 23 May 2014 - 07:15 AM.
The5heep 23 May 2014
oeed, on 22 May 2014 - 09:38 PM, said:
You can already change your desktop background.
The menu bar colour is set by other programs in most cases, what's there to change?
Themes could change the position of the bar, and multiple different defaults(Default background(s), default menu bar colour for programs that don’t have it set), also change the icon looks, position of (X) button on the bar(and to disable it entirely), search bar colours and position of stuff(And ability to put icons next to files), and how the bar can be interacted with). I'm sure people would love to have it
if you add themes like that, then you wouldn't have to worry about the look because then it would change drasticly for every user LIKE EVERY GOOD LINUX DISTRO!
Edited by The5heep, 23 May 2014 - 08:37 AM.
oeed 23 May 2014
skwerlman, on 23 May 2014 - 05:43 AM, said:
EDIT: Found a OneOS bug: If you try to rename a folder using Files' Rename... menu option, Files crashes, saying: 'startup:702: Can't move a directory inside itself.'
This seems to happen with all folders. I'm honestly surprised no one's found it, since it's a pretty serious bug. This is in OneOS 1.1.1.
Also, the license is still opening in LuaIDE...
I believe I've fixed the folder rename issue, but I'll double check.
I also believe the license should open in Ink as of 1.2 now.
The5heep, on 23 May 2014 - 08:31 AM, said:
oeed, on 22 May 2014 - 09:38 PM, said:
You can already change your desktop background.
The menu bar colour is set by other programs in most cases, what's there to change?
Themes could change the position of the bar, and multiple different defaults(Default background(s), default menu bar colour for programs that don’t have it set), also change the icon looks, position of (X) button on the bar(and to disable it entirely), search bar colours and position of stuff(And ability to put icons next to files), and how the bar can be interacted with). I'm sure people would love to have it
if you add themes like that, then you wouldn't have to worry about the look because then it would change drasticly for every user LIKE EVERY GOOD LINUX DISTRO!
The5heep 23 May 2014
You should also put out dev builds to a certain group of people to beta test the next update before it comes out...save yourself a lot of time and trouble />
WTF my other post disappeared....?!?!?
Edited by Lyqyd, 23 May 2014 - 04:37 PM.
Lyqyd 23 May 2014
Konlab 23 May 2014
oeed, on 18 May 2014 - 09:57 PM, said:
Geforce Fan, on 18 May 2014 - 06:58 PM, said:
If it auto-updates, I hope it won't delete the project I've been working on, don't have any backups.
Also there is a major memory leak or something in About OneOS. It lags the computer to a halt if left open.
It does ask you if you want to update, but to be safe back your stuff up. If you edited any system files then they will be overwritten.
Edit the cc's config file: there is computer's max storage limit and upgrade it to 500 KB or 1 MB (500 000 bytes/1 000 000 bytes)
Or you can run the games from pastebin, too.
Saldor010 23 May 2014
Konlab, on 23 May 2014 - 04:50 PM, said:
Edit the cc's config file: there is computer's max storage limit and upgrade it to 500 KB or 1 MB (500 000 bytes/1 000 000 bytes)
Or you can run the games from pastebin, too.
Actually, the way bytes work, is instead of "upgrading" at 1000, they upgrade in increments of 1024. So it is more like 512,000/1,024,000 bytes. Sorry, I just had to point that out