Go to Post "which came first, the hamster or the toad?" - dlavery [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 04-11-2004, 17:23
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Versioning systems

I'm just curious about how many people are using versioning systems (cvs, etc) with their code. I know my life has been made a lot easer this year because of it.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #2   Spotlight this post!  
Unread 04-11-2004, 17:29
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Versioning systems

Quote:
Originally Posted by wun
I know my life has been made a lot easer this year because of it.
How so?
  #3   Spotlight this post!  
Unread 04-11-2004, 17:46
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: Versioning systems

Quote:
Originally Posted by Tom Bottiglieri
How so?
There were a few times when I tried to add something, and it turned out to totally break everything, makes things easy to back up and access from anywhere (if you store it on a remote server), makes things easer when you have more than one person working on the code, and mostly it makes you feel really pro
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #4   Spotlight this post!  
Unread 04-11-2004, 17:58
NoodleKnight's Avatar
NoodleKnight NoodleKnight is offline
24 Hours of LeMons?
FRC #0100 (WHS&CHS Robotics)
Team Role: Alumni
 
Join Date: Aug 2004
Rookie Year: 2003
Location: Davis, CA
Posts: 320
NoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud of
Send a message via AIM to NoodleKnight
Re: Versioning systems

One of our new programmers, who is very knowledgable when it comes to computers, recently installed CVS on his Linux FC server at home, I think he was using SandWebCGI; anyways, no one's really gotten around using it yet, so we can't see any improvements over previous years w/out CVS. Also, his dynamic IP (SBC likes to flush their DHCP server weekly, for some reason) makes it hard to access the server.
__________________
WHS/CHS Robotics - Team 100 (2003-2006):
2006- Delphi's Driving Tommorow's Technology @ Davis | Imagery Award @ SVR | 2004- SVR Finalists (w/ 691 and 1280)| 2003- Delphi's Driving Tommorow's Technology @ Sac
  #5   Spotlight this post!  
Unread 04-11-2004, 18:26
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Versioning systems

WildStang has been using CVS for a few years now as our version control system.

Version control is a must in real world software development. There have been numerous times when we've had to take entire features (hundreds of files) out of a deliverable. Without version control, there is literally no way to perform such a task. With version control its as simple as grabbing a labelled set of files.

In situations where there is more than one person working on code there will inevitably be a situation where someone's changes will conflict with someone else's. Without version control, that person could copy over the other's without even thinking twice. Version control protects against this situation.

Bottom line is this: version control is a good thing. For those of you that are going into software development for a career, you will no doubtedly see this in the future. If you learn these concepts now, you'll be much better off when you get into a real world situation.
  #6   Spotlight this post!  
Unread 04-11-2004, 18:28
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: Versioning systems

Quote:
Originally Posted by NoodleKnight
One of our new programmers, who is very knowledgable when it comes to computers, recently installed CVS on his Linux FC server at home, I think he was using SandWebCGI; anyways, no one's really gotten around using it yet, so we can't see any improvements over previous years w/out CVS. Also, his dynamic IP (SBC likes to flush their DHCP server weekly, for some reason) makes it hard to access the server.
If your having dynamic IP woes, try no-ip. I've been using it for a little more than a year with no problems.
The biggest problem I'm having is getting around my schools stupid firewall (actually, its the board that puts it in, so there is nothing I can do about it) which blocks all ports but HTTP. I just had SSH listen on port 443 (HTTPS) as well to solve that thou.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #7   Spotlight this post!  
Unread 04-11-2004, 18:54
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Versioning systems

Our programming mentor's husband works for Microsoft, so we got Visual SourceSafe. Beautiful peace of software (well, decent. Just sucking up becuase he told me he could get me a beta version of Visual Studio 2005. ).

We had two programmers working, so it was very helpful in cooridating work, especially on the utility functions which we were codependent on. (I wrote autonomous and some utility stuff for motors and he wrote the driver control and encoders.)
__________________

  #8   Spotlight this post!  
Unread 04-11-2004, 21:10
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Re: Versioning systems

Dave made some great points. No need to reiterate.

We use CVS at work, but there have been talks of moving to Subversion.
__________________
Brandon Martus
e-mail
  #9   Spotlight this post!  
Unread 04-11-2004, 21:28
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Versioning systems

Quote:
Originally Posted by Dave Scheck
There have been numerous times when we've had to take entire features (hundreds of files) out of a deliverable.
I can't imagine that you are talking about code for the Robot Controller. I thought this thread was about using versioning systems for that.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #10   Spotlight this post!  
Unread 04-11-2004, 21:44
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Re: Versioning systems

Quote:
Originally Posted by Max Lobovsky
I can't imagine that you are talking about code for the Robot Controller. I thought this thread was about using versioning systems for that.
I don't think you read all of Dave's response, then. He was telling us how he uses CVS in a real world application, in addition to how WildStang uses it.
__________________
Brandon Martus
e-mail
  #11   Spotlight this post!  
Unread 04-11-2004, 21:59
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Versioning systems

That's what I suspected, it wasn't clear form his post. Anyway, I'm still interested if any teams actually use it. I thought it might have been a good idea, but with less than 20 or so files, it seems like more of a hassle than its worth.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #12   Spotlight this post!  
Unread 04-11-2004, 22:09
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: Versioning systems

Quote:
Originally Posted by Max Lobovsky
That's what I suspected, it wasn't clear form his post. Anyway, I'm still interested if any teams actually use it. I thought it might have been a good idea, but with less than 20 or so files, it seems like more of a hassle than its worth.
Really? I haven't found it to be any hassle. As far as I can tell, there are no real disadvantages to using it (as long as you don't have a problem with typing "cvs commit" then a few words about what you did).
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #13   Spotlight this post!  
Unread 04-11-2004, 22:10
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Versioning systems

Quote:
Originally Posted by Max Lobovsky
I can't imagine that you are talking about code for the Robot Controller.
Quote:
That's what I suspected, it wasn't clear form his post.
Sorry about that. Yes, my example referred to a real world situation. In particular it was for a software patch for Nextel.

In terms of robot controller software, we ususally get everything checked in (commit) and labeled when we have a milestone, or at key times such as we ships with the robot, and before/after each competition. This allows us to always have something to fall back on in case something really goes wrong.

Last edited by Dave Scheck : 04-11-2004 at 22:17.
  #14   Spotlight this post!  
Unread 04-11-2004, 22:36
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Versioning systems

Quote:
Originally Posted by Brandon Martus
We use CVS at work, but there have been talks of moving to Subversion.
I've been using Subversion for some of my own stuff and it's a big improvement over CVS. If anyone is looking to get started with version control I definitely recommend just starting with Subversion instead. I'm still working on convincing the rest of my team that we should use it for Wildstang... there's one last holdout who insists he can't live without CvsGui.

BTW, Dave Scheck and the rest of us at Motorola don't use CVS for work. We all use another version control system called Clearcase from IBM. It's much nicer than any of the open-source version control systems, but unfortunately it's big $$$.

One last thing: to the person who said it's not worth it for 20 files, trust me, it really is. It's worth it even if you only have 1 file to worry about. Anyone who's spent any time writing software has certainly made a bunch of changes only to find out they've completely dorked up the program, and then find out they can't get it back to the way it was before when it worked. If you have version control it's trivial to retrieve the version that worked. But I guess it's pretty hard to convince someone of it's virtues until they've used it and seen the light... but if you're willing to trust some of us here, try it out and sooner or later you'll see what we mean!
  #15   Spotlight this post!  
Unread 04-11-2004, 23:51
NoodleKnight's Avatar
NoodleKnight NoodleKnight is offline
24 Hours of LeMons?
FRC #0100 (WHS&CHS Robotics)
Team Role: Alumni
 
Join Date: Aug 2004
Rookie Year: 2003
Location: Davis, CA
Posts: 320
NoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud ofNoodleKnight has much to be proud of
Send a message via AIM to NoodleKnight
Re: Versioning systems

Quote:
Originally Posted by wun
If your having dynamic IP woes, try no-ip. I've been using it for a little more than a year with no problems.
The biggest problem I'm having is getting around my schools stupid firewall (actually, its the board that puts it in, so there is nothing I can do about it) which blocks all ports but HTTP. I just had SSH listen on port 443 (HTTPS) as well to solve that thou.
Yeah, well I keep telling my friend to get a free DNS service, but he still hasn't. My cable connection hasn't changed the IP for over a year now.

Our school is theoretically behind a firewall, but I don't really see it. All they did was block all outgoing ports, and they also, for each computer, blocked all outgoing ports, except for a select few, which is kind of wierd. Since it's on a per computer basis, some computers have access to all ports, some don't. The computers at our school are wierd.
__________________
WHS/CHS Robotics - Team 100 (2003-2006):
2006- Delphi's Driving Tommorow's Technology @ Davis | Imagery Award @ SVR | 2004- SVR Finalists (w/ 691 and 1280)| 2003- Delphi's Driving Tommorow's Technology @ Sac
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
Inertial navigation systems Greg Needel Technical Discussion 21 02-02-2004 02:54
drive systems Greg Perkins Technical Discussion 0 13-01-2003 09:40
Full list of teams & competitions archiver 2001 14 24-06-2002 00:52
BAE SYSTEMS to hold a regional next year in Manchester,NH Greg Perkins Regional Competitions 25 21-04-2002 20:07
Robot electrical systems rules Morgan Jones Rules/Strategy 5 06-01-2002 00:50


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

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


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