Re: [Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-03-03 Thread Christian Mayer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mathias Fröhlich schrieb:
 On Wednesday 01 March 2006 13:41, Chris Metzler wrote:
 Yes, this is definitely the way to solve this problem.  After all,
 nobody gets truly worked up about dumbass things like vim vs. emacs
 or anything like that!
 Two ways from my point of view:
 
 Since I do not believe that this is a realistic approach in any sense, I will 
 use the editor of my choice which I can use for all those projects I work on. 
 And as long as that is the case, I think not using tabs is the way you can 
 solve this issues in the real world.

Due to our big code base and this repeating discussion we probably
should define this minimum of coding standard:

- - do not use tabs, use only spaces (this guarantees that the code looks
  the same everywhere and any formating won't break)
- - a tab must have a size of 8. (This shouldn't matter when everyone
  sticks to the point above. But sometimes things go wrong. And 8
  Spaces/Tab is the standard/default that every editor can handle - even
  every email program)

Not in a minimal coding standard should be:

- - use only 2 spaces per indent (that's what I prefer - but other choices
  are also valid and coding is much more fun than arguing)


I'd be happy if we can accept that and make it official - then we've got
one topic less that can keep us from coding :) Oh, the choice of the
editor also doesn't matter anymore then.

CU,
Christian


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFECA43lhWtxOxWNFcRAqqeAJ9fkk7uCJ4/9w6ut5BxOPc61JXzLQCfRBNR
LGWL6iD1H4gRdLqtBEcLqY8=
=K8tH
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-03-01 Thread AJ MacLeod
On Wednesday 01 March 2006 09:30, Vivian Meazza wrote:
 How about agreeing on a decent editor?
 Spaced out over tabs, and confused

That'll be agreed on just after the tabs vs. spaces item, which will be about 
a week after the next blue moon :-)

Cheers,

AJ

(PS of course vim is the best editor and tabs were invented for indentation 
because spaces were inefficient and guaranteed to lead to misalignment :-)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-03-01 Thread Chris Metzler
On Wed, 1 Mar 2006 09:30:49 -
Vivian Meazza wrote:
Mathias Fröhlich
On Tuesday 28 February 2006 22:28, Melchior FRANZ wrote:
 Of course, sane
 people use Tabs, not spaces. :-)

 To be equal polemic:
 People believing in this cannot be sane :)
 ... and did not think about the practical consequences for others
 with a different editor ...
 
 Great, I send some code to Mathias, he moans about tabs, I send some
 code to Melchior he, whinges about no tabs, or tabs of the wrong
 size :-). True ... this happens about once a week.
 
 How about agreeing on a decent editor? 

Yes, this is definitely the way to solve this problem.  After all,
nobody gets truly worked up about dumbass things like vim vs. emacs
or anything like that!

-c  (hehehe)


-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature


RE: [Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-03-01 Thread Frederic Bouvier
Quoting Vivian Meazza :


 How about agreeing on a decent editor?

I'd suggest MSVC. ok, never mind ;-)

-Fred


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-03-01 Thread Mathias Fröhlich
On Wednesday 01 March 2006 13:41, Chris Metzler wrote:
 Yes, this is definitely the way to solve this problem.  After all,
 nobody gets truly worked up about dumbass things like vim vs. emacs
 or anything like that!
Two ways from my point of view:

Either you care for an agreement of a common editor for *all* projects *I* am 
working on. That includes flightgear, kde and what I do at work. Not to 
forget the projects I will pick up in the future ...
If you are able to convince all those people to use your favorite editor of 
your choice with your tab size, I will switch over to that single editor for 
all those projects.

Since I do not believe that this is a realistic approach in any sense, I will 
use the editor of my choice which I can use for all those projects I work on. 
And as long as that is the case, I think not using tabs is the way you can 
solve this issues in the real world.

   Greetings

   Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: terminate called after throwing an instance of 'std::string'

2006-02-28 Thread Melchior FRANZ
* Dave Perry -- Tuesday 28 February 2006 21:52:
  PropertyList
  params
   nav-in-range/instrumentation/nav[0]/in-range/nav-in-range
  /params
 
  animation
   typeselect/type
   object-nameGlidescopeNeedle/object-name
   condition
 ###property alias=../../../../../params/nav-in-range/
   /condition
  /animation
  /PropertyList

 Can any of you spot the problem?

Yes. Way too many ../! You only want ../../../params/nav-in-range
here, because you want to get out of one property, one condition,
and one animation. As a simple rule: use as many ../ as you have
indentation steps in that line. (Shown as '#' above. Of course, sane
people use Tabs, not spaces. :-)

m.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel