.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > YappA > The Agora
The Agora This is the place to go if you have suggestions, or if you want to participate in Council discussions. Everyone is welcome!

Reply
 
Thread Tools
wiki and math
Old
  (#1)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default wiki and math - 11-02-2005

Is it just me or???

The goal of our wiki is to
  • provide bot programmers, and especially newbies and wannabe coders, the most comprehensive information center out there,
  • provide bot users with a space to contribute in their favourite bots' documentation, tips and tricks, hints etc.
That's why we have two section:
  • Programmer's section
  • Bot user documentation
Since the programmers section is targeted at the broadest audience possible, I personally try to explain things slowly, with simple code and a lot of explanation surrounding it. When the subject is too complex, I don't dig into the explanation more than necessary and I try to provide sample template code that works instead of lenghty high-level technical explanations.

But honestly, pages such as this one
http://wiki.bots-united.com/index.php/Vector_Math
are enough to make any wannabe bot coder fly away in screams! Please, please, please folks, it's not because this new wiki allows math formulas to be written easily that you must abuse it!! Remember that many of us here, and I would bet most of the wannabe coders out there are teenagers with no idea what the hell these scary formulas mean!

How do you want a teenage coder not to shit in his pants at the sight of words such as "Einstein Convention", this or this or even matrices such as ??

Is this a wiki for bot coders or for mathematicians ?

So please keep things SIMPLE, and provide coders with what they expect to find: commented code that works, instead of mathematical *****!

Or is it just me ???


*edit* ok, I removed the last word...sorry... I do not want to offense anyone... but I really wanted to raise this question

*edit 2* ok, my point: more code and less math. That's all. Thank you for your attention



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 11-02-2005 at 12:44..
  
Reply With Quote
Re: wiki and math
Old
  (#2)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default Re: wiki and math - 11-02-2005

Agreed, bot coding goes fine here but I absolutely have no idea what all those formulas do which PMB posted....
  
Reply With Quote
Re: wiki and math
Old
  (#3)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: wiki and math - 11-02-2005

I didnt knew if I should add this matrix stuff, but since there are some function in HL2 ( I guess there wasnt any in HL1 ) using matrices, I thought it might be handy to have a little simple paragraph about them.

About different methods of determining the length of the vector : well, that's the general way to write that down. You are _not_ always using euclidian distances, e.g. most of us are using some sort of manhattan distance in their A* implementations. so it's not that far off, maybe shouldnt have written the general formula of that.

and ok, einstein convention might be a bit misplaced here, especially when nobody reads a book about related stuff. it's anyway widely used.

about more code : from my point of view I better like a simple formula than some piece of code, which might already include optimizations, component wise calculating, etc. which don't make the point of topic more obvious. especially code with unneccessary stuff like "pBot->" crap. that has nothing to do with the algorithm, so why put it there ?
just saw your comment : ok, that might be a reason, another reason is that your code would be easier just to copy and paste without understanding for all those using podbot or close to hpb bot code. if you understand it, there is no question of what you want to save and what not, otherwise, you are fucked anyway.

PS: and if you like greek characters or not ... well, that's just personal taste, isnt it ? i'm often writing scalar coefficients as greek characters, as well as transformations.



Last edited by @$3.1415rin; 11-02-2005 at 15:01..
  
Reply With Quote
Re: wiki and math
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: wiki and math - 11-02-2005

okay, I see you're pissed off already. That was not the intent. But that talk was needed anyway.
Quote:
just saw your comment : ok, that might be a reason, another reason is that your code would be easier just to copy and paste without understanding for all those using podbot or close to hpb bot code.
*cough* well no, if you look closely you'll notice that none of the variables I put the pBot-> prefix in front exist, neither in the HPB_bot nor in PODbot. Unless coincidence. But I've chosen them carefully just for that purpose...
The idea is still to establish the difference between locally declared variables, and the persistent ones. But if you have a better idea, just say it!



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: wiki and math
Old
  (#5)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: wiki and math - 11-02-2005

i did not understand as ingle line of the given examples on math.

Unless we have some very good described document where one can explain every variable and method used so the formula could be understanded by every noobish math guy, i'd say, ok. But i don't see that coming. So lets keep it simple


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: wiki and math
Old
  (#6)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: wiki and math - 11-02-2005

pissed off ?! pmb, be glad you dont know me that good dunno about that declaration what is local and what persistent. and I also dont know the variables of HPB bot, but that pBot-> just looked so hpbbot-stylish. my basic idea was just to write that general stuff as general as possible, not emphasising this HL bot relation, since we don't only want to be a forum for HL1/HL2 bot ppl. anyway, that's ok with me.


we are just starting the wiki guys ... e.g. the geometry article, it's just the outline ... although I dunno if we need explicit code in some parts. take e.g. the part "line hitting plane" : doesnt everybody know that (a+b)c = ac + bc from school ? and that you can do the same to both sides of an equation and it's still valid ( in most cases, dont divide by 0 and such stuff ) ? I mean, this way, you cannot copy and paste, ok, but you know where some formula comes from and it's not difficult to rearrange, so this knowledge might be useful when debugging or optimizing.


  
Reply With Quote
Re: wiki and math
Old
  (#7)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: wiki and math - 11-02-2005

I think both of you have a point, but a middle ground is what I think would be a good spot to aim for (pun intended).

I'd say it makes sense to put in the basics of relevant linear algebra, etc with references pointing the reader to the more advanced stuff. It also makes sense to give basic examples of what the formulas are used for so that people will have a chance at understanding what is written.

The other thing to consider, is for us to define exactly what the intention fo the wiki is. Should we leave out the advanced stuff when there may be some who appreciate having it in there? What about posting advance algo's such as mesh navigation with learning?

If there's to be a compromise, we'll end up with a wiki that is good only for no one.

I'm also not sure that this is the place to discuss wiki entries. Entries should be debated through the wiki itself. Is that not how a wiki is supposed to work?

My 2 cents.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: wiki and math
Old
  (#8)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: wiki and math - 11-02-2005

less talking and more contributing :p


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)
  
Reply With Quote
Re: wiki and math
Old
  (#9)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: wiki and math - 11-02-2005

That article makes my head spin now, and I helped write it! Well, mainly the parts with the crazy forumlas. PMB, I don't think you are impartial to this decision. You've told me you don't like math that much.

Anyway, we should add more explanations on there.


sfx1999.postcount++

Last edited by sfx1999; 11-02-2005 at 19:20..
  
Reply With Quote
Re: wiki and math
Old
  (#10)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: wiki and math - 11-02-2005

Quote:
less talking and more contributing
Agreed. The wiki is the best place to resolve issues with wiki entires. If the formula is incomprehensible, then get in there and make it readable (if you can that is).


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com