News for hackers. Stuff that matters.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by cube2222 on Sunday February 26, 2023 @06:39AM (#34944780)
Could you expand on, for a person who only dabbled with Mathematica some time back, what that niche is?
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by prof-dr-ir on Sunday February 26, 2023 @07:03AM (#34944889)
Mathematica usage appears widespread in my own domain of theoretical physics, but it is probably used in elsewhere as well.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by mhh__ on Sunday February 26, 2023 @07:22AM (#34944980)
A good niche for mathematica is finance: type in your equations, tell it what "type" your variables are, let it solve them. Let the machine get it right.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by azalemeth on Sunday February 26, 2023 @11:32AM (#34946787)
Do you have a good example of this beyond Black Scholes and with eg real world market data and picking a portfolio of ETFs, say?
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by mhh__ on Sunday February 26, 2023 @07:41PM (#34951547)
Yes but I can't legally tell you (weird exotics and fixed income models with lots of daycounts that you'll make a mistake on are a hint)
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by jacoblambda on Sunday February 26, 2023 @07:27AM (#34945012)
As a random computer engineer, I find using mathematica to be extremely convenient when trying to grok a problem or lay out a first attempt at a solution. Of course it isn't really helpful when dealing with glue issues (i.e. making software work together) but it is really good at letting you experiment at a high level and put together an algorithm to process/interpret/transform/generate some data.

I say it's good for high level experimentation because basically every function/transform/operation/solver you could ever need is present in the standard library [1] and stuff "just works". IMHO it's not really something you'd want in production but it lets you get an MVP for a given problem/solution working faster than any other tool I've used and all while rarely needing to even consider a 3rd party library. You can then focus on just mapping that MVP to whatever language/library/ecosystem you are actually working in.

1. https://reference.wolfram.com/language/

Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by neltnerb on Sunday February 26, 2023 @07:57AM (#34945164)
It used to be the big differentiator was the ability to do symbolic math and actually solve equations. Maple could also do it, as could the TI89, so I never really got into it. It was just a huge difference from Matlab.

But if I have an actually nasty equation to solve, like a system of differential equations with erf functions or something, I do actually go to wolfram alpha for help. It happens more often than I'd like, it's especially nice that no matter how nasty the equations you can still use units.

Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by danuker on Sunday February 26, 2023 @10:10AM (#34946116)
The reason I might find Mathematica interesting is its language, which I found to be on my popularity-brevity Pareto frontier.

https://danuker.go.ro/programming-languages.html#non-math-ma...

So, it can express an average Rosetta Code non-math task in ~180 bytes, compared to Python, ~270, or Java, ~420. I guess this is because of its vast libraries of "batteries included".

Where it all falls apart is sharing. Nobody can run my creation, and even Mathematica Home Cloud is $194/year, which I find pretty steep, being used to free & libre software.

Monetizing is a whole different story, with commercial licenses starting at $1620/yr, which I could only justify if I already had a team wanting to learn the language and a large-ish profitable business service whose source code I wanted to convert to a locked-in solution for some reason.

Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by SomeHacker44 on Sunday February 26, 2023 @10:59AM (#34946477)
I bought a one time home license for like $200ish a number of years ago and it still works, and will likely work forever. I have transferred it between computers and even OSes over time. Worth it. I pay as much for JetBrains annuallt and way more for the Adobe stuff I use maybe twice a year.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by whitten on Sunday February 26, 2023 @11:10AM (#34946593)
Are one-time licenses a thing of the past ?
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by danuker on Sunday February 26, 2023 @11:15AM (#34946647)
A permanent home/hobby license for Desktop costs $387, as far as I can tell. It only allows 4 cores being used, and for more you need to buy Core Extensions.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by buescher on Sunday February 26, 2023 @12:08PM (#34947146)
They do make some attempts on their web site to steer you into the yearly subscription, or into buying a yearly support contract if you do buy a permanent license, so some folks might not realize the permanent licenses are still available without a support contract.

They also run regular sales on all their products. Pi day is coming up.

Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by milkthefat on Sunday February 26, 2023 @09:18AM (#34945711)
It's extremely versatile which makes it able to solve some neat problems. My favorite example is this was a CodeGolf to find if a goat in an image is upside down. - https://codegolf.stackexchange.com/questions/71631/upgoat-or...
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by lordgrenville on Sunday February 26, 2023 @09:40AM (#34945877)
For those who didn't click: Mathematica stdlib contains a "detect goat" function.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi by paraph1n on Sunday February 26, 2023 @11:06AM (#34946539)
That's not quite true. The function call in question is

> ImageInstanceQ[x,"caprine animal",RecognitionThreshold->i/100]

I think it's less misleading to say it has a generic image recognition function that supports goats, among many other recognition targets.