Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FIRST Code Library (http://www.chiefdelphi.com/forums/showthread.php?t=48176)

114Klutz 05-07-2006 20:17

FIRST Code Library
 
Hello

I've setup a website intended to be a collection of robot source codes, useful functions, macros, and whatnots for FIRST programming.

The website is availible at firstcodelibrary.org

Why am I doing this? Well, the front page states my aims, to help time crunched programmers with prewritten code which they can optimize - or help newbies by providing a solid basis to examine and learn from.

Please, if your team can, post your code on this website for all to see. Let's share information - this season is over, and whatever you may have come up with which you aided you this year might help another team next year or aid a new programmer in becoming better attuned to coding.

How does the website work? Well, once you register an account, you're allowed to upload files to the downloads section, once an administrator/moderator reviews it(me), the files will be visible to the general public.

I hope everyone here will attempt to aid others by submitting their own code and perhaps benefit themselves by learning new tricks or saving time next year.

~Li Pi

Tim Arnold 05-07-2006 20:36

Re: FIRST Code Library
 
Also, the terms of service and Privacy Policy pages only display something like the following.
Quote:

Privacy policy not activated
I am sure something just got accidentally disabled :). Good luck getting everything running, and once it is I'll post up the code for my vex bot, Ballistic Jr., although its not much.

EDIT: Removed the fixed stuff. Thanks for activating my account!

114Klutz 05-07-2006 20:38

Re: FIRST Code Library
 
Heh - I need to fix that, I posted the code for our own robot(with full permission of its creator, Steven)

Thanks.

EHaskins 05-07-2006 20:42

Re: FIRST Code Library
 
GREAT IDEA!! :D

This was my first year as the team programmer :ahh: , and Somthing like this would have been great. I'll upload 1103's 06 program as soon as i can get a copy.

114Klutz 05-07-2006 20:49

Re: FIRST Code Library
 
The registration seems to work for me and my teammate. I think I've fixed it by pressing a random button in the admin control panel.

EHaskins 05-07-2006 20:51

Re: FIRST Code Library
 
Registration worked for me. How long does it take to get your password E-mail?

114Klutz 05-07-2006 20:53

Re: FIRST Code Library
 
Less then a minute for me.

EHaskins 05-07-2006 20:56

Re: FIRST Code Library
 
I've waited about twenty minutes, but no e-mail :confused: . Should I register again?

114Klutz 05-07-2006 20:57

Re: FIRST Code Library
 
I can manually activate your account, hold on.

EHaskins 05-07-2006 21:03

Re: FIRST Code Library
 
Thanks for getting me my password, and I hope you get the bugs worked out so new programmers can use this next year. ;)

Alexa Stott 05-07-2006 21:20

Re: FIRST Code Library
 
Quote:

Originally Posted by EHaskins
Thanks for getting me my password, and I hope you get the bugs worked out so new programmers can use this next year. ;)

*gasp* As a programmer, I thought you'd be able to realize that it's an unlisted feature, not a bug. Come on, now, haven't you ever read the Programmer's Handbook? :p

EHaskins 05-07-2006 21:26

Re: FIRST Code Library
 
I was looking at the program posted on your site and i noticed it contained Kevin Watson's camera code. This is at the top of camera.c/.h and many other files
Quote:

Originally Posted by Mr.Watson Camera.c
"
/************************************************** *****************************
*
* TITLE: camera.h
*
* VERSION: 0.1 (Beta)
*
* DATE: 17-Sep-2005
*
* AUTHOR: R. Kevin Watson
* kevinw@jpl.nasa.gov
*
* COMMENTS: This is the "bells and whistles" version of camera.h
*
* You are free to use this source code for any non-commercial
* use. Please do not make copies of this source code, modified
* or un-modified, publicly available on the internet or elsewhere
* without permission. Thanks.

*
* Copyright ©2005-2006 R. Kevin Watson. All rights are reserved.
*
************************************************** ******************************
"

So you must make it clear that any copyrighted matterial is removed from code before it is uploaded to your site.

All of Mr. Watson's code is free to download at www.kevin.org so anyone who wants to use the code only has to download it from his site.

If you look on CD you will find many people who tried to distribute Mr. Watson's code without permission, and had to remove it.

I still think you had a great idea, but this is somthing that has to be handled soon.

Matt Krass 05-07-2006 21:28

Re: FIRST Code Library
 
Hate to be a damp rag, but this was already done with moderate success:
http://www.frcsoft.com/
The site is undergoing upgrades apparantly at the moment though.

Also I'd like to stress that any code posted is strictly your own, I've noticed a lot of teams making code publically available that contain incomplete and/or modified versions of code such as Kevin Watsons, which is against the license agreement. I think perhaps code should need to be verified before its allowed to be accessed publically as sometimes people don't adhere to licenses properly.

EDIT: Beaten to it by two minutes, but I'll leave it there to reinforce the point.

Astronouth7303 05-07-2006 21:42

Re: FIRST Code Library
 
Quote:

Originally Posted by EHaskins
If you look on CD you will find many people who tried to distribute Mr. Watson's code without permission, and had to remove it.

Ok. Someone post directions on using patch. (That GNU program that makes unified diff files.)

Timothy D. Ginn 05-07-2006 22:19

Re: FIRST Code Library
 
Quote:

Originally Posted by Astronouth7303
Ok. Someone post directions on using patch. (That GNU program that makes unified diff files.)

Actually, patch applies them, diff makes them.

According to the man page it's usually just as simple as:
Code:

patch -pnum <patchfile
(where num will vary; but, if the patch file is in the same directory as the thing to be patched you can generally just leave off completely)

114Klutz 05-07-2006 22:41

Re: FIRST Code Library
 
Alright, got the upload thing fixed. Also removing Kevin Watsons code.

I don't know how to use patch, but if you do, and upload code with it, please say so in the description along with concise instructions in restoring the code to original specifications.

roboticsguy1988 05-07-2006 23:20

Re: FIRST Code Library
 
Hello all. I noticed you mentioned frcsoft.com. I would like to tell you it is back up and going now we completely re-built it so feel free to go ahead and post your code and discuss programming stuff.

Link - www.frcsoft.com

114Klutz 10-07-2006 15:24

Re: FIRST Code Library
 
One thing that I've found which works - you can use a program called monolith (monolith.sourceforge.net) to "munge" the data files with kevin's files. The user will have to download davids files, and then recombine the files to recreate yours.


All times are GMT -5. The time now is 23:03.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi