OCCRA
Go to Post If anybody ever uses a terabyte in the next few years the world would probably come to an end - spadercool [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-24-2004, 05:59 PM
Ryan Cumings's Avatar
Ryan Cumings Ryan Cumings is offline
Programmer and University Rejected
#0134 (Team Discovery)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Pembroke, NH
Posts: 65
Ryan Cumings is an unknown quantity at this point
Send a message via AIM to Ryan Cumings
Code Repository

Would other teams be interested in sharing code with each other? Would anyone be willing to open a repository?
  #2   Spotlight this post!  
Unread 01-24-2004, 06:23 PM
Obi's Avatar
Obi Obi is offline
Registered User
#0870
 
Join Date: Jan 2004
Location: Southold
Posts: 18
Obi is an unknown quantity at this point
Re: Code Repository

What whould be the main purpose of a code repository? Ideas?
  #3   Spotlight this post!  
Unread 01-24-2004, 06:28 PM
Guest
 
Posts: n/a
Re: Code Repository

Quote:
Originally Posted by Obi
What whould be the main purpose of a code repository? Ideas?
A code repository defeats the purpose. Everybody should learn the programming (who wants to). Sure, we can share ideas, but we shouldn't use each other's code.
  #4   Spotlight this post!  
Unread 01-24-2004, 06:39 PM
Ryan Cumings's Avatar
Ryan Cumings Ryan Cumings is offline
Programmer and University Rejected
#0134 (Team Discovery)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Pembroke, NH
Posts: 65
Ryan Cumings is an unknown quantity at this point
Send a message via AIM to Ryan Cumings
Re: Code Repository

How about sharing code from years past?
  #5   Spotlight this post!  
Unread 01-24-2004, 06:47 PM
briholton's Avatar
briholton briholton is offline
Registered User
AKA: brian holton
#0752 (Gods of Fury)
Team Role: Coach
 
Join Date: Jan 2004
Rookie Year: 1997
Location: newark, nj
Posts: 49
briholton is on a distinguished road
Re: Code Repository

Quote:
Originally Posted by SilverStar
A code repository defeats the purpose. Everybody should learn the programming (who wants to). Sure, we can share ideas, but we shouldn't use each other's code.
AHHH, glad to see your team is writing their own controller code entirely from scratch and not using ANY of the code provided by first. I do not know a single professional programmer that has not used someone else's code - it's SOP! I think the code vault would be superb not only so we all can learn from other folk's examples now, but for my classroom, i would use it throughout the year to teach with. kudos!
  #6   Spotlight this post!  
Unread 01-24-2004, 06:55 PM
Guest
 
Posts: n/a
Re: Code Repository

Quote:
Originally Posted by briholton
... not using ANY of the code provided by first ...
That's not what I meant. I don't think that we should put full implementations of specific things our robots will be doing.

Quote:
Originally Posted by briholton
I think the code vault would be superb not only so we all can learn from other folk's examples now, but for my classroom, i would use it throughout the year to teach with. kudos!
However, I do agree with you that a repository would be a great place to learn and a great place to put general algorithms (like line following, etc.)

The reason why I think that full "ready-to-run" programs should not be uploaded to a repository because it encourages copy-paste. Yes, a big part of FIRST is learning from others. But a just as important part of FIRST is learning from discovery.
  #7   Spotlight this post!  
Unread 01-24-2004, 07:13 PM
Ryan Cumings's Avatar
Ryan Cumings Ryan Cumings is offline
Programmer and University Rejected
#0134 (Team Discovery)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Pembroke, NH
Posts: 65
Ryan Cumings is an unknown quantity at this point
Send a message via AIM to Ryan Cumings
Re: Code Repository

That is what I was kind of getting at for the idea about the repository. It took me a long time to figure out how to integrate the yaw rate sensor signal. Every place I looked did not have one example on how to do it. Granted I figured it about after about 12 hours of fustration. It just would make me wonder how long some of the other programers (minions) on my team might have taken.
  #8   Spotlight this post!  
Unread 01-24-2004, 08:13 PM
Guest
 
Posts: n/a
Re: Code Repository

I'm currently implementing a repository at:

http://nrg.chaosnet.org/repository

Spread the word! Note: it is not finished, I'm working on it. And, you HAVE to register an account at the NRG website to be able to post code to the repository.

Hope you like it!
  #9   Spotlight this post!  
Unread 01-25-2004, 03:34 PM
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Code Repository

well, i would go add my demo trig table code, but the register/login feature does not work yet, apparently. looking like it's going to be nice when it does, though!
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #10   Spotlight this post!  
Unread 01-25-2004, 03:42 PM
Guest
 
Posts: n/a
Re: Code Repository

Quote:
Originally Posted by deltacoder1020
well, i would go add my demo trig table code, but the register/login feature does not work yet, apparently. looking like it's going to be nice when it does, though!
Are you sure it doesn't work?

Click "Register." Then enter the info into the fields.
Click register.

Then login using your username and password.
  #11   Spotlight this post!  
Unread 01-25-2004, 03:53 PM
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Code Repository

i get an http 404 when i click on the initial "Register" button.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #12   Spotlight this post!  
Unread 01-25-2004, 03:53 PM
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Code Repository

Quote:
Originally Posted by Ryan Cumings
Would other teams be interested in sharing code with each other? Would anyone be willing to open a repository?
Two years ago, we tried this. It was called The FIRST Codex, and it was located at www.first-codex.net. It's since been taken down, as not enough interest was given by the teams at the time.

I would suggest speaking to Gui, he may be able to help set up some stuff, as he was one of the orignial people who set up the original site.

I don't know how many people remember this, but two years ago, Gui organized several programming meetings at Nationals, and we did have about 10 or 15 people come, if I remember correctly. I think that something that would be fun is if we can set that up again. I'll be attending the Championships this year, so if anyone else likes this idea, let me know and I'll try to set something up.

The idea for a code repository is a nice idea though, as long as it is kept up to date and moderated for potentially bad code (this is FIRST, but some people have weird notions of what "fun" is :-\). I say go all out for it, just make sure someone will be able to maintain it, lest it fall into oblivion (like the FIRST Codex did).
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #13   Spotlight this post!  
Unread 01-25-2004, 03:57 PM
Guest
 
Posts: n/a
Re: Code Repository

Quote:
Originally Posted by deltacoder1020
i get an http 404 when i click on the initial "Register" button.
Try this page:http://nrg.chaosnet.org/uploads/slog...l_reg=Register
  #14   Spotlight this post!  
Unread 01-25-2004, 03:57 PM
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Code Repository

Quote:
Originally Posted by SilverStar
When you click on what?
the initial "Register" button at the top of the Repository page.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #15   Spotlight this post!  
Unread 01-25-2004, 04:06 PM
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Code Repository

it seems that your form is currently pointing to "/repository/slogin.php", while the file is at "/uploads/slogin.php" - this probably isn't what you want. (note - the login form doesn't work either, same error message.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your most prefered programming language? Hailfire Programming 156 01-19-2005 08:42 PM
InfraRed autonomous code ... mtrawls Programming 1 01-10-2004 11:25 PM
Autonomous code PBoss Programming 7 01-14-2003 02:29 PM
Does your team use the Default code. Jeff McCune General Forum 2 01-09-2003 01:46 PM
Patent source code? Kyle Fenton Chit-Chat 3 10-20-2001 04:53 PM


All times are GMT -5. The time now is 07:58 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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