Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13412

Re: Mathematica and Lisp

From John Doty <noqsiaerospace@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mathematica and Lisp
Date 2013-02-07 02:28 +0000
Message-ID <kev3fr$pfg$1@smc.vnet.net> (permalink)
References <kcqkv4$lq5$1@smc.vnet.net> <kct7fj$sgo$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On Wednesday, February 6, 2013 1:51:10 AM UTC-5, Richard Fateman wrote:
> On 2/3/2013 5:20 PM, John Doty wrote:
>
> ....
>
> You seem to think I haven't written Mathematica programs.
>
> Maybe looking at the appendix here would change your mind.
>
> Maybe not, though.
>
> http://www.cs.berkeley.edu/~fateman/papers/better-rules.pdf

All this demonstrates is that you don't understand how to use Mathematica. =
All you know how to do is fight against it. You don't understand when to us=
e rules versus when to use the various algebraic tools. Your code is pointl=
ess: no trajectories calculated, no bridges designed, and it doesn't enable=
 anything that Mathematica can't already do.

> > Considered as software failures, both of these occurred in application =
code and were not the result of programming language deficiencies.
>
>
>
> Was the code not written in a programming language?
>
> Even if it was written in assembler, that too is
>
> a programming language.  I expect that the bug
>
> occurred because the programmer did not realize the
>
> semantics of the code.

In the Theravac case, the coders appeared not to understand the operation a=
nd hazards of the radiation therapy machinery very well. In Ariane case, I =
have heard that the coders concluded that overflow was impossible in the co=
ntext of Ariane IV, but that analysis was not redone for Ariane V when the =
software was reused. In any case, the fundamental failure in both cases was=
 in systems engineering, not code. You shouldn't place much blame on the sp=
ark that sets you on fire when you walk around in clothes soaked with gasol=
ine.

> > Not all bugs are of equal importance. An error of 5.5E-79 in a Bessel f=
unction is very unlikely
>
>  >to cause trouble in a practical application.
>
>
>
> One of the marvels of computing today is that it is possible to do so
>
> much in such a short time.
>
> One can execute billions of instructions a second.  If only
>
> one in a million does the wrong thing, and is wrong only
>
> by a tiny percent,  you can accumulate a whopping mistake
>
> in a second.

5.5E-79 is rather smaller than a tiny percent. The best physical measuremen=
ts are good to a few parts in 10^16. Assuming teraflop arithmetic, adding n=
umbers with errors of 5.5E-79, it'll take you about 4E45 times the age of t=
he universe to have errors add up to 1E-16.


>   I've been using Mathematica to do practical work since version 1,
>
>  > and I've never encountered a bug in its numerics.
>
> I guess it is my turn to wonder if YOU know much about Mathematica.

The difference is that I *use* it. You *fight* it.

> > Crazy results from numerical codes are a normal occurrence,
>
>  > I don't find Mathematica to be unusually hazardous here.
>
> I guess I disagree on this point.

But you don't actually use numerical codes. You don't design bridges, compu=
te trajectories, or study turbulence. So your opinion is uninformed.

> >> This is pretty far afield from the original question which I
> >> think was somehow...s Mathematica somehow Lisp-like.... should I learn=
 Lisp...
>>
> > I'm unusual in that I write practical engineering code in Scheme (a Lis=
p dialect),
>  > along with code for both science and engineering in Mathematica.
>
> I think that is unusual, but I count it as a good thing.

Well, I'm not so sure that using Scheme is so good: it means that few poten=
tial collaborators are willing to try to read my code. To the average engin=
eer or scientist, Lisp screams "forget your application and pay attention t=
o the cool computer science". Now, I actually know enough of that CS crap t=
hat I can see past it to reality, but most don't. I primarily use Scheme to=
 access a collection of useful functions that are actually written in C, bu=
t have Scheme (Guile) interfaces. I think it would be much better if those =
interfaces were in a language friendlier to engineers, like Python. Scheme'=
s fine for me, with my eccentric background, but not for most others.

> Though
> Common Lisp  (a Lisp dialect) is used in space computations --
> the Hubble telescope.

My old colleague Mark Johnston developed SPIKE for Hubble, but it has been =
and is used for other missions as well. I was involved in getting the ASCA =
and Chandra space observatories to adopt it for their operational planning.=
 The last time I talked to Mark (a long time ago), he seemed rather unhappy=
 with CL as an implementation language for a practical AI application. I do=
n't think he'd choose CL again if he had to rewrite SPIKE.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mathematica and Lisp amzoti <amzoti@gmail.com> - 2013-01-12 03:23 +0000
  Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-13 02:51 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-14 05:01 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-15 04:28 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:15 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-18 05:49 +0000
            Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-22 07:40 +0000
              Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-23 04:18 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-24 06:17 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-25 06:33 +0000
                Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-26 06:37 +0000
                Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-26 06:37 +0000
                Re: Mathematica and Lisp "W. Craig Carter" <ccarter@MIT.EDU> - 2013-01-26 21:58 +0000
      Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-16 06:39 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:14 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-17 04:14 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@eecs.berkeley.edu> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp W Craig Carter <ccarter@MIT.EDU> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-18 05:49 +0000
        Re: Mathematica and Lisp W Craig Carter <ccarter@MIT.EDU> - 2013-01-18 05:49 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-01 01:46 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-02 06:15 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-03 07:52 +0000
          Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-05 08:06 +0000
            Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
              Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-07 02:28 +0000
      Re: Mathematica and Lisp danl@wolfram.com - 2013-02-02 06:15 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-03 07:51 +0000
      Re: Mathematica and Lisp Andrzej Kozlowski <akozlowski@gmail.com> - 2013-02-03 07:52 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-05 08:06 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
          Palette problem with Feynman slash notation "Dave Snead" <dsnead6@charter.net> - 2013-02-08 10:10 +0000
    Re: Mathematica and Lisp Matthias Bode <lvsaba@hotmail.com> - 2013-02-04 01:19 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-04 01:20 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-06 06:51 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
        Re: Mathematica and Lisp "mathgroup " <fizzymath@knology.net> - 2013-02-07 02:27 +0000
    Re: Mathematica and Lisp Alex Krasnov <akrasnov@eecs.berkeley.edu> - 2013-02-05 03:23 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-07 02:28 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-08 10:10 +0000
      Re: Mathematica and Lisp ?iso-8859-1?Q?J=E1nos_L=F6bb?= <janos@lobb.com> - 2013-02-09 05:42 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@eecs.berkeley.edu> - 2013-02-09 05:43 +0000
    Re: Mathematica and Lisp Andrzej Kozlowski <akozlowski@gmail.com> - 2013-02-08 10:10 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-08 10:10 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-09 05:43 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-10 08:34 +0000
    Re: Mathematica and Lisp Matthias Bode <lvsaba@hotmail.com> - 2013-02-09 05:43 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-15 06:56 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-17 09:08 +0000
        Re: Mathematica and Lisp Joe Gwinn <joegwinn@comcast.net> - 2013-02-18 10:59 +0000
      Re: Mathematica and Lisp "djmpark" <djmpark@comcast.net> - 2013-02-18 11:00 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-22 06:05 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-23 12:01 +0000
            Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-24 04:31 +0000
              Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-25 07:19 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-26 06:09 +0000
  Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-13 02:51 +0000
  Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-01-16 06:38 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:15 +0000
      Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-01-18 05:50 +0000
  Re: Mathematica and Lisp Peter Klamser <klamser@googlemail.com> - 2013-02-24 04:31 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-25 07:19 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-26 06:09 +0000

csiph-web