CraftOS-Standards icon indicating copy to clipboard operation
CraftOS-Standards copied to clipboard

Existing Standards

Open oeed opened this issue 9 years ago • 30 comments
trafficstars

To get this repo in a state where it is truely useable we need to have as many of the existing standards/formats/whatevers submitted. If you can think of something missing comment below or make a PR!

oeed avatar Jan 13 '16 12:01 oeed

Diffs and patch functionality should be definitely standardized!

viluon avatar Jan 13 '16 13:01 viluon

Didn't we already sorta discuss diffs in #1?

oeed avatar Jan 13 '16 13:01 oeed

...being?

oeed avatar Jan 13 '16 14:01 oeed

Don't really get what it has to do with standards though.. does it save the difference to a file?

oeed avatar Jan 13 '16 14:01 oeed

@oeed it's the generated difference file displayed when viewing a commit which shows which lines were added/removed. You can also see it when you edit a file in Sublime, right click and click on "Show unsaved changes".

viluon avatar Jan 13 '16 14:01 viluon

.nbs noteblock songs?

ghost avatar Feb 07 '16 16:02 ghost

Could you link us to software using .nbs please @justsomeoneelseagain ?

viluon avatar Feb 07 '16 18:02 viluon

www.computercraft.info/forums2/index.php?/topic/2384-noteblock-api-noteblock-player/

ghost avatar Feb 07 '16 18:02 ghost

NoteBlock API was released on 3rd July 2012. While it might very well work on current versions of ComputerCraft, I doubt it will. I didn't look into the code but I suspect it uses coloured cables, which are deprecated now.

viluon avatar Feb 07 '16 19:02 viluon

i just searched for a noteblock image format

ghost avatar Feb 07 '16 19:02 ghost

i mean audio format

ghost avatar Feb 07 '16 19:02 ghost

maybe @lyqyd ´s packman repository format if he agrees

ghost avatar Feb 07 '16 22:02 ghost

His nickname is @lyqyd @justsomeoneelseagain :wink:

viluon avatar Feb 08 '16 15:02 viluon

yes, I realyced it afterwards

ghost avatar Feb 08 '16 15:02 ghost

Yeah, I'd have no problem with that. I don't really have the time/energy to write it up, but I'd be happy to answer any questions on it that the readme in the packman repository can't.

lyqyd avatar Feb 09 '16 01:02 lyqyd

we might want to standardize the intendation(Is that a word?) 2 spaces might be good, as that is what the normal edit program uses, someone can change Lua.md if enough people agree

Luca0208 avatar Feb 09 '16 19:02 Luca0208

@Luca0208 Indentation tends to be fair subjective. Some people like tabs, others spaces. 2 spaces works better on the CC screens because the screen size isn't very big, but personally, I find 4 spaces much easier to read in external editors and only use that.

Hence, I'm not sure whether it's worth standardising. It's not something that's causing clashes or anything like that.

oeed avatar Feb 09 '16 21:02 oeed

The big problem comes when someone uses tabs to intend. It just looks awful in CC

Luca0208 avatar Feb 09 '16 21:02 Luca0208

@Luca0208 that is the problem of CC, not tab indent. Few actual developers use the flawed ingame editor. Still not a reason to standardize indentation.

viluon avatar Feb 09 '16 21:02 viluon

Indentation is personal choice, and outside the scope of this project. The standards should be about how programs work or interact with other code/files, not about how they look.

On Feb 9, 2016, at 13:57, Andrew Kvapil [email protected] wrote:

@Luca0208 that is the problem of CC, not tab indent. Few actual developers use the flawed ingame editor.

— Reply to this email directly or view it on GitHub.

lyqyd avatar Feb 09 '16 22:02 lyqyd

Agreed @lyqyd (and actually even with @demhydraz ).

viluon avatar Feb 10 '16 10:02 viluon

Oops, this isn't a proposal, sorry!

viluon avatar Feb 10 '16 10:02 viluon

What about .skch (layered image file from Oeed's Sketch) and .nfa (animation file from NitrogenFingers' NPaintPro) files? I consider them pretty standard and useful.

CrazedProgrammer avatar Jun 16 '16 19:06 CrazedProgrammer

Yeah I don't object to that, sketch files and nfa do seem to be used a bit.

On 17/06/2016, at 7:35 AM, CrazedProgrammer [email protected] wrote:

What about .skch (layered image file from Oeed's Sketch) and .nfa (animation file from NitrogenFingers' NPaintPro) files? I consider them pretty standard and useful.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

oeed avatar Jun 18 '16 04:06 oeed

#59 contains a proposal for adding (a slightly modified version of) TRoR.

lyqyd avatar Oct 21 '16 17:10 lyqyd