Where to submit code for open source use?
I've been working with Google Maps API v3 for a few weeks now and have done a pretty good job of developing a map for a map I created.
Some of the things I did had to be done to add usability where there wasn't before, at least not what I could find on the internet. Basically, I made a list of things to do, searched all over the Internet for ways to do what I needed, and found that some of them (at the time) were not possible (in "capturing an example from the Internet") meaning).
So in my work on this map, I've created a number of very useful tools that I would like to share with the developer community.
Is there somewhere I could use as a hub other than my portfolio ( http://dougglover.com ) so people can view and recycle my work?
I know how difficult it can be to do something, and I won't be able to find a solution elsewhere, and I don't think that if something has been done before, it will definitely need to be written over and over again. Hence open source, right?
Firstly, I was thinking about coming here and asking a question and then just answering it. The problem is, I'm guessing it just looks like a lot of rep. If not, let me know and I'll go ahead and do it so people can see it. Other suggestions were appreciated.
Some things I've done:
A (new and improved) LatLng generator
- Faster, generates LatLng based on the position of the dragged marker
- Allows you to search for an address to place a marker at / near the desired location (much better than scrolling to your location all the way from Siberia).
- Since this is a draggable marker, double-clicking to zoom in instead of creating a new LatLng marker like the one I originally used
The ability to create fully customizable "smart paths"
- LatLng graphic points on the map that connect to each other just like they do using actual Google Maps.
- Using Dijkstra's algorithm with Javascript, routing is smart and always gives the shortest path using the provided points
- A simple, easy-to-read multidimensional array system makes it easy to add new points to the mesh.
Any suggestions etc. appreciated.
a source to share
GitHub, CodePlex, Google Code, and BitBucket are obvious choices for open source hosting. (There's also SourceForge, but ewww, yuck.) Definitely go to DVCS like git or Mercurial, which will make it easier for others to fork and contribute than something like SVN or CVS.
I don't find it advisable to use Stack Overflow to post "fake" questions about your project. It would be better to start a blog. If you write good content, people will find you.
On the other hand, I think it is appropriate to search for map-related questions on SO and answer them by saying, "I implemented this algorithm in my BlahBlahBlah project and you can view the code by clicking on the link." Just make sure you really answer questions with specific and relevant information.
a source to share
You can post your code on SourceForge , github , Codeplex . I'm sure there are many more, but these were the ones that come to mind
Thank you for wanting to come back!
a source to share
GitHub or Google Code will be my first choice, in descending order.
Stay away from SourceForge . While they are constantly improving, the interface (for both developers and end users) is terrible and the entire site is as hell slow.
a source to share