Re: If Scheme is so good why MIT drops it?

2009-07-21 Thread Slobodan Blazeski
On Jul 19, 7:33 pm, fft1976 fft1...@gmail.com wrote:
 On Jul 19, 9:55 am, Frank Buss f...@frank-buss.de wrote:

  E.g. the number system: In many Lisp
  implementations (/ 2 3) results in the fractional object 2/3. In Python 2.6
  2 / 3 results in 0. Looks like with Python 3.1 they have fixed it, now
  it returns 0.66, which will result in lots of fun for porting
  applications written for Python = 2.6.

 How do you explain that something as inferior as Python beat Lisp in
 the market place despite starting 40 years later.

Worse is better?

Bobi
http://www.linkedin.com/in/slobodanblazeski
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Distributed RVS, Darcs, tech love

2007-10-21 Thread Slobodan Blazeski
On Oct 20, 6:20 pm, Daniel Pitts [EMAIL PROTECTED] wrote:
 On Oct 20, 2:04 pm, llothar [EMAIL PROTECTED] wrote:

   I love math. I respect Math. I'm nothing but a menial servant to
   Mathematics.

  Programming and use cases are not maths. Many mathematics are
  the worst programmers i've seen because they want to solve things and
  much more often you just need heuristics. Once they are into exact
  world they loose there capability to see the factor of relevance in
  algorithms.

  And they almost never match the mental model that the average
  user has about a problem.

 I read somewhere that for large primes, using Fermat's Little Theorem
 test is *good enough* for engineers because the chances of it being
 wrong are less likely than a cosmic particle hitting your CPU at the
 exact instant to cause a failure of the same sort.  This is the
 primary difference between engineers and mathematicians.

Carmichael number are the ones who are making the problem , but they
are very rare.
There are 1,401,644 Carmichael numbers between 1 and 1018
(approximately one in 700 billion numbers.)
http://en.wikipedia.org/wiki/Carmichael_number If you want to be sure
use Miller-Rabin test.

Slobodan Blazeski

-- 
http://mail.python.org/mailman/listinfo/python-list