126 points · by tomerbd · 6y ago · 90 comments
https://news.ycombinator.com/item?id=22625370
Probably too different to merge the submissions.
SymPy has a built-in converter to/from Mathematica (although it can't convert from Mathematica lists yet), so that's helpful
(Here's the project I used it in for interested people https://github.com/joebentley/simba)
This shows some flexibility on their behalf, but it’s moving in the wrong direction (as far as I’m concerned, at least).
> Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps.
It doesn't rule out something like Pythonista (which is great!) that lets you write/run your own code (which doesn't change the app itself).
Wolframscript makes this hard though for the following two reasons: (i) wolframscript requires users to login before any script can be ran; (ii) only 1 wolframscript REPL can be open at a time.
(i) makes it impossible to export wolframscripts to users who don't know what wolframscript is. For example, if I'm using wolframscript as a build tool for a larger Haskell project, and some user downloads my software, they'll first have to login to Wolfram Cloud before the wolframscript is able to run. There's no way I'm going to force people to do that, so it hinders the growth of the language.
(ii) makes it hard to use wolframscript as a complete terminal replacement. People often use multiple terminals at once, at different locations in the file system. Wolframscript only allows once at a time.
Wolfram Language is insanely good. It should be more popular than Python. I think fixing some of these licensing/login issues could help it grow.
That sounds exciting. Can you explain more?
CloudDeploy[
FormFunction[{"a" -> "Number", "b" -> "Number", "c" -> "Number"},
Plot[#a x^2 + #b x + #c, {x, -10, 10}] &],
Permissions -> "Public"]
will create and deploy a publicly accessible web form that asks for 3 coefficients and plots a parabola. How many lines of code / external libraries would you need to do the same thing in python?https://www.wolframcloud.com/obj/e0b275e6-49a2-4901-a806-e36...
As a tiny anecdote, a colleague of mine recently published a paper in quantum computation and computed a representation of some mathematical object, specifically the exact value of an angle which modulates a particular quantum gate. In the paper was this bizarre continued fraction along with arctans and pi’s that no experimental physicist in their right mind would have derived themselves.
“Where in the world did this come from?” I asked, while reviewing the paper.
“Oh, it’s just what Mathematica gives,” he responded. “I don’t even fully understand it. But I do use it as proof that the angle is an irrational number and thus breaks its inclusion in some known finite group.”
You might call out this otherwise accomplished physicist for what appears to be misusing the tool—taking results at face value without understanding them—but I guarantee scientists and engineers are doing this stuff daily, in more consequential places than abstract quantum physics papers.
Wolfram and his team have built something amazing, and built an incredibly successful business, but I hope he uses his business acumen to find a way to contribute to the “greater good” while he continues to enjoy running a company and making money.
mathematica is built by a company that seems to take a lot of pride in quality. they are also clearly incentivized by keeping the company afloat and thus by addressing major issues.
i hear people barking incessantly about open source software in mathematics and science, but i just don't see what would actually be successful. in most people's daily jobs in engineering and even in large science projects, proprietary code is used everywhere. it's the only way to get things done in many cases. in my experience, getting a bug acknowledged, prioritized, and then fixed in open source software is like pulling teeth. what are you going to do with open source mathematics or scientific software where only like a person or two understand the bug? your story could easily have replaced mathematica with sage, and the story wouldn't be changed at all. okay fine, sage is open source. but what's more likely to be successful: (1) you are going to look through the likely millions of lines of code that makes up sage and find what's happening, or (2) you call up wolfram and ask what's going on since you have support for a product that you paid for?
how is open source software supposedly inherently better for math and science research?
(As a funny story, even Wolfram-the-company can’t run SMP, the predecessor of Mathematica. Why? They can’t decrypt it or unlock it, and can’t figure out how to work around it.)
Every major tech company on earth uses open source software at the heart of their business. So we know something sustainable is possible.
Open source, one-size-fits-all math software is a tough nut to crack. I think most people could get most of their algebra and calculus done with existing open packages like wxMaxima or Sage. Specialized computations, such as those in group theory, already have open source implementations that exceed any closed competitor.
As for the construction of a competing CAS, some organization would have to employ a team. That costs money, and so far no company (that I know!) sees it as either a worthwhile investment or charitable cause. If folks do know of a company, I’d love to know.
why? why is proprietary software less reproducible? aside from cost, i might even argue that proprietary software is more reproducible. open source software often has dependency hell. how are you sure that the dependencies and software installation is the same between two computers?
how are results not able to be reconstructed with proprietary software, aside from cost (which is not your argument)? if someone has a result found in mathematica, then couldn't that same method be reconstructed in other software to compare results? if it can't, then mathematica provides some feature not found in other software.
and plenty of science operates by not being fully reproducible by independent parties due to cost and available equipment. that's often mitigated by people reproducing the experiments or results with different equipment and even methods. and even then, every regular joe still can't reproduce the results due to massive costs.
With regards to conditioning the result, it should be as such, but no researcher would ever smear their result like that. Research is cutthroat.
The visual version is quite reasonable an IDE now.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
To be fair, the denominator in this equation is fairly large, too :-)
Python isn't called "the van Rossum Language". C isn't called "the Ritchie Language" (or "the Bell language", for that matter). Lisp isn't called the "the McCarthy language". We should judge Wolfram Research's products in spite of their unfortunate names, but denying that they're the result of Wolfram's narcissism is silly at this point.
Somebody naming something after themself seems a little tacky to me, but I don't think it's anything to get bent out of shape about.
Is there anything actually wrong with NKS aside from the tone?
[0] http://shell.cas.usf.edu/~wclark/ANKOS_humor.html 3rd from the top
> "As the saying goes, there is much here that is new and true, but what is true is not new, and what is new is not true; and some of it is even old and false, or at least utterly unsupported."
The author seems fairly knowledgeable on the subject of cellular automata.
EDIT: I see this has been posted elsewhere in the comments
https://en.wikipedia.org/wiki/A_New_Kind_of_Science
"A Rare Blend of Monster Raving Egomania and Utter Batshit Insanity"