Pages: [1]   Go Down
Author Topic: Publishing multiple SMALL open-source projects?  (Read 1685 times)
0 Members and 1 Guest are viewing this topic.
SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6783
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How are people publishing multiple small open-source projects (ie Arduino Sketches of modest size) ?

I'm getting a collection of sketches and other small pieces of code to share.  It would be nice to put these at one of the nice open-source code sourcing sites (like code.google.com), except:
1) They're really not big enough to rate a project for each bit of code.
2) They're not really related enough to group under a single project (at least, not unless there is some other mechanism for collecting them that lets them be downloaded independently.)
3) I guess they could go into separate .zip downloads, but that would miss a lot of the nice capabilities (online browsing, etc.)

Is there a good way to deal with this?
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 209
Posts: 13025
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Ah, a "code snippet database" for Arduino Sketches.  What a great idea!

Something like these only for the Arduino?

http://codesnippets.services.openoffice.org/index.xml
http://www.delphidabbler.com/codesnip
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 50243
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There was this just posted:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295492852
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 221
Posts: 13848
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just plain snippets are often difficult to understand without examples or some explanation. That's why I like the playground. Admit it can be time consuming to write a readable article. But you will get eternal fame smiley-wink
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 209
Posts: 13025
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Just plain snippets are often difficult to understand without examples or some explanation
That's were a good "snippet manager" makes all the difference.

Borland (when they actually produced developer tools) had a very nice snippet manager.  Each snippet could have...

  • Title
  • Text description
  • Tags
  • Hierarchical category
  • Language
  • Author
  • Email address

The tool allowed browsing and searching.  I think it even had support for keyboard-shortcuts and a "put the cursor here" marker.  You could then have short snippets like this to save typing (the vertical bar was automatically removed and the cursor put in its place)...

Code:
if ( | )
{
}

I suggest the first candidate snippet should be Blink without Delay!

Quote
That's why I like the playground
I think there is a gap between the included examples and the Playground.  It is difficult for the community to contribute to the included examples (is it even possible?) and the playground is just too "heavy" for some things.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5594
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The most awesome "snippet" system I ever saw implemented was something done a long time ago called "All BASIC Code" (ABC Snippets); it was run by this one guy who would collect submissions, package them up, then put them on a website for others to download. Tons of BASIC code examples, programs, games, etc - for QBASIC, QuickBASIC, QBPDS, PowerBasic, etc - if it was BASIC related, you could get your snippet in there. Lot's of awesome examples for the BASIC community of the time happened there. The snippet manager itself was coded in BASIC (IIRC, QuickBASIC 4.5), and was included as one of the snippets in every distribution.

I think something like that (but more up-to-date) would be great for Arduino snippets - though the manager would have to be in some portable format (Java?), or would have to be accessible as a web site, of course. The playground is close to this, but not entirely the same...
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6783
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The playground would be almost exactly what I'm looking for, except:
1) It doesn't actually provide storage for any code - all the "download here" links point off to other servers
2) I wouldn't be able to put non-arduino-related code there.
Logged

Pages: [1]   Go Up
Jump to: