[#3956] Some comments on the snippet library processes

Please log in

State: more information
Open
Date:
2009-07-27 07:47
Priority: more information
3
Submitted By:
Ged Ridgway (ged)
Assigned To: more information
Nobody (None)
Summary: more information
Some comments on the snippet library processes

Detailed description

Hi NITRC team,

I've finally got around to contributing something to the snippet library, and I have a few comments:

1. When adding snippets to a package, after submitting the last one, I was looking around for a button like "Done" or "Finished", I think it would be useful if this existed, and navigated you to the summary of the package that you can subsequently find by browsing for it.

2. I've just tried downloading things, and I'm slightly surprised that there is no option to download a .zip/.tar.gz or similar of all the files in the package. This would be really helpful!

3. Downloading individual functions results in them having names like snippet_3.mat. Unfortunately, MATLAB functions need to be in files with names matching the function names (e.g. my titles should map to filenames as e.g. flirtmat_read -> flirtmat_read.m). This might confuse some novice users, but it would also seem bad if every single MATLAB snippet has to warn about this in its description -- perhaps either of the following would be possible if "MATLAB" is chosen as the language and "function" as the type?
(a) the name could be derived from a regexp match for the line "function [outputs] = name(args)" (function must be the first non-whitespace characters on this line)
(b) if auto-deriving the name seems too risky, just auto add a warning that MATLAB functions should be saved with filenames matching the function names.

Thanks for all your efforts building NITRC, and I hope to contribute more in the future... All the best,
Ged

Response

Message

Date: 2009-07-29 14:35
Sender: NITRC Moderator

Yes; thanks for the clarification.


Date: 2009-07-29 11:54
Sender: Ged Ridgway

Hi Christian,

For point 2, I think it would be cool if a package of snippets had an option to download a zip and/or tarball of all snippets contained in it. Does that make sense?

Thanks,
Ged


Date: 2009-07-28 16:33
Sender: NITRC Moderator

Ged,

Thanks for these ideas; I'm marking this a feature request and have opened internal tickets for these.

In your second point, are you referring to snippet downloads or project downloads?

Attached Files:

Name Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item