PDA

View Full Version : " found code "



Archangel
- 16th June 2009, 19:36
I often see this " I Found this code . . . "
Great, very glad you did, Also very glad to see it, I might learn something from it.<br>
If you do this, it would be very good Karma, Ethics, or just plain decent to post the link of the Original Poster, for :
1. To give proper recognition to it's author
2. Give all of us, context as to how the code was originally used.
3. Internet spiders are all over this forum, it will help that web page's presence, on Google etc . . . Win Win for everyone.
4. Might keep somebody out of a lawsuit, somewhere down the line.
Just my opinion.
Thanks

lester
- 17th June 2009, 08:27
Very good point , Joe.

And if users popst their code example on sites.picbasic.net in their own user site. The code will be available in an easy to acess format. A post on the forum and link through to the user site will keep google indexing the forum and the user site

An example being Darrels user site....

Home page (http://sites.picbasic.net/component/option,com_uhp2/Itemid,6/task,viewpage/user_id,70/pageid,82/)

Code Examples with downloads (http://sites.picbasic.net/component/option,com_uhp2/Itemid,6/task,viewpage/user_id,70/pageid,73/)


A Code Example without downloadable file (http://sites.picbasic.net/component/option,com_uhp2/Itemid,6/task,viewpage/user_id,70/pageid,25/)

File repository (http://sites.picbasic.net/component/option,com_uhp2/Itemid,6/task,viewpage/user_id,70/pageid,27/)

Rss Feeds (http://sites.picbasic.net/component/option,com_uhp2/Itemid,6/task,viewpage/user_id,70/pageid,30/)

A good example of the user site system that can be linked to from the forum and code examples that will not be lost in the depth of the forum.

And there is no restriction on links, darrel freely links to his own web (http://darreltaylor.com/DT_INTS-14/intro.html) site from within the user sites system.

Users that do not ahve their own web space and require additional - more flexible space for theor projects can have access to a dedicated section of our server to upload their complete project, with no restrictions on web space.

User web sites are the best solution for the distribution of code examples.

Archangel
- 17th June 2009, 18:42
Thank You Lester.
This is how I practice what I preach, listed below is a snippet from some code " I Found " and it illustrates the Header, as I store it in my computer.


'************************************************* ***************
'* Name : Christmas show.BAS *
'* Author : [email protected] *
'* Notice : *
'* : All Rights Reserved *
'* Date : 12/14/2008 *
'* Version : 1.0 *
'* www.picbasic.co.uk/forum/showthread.php?p=67803#post67803 *
'* : 18F4550 *
'************************************************* ***************

DEFINE OSC 20
DEFINE HSER_RCSTA 90h ' Enable serial receive
DEFINE HSER_TXSTA 20h ' Enable serial transmit
DEFINE BRGH = 1
SPBRG = 10

Notice it contains the file name, the authors name and the link, and that helps in case I need to go back and follow up. I doubt posting just this way will help the spyders as much as doing the link the way Lester did, but it is better than nothing and it will help you in the future when you need to go back and check something.<br>
Edit: I had to alter his author info a bit, as it seems his user ID is an E mail address, and I think he probably gets enough webbot spam already.