309 points · by 2pi · 13y ago · 180 comments
I don't get it... Wolfram is a money-hungry egomaniac. For example, unlike the other big Ma competitors (Maple, Matlab, Magma) not a single source line of Mathematica code is exposed. He's litigious, he labels everthing "mine", he endlessly praises himself. He wrote this insulting "don't worry your pretty little head with our source code, it's too complicated for you" piece:
http://reference.wolfram.com/mathematica/tutorial/WhyYouDoNo...
So... gratis Mathematica on Raspbian... what's the catch? Is it to lure us to the cloud?
Edit: To clarify, my guess here is that they want to give people a taste of Mathematica on weak hardware in order to lure them to a subscription model on "the cloud" where much more processing power will be available, just like widespread university site-wide licenses and turning a blind eye to student piracy are great marketing strategies.
Is there any evidence to support my wild theories?
Well,it's mathematics software, so it's actually really not unreasonable. Fortunately, the rest of mathematics has moved past the seventeenth-century style of "Here's my result, the proof is secret". If Mathematica is intended to be suitable for mathematical research, then its source must be open so that the results are auditable.
Other mathematics software like Sage doesn't have this problem, and is already available for the Raspberry Pi for free, obviating the need to use Mathematica.
You don't need source to audit the results. It's a tool, just like a calculator or a table of logarithms or a table of integrals. If I use an HP calculator for a calculation, for instance, you don't audit my results by examining the source for the calculator's firmware and convincing yourself it is right and then accepting my results. No, you audit my results by doing the calculation on your Casio calculator and seeing if it comes out the same.
In both cases, the commercial package has many, many features that the free version barely implements or even completely lacks, and implements many of the shared features better. On top of that, the commercial software has the advantage of being market leader. That brings with it that it, in general, is easier to find a Mathematica package to do X that to find a Sage one.
That's not really how you refute an analogy. In any analogy, you can find differences, but not all differences are relevant. You could say "Mathematica isn't made of wood", or "Mathematica isn't full of soldiers", but these differences don't weaken the analogy.
You have to look at the claimed similarity (in this case, ulterior motives) and show a difference that conflicts with that claim.
You have failed to do this, and so your refutation falls flat.
This is a Trojan horse. It undermines the open source alternatives. The Pi foundation here is betraying its open source roots.
No, it's not betraying it's open source roots. It has none. The Raspberry Pi has been a proprietary environment dressed up in open source clothing from the beginning.
The Raspberry Pi has most of its processor silicon devoted to a chip that you are not allowed to touch -- the ARM6 core is really more of a coprocessor to the GPU, which comes with a big binary blob. OK, you say, forget the GPU, I'll just use the little ARM core. Nope! You can't boot the system at all without the blob.
Then we've got their laughable attempt to pass off a shim that delegates function calls as an open-source driver. Or their support for software patents, with patent-restricted chip features that require separately purchased licences.
The Pi foundation's roots are with Broadcom, a company known very well for its hostility to open source.
It is, as you say, an analogy and not to be taken literally.
Someone offering a suspiciously good gift can be expected to expect something in return that may not be to your benefit - particularly if the gift giver is not known for being a philanthropist.
As it happens, closed-source mathematical software is next to useless for anything serious, and for scientific work, it's fatal. This is the single biggest obstacle to programs like Mathematica -- it may be useful for experimentation, but once one intends to publish, it has to be completely excluded from the process.
Imagine someone claiming to have cured cancer, but using a method that other laboratories cannot imitate or inspect, essentially black magic. That's what faces people who try to use Mathematica in scientific work. It violates the most basic principle of science -- transparency.
That's kinda funny. Our revenue per employee is lower than the industry average. If the company was interested in money uber alles, there are many more profitable and less interesting ways of doing it than what we do now.
> not a single source line of Mathematica code is exposed
Well, not sure what you mean by 'exposed'. But you can read large swathes of our code by looking in the right place in the installation. We also have some official open source projects, like our HadoopLink: https://github.com/shadanan/HadoopLink
> That's kinda funny. Our revenue per employee is lower than the industry average.
That's true for investment banks too (i.e. lower than comparable management positions in other fields), but this doesn't mean the higher-ups aren't money-hungry egomaniacs. In fact, it can be argued that when the salaries of mid-level employees are low compared to industry norms, that fact may be used to argue that the company is top-heavy, even possibly money-hungry.
> But you can read large swathes of our code by looking in the right place in the installation.
This is misleading. One can read all sorts of user-level script code, but no source code at all. It's not an accident, and it explains why Mathematica cannot be used in serious mathematical work, work meant for technical and scientific publication and peer review.
Read my post again: revenue / employee, not salary / revenue.
> One can read all sorts of user-level script code, but no source code at all.
What? Probably half of the Wolfram Language is written in the Wolfram Language. How is top-level code not source code?
> it explains why Mathematica cannot be used in serious mathematical work, work meant for technical and scientific publication and peer review.
You keep saying that... I think the truth is more subtle. A tool like Mathematica might play a crucial role in some result, but the proof or result itself doesn't a priori need to rest on any black box software at all to be reproducible.
A nice family of examples would be the class of NP problems, for which the discovery might have been difficult, and achieved via proprietary tools, but the verification is possible via open-source tools or with direct human insight.
And that's not even considering physics, biochemistry, engineering, and astronomy, where many of the tools you use will always be expensive and built by industry, and have no impact on peer review. Especially if they are a means to visualizing data to generate hypotheses, or processing or wrangling data into a tractable form.
Personally, I would love to see Mathematica's simplification and integration routines some day and discuss them with everyone. That's one of the "basic" things that the free CASes still get so woefully wrong, and for me is one of the most interesting secrets.
So you guys (?) released publicly some boring code about linking Mathematica with Hadoop. Big whoop, it's just a wrapper. Where's the real interesting stuff?
Which means that open-sourcing our projects during their actual development isn't worth the significant development cost (an entire toolchain would need to be open-sourced, and documented). And it also is somewhat antithetical to our design process, which is kinda centralized around Stephen himself, who for the most part really does have a good sense of design.
I think that could change, though, and then I think there is a really good opportunity to open source more of our stuff and start building stuff collaboratively with a wider community. Especially when our Cloud stuff comes online.
Also, I regularly bug Wolfram about open-sourcing some core part of the kernel. He's not in principal against it, but points out that it would cost a lot, buy us nothing in the short term, and fork the language. But I think it'll happen eventually, hopefully sooner rather than later.
There is likely a lot left to be done in the core language, but encourage folks to start with v1 of the language: http://reference.wolfram.com/legacy/v1/
Once the core of the language is working, implementing things like simplification and integration become much easier: http://webcache.googleusercontent.com/search?q=cache%3Arefer...
It seems unlikely that such a movement would grow to be the size of Mathematica or the Wolfram language, but then again Linux and Wikipedia also seemed unlikely at the time.
And Mathematica is an amazing piece of software. (Or at least was -- I haven't used it about twenty years. Twenty years ago it was mind-blowingly good. Nothing was even close.)
And 'A New Kind of Science' was a fascinating book. It hasn't quite ushered in the revolution Wolfram still seems to expect, but it was fascinating nonetheless.
Indeed... A Rare Blend of Monster Raving Egomania and Utter Batshit Insanity: http://vserver1.cscs.lsa.umich.edu/~crshalizi/reviews/wolfra...
Possibly because, from what I remember of the reviews, most people said something to the effect of, "It's brilliant! Well, the part I know anything about is garbage, but the rest is great!"
Having good free software is very important! But I wouldn't pull back on providing this software, especially where it could be used to provide a real benefit on learning, based on free software ideals.
Octave & co. could see this as encouragement to get better support for themselves on the raspberry pi as well! I see no reason why they can't all coexist.
I also agree FOSS is important but to 15 year old me, the fluid and polished experience of Mathematica was far more important to me than FOSS.
However, out of the box it seemed to have two modes which it would switch between at random:
1. Hang when the user tries to draw a plot.
2. Crash repeatedly.
Eventually I did get it working by fiddling with the (way overcomplicated) installer until I stumbled across just the right set of features to play nice on my computer. Which is fine for me. . . but anything that's going to be used in a real classroom needs a MUCH more refined Windows package to be a viable candidate for most schools.Certainly. Wolfram was once a near-monopoly in computer-aided mathematics, but their exalted position is fast eroding, diminished by free alternatives like Sage¹.
Wolfram's response has been to package their product in increasingly ingenious ways, as with Wolfram Alpha², which has been quite successful. But in the long term, these methods will fail, because for mathematics to be both valid and understood, it must be transparent.
Look, Sage is great, I hope Sage does really well and eventually duplicates the entirety of our functionality. But at the current rate it'll take probably hundreds of years. Sometimes, profit-subsidized research is just much, much more productive at driving innovation.
If I were you, I would want to avoid describing Wolfram's present circumstances as a monopoly. The word has certain legal implications one would do well to avoid.
But I don't know what he could be up to. Getting people hooked? Seems like running Mathematica on underpowered hardware could leave a bad taste in people's mouths.
[1]http://www.ted.com/talks/conrad_wolfram_teaching_kids_real_m... [2]http://blog.wolfram.com/2013/11/21/putting-the-wolfram-langu...
Looking at the frighteningly informative article on the Wolfram page, your theory doesn't seem far out at all.
> Despite the hype it is a more closed platform than many other things you could buy
Claiming to be open, but still encouraging and endorsing non-open-source software. I was startled to read why R.Pi is unsuitable for education [1]
[0]: https://wiki.debian.org/RaspberryPi
[1]: http://whitequark.org/blog/2012/09/25/why-raspberry-pi-is-un...
The $25 price point is more important to the educational use (K-12) then any specs put out about the hardware. I don't need to know any of that to learn Python for instance.
Open source (and linux fragmentation for example) is all about choices right?
Only if you make the right choices.
Seriously, they are not endorsing non-open-soruce. They are graceful that there is one additional tool available to educators. Your "debian repository" is a marketplace. I don't see why education has to be run with open source tools. Why? Do we all have to use Open Office instead of MS Office suite? I actually like MS suite better but I just don't want to purchase a license for my Mac so I keep Open Office. I like fusion over virtualbox. There is nothing wrong with anyone using closed source in education. Please stop thinking that because Raspberry Pi runs on open source operating system it has to include open source software from start to end. The end goal is to be able to afford cheap hardware and bundle a bunch of software for classroom use.
I do wonder how much pressure they're feeling from the likes of IPython these days and if that was a motivating factor.
The other part is I don't think I've met a regular Mathematica user that actually likes it, so this may turn out to be a bad idea!
I don't use either IPython or Mathematica much, but I would understand preferring Mathematica over IPython given the choice. Aside from being younger, IPython is made of a combination of systems without a strong conceptual glue tying them together. Mathematica is made of a combination of systems too (kernel written in C, various external libraries in C, Lucene search engine, etc), but the components are tied together using what I guess is now called the Wolfram language, where everything, from computations to settings to notebooks themselves, is specified in Wolfram language expressions. If you view an IPython file in a text editor you see JSON, which is different than the language used to compute. If you open a Mathematica notebook in a text editor you see a nested set of Wolfram language expressions. Mathematica grew up around that idea.
As a further small example, compare the prompts to the two systems:
IPython
In [1]: 1+2
Out[1]: 3
vs Mathematica
In[1]:= 1+2
Out[1]= 3
In IPython, the array brackets are just a sort of notation--the assignment isn't syntactially correct Python. But in Mathematica, you can view that prompt as assigning the value of an In list at index 1 the expression "1+2".That sort of consistency holds through the entire system in a way that IPython can't match.
In Mathematica "In[1]:= 1+2" is a syntactially valid expression (though the literal In symbol is protected), so you could do the following:
In[1]:= in[1]:= 1+2
and the interpreter would evaluate it (though the values of In[1] and in[1] would be different).But even with all of the symbols defined, this is not valid Python (according to https://www.pythonanywhere.com/try-ipython/):
In [1]: in=[]
In [2]: in[0]:1+2
File "<ipython-input-2-b9cd4c9ee15d>", line 1
in[0]:1+2
^
SyntaxError: invalid syntax
The fact that this trivial expression is valid in Mathematica and not in IPython by itself says nothing about the relative merits of each system. IPython could be modified to use another notation for the input/output arrays, and Mathematica would work just as well if it were changed to use some syntactically incorrect notation. But what I was attempting to show is an example of how consistent Mathematica is. In[1]:= D[x^2 Sin[x], x]
Out[1]= x^2 Cos[x] + 2 x Sin[x]
In[8]:= Integrate[Sin[x], {x, 0, c}]
Out[8]= 1 - Cos[c]
In[10]:= Solve[{x + 23 y + x^2 == 46, x - y == 234}, {x, y}]
Out[10]= {{x -> 2 (-6 - Sqrt[1393]), y -> 2 (-123 - Sqrt[1393])},
{x -> 2 (-6 + Sqrt[1393]), y -> 2 (-123 + Sqrt[1393])}}
I love ipython as well, but it can't do that sort of thing.I love the amount of investigation people put into this sort of thing before making blanket statements like this.
>>> diff ( x**2 * sin ( x ) , x )
2
x *cos(x) + 2*x*sin(x)
>>> integrate ( sin ( x ) , ( x , 0 , c ) )
-cos(c) + 1
>>> solve ( [ Eq ( x + 23 * y + x**2 , 46 ) , Eq ( x - y , 234 ) ] )
______ ______
[{x: -12 + 2*\/ 1393 , y: -246 + 2*\/ 1393 },
______ ______
{x: - 2*\/ 1393 - 12, y: -246 - 2*\/ 1393 }]
Try it for yourself: http://live.sympy.org/I am no sympy expert at all - I figured it all out in the time since I read your comment. But of course I'm sure you love ipython as well.
(edit - fixed copy&pasting stupidness)
To Quote Sage's home page: "Sage is a free open-source mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface."
Sage is based on Python and so it is not a bit it is the whole thing.
Note that it includes a beta version of the new Wolfram Language!
I got the personal license of Mathematica for Mac a while ago and thought the price was reasonable for such a powerful system.
The only thing that was driving me nuts is that Mathematica does not work properly on a Retina display, which of course is a shame as text and graphics would look gorgeous. Support for that is only planned for the next major version, according to Wolfram (http://mathematica.stackexchange.com/a/30104/10565).
I recently found a hacky fix: http://mathematica.stackexchange.com/a/21158/10565
With that, Mathematica now looks fantastic on my MacBook Pro's built-in screen.
If I increase RAM, I get a black screen when launching the machine.
If I try -vga std (hoping to get better resolution) I get an error.
FriCAS/Axiom running on ARM board (ie. Raspberry Pi) on top of Clozure CL (on Ubuntu/GNU/Linux)
Although my preference is for free software (hadn't heard of either SymPy or Mathics mentioned elsewhere), I like the idea of plugging a Raspberry Pi into the router, and being an X session away from Mathematica.
I wonder how much heat these things produce? Could they be used to make an efficient, small cluster?
Efficient not even remotely the performance per unit of a Raspberry Pi just makes it not worth it (note: it's worth it if you want to simulate multi-node programming, SMPP type stuff).
For example a 32 node raspberry pi machine clocked 10.9Gflops on linpack[1], 32 * 35 is $1120 (excluding switches, cabling, power supplies which would add at least another $200 or so).
A single Nvidia Titan clocks ~1.5 Teraflops in double precession mode for ~$1000 (a performance per dollar rate of 137 times better).
According to wikipedia[2] a cheap Sempron 145 with 3 Geforce GTX760's at $1090 has a performance of 6.771 teraflops (so over 500 times the performance of the 32 node raspbery pi)
1 http://www.zdnet.com/build-your-own-supercomputer-out-of-ras...
2 to 64 nodes http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomput...
http://raspberrywebserver.com/raspberrypicluster/raspberry-p...
http://blogs.nvidia.com/blog/2013/07/19/secret-recipe-for-ra...
Canonical had a 43 node Arm build cluster http://www.geek.com/chips/canonical-builds-a-42-core-arm-clu... and there's a campaign for an RPi version http://www.indiegogo.com/projects/a-raspberry-pi-build-clust...
If one managed to hack the binaries and include them in an iOS app, would Wolfram permit that?
http://blog.wolfram.com/2013/11/21/putting-the-wolfram-langu...
http://maxvitek.wordpress.com/2013/11/24/get-mathematica-on-...
I find that it's fine for most things but slow for visualizations (and you need an x server running, not making the most of the emulated hardware).
(Can anyone succeed in using this method and then adding it as a remote kernel to a normal desktop Mathematica session?)
* softfp where the float function arguments are passed in using integer registers or the stack
* hardfp where they are passed in using the FPU registers
In the above cases, the float operations are done in hardware in the FPU. There is a 3rd ABI called softfloat where everything is done in software, and thus is very slow.