Re: ignorance and intolerance in computing communties

2007-05-03 Thread Roel Schroeven
Xah Lee schreef: > Xah Lee wrote: > « > ... > “Ignorance And Intolerance In Online Computing Communities” > http://xahlee.org/Netiquette_dir/ignorance_intolerance.html > > ... As i have indicated in my post, it is non-trivial to implement a > function that returns the positive angle of a vector..

Re: ignorance and intolerance in computing communties

2007-05-03 Thread Frank Buss
Xah Lee wrote: > I'm still interested, if someone would show the source code, of how > Perl, Python, or Lisp or Java, implement the function that finds the > angle of a complex number. So you have forgotten to cross-post to comp.lang.java :-) I think at least for strict floating-point Java uses

Re: ignorance and intolerance in computing communties

2007-05-03 Thread Ignoramus12143
It is not that difficult to those of us who know math. Obvious analogy to the function below exists in 'perl'. double vectorAngle( double x, double y ) { double r2 = x*x+y*y; if( r2 == 0 ) return -10; // error case int quadrant = x > 0 ? (y >= 0 : 0 : 3) : (y > 0 ? 1 : 2); return pi/2

Re: ignorance and intolerance in computing communties

2007-05-03 Thread Xah Lee
Xah Lee wrote: « ... “Ignorance And Intolerance In Online Computing Communities” http://xahlee.org/Netiquette_dir/ignorance_intolerance.html ... As i have indicated in my post, it is non-trivial to implement a function that returns the positive angle of a vector » I have now coded this. I th

Re: ignorance and intolerance in computing communties

2007-05-03 Thread fireblade
> As i have indicated in my post, it is non-trivial to implement a > function that returns the positive angle of a vector. For example, it > can be done with sign checking of the coordinate components (in total > 4 cases, which can be done as 2 levels of nesting if, or simply 4 > if.), and or the

Re: Responding to Trolls [was Re: ignorance and intolerance in computing communties]

2007-05-03 Thread Michele Dondi
On Thu, 03 May 2007 14:54:21 +1000, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >Subject: Responding to Trolls [was Re: ignorance and intolerance in computing >communties] Nope. No way. Michele -- {$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map s

Re: ignorance and intolerance in computing communties

2007-05-02 Thread Pillsy
On May 2, 11:33 am, Xah Lee <[EMAIL PROTECTED]> wrote: [...] > In a person's computing career, concrete and specialized questions > like these abound, and the answers or knowledge about them are scarce. > Due to the general ignorance of technical knowledge, and the power- > struggling nature of mal

Re: ignorance and intolerance in computing communties

2007-05-02 Thread Edward
On May 2, 8:33 am, Xah Lee <[EMAIL PROTECTED]> wrote: > As i have indicated in my post, it is non-trivial to implement a > function that returns the positive angle of a vector. For example, it > can be done with sign checking of the coordinate components (in total > 4 cases, which can be done as