Slashdot Mirror


Wolfram Language Demo Impresses

theodp writes "The devil will be in the details, but if you were stoked about last November's announcement of the Wolfram programming language, you'll be pleased to know that a just-released dry-but-insanely-great demo delivered by Stephen Wolfram does not disappoint. Even if you're not in love with the syntax or are a FOSS devotee, you'll find it hard not to be impressed by Wolfram's 4-line solution to a traveling salesman tour of the capitals of Western Europe, 6-line camera-capture-to-image-manipulation demo, or 2-line web crawling and data visualization example. And that's just for starters. So, start your Raspberry Pi engines, kids!"

216 comments

  1. mathematica? by goombah99 · · Score: 3, Insightful

    This looks a lot like Mathematica. When does something become programming language? Wasn't mathematica a programming language too?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:mathematica? by MightyYar · · Score: 4, Informative

      It looks like Mathematica because Mathematica implements this language and is where it comes from. Historically the language developed ad hoc and now they have made an effort to standardize it into a "language".

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    2. Re:mathematica? by goombah99 · · Score: 5, Informative

      I first looked at the examples given in the article and said "harrumph this is mathematica". But then I watched his demo and I see what he's getting at. You could say this is just a really nice library but it's way more than the sum of it's parts. I think he's using the term Language not in the sense of "programming language", but rather in the sense that every real world speaking language like english, spanish contains an intrinsic model of the world itself and every part of a spoken language can be coupled to every other part. That is speaking has no incompatible interface between ideas does it? That question would never occur to you, but of course we have that problem with every programming library API.

      SO he's talking about a Language for programming as much as a programming language. His accomplishment is to make a language of programming a programming language.

      One of the great tricks he accomplishes is to combine symbolic programming and functional programming. I was somewhat surprised to notice that reactive programming actually falls out of that by accident. There's been a lot of spamvertising articles on Slashdot lately about the dogs dinner versions of Reactive programming for databases. Those are toys. Wolfram gets it right by not making it just fall out accidentally of two greater programming principles.

      Decades ago I toyed with mathematica. The problem I had with is it was that the symbolics were nice but they let you easily create problems with permutations so large that it became incomprehensibly slow as your problem scaled. This if course was the users fault. I'm just saying that the power of the language gave me the power to be stupid. In a similar way APL with it's outerproducts instead of loops could easily use up all your computer memory in one command line without you even appreciating what had just happened. With procedural languages you had to think about how your algorithm was going to manage its own complexity and thus oddly worked better for scaling to complex problems.

      It looks like what has happened is that mathematica --- now wolfram language--- has a lot more speed and wisdom about how to manage complexity and choose more wise approaches. SO perhaps that problem is solved more. But it's hard to say from the demo.

      In any case that was a staggering demo.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    3. Re:mathematica? by Joce640k · · Score: 5, Interesting

      Am I supposed to be impressed by "a 4-line solution to a traveling salesman tour" when that 4 line solution calls a library function called "FindShortestTour()"?

      That might be useful if your name is Martin Gardner, but...

      --
      No sig today...
    4. Re:mathematica? by goombah99 · · Score: 4, Informative

      You should watch the demo. At one point he enters a natural language expression "Show a blue dodecahedron and two red spheres" which pops up a shaded 3D image model of just that.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    5. Re:mathematica? by fuzzyfuzzyfungus · · Score: 4, Insightful

      Honestly, seeing that much power in a demo makes the hair on the back of my neck rise (and in the 'something vile beyond comprehension this way comes' sort of way, not the 'awe at technology indistinguishable from magic' kind of way).

      If you can do extremely complex and powerful things with very, very, short commands, that suggests that all those commands have a lot of internal magic baked in, quite possibly including some might-as-well-be-nondeterministic guessing to paper over any ambiguity in commands, or in output from one command moving to be input for another.

      In the context of a demo, where you can carefully test, and confine yourself to some highlights from the set of programs that are both cool and well behaved, fantastic. In the context of taking the language out into the wild, that sounds like every nightmare interaction with an unpredictable and opaque 3rd-party library that you'll never expunge from your nightmares....

    6. Re:mathematica? by fuzzyfuzzyfungus · · Score: 2

      I'm sure that the 'parse natural language expression and then do some 3d rendering' library is epic fun to debug if it behaves unexpectedly...

    7. Re:mathematica? by SuricouRaven · · Score: 1

      I'm somewhat less impressed because I can see an obvious shorter tour.

      Take out the big journey at the left, connect the ends on the right. It's worse than it looks - the map makes Iceland look closer than it is.

    8. Re:mathematica? by i+kan+reed · · Score: 3, Informative

      But that's not your job. You're not developing the language. You're just asking it to do things. Submit a bug report and move on.

    9. Re:mathematica? by ColdWetDog · · Score: 4, Funny

      Ah, so it's like Lotus Notes, then.

      --
      Faster! Faster! Faster would be better!
    10. Re:mathematica? by thisisnotreal · · Score: 1

      HAH!

    11. Re:mathematica? by flargleblarg · · Score: 4, Funny

      "Show a pink cylinder with a purple sphere at the end with two pink spheres."

    12. Re:mathematica? by Anonymous Coward · · Score: 4, Insightful

      But that's not your job. You're not developing the language. You're just asking it to do things. Submit a bug report and pray to god that they fix it before you need to finish the project that you stupidly designed around this nondeterministic, amorphous pile of somewhat awesome but perhaps totally useless functions.

      ftfy

      captcha: formulas

    13. Re:mathematica? by Anonymous Coward · · Score: 1

      That could be the thing's tag-line.

      Wolfram Language: Don't worry about getting things done. Just submit a bug report and move on.

    14. Re:mathematica? by goombah99 · · Score: 3, Funny

      "Find an image on the web resembling a torus being stretched by two hands"

      --
      Some drink at the fountain of knowledge. Others just gargle.
    15. Re:mathematica? by Megol · · Score: 1
      Exactly. While normal programming languages often makes programmers handle too much low level detail there are many languages that gives short, easy to read solutions for a limited subset of tasks. They are commonly referred to as 4th generation languages and are commonly made to interact with databases - though there are many 4GLs for other tasks too.

      What this reminds me of is an old school game oriented BASIC language on stereoids that had the same idea but in a more limited way. That is: lots of keywords that are automatically included that can do pretty complex tasks easy IFF they have been thought of and included by the language designers. When one goes outside of that subset one instead have to fight the language to do what one want to.

    16. Re:mathematica? by tristes_tigres · · Score: 1

      What the AC said. Mathematica language itself is rather buggy and outdated, and I shudder to think about stuff like "natural language processing" built on top of it.

    17. Re:mathematica? by yotamoteuchi · · Score: 1

      Am I supposed to be impressed by "a 4-line solution to a traveling salesman tour" when that 4 line solution calls a library function called "FindShortestTour()"?

      Do you count all the lines of code behind methods in other languages? Maybe you only write machine language... So maybe this is just higher-level language, if you will, with a greater level of abstraction than we are used to.

    18. Re:mathematica? by MouseR · · Score: 1

      I see what you did there and raise you a tub.

    19. Re:mathematica? by jfengel · · Score: 1

      I get it in the "magic indistinguishable from a rigged demo" kind of way.

      Language snippets that look great on a powerpoint slide don't always translate into great languages for programs that take up tens of thousands of lines. If anything, just the opposite: some of the redundancy that you've squeezed out to make it look great for a snippet is precisely what you need to make coding contracts. You end up having to convey the rest in comments, which gradually rot as the code develops.

      Language developers are always seeking the right level of verbosity for the kinds of tasks they want to perform. Nothing is perfect. But since every language is mired in the same Turing tar-pit, the pigeonhole principle (applied metaphorically) implies that languages that are short for some tasks require more verbiage for others. The trick is to find the one that's brief and clear for all the tasks you want to do and to not worry about the others.

    20. Re:mathematica? by aminorex · · Score: 2

      No, he reimplemented Common Lisp with a Mathematica syntax reader.

      --
      -I like my women like I like my tea: green-
    21. Re:mathematica? by aminorex · · Score: 1

      amen

      --
      -I like my women like I like my tea: green-
    22. Re:mathematica? by aminorex · · Score: 2

      For these particular demos he implemented a "solvemyproblem" function elsewhere. Not, however, for an infinite variety of closely related problems of similar practical import.

      --
      -I like my women like I like my tea: green-
    23. Re:mathematica? by LifesABeach · · Score: 1

      My client, hires 3 part timers, and thinks the problems General Electric faces are the same as his. My client also thinks Fox News; is. My task, put up an eCommerce site with something like Wordpress, interfaced to Paypal, and Authorize dot net. On a LAMP system. NO, I am not a shill for these products. Mathmatica can do this? In for lines? Then great, I'm on board.

    24. Re:mathematica? by LifesABeach · · Score: 1

      Where do you work? Usually, "move on" means get a new job.

    25. Re:mathematica? by Anonymous Coward · · Score: 0

      Apache and SQL "programming" isn't computer science, it's plumbing. Mathematica is for people who are trying to do things that happen to have plumbing. It's not for building sewers.

    26. Re:mathematica? by LifesABeach · · Score: 0

      I'm not joking, this came from CraigsList, "...do a complete redesign (SEO correct) EXPERIENCED with food photography and capable of the following: Shopify template & SEO experience. Google add-word fluent. Ability to write product descriptions & general web content, hourly pay start at $15 hour." I'll site the reference if asked. Ok 'Wolf, how is buying and using your product going to deal with this? I'd love to see the code' It would take say, 6, maybe 7 lines?

    27. Re:mathematica? by seventy-nine · · Score: 1

      The "tour" is probably a loop, but the paint instruction doens't connect the last capital to the first. Also weird is the choice of capitals for Western Europe. Gibraltar, a capital ? Athens more western than say ljubljana ?

    28. Re:mathematica? by LifesABeach · · Score: 1

      Oh dear A/C, what is a sewer other than a larger pipe? I only ask what is "Fundamental" about Mathmatica, and what makes the Fundamentals of Mathmatica, Fundamental?

    29. Re:mathematica? by Anonymous Coward · · Score: 0

      You could say this is just a really nice library but it's way more than the sum of it's parts. I think he's using the term Language not in the sense of "programming language", but rather in the sense that every real world speaking language like english, spanish contains an intrinsic model of the world itself and every part of a spoken language can be coupled to every other part. That is speaking has no incompatible interface between ideas does it?

      Of course there are incompatible interfaces in spoken/human languages. Just look at something like the first post of this story, or a post with grammar so bad you can't understand what a person is trying to say, or find word salad posts by someone trying to act like they know a topic. Human languages allow a lot more vagueness and inferring from context what is meant, although this has more to do with humans than the language in some ways. I can look at code in various programming languages, and sometimes see what the coder was trying to do even if they made a mistake and compiler doesn't understand it. But that versatility and adaptability comes at the cost of precision, at least in common use, where trying to convey exactly something either requires being very verbose, a lot of guess work, or shifting to something like math.

    30. Re:mathematica? by saveferrousoxide · · Score: 1

      It's not that different from the OpenGL teapot. It's fantabulous if you want to draw a teapot...pretty useless otherwise.

  2. A picture is worth a thousand words... by jeffb+(2.718) · · Score: 5, Insightful

    A picture is worth a thousand words, but most sets of 1000 words can't be succinctly described by a single picture.

    Similarly, while I'm sure that you can write a few lines of Wolfram and do amazing things, I wonder how often you can set out to do an amazing thing and end up with a few lines of Wolfram. Maybe the answer is "pretty often", which would be wonderful. But I'm waiting to hear from some outside users.

    1. Re:A picture is worth a thousand words... by polar+red · · Score: 1

      well, the picture here does not impress me : replacing the lisbon -rejkjavic section with vienna-athens would make the tour shorter ...

      --
      Yes, I'm left. You have a problem with that?
    2. Re:A picture is worth a thousand words... by kruach+aum · · Score: 3, Informative
    3. Re:A picture is worth a thousand words... by smjames · · Score: 3, Insightful

      If you look at the output of the capitals[tour] command, then compare it to the red lines on the map, they are not the same. Somebody fudged this demo a bit.

    4. Re:A picture is worth a thousand words... by gstoddart · · Score: 1

      Somebody fudged this demo a bit.

      What? A fudged demo? I'm shocked I tell 'ya.

      Oh, wait, no I'm not.

      --
      Lost at C:>. Found at C.
    5. Re:A picture is worth a thousand words... by Anonymous Coward · · Score: 0

      They are the same, except the map is missing a line between Athens and Vienna.

    6. Re:A picture is worth a thousand words... by polar+red · · Score: 2

      Right, the travelling salesman needs to return to origin!

      --
      Yes, I'm left. You have a problem with that?
    7. Re:A picture is worth a thousand words... by i+kan+reed · · Score: 0

      I guess it'd be pedantic, oblivious to your point, and unhelpful to point out that that is way less than a thousand words.

    8. Re:A picture is worth a thousand words... by Anonymous Coward · · Score: 0

      The only thing missing on the map is the arc (Athens, Vienna). Remember, it's supposed to be a tour. It's confusing that the map represents it as an open polyline that doesn't start at the same point as in the list. But it's the same tour.

    9. Re:A picture is worth a thousand words... by davester666 · · Score: 1

      Sometimes he dies on-route...

      --
      Sleep your way to a whiter smile...date a dentist!
    10. Re:A picture is worth a thousand words... by asylumx · · Score: 1

      I think the point is that 1000 words can succinctly be described by a single picture by simply including those words in the picture.

    11. Re:A picture is worth a thousand words... by StripedCow · · Score: 1

      More evidence! Another user who doesn't use beta.

      --
      If Pandora's box is destined to be opened, *I* want to be the one to open it.
    12. Re:A picture is worth a thousand words... by Anonymous Coward · · Score: 3, Interesting

      I wonder how often you can set out to do an amazing thing and end up with a few lines of Wolfram.

      Try doing Project Euler in Mathematica. It's so easy, I jokingly refer to it as Mathematica One-Liners.

    13. Re:A picture is worth a thousand words... by epine · · Score: 1

      I think the point is that 1000 words can succinctly be described by a single picture by simply including those words in the picture.

      No, you're thinking of "a picture is worth ten million bits".

    14. Re:A picture is worth a thousand words... by aminorex · · Score: 1

      Willie Lohman, is that you?

      --
      -I like my women like I like my tea: green-
    15. Re:A picture is worth a thousand words... by Anonymous Coward · · Score: 0

      Why is the comment from classic instead of beta?

    16. Re:A picture is worth a thousand words... by Ginger+Unicorn · · Score: 1

      my slashdot looks like that too.

      --
      (1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
    17. Re:A picture is worth a thousand words... by Patch86 · · Score: 1

      People are using Beta? Like, for longer than it takes to file a complaint and then click the "classic" button at the bottom of the screen?

  3. sparse is good, but by number6x · · Score: 0

    Sparse coding is good, but can become 'obfuscated' code pretty quickly. Wolfram has a lot of experience in data analysis and mathematical calculations this seems to be great for jobs along those lines.

    This looks like it could be a great tool for certain needs, but not a general purpose tool.

    1. Re:sparse is good, but by Anonymous Coward · · Score: 0, Troll

      Stephen Wolfram invented a New Kind of Science, that has unlocked the mysteries of the Universe. What have you done?

    2. Re:sparse is good, but by Anonymous Coward · · Score: 0

      It was a coffee table picture book that was based on lots of previous. Can you name one of the mysteries of the universe unlocked by ANKOS?

    3. Re: sparse is good, but by saunderscc · · Score: 1

      Hey, I have a first edition New Kind of Science! Don't know if there was ever a second, though...

    4. Re:sparse is good, but by Anonymous Coward · · Score: 0

      That books seems like inspired by a bad acid trip while watching a conway's game of life screen saver.

    5. Re:sparse is good, but by xfizik · · Score: 1

      Please forgive my ignorance - what mysteries has he unlocked?

    6. Re:sparse is good, but by Anonymous Coward · · Score: 0

      I've never heard the term "sparse coding" used to refer to programming code before.

    7. Re:sparse is good, but by oodaloop · · Score: 1

      Just one example: why water flows the way it does around an object placed it its path. In Chaos: Making a New Science, it specifically says this is unpredictable. ANKOS has a model how to predict it. I, for one, highly recommend reading it.

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
    8. Re:sparse is good, but by Anonymous Coward · · Score: 0

      I've made fun of Stephen Wolfram on Slashdot. What have you done?!

    9. Re:sparse is good, but by Anonymous Coward · · Score: 0

      So do you understand what it means? Because I don't. Lots of whitespace?

    10. Re:sparse is good, but by Peristaltic · · Score: 1

      Stephen Wolfram invented a New Kind of Science, that has unlocked the mysteries of the Universe. What have you done?

      I know stuff about tanks.

    11. Re:sparse is good, but by redlemming · · Score: 1

      Sparse coding is good, but can become 'obfuscated' code pretty quickly.

      Otherwise known as Perl.

  4. A traveling salesman built-in is cool I guess... by spinninggears · · Score: 5, Insightful

    So we don't count the lines of code behind the "FindShortestTour" function?

  5. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 4, Funny

    Did you solve the secrets of the Universe? Stephen Wolfram did. All is known because of Him, even though you could not hope to grasp what He knows. Show more respect and reverence.

  6. Cramming 20 commands into one line ... by Qbertino · · Score: 2, Insightful

    Cramming 20 commands and 8 layers of brackets into one line doesn't make your programm an 'impressive 5-liner'. It, at most, makes a neat stunt by a mathematician in a proprietary programming language he invented himself. I'd be tempted to call it shitty programming.

    Nothing to see here folks, move along.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:Cramming 20 commands into one line ... by goombah99 · · Score: 5, Interesting

      Cramming 20 commands and 8 layers of brackets into one line doesn't make your programm an 'impressive 5-liner'. It, at most, makes a neat stunt by a mathematician in a proprietary programming language he invented himself. I'd be tempted to call it shitty programming.

      Nothing to see here folks, move along.

      No you miss the point. It shows that two things have been accomplished

      first every command has an almost universal API for input and output letting you pipeline everything you do. try that with almost any normal library. it fails. now imagine achieving that across a language that is staggeringl comprehensive, deep and wide. it's a tour de force.

      then imagine someone told you that, by the way, that API was also symbolic.

      and wait it's also a functional programing

      and reactive.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    2. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 5, Funny

      and webscale ?

    3. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 0

      Two of the last three features have me saying, "Pass."

    4. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 0

      with mixins?
      and nosql?
      in the cloud?
      and RESTful?
      with an ORM?
      build on node.js?
      for mobile?
      with flat UI styles?
      and modular?
      can MBAs do it?

    5. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 0

      and webscale ?

      Yes, the price is webscale.

    6. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 0

      re:sig. you're not wrong. you're just an ....hole

    7. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 0

      BINGO

    8. Re:Cramming 20 commands into one line ... by pepty · · Score: 2

      first every command has an almost universal API for input and output letting you pipeline everything you do.

      achieving that across a language that is staggeringly comprehensive, deep and wide.

      Are we sure about that yet? Are the limitations due to dependencies going to be revealed as people attempt to write longer pipelines? Wolfram makes great tools, but they aren't going to be great tools for every problem.

    9. Re:Cramming 20 commands into one line ... by Half-pint+HAL · · Score: 2

      The issue is more than merely about number of lines, it's about modes of thought. In most languages, coding is an exercise that basically involves a lot of mundane data shuffling that is easily expressed, but each individual line achieves nothing of consequence. When it comes to code maintenance, reading the lines is easy, but reconstructing the program logic is very difficult indeed. Wolfram's goal appears to be to strip away all the housekeeping in order to spotlight the code logic, which strikes me as the right way around.

      Your use of the term "mathematician" is interesting too, because it does suggest that you don't feel mathematicians should be interfering in programming. Well, I'm of the opposite opinion. Imperative programming is the result of non enough mathematics in computer programming. It took me a long time to get my head round my maths lecturers at university telling me a matrix was "a computer", but they were right. Imperative programming is inefficient because it doesn't allow us to take f(x) and g(x) and create g(f(x)) for all x, so we have to evaluate every step. But a matrix encodes a linear transform, and multiplying two transformation matrices gives you exactly that -- g(f(x)) for all vectors x. Typically, using matrices for a single step is less efficient than just running the normal code, but when you're going to carry out the same calculation j(i(h(g(f(x))))) on hundreds or thousands of xs, calculating a single matrix and using that every time is the most efficient way.

      This thinking doesn't start and end at matrices though.. most computation can be conceptualised as a data transform.

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    10. Re:Cramming 20 commands into one line ... by skids · · Score: 1

      Imperative programming is inefficient because it doesn't allow us to take f(x) and g(x) and create g(f(x)) for all x

      And functional programming is ineffficient because it doesn't allow us to order our operations in response to realtime constraints, and most of the work goes into developing workarounds for the strictures, which just ends being "mundane shuffling" of monads and whatnot. Most languages developed with a purist mathematical approach tend to be the kind of thing it is fun to play with, but they leave you saying "man how do people actually use this crap?" when presented with anything more real-world than a word problem out of the back of a textbook.

    11. Re:Cramming 20 commands into one line ... by asylumx · · Score: 1

      it's a tour de force.

      Great, so now it's filled with rampant abuse of human growth hormones?

    12. Re:Cramming 20 commands into one line ... by Megol · · Score: 1

      Imperative programming is inefficient because it doesn't allow us to take f(x) and g(x) and create g(f(x)) for all x

      And functional programming is ineffficient because it doesn't allow us to order our operations in response to realtime constraints, and most of the work goes into developing workarounds for the strictures, which just ends being "mundane shuffling" of monads and whatnot. Most languages developed with a purist mathematical approach tend to be the kind of thing it is fun to play with, but they leave you saying "man how do people actually use this crap?" when presented with anything more real-world than a word problem out of the back of a textbook.

      Functional languages have been used and are used for realtime systems, functional languages are used in large complex real world systems. Heck, I'd bet that Wikipedia have some examples if you'd actually been interested in the topic.

      I actually can't understand what you mean when writing "order our operations in response to realtime constraints" as that falls out naturally in a good model. Or do you refer to assembly language programming? Even there operations aren't always executed in the order specified due to local dataflow execution.

    13. Re:Cramming 20 commands into one line ... by Megol · · Score: 2

      The issue is more than merely about number of lines, it's about modes of thought. In most languages, coding is an exercise that basically involves a lot of mundane data shuffling that is easily expressed, but each individual line achieves nothing of consequence. When it comes to code maintenance, reading the lines is easy, but reconstructing the program logic is very difficult indeed. Wolfram's goal appears to be to strip away all the housekeeping in order to spotlight the code logic, which strikes me as the right way around.

      Your use of the term "mathematician" is interesting too, because it does suggest that you don't feel mathematicians should be interfering in programming. Well, I'm of the opposite opinion. Imperative programming is the result of non enough mathematics in computer programming.

      Actually imperative programming is a mathematic concept too. The difference between imperative and functional programming is a matter of abstraction level as both of those can be translated to the other model.

      It took me a long time to get my head round my maths lecturers at university telling me a matrix was "a computer", but they were right. Imperative programming is inefficient because it doesn't allow us to take f(x) and g(x) and create g(f(x)) for all x, so we have to evaluate every step.

      Not necessarily, imperative programming can have such transformations and in fact most modern ones do. Also most compilers translate the imperative code into an internal functional abstraction to simplify optimizations (often in the form of SSA or single static assignment form) and then translate that into the imperative form required by most computers.

      But a matrix encodes a linear transform, and multiplying two transformation matrices gives you exactly that -- g(f(x)) for all vectors x. Typically, using matrices for a single step is less efficient than just running the normal code, but when you're going to carry out the same calculation j(i(h(g(f(x))))) on hundreds or thousands of xs, calculating a single matrix and using that every time is the most efficient way.

      This thinking doesn't start and end at matrices though.. most computation can be conceptualised as a data transform.

      Indeed. Or more correct as a series of data transforms combined with internal state AKA a finite state machine.

    14. Re:Cramming 20 commands into one line ... by tristes_tigres · · Score: 1

      It's also 3d-printed

    15. Re:Cramming 20 commands into one line ... by skids · · Score: 1

      Functional languages have been used and are used for realtime systems

      Yes, clojure for one, I am to understand, is a good *soft* realtime language.

      Just because a paradigm can bend to the point of doing something doesn't mean it does it easily or concisely. If you're into math you should already be familiar with the ability to express things in forms that you would never sanely use in real life.

      When you find you've just spent an hour trying to model 10 lines of C code into an appropriately pure functional form, stop, you're just masturbating, no matter whether the result is less than 10 lines or more.

    16. Re:Cramming 20 commands into one line ... by Half-pint+HAL · · Score: 2

      Actually imperative programming is a mathematic concept too. The difference between imperative and functional programming is a matter of abstraction level as both of those can be translated to the other model.

      Yes, but the problem is that imperative coding abstracts the mathematics to the point where the programmer isn't thinking mathematically any more.

      It took me a long time to get my head round my maths lecturers at university telling me a matrix was "a computer", but they were right. Imperative programming is inefficient because it doesn't allow us to take f(x) and g(x) and create g(f(x)) for all x, so we have to evaluate every step.

      Not necessarily, imperative programming can have such transformations and in fact most modern ones do.

      Ok, but most coders won't use such features, because they don't understand them.

      Also most compilers translate the imperative code into an internal functional abstraction to simplify optimizations (often in the form of SSA or single static assignment form) and then translate that into the imperative form required by most computers.

      Which calls into question the whole point of imperative programming. Why should I spend so much time telling the computer exactly what to do in what order if it's only going to attempt to extract the task logic and refactor everything anyway? Surely it's more efficient to just describe the problem and let the computer fix it?

      most computation can be conceptualised as a data transform.

      Indeed. Or more correct as a series of data transforms combined with internal state AKA a finite state machine.

      Not "more correct", just "more computation". I'm not a functional programming hardliner, but I do see where they're coming from on stateless code. Why should determinism only apply at the system level? Do we not conceptualise procedures and functions as programs within programs? Determinism helps guarantee correctness.

      We learned Standard ML in university, and my main complaint about it wasn't the weirdness of it or the impurity of the functional model, it was the fact that we were asked to do the complete task within the language. I never understood why they expected a full interactive program in FP, when instead they could have had a lightweight application layer in non-functional code that called stateless functions as required in order to manipulate and update its stateful data. Since the early days of computing, the ideal of programming was to be able to just tie prewritten blocks together to perform arbitrary functions, and every generation someone touts this idea as the next big thing, coming this year, but it never takes off. One of the reasons libraries can be such a pain to work with is because the internal stateful processing is unpredictable. Ban state, and the problem goes away, no?

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    17. Re:Cramming 20 commands into one line ... by Anonymous Coward · · Score: 1

      So... Lisp?

    18. Re:Cramming 20 commands into one line ... by lucien86 · · Score: 2

      We learned Standard ML in university, and my main complaint about it wasn't the weirdness of it or the impurity of the functional model, it was the fact that we were asked to do the complete task within the language. I never understood why they expected a full interactive program in FP, when instead they could have had a lightweight application layer in non-functional code that called stateless functions as required in order to manipulate and update its stateful data. Since the early days of computing, the ideal of programming was to be able to just tie prewritten blocks together to perform arbitrary functions, and every generation someone touts this idea as the next big thing, coming this year, but it never takes off. One of the reasons libraries can be such a pain to work with is because the internal stateful processing is unpredictable. Ban state, and the problem goes away, no?

      I understand what you are talking about here, libraries create hidden functional layers that can create errors that can be difficult or next to impossible to track down or correct - after all the error isn't in your code, maybe not even in the library directly. In reality though getting rid of state is virtually impossible, at the end of the day state is how computers work.

      This Wofram thing is interesting but from the demo is not really that much further towards a true AI. - The real problem is in creating a dynamic operator that can articulate all the functions needed and remain stable - and is reliable enough to run for years without crashing. It has exactly the same problem that libraries and other components do things that the programmer cannot predict or control. In many or most cases for Strong AI the underlying nasty is the Heap management system or sometimes the CPU stack - it is code at the lowest level that causes the biggest problems.
      In the end with the project I am working on the solution was to go even below machine code level to a custom hardware base - so my programming language is Verilog. These days its sometimes almost easier to design a custom hardware solution than a software one. Performance can be an issue but the solution then is to buy a faster chip. If you head towards the top of the range though things do get very expensive - the most expensive FPGA's on the market cost more than $10,000 - per chip!

      --
      Below the speed of light Special Relativity is one of the most accurate theories in physics - above the speed of light..
  7. Soylent News by Anonymous Coward · · Score: 0, Troll

    This article is a fine example of why I've found myself frequenting Soylent News.

  8. It looks like a very nice library by lisaparratt · · Score: 5, Insightful

    It looks like a very nice library.

    Doesn't really say very much about the power of the language at all, though.

    1. Re:It looks like a very nice library by roman_mir · · Score: 0

      My thoughts precisely, this is going to be useful in case you are building an application and have a need that this Wolfram system provides a solution for and you don't want to spend resources building it yourself (and they definitely put thought into the resources, processes and handling there), so you call a function to Wolfram library and it gives you a set of data you can now use within your own code.

      I wouldn't call it a language, but after watching the video I understood the reasoning behind that naming: it's a very good marketing trick, it works.

      Think about it, not a Wolfram library of useful functions and data, but just a Wolfram Language. It even has an 'autodeployintothelatestfadweliketocallthecloud' feature and it promises to be able to work with any device as well.

      No, it's a useful set of tools, I see how they can be used from within various projects.

    2. Re:It looks like a very nice library by Impy+the+Impiuos+Imp · · Score: 3, Interesting

      A programming language with primitives like:

      "Compile a list of all European Capitals"

      and

      "Joe, my graduate student, find the shortest path between them"

      sounds like a damned powerful anguage to me.

      The ultimate is an AI, "Go Do X", where X Is an arbitrarily complicated and fuzzy problem, described in natural language.

      For example, "AI, go assemble a list of all known pictures of Cara Delevigne and Michelle Rodriguez, sorted with most romantic or intimate at the top."

      Do you deny that would be an awesome and powerful and beautiful language capable of analyzing the deepest and most important issues known to Mankind?

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    3. Re:It looks like a very nice library by Connie_Lingus · · Score: 1

      yeah....exactly

      --
      never bring a twinkie to a food fight.
    4. Re:It looks like a very nice library by Anonymous Coward · · Score: 0

      Your example is exactly why that language is not going to deliver what you expect.

      "all known pictures" would return nothing if you asked most people, let alone some random computer system.

      "most romantic or intimate" is a subjective call that would not return a sort order to your liking.

      Even a person could not fulfill that command and you seriously expect a computer to do it just because he's demonstrating some natural language processing?

    5. Re:It looks like a very nice library by Anonymous Coward · · Score: 0

      Bet you're fun at parties!

    6. Re:It looks like a very nice library by Anonymous Coward · · Score: 1

      That's all well and good, if Wolfram has anticipated everything you might ask for. Otherwise, its other constructs that make a language powerful. Until we create true AI that can do anything. At which point, most people will be out of a job.

    7. Re:It looks like a very nice library by Paxinum · · Score: 0

      I use this language (Mathematica) every day. I am a mathematician, but also consider myself a programmer. The language is quite efficient if you know a little bit of the inner workings. It is super-easy to implement say hash-maps, just write a["key"]=value, and as pointed out, all functions fit togehter. I really like it since it is consistent, and the functions you should use for efficiency have nice syntactic-sugar shortcuts. There are also ways to compile segments of code that are critical, and there are (I think) CUDA-bindings (although I have not used it). Making code run in parallel is also very easy. The language is very good for prototyping algorithms and ideas. Now, the downside (feature?) with Mathematica is that it mixes the input and output: the format is not really plaintext, so if you accidentally try to output a lot of graphics, you may easily make everything unresponsive, and crash, taking all unsaved data with you. (There is also possible to code in plain-text mode, but this has other issues). Anyway, the syntax of the language is really nice, and I think language designers really can learn from this.

    8. Re:It looks like a very nice library by aminorex · · Score: 1

      pretty sure he anticipated the delivigne/rodriguez thing.

      --
      -I like my women like I like my tea: green-
    9. Re:It looks like a very nice library by Carnildo · · Score: 1

      A programming language with primitives like:

      "Compile a list of all European Capitals"

      sounds like a damned powerful language to me.

      To me, that doesn't sound like a very powerful language, it sounds like a language with a huge standard library. Power comes from things like making

      "Compile a list of all European capitals, but I don't consider Iceland to be part of Europe"

      easy. If it's hard to step outside the limits of the standard library, it's not a powerful language.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
  9. APL by rlp · · Score: 1

    Someone reminiscent of APL which critics called the first 'write-only' programming language.

    --
    [Insert pithy quote here]
  10. Does calling a method really count as 2 lines? by js3 · · Score: 3, Insightful

    All I see there is calling some method to do something complicated. It's not 2 lines of code of the actual meat is hidden somewhere.

    --
    did you forget to take your meds?
    1. Re:Does calling a method really count as 2 lines? by dmgxmichael · · Score: 3, Insightful

      All I see there is calling some method to do something complicated. It's not 2 lines of code of the actual meat is hidden somewhere.

      Do you count the code that drives the compiler or interpreter as part of your program? What about the code that drives your database?? If it's abstracted away into the language then it's not "actual meat" as far as the programmer doing the work is concerned. It is two lines. And unless you're writing all your code in machine language you have no right to claim otherwise.

    2. Re:Does calling a method really count as 2 lines? by PPH · · Score: 3, Insightful

      But that's an important distinction to make. These solutions are demonstrating good library support. Not the syntax of the basic language itself. Are those libs even written in Wolfram?

      I can solve a traveling salesman problem using Perl with not too many lines.

      --
      Have gnu, will travel.
    3. Re: Does calling a method really count as 2 lines? by yannbane · · Score: 1

      Then there are no differences in any language. You can JMP, goto, call, or send a message in any programming language to do what you want. So there are no differences between languages. Wait, reality check, it's a library function he tried to sell off as a complete solution, which it is clearly not.

    4. Re:Does calling a method really count as 2 lines? by Anonymous Coward · · Score: 0

      Yup, I was excited by the traveling salesman four liner, only to see that it was actually one line, with a function that could have been easily called "SolveTravelingSalesman()". Is not that I'm not impressed, Wolfram alpha and mathematica are very powerful tools; but it was kind of a let down.

    5. Re:Does calling a method really count as 2 lines? by Anonymous Coward · · Score: 0

      I can solve a traveling salesman problem using Perl with not too many lines.

      No you cannot for arbitrary N. You can only make an approximate solution.

    6. Re:Does calling a method really count as 2 lines? by Anonymous Coward · · Score: 0

      Several responses like this. Are you all so stupid not to see the distinction? No, we don't count all the lines from library calls. But, we aren't claiming to be able to do general complex calls with one line of code. You don't get to show a demo, call that one line a complex program, when you spent 3 weeks writing the function that will do the work beforehand.
      So shut the fuck up, since you are clearly not a coder.

    7. Re:Does calling a method really count as 2 lines? by kwack · · Score: 1

      Not calling a method, but applying a Function.

    8. Re:Does calling a method really count as 2 lines? by Splab · · Score: 1

      When you make a statement like: "travelling salesman in 4 lines of code", it generally means the entire problem in 4 lines of code, not a function call to some built in function and a couple of array initializers.

      Now, had the submitter written something like "Hey check this out, it has some really cool functions build in", that would have made at least some sense.

    9. Re:Does calling a method really count as 2 lines? by dmgxmichael · · Score: 1

      When you make a statement like: "travelling salesman in 4 lines of code", it generally means the entire problem in 4 lines of code, not a function call to some built in function and a couple of array initializers.

      Where does the line get drawn? Hell, an echo statement must look up the character code for each letter in the string and send that along to the graphics driver for further processing before even one letter is shown on the screen to the user.

      The article demonstrated the language itself being able to present a solution to the traveling salesman in 2 lines of code. I personally find arguments about how many underlying function calls the language had to go to while it turned it's instructions into something the computer can understand to be useless asinine pendantry. It doesn't matter to the end user working in this language what goes on any more than it really matters to a video game programmer what exactly goes on in the GPU when a graphics call is made, or to a windows programmer exactly what the GUI must do to place the letters on the screen.

      My first impression of this language and library is its a powerful new tool at a level of abstraction even further removed than current high level scripting languages like Javascript. In the field of data gathering and presentation - to which it seems to be aimed - it probably will find a lot of jobs to do. That doesn't mean other languages won't still have their place.

      For example: people use PHP often because it can do in a couple lines what might take several pages of code to do in Java - and there are tasks that PHP needs several pages of code to do that Python can deal with in a few lines as well. That's the nature of programming languages. This is another tool to put in the tool case, and that's a good thing. I will admit that the article tries to write this up as a universal panacea, but I have my severe doubts on that. There's likely going to be certain tasks to which this language will prove to be poorly suited and need very long scripts to do that current languages can do fairly quickly.

    10. Re:Does calling a method really count as 2 lines? by Anonymous Coward · · Score: 0

      Are those libs even written in Wolfram?

      Yes, and also C/C++ as necessary: Software Engineering of Mathematica.

    11. Re:Does calling a method really count as 2 lines? by angel'o'sphere · · Score: 1

      For example: people use PHP often because it can do in a couple lines what might take several pages of code to do in Java - and there are tasks that PHP needs several pages of code to do that Python can deal with in a few lines as well.
      That is nonsense. The main difference between PHP and Java is that the former is dynamic typed and the later static.
      To find an example where PHP beats Java significantly in code compactness will be very very difficult.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    12. Re:Does calling a method really count as 2 lines? by dmgxmichael · · Score: 1

      To find an example where PHP beats Java significantly in code compactness will be very very difficult.

      Let's start with Hello World shall we? Here's the whole PHP program.

      <?='Hello World'?>

      18 CHARACTERS. PHP was a template engine long before anyone grafted 1,001 other crazy uses to it. In the job it was designed for - fulfilling HTML requests from webservers - few things can touch it for simplicity or development speed.

      In fairness to Java, it scales better to large applications than PHP. PHP does little to discourage its largely newbie programmer base from making bad to outright catastrophic design choices. Java has its uses and it's place. It isn't a panacea though, not by a long shot.

      So drop the Java fanboi act - it makes you look foolish. There are tasks which it is not the best tool for the job, or even close to the best tool.

    13. Re:Does calling a method really count as 2 lines? by aminorex · · Score: 1

      also true for the demo

      --
      -I like my women like I like my tea: green-
    14. Re:Does calling a method really count as 2 lines? by goynang · · Score: 1

      And in JSP...

      <%= "Hello World" %>

    15. Re:Does calling a method really count as 2 lines? by angel'o'sphere · · Score: 1

      The parent claimed that 5 lines of PHP would euqal to several pages of Java, which is clearly wrong and is no fanboyism.
      The same example in Java/JSP: Hello World. Wow, not even nasty less and greater signs are needed.
      Wow, looks surprisingly, nearly the same. Obviously you would in both examples put propper html/title/body tags around it, or you need to configure the web server/jsp page that their content type is text/text.
      My point is for everything serious the only (questionable) advantage of PHP is its dynamic typing (which only rarely is exploited properly).

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  11. Not so sure about the language... by lucag · · Score: 4, Insightful

    As much as I would like to be impressed, what I see is quite underwhelming: a functional application language with some interface to "facts" and "databases" with a pattern matching engine might make some analysis easier but ... the principles of the language are mostly what you come to expect if you have seen lisp once or any modern functional language,e.g. haskell.

    I can see it as being useful, but as another commenter pointed out, "FindShortestTour" is a library function (which might be handy), but definitely not an example of how concise the language might be; the same could be said about "EdgeDetect" or the like. The power of the language can be measured in how easily it can be extended or non trivial algorithms can be implemented ... not in how many functions are offered (even if this could be more convenient none-the-less).

    1. Re:Not so sure about the language... by Anonymous Coward · · Score: 0

      The power of the language can be measured in how easily it can be extended or non trivial algorithms can be implemented ...

      ... among others. Readability, for example. Just look at the lower example in the middle column of the image manipulation link:

      Map[Blend[{#, RandomColor[]}] &, %, {2}]

      Yeah, that totally doesn't tell me what is going on.

      I'm actually more impressed that someone finally evolved the idea of a "command line on speed" than by the programming language.

    2. Re:Not so sure about the language... by MightyYar · · Score: 2

      The power of the language can be measured in how easily it can be extended or non trivial algorithms can be implemented

      True, but the usefulness of a language largely depends on how quickly you can get a result - and while hard to tell from this little demonstration - I certainly see some impressive capability from the standard library.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    3. Re:Not so sure about the language... by dmgxmichael · · Score: 4, Insightful

      As much as I would like to be impressed, what I see is quite underwhelming: a functional application language with some interface to "facts" and "databases" with a pattern matching engine might make some analysis easier but ... the principles of the language are mostly what you come to expect if you have seen lisp once or any modern functional language,e.g. haskell.

      I can see it as being useful, but as another commenter pointed out, "FindShortestTour" is a library function (which might be handy), but definitely not an example of how concise the language might be; the same could be said about "EdgeDetect" or the like. The power of the language can be measured in how easily it can be extended or non trivial algorithms can be implemented ... not in how many functions are offered (even if this could be more convenient none-the-less).

      Hello. My name is PHP. I'm the most ugly hideous language known to man, but man do I have thousands of functions to get work done. And that's why I rule the server side processing world :D

      Function libraries and ability to get stuff done quickly counts for a lot.

    4. Re:Not so sure about the language... by SomeKDEUser · · Score: 1

      Within the bounds of what is in the library, with horrible syntax and little structure.
      Because you do not have structure available, you cannot have large programmes. This in turn means you are stuck with what Stephen Finds Interesting(TM). This has left me very much unimpressed: when I look at a language demo, I care about how elegantly, tersely and legibly you can express and structure notions. This is terse, but not elegant or legible. Also, expressing anything not already there seems really daunting.

      1/10 would not care to use.

    5. Re:Not so sure about the language... by lucag · · Score: 3, Interesting

      Indeed, and it appears that this is actually the goal of the project, per the original announcement
        http://blog.stephenwolfram.com...
      The scary bit, is that many of the "novelties" there announced (i.e. homogeneous treatment of input, output and data, etc.) are actually quite old ideas in the arena of functional programming (lisp or scheme are built upon these foundations)... sometimes they work nicely; often you risk ending up with academic exercises.
      I am myself not too keen on "revolutionary technologies" which should rather be considered "evolutionary developments" (even when the evolution actually provides something new and useful)!

      What is new here should be the integration with a massive database of `facts' and the possibility of performing elaborate queries, relying on `ready-made' algorithms.
      This is very convenient and potentially useful but
        a) it has little to do with `programming' per se; it is a programmatic interface to a knowledge-based system (where the knowledge itself includes also the algorithms being requested)
        b) it is opaque, in the sense that there is little control on what code is doing what data: many of the functions act actually as black boxes and it is not straightforward to see how to actually get in control of the system and/or understand what is actually being done in order to provide an answer.

      A further remark: (b) is most of the time not required at all (we just want to get a rough picture of something), but it is essential e.g. for scientific applications.

    6. Re:Not so sure about the language... by gtall · · Score: 1

      Maybe a measure of the language might be to program FindShortestTour in it. If that turns out to be elegant and simple, then he might have something....assuming there are no further calls that do "too much" of the hard work instead of doing the hard work in the algorithm.

    7. Re:Not so sure about the language... by ColdWetDog · · Score: 0

      Hello. My name is PHP. I'm the most ugly hideous language known to man, but man do I have thousands of functions to get work done. And that's why I rule the server side processing world :D

      Hi. I'm a 15 year old script kiddie. I just love those thousands of hideous functions because deep inside a significant fraction of them lies an exploit so obvious that three of my friends figured a half dozen of them out in a two hour Redbull and Cheetos hacking session (which consisted mostly of Googling pictures of naked 16 year olds and occasionally looking for PHP vulnerabilities).

      --
      Faster! Faster! Faster would be better!
    8. Re:Not so sure about the language... by chthon · · Score: 1

      Even this integration with a massive database is not new. I remember reading about development of such systems in the beginning of the eighties (in Readers' Digest, ffs). The only thing changed since then is the speed of CPU, the size of memory and the size of databases.

    9. Re:Not so sure about the language... by dmgxmichael · · Score: 3, Interesting

      Hi. I'm a 15 year old script kiddie. I just love those thousands of hideous functions because deep inside a significant fraction of them lies an exploit so obvious that three of my friends figured a half dozen of them out in a two hour Redbull and Cheetos hacking session (which consisted mostly of Googling pictures of naked 16 year olds and occasionally looking for PHP vulnerabilities).

      That hardly debunks my point. Rather, it reinforces it - people choose languages on the basis of work getting done quickly - all other concerns go out the window pretty quickly.

    10. Re:Not so sure about the language... by Half-pint+HAL · · Score: 1

      Are you suggesting the best measure of a language is to see how easy it is to reimplement something that has been done a gazillion times before, rather than how easy it makes it to do something more complicated built on top of all the solved problems and preinvented wheels...?

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    11. Re:Not so sure about the language... by skids · · Score: 1

      Another measure of the language would be to see if it understands "please redfine FindShortestTour with a more sensible name"

    12. Re:Not so sure about the language... by Anonymous Coward · · Score: 0

      how easy it is to reimplement something that has been done a gazillion times before

      While Hello World! might not be the best measure it does provide some tldr insights.

    13. Re:Not so sure about the language... by Xerxes314 · · Score: 1

      b) it is opaque, in the sense that there is little control on what code is doing what data: many of the functions act actually as black boxes and it is not straightforward to see how to actually get in control of the system and/or understand what is actually being done in order to provide an answer.

      You can usually twiddle all the options in a function; the documentation is pretty good for most of the standard libraries. Of course, the demo doesn't look as slick if you have to use 6 lines of optional parameters to get the exact thing you want. Typically, the default options do a pretty good job, and there's a lot less typing for those cases.

      Of course, it's also a universal language. You don't have to use the standard libraries; feel free to roll your own. I'm sure an hour later, you'll have a bit more respect for how well the default stuff works.

    14. Re:Not so sure about the language... by Anonymous Coward · · Score: 0

      Hello. My name is PHP. I'm the most ugly hideous language known to man,

      Clearly you've never used Forth.

    15. Re:Not so sure about the language... by Anonymous Coward · · Score: 0

      I'm the most ugly hideous language known to man
      Sorry, I nominate tcl/tk for that...

    16. Re: Not so sure about the language... by Anonymous Coward · · Score: 0

      TCL ftw! ;)

  12. RE: A traveling salesman built-in is cool I guess. by Anonymous Coward · · Score: 3, Insightful

    Yes. Just like we don't count the lines of machine code that a perl 'one liner' gets transformed into before execution.

  13. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 1, Funny

    it's just one line in wolfram:

    print UNIVERSE.revealSecrets(ALL);

  14. Perl by Areyoukiddingme · · Score: 3, Insightful

    I can do much the same thing in the same number of lines of Perl code. I don't think there are many who would claim that makes Perl a paragon of language design.

    Clickbait article is clickbait.

    1. Re:Perl by abies · · Score: 2

      I dare you. Let's start with travelling salesman example. 4 lines of perl. It has to include the map with graph as an output displayed on the screen. You are free to import any CPAN module, but no utilities of your own written specifically for this purpose.

      I do not expect post of excuses and example of things you can do in perl in 4 lines instead of this problem - I expect 4 lines long perl code.

    2. Re:Perl by Anonymous Coward · · Score: 1

      but no utilities of your own written specifically for this purpose.

      Are you claiming this demo didn't do exactly that?

    3. Re:Perl by Anonymous Coward · · Score: 0

      So Wolfram can build and use a FindShortestTour() function but no one else can? Yeah, way to set up a great example of how he's better.

    4. Re:Perl by Anonymous Coward · · Score: 0

      It obviously didn't, it used existing universal utilities.

    5. Re:Perl by skids · · Score: 1, Troll

      Hah!

      No, what happened was this:

      1) Hmm I need to make a slick demo
      2) How about a solution to problem A
      3) No, that came out ugly
      4) Ok lets try problem B
      5) No they won't like that either
      6) OK, what problem do we have that has built-in solutions?
      7) Ahh, there we go, we'll solve problem C instead.

      Same difference.

    6. Re:Perl by NoImNotNineVolt · · Score: 1

      You are free to import any CPAN module, but no utilities of your own written specifically for this purpose.

      That's not exactly a fair comparison. It's not like Wolfram is working with a vanilla Mathematica. He got to personally write lots of additionally helper functions specifically to put on this demo.

      You'd be more reasonable to demand that GP write a single perl module that duplicates all the functionality that Wolfram has added to Mathematica. While this would no doubt be a lot of work, I see no inherent shortcomings in perl that would prevent this from being possible.

      From what I've seen (i.e. the slashdot summary and comments), there's really nothing novel about this Wolfram Language, beyond its comprehensive set of helper functions, which could be implemented just as easily (more or less) in any other flexible language.

      --
      Chuuch. Preach. Tabernacle.
    7. Re:Perl by Junta · · Score: 1

      no utilities of your own written specifically for this purpose.

      Why not? That is *precisely* what wolfram did here. He designed the 'language' and decided 'gee it would be nice to have a first class function for travelling salesman', and then when he goes to demo, he whips that out to say 'look at this obscure capability omitted from most languages'. This may be useful, but being excited around the linecount is not something compelling in this case, as it shows no particularly exciting grammer/syntax stuff, just that Wolfram deemed 'travelling salesman' a problem worthy of being a first class function in the namespace.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    8. Re:Perl by abies · · Score: 1

      I'm quite sure that you can find travelling saleman function somewhere on CPAN. Problem is that it will expect some very specific inputs - zero chances that these inputs will be compatible with whatever format you might get geolocation data. This seems to me to be THE power of Wolfram language - binding data, not actually having saleman solver in global namespace.
      Unless of course it is so big fake that this salesman function cannot accept anything except Earth map data... but I have a strong feeling that it will work as good with multiple other types of source data.
      And of course - if you would replicate exactly same things as Wolfram did in any reasonably powerful language (lisp comes to mind), you would achieve similar effect. But it wouldn't be lisp anymore - it would be Wolfram Lisp, same way as what he shows currently is Wolfram Mathematica.

    9. Re:Perl by dirtyhippie · · Score: 1

      I can do this in lots of languages, including perl, but also many others.

      Step 1: Implement in long-hand perl.
      Step 2: $source =~ s/\n/ /g;

      Step 1 is left as an exercise to the reader =)

  15. Traveling salesman .. technically correct by OzPeter · · Score: 1

    But practically useless as the only way you are going to travel via some of those legs is if you have your private plane.

    And what sort of salesman has a private plane .. hmm .. maybe one who is trying to sell us a new computing paradigm??

    --
    I am Slashdot. Are you Slashdot as well?
    1. Re:Traveling salesman .. technically correct by serviscope_minor · · Score: 1

      And what sort of salesman has a private plane

      One who is selling his plane.

      --
      SJW n. One who posts facts.
  16. How about by Anonymous Coward · · Score: 0

    You show us the code for the compiler, in stead of some abstracted layered sjeis !

  17. Concise? by DdJ · · Score: 2

    Don't make me laugh -- I used to be an APL programmer.

  18. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 1

    it's just one line in wolfram:

    print UNIVERSE.revealSecrets(ALL);

    Output: 42

  19. Re:A traveling salesman built-in is cool I guess.. by jma05 · · Score: 1

    Emacs has a binding for that.
    You can do the same in Python.
    I think you just need to type this first

    import wolfram

    But it prints this rant from Guido on why this is not Pythonic at all, after it does the import.

  20. How is all that tested? by xfizik · · Score: 1

    All that functionality had better be thoroughly tested. High level scientific computations (especially working with large data sets) are often extremely hard to test and validate.

  21. Re:Your turn by Anonymous Coward · · Score: 0

    What kind of response is that???

  22. Functions don't count? by Anonymous Coward · · Score: 1, Insightful

    Just because you call a function, it doesn't make the code more elegant or better.
    Why not just wrap all the data into the function and say" hey I did it in 1 line of code."

  23. beta sucks why do i have to give a new subject for by CauseBy · · Score: 0

    No, of course not. When you call a library funnction, do you count all the lines of code in the library? When you write a for loop, do you count all the lines of assembly it compiles into? No. The number of lines you count is the number of lines you write.

  24. Like Matlab but supports zero indexed arrays!!!!! by Anonymous Coward · · Score: 0

    I checked so I might be switching to this... Matlab is not nice as languages go and the lack of zero indexed arrays can drive an engineer crazy.
    Hopefully the implementation won't be slow.

  25. Pr0n super meta classifier ! by Anonymous Coward · · Score: 0

    One could use it for as a great tool to classify pr0n material and compute the viewing path for a maximum energy orgsm climax !

  26. A little too much for human consumption by cowwoc2001 · · Score: 2

    Impressive but overwhelming. I don't look forward to learning, reading or maintaining such code. So as usual: functionality is inversely proportional to usability :)

  27. New Kind of Language? by oldhack · · Score: 2

    If ego can feed you, Wolfram would be, like, really fat.

    --
    Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    1. Re:New Kind of Language? by oldhack · · Score: 1

      Actually, as big as Wolfram's ego is, safer money would be on the crappy story submission/summary on trolldot.

      Slashdot: where it's troll all the way down.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  28. Re:A traveling salesman built-in is cool I guess.. by Jeremi · · Score: 1

    So we don't count the lines of code behind the "FindShortestTour" function?

    Not unless you had to write them yourself. Do you count the lines of code behind printf() when you write Hello World?

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  29. Not a 4 line solution - I call BS by frnic · · Score: 4, Insightful

    The traveling salesman tour - is NOT a 4 line solution. By that definition I can write "Run Linux" and have a one line operating system.

    1. Re:Not a 4 line solution - I call BS by Shados · · Score: 1

      They're just stretching the definition of language. They of course meant a language + core library. And in a world of C++ and Boost, Ruby and Rail, C# and .NET, Javascript and Node, it is a perfectly valid comparison. The terminology was just wrong.

      And yes, if you give me a nice domain specific language made to handle common operations when creating a new operating system, and it has KernelManager object with a LoadKernel method where I can just do KernelManager.LoadKernel("Linux vABC").Run() and it spawns a virtual machine in a data center with the appropriate kernel and boot it up, Its going to be cool. Just like this is cool.

    2. Re:Not a 4 line solution - I call BS by abies · · Score: 3, Insightful

      You wish... you forgot about 100 extra commands you need to set up proper nvidia drivers afterwards...

      And I think you misunderstood the premise. It is not a language to write salesman algos in. It is language to data mine, connect facts, process and visualize them. And it looks pretty impressive from this point of view.

    3. Re:Not a 4 line solution - I call BS by Anonymous Coward · · Score: 0

      vagrant up....

  30. What a genius by Anonymous Coward · · Score: 0

    Why has this man not received the Nobel prize yet? He's been changing the world for a decade already.

  31. Pi on Qemu by Anonymous Coward · · Score: 0

    Just started emulating Pi on Qemu. Perhaps we could cloud service it.

  32. Traveling Salesman solution is WRONG by Anonymous Coward · · Score: 0

    IIt is not going back to the original city. You must complete the loop. Solution FAIL.

  33. Re:beta sucks why do i have to give a new subject by fuzzyfuzzyfungus · · Score: 1

    No, of course not. When you call a library funnction, do you count all the lines of code in the library? When you write a for loop, do you count all the lines of assembly it compiles into? No. The number of lines you count is the number of lines you have to debug, and the ones that hurt more count extra.

    Fixed that for you.

  34. Can he use it to calculate... by Anonymous Coward · · Score: 0

    Can he use it to calculate the optimal level of terseness for a programming language that good programmers will want to use? I'm thinking the answer is somewhere between APL and C++

  35. Nice language for mathematics by RobertJ1729 · · Score: 1

    "Wolfram Language" is not new. Wolfram is just trying to decouple Mathematica's programming language from the Mathematica products, which only makes sense considering the direction of the company. Mathematica users have been using this language (minus the Wolfram Alpha feature) for years.

    As a domain-specific language, it's really great. The functional programming features have a great syntax (IMHO) for doing math stuff. As a general purpose language, it's awful. The library is large and easy to use, and the documentation is a pleasure to read. It's also as proprietary as it gets. Wolfram Research tries to ease the pain of that constricting noose with the CDF player and the ability to embed certain kinds of Mathematica--er, I mean, Wolfram Language code into web pages. In practice, however, everyone you want to share your code with is going to need to buy a Wolfram Research product or work at an institution that has a site license.

    1. Re:Nice language for mathematics by Anonymous Coward · · Score: 0

      Completely agree - someone beginning learning once asked me a question regarding some problem they had withing (they knew I could program, but did not know I knew nothing about Mathematica) ..

      In a few literal minutes I had their answer - mathematics documentation is great, the "data types" fantastic, and the language implementation impressive (better than expected) eg first class functions etc in fairness I should have known that professional mathematicians would be able to make a great language.

      It even does algebra for you.

      Never went back to it, or followed up my favourable impressions, and don't want to. Still using flint tools and happy.

  36. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 0

    No only that, but the solution is incorrect. You can see a shorter solution visually very quickly. Remove the Iceland to Portugal leg and add a Greece to Austria leg. Wow. Shorter route.

  37. Re:beta sucks why do i have to give a new subject by geoskd · · Score: 1

    No, of course not. When you call a library funnction, do you count all the lines of code in the library? When you write a for loop, do you count all the lines of assembly it compiles into? No. The number of lines you count is the number of lines you write.?

    Unless you're a useless bit pusher, you make sure you fully comprehend the ramifications of *every* library you use. For example, Boost is really sweet when you need to slam together a pile of code and have it working out of the gate with minimal fuss, but if performance is an issue, you cant use it. If you need to understand where every processor cycle goes, even C may be too high level for you... In short, Wolfram isnt for programmers, its more for IT / administrators.

    The real test of a language is what the source for the compiler and the libraries looks like

    --
    I wish I had a good sig, but all the good ones are copyrighted
  38. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 0

    Remember kids: If you count built-in API features as proof of the brevity for the language, you're arguing that on the whole Java is a much more concise language than standard C. You don't want to throw your life away, do you?

  39. Demo looks suspect by 140Mandak262Jamuna · · Score: 0
    The red line in the map does not seem to match the output from the program

    1. Gibraltor and Madrid are the end nodes. It is not on either end of the red line.

    2. Rome to Athens with one stop over. I dont see that at all in the red line

    Is the output real, or is it "simulated for advertisement" we used to see in the old print ads for TV sets?

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:Demo looks suspect by amaurea · · Score: 1

      There is a small bug in the demo: It's using the "draw open path" instead of "draw closed path" command. That leaves a gap (between Athens and Vienna) in what should have been a closed path on the map, since the Traveling Salesman problem is about a salesman going out to sell things, and then returning home in the end. Aside from that, the plot and text output are consistent and correct.

  40. Re:A traveling salesman built-in is cool I guess.. by Dachannien · · Score: 1

    The solution it comes up with is correct (it includes/excludes the links you mentioned), but for some reason it's drawing the graph incorrectly.

  41. Not interested. by Anonymous Coward · · Score: 0

    It's too local to be of interest. The wheel in CS will not be invented until all computing instructions and data unifies into a single ubiquitous computing model. Just as we need a single reality to operate. Saying this, the wheel is a long way from where we stand.

  42. Science programming vs TPS reports by Anonymous Coward · · Score: 0

    To all of the "real" programmers knocking the language, take a moment to consider the phenomenal popularity of math-focused languages among the science and engineering set (eg, Matlab / Octave, Mathematica, R). These languages let you get powerful things done with a minimum of messing around because they make math / matrix math / statistics native and syntactically easy to get to.

    The Wolfram system is trying to make learning things in a computational way that "easy" for a much wider set of computable things. I think that's awesome and laudable. The basic idea of "A New Kind of Science" was that being able to compute something is an important kind of knowledge. This is part of that.

  43. Map drawn does not follow list, nor is shortest by goombah99 · · Score: 1

    nice observation. Even weirder, is that the list of capitals shown for the tour is in a different order than the map that is drawn. I'm thinking this has something to do with that //last.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  44. by that logic I just wrote a one-line compiler by Anonymous Coward · · Score: 1

    /usr/bin/gcc $1

  45. Re:A traveling salesman built-in is cool I guess.. by bondsbw · · Score: 1

    So we don't count the lines of code

    FTFY

    --
    All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
  46. shortest path? by mestar · · Score: 0

    At 3.29 in the video, if you connect Greece to Austria, and disconnect Porgugal from Iceland, you save about 1500 km.

    1. Re:shortest path? by amaurea · · Score: 2

      Perhaps I'm misunderstanding you here, but the Traveling Salesman problem is a closed path - the salesman has to return to his starting point in the end. Your solution is only shorter if the salesman is allowed to settle down in Reykjavik in the end. The red line in the plot is misleading because it does not draw the closing line between Athens and Vienna, but that part is included in the path. As far as I can see, the solution shown in the video is the correct one, and the path drawn is correct except for the lack of a closing line.

    2. Re:shortest path? by byrtolet · · Score: 1

      And what is Greece doing in western Europe? And why Albania is not there?

  47. Re:Wolfram? THat's dog fart by Anonymous Coward · · Score: 0

    If you find yourself at the mercy of a grand elk, you'll have plenty of time to consider what you know while he pierces into your ridicilous terror strucken eyes. All you will know is fear, a panic with no dignity. All you can think of is whether he will he kill you or not? You will know and feel how pathetic you really are and how great and sure he really is, that is the situation. He knows this, sees this in you, and takes what ever time he pleases to observe you. Eventually, after you have undignified yourself enough, he'll pretend you are nothing, let you go.

  48. Re:A traveling salesman built-in is cool I guess.. by Half-pint+HAL · · Score: 2

    it's just one line in wolfram:

    print UNIVERSE.revealSecrets(ALL);

    Output: 42

    Sorry that's life, the_universe AND everything. It's a bitwise AND, of course, so that's 101010. Life is 111011, everything is (as you might expect) 111111. Finding all possible values of the universe is an exercise left to the reader.

    --
    Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
  49. Re:A traveling salesman built-in is cool I guess.. by Khashishi · · Score: 1

    Wolfram didn't claim to have a 4-line solution to the TSP. You can thank the summary submitter for that one.

  50. Application or language, does it matter? by Anonymous Coward · · Score: 0

    It is a language comprised of mostly of vocabulary; It is an application with a general language interface. Either way, it is something we are not used to have and it is something I would like to have hands on.

  51. Re:A traveling salesman built-in is cool I guess.. by Anonymous Coward · · Score: 0

    But you could easily create a FindShortestTour in C or any other language. Repackage that as system library, and why should I be impressed?

  52. missing the point by Anonymous Coward · · Score: 0

    I think you're missing the point. The point is that you, as the user, will only have to write a few lines of code to accomplish complex tasks because the language already contains a lot of that code written for you. If you were to write a simple python program that uses say, the Panda package, would you include all the lines of code of that package when line counting your program? No.

    1. Re:missing the point by Xerxes314 · · Score: 1

      If you were to write a simple python program that uses say, the Panda package, would you include all the lines of code of that package when line counting your program? No.

      Yes, as we all know, Hello World in C is actually thousands of lines long. (shakes head sadly) It's a terrible language.

  53. Re:beta sucks why do i have to give a new subject by skids · · Score: 1

    If you want to see the merit of a language, you actually have to see something implemented in the language. If all you do is call a library function (especially one whose inclusion in a core set of operations is dubious) then all you get to see of the language is how you call a function. If you want to demonstrate a language, you should pick examples that excercise the core features of the language, not punt to calculateObscureFnOnlyUsedByArcheologistsButItTakesUpSpaceOnYourFlashCardAnyway()

    This video was made for the easily impressed. But then, most videos are, which is why they generally tend to not be worth watching.

  54. DRY? by Anonymous Coward · · Score: 0

    I cannot understand what's dry about this. How wet aka dumb does a slashdot editor want it to be?
    It's INCREDIBLE to get the imagination started!

  55. dry but insanely great? by Anonymous Coward · · Score: 0

    Consider avoiding the urge to ape terms from Steve Jobs and just say what you mean. By its very nature, programming is dry and no amount of pizazz presenting it will remove that. Don't worry about appealing to everyone. By the very topic, it's pretty self delineating.

  56. no by znrt · · Score: 1

    YOU miss the point.

    while the idea of such an "easily usable knowledge repository" is interesting, the issue of who governs this repository is determinant. if open and transparent such a system would be revolutionary. since it is not, it is just another product to avoid like pest. inspirational? sure! anyone?

    sadly, i'm afraid (near) future humans will indeed be very dependent on asking such AIs for much of their lives, and that those will not be accountable. but no hurry at all to get to that, seriously.

  57. Functions are the point. by Anonymous Coward · · Score: 0

    Well, that's kind of the point. He claims that these functions are part of the core language.
    While seasoned programmers look in horror upon the prospect of learning several hundred new function names, my neighbour who has but dabbled in programming is delighted by the concept.

    The only difference between this and perl+cpan is that this comes with all data preloaded. And saying this doesn't make a huge real world difference is just a bit detached...

  58. The next big IT merger? by briancox2 · · Score: 1

    A nearly semantic language that can solve problems for the user with the information that they are looking for?

    This sounds like Stephen Wolfram is angling for a buyout from an enormous search engine (that has the majority of market share).

    Such a search giant busies itself with the trying to stay ahead of a curve that is contantly try to flatten itself. This would be quite the engine for solving that problem...

    --
    We should learn what we need to know about issues, before we decide what we need to feel about them.
  59. when search returns models by epine · · Score: 2

    For example, Boost is really sweet when you need to slam together a pile of code and have it working out of the gate with minimal fuss, but if performance is an issue, you cant use it.

    Wow, that's just bizarre. I don't know where you get your misinformation, but it's an elite grade of batshit.

    The whole point of Boost is that it maintains a certain amount of abstraction without boxing you into a performance corner. Were it not for those conflicting goals, the devilishness of its internal machinery could not be justified.

    Template metaprogramming essentially involves expressions converting themselves to a symbolic representation that doesn't resolve itself into a concrete expression—by means of purely functional transformation at a quasi-syntactic level;—until some final result is demanded, at which point the highest performance code path can be selected based on the actual parameters (more specifically, often exploiting which parameters vary and which parameters are constant or nearly constant).

    The problem with Boost is similar to what Knuth said about the problem with literate programming.

    Literate programming demands a high proficiency with two different skills: formal reasoning and verbal expression. This shrinks the available pool of adherents and adopters. And worse, there's a terrible opportunity cost, because the people out there who have extremely high proficiency in both of these skills are in extremely high demand to take on central roles in large projects where they don't spend their hours bent over literate code.

    The kind of environment where Boost can be best exploited for both its abstraction and its performance is going to be wonk-filled boiler-rooms at high frequency trading companies where the cash, the talent, the commitment, and the project duration mesh together. Importantly, the project specification in these environments is often in continuous, long-term evolution as your firm chases whatever edge it thinks it might have in a chaotic, rapidly-shifting market environment. The month you spend pouring over low-level optimization gets deployed for a whole week. The month you spend automated your Boost framework to achieve nearly the same performance becomes a permanent code asset (and a competitive asset whenever you find yourself needing once again to run that old play).

    Boost is in that category where if you have to ask, you can't cut the mustard. The natural Boost programmers already know who they are. Few of these people toil in the public eye. That's not where this elite, double-barrel skillset tends to land.

    The Wolfram language is impossible to assess based on this video. If your application depends on Wolfram "knowledge" how do you know it will continue to meet rigorous specifications the day after tomorrow?

    Is there a public regression suite on the contained knowledge against which to assess whether your program is erected on firm or porous soil?

    What guarantee does one have that it's cleverness or performance characteristics will stay consistent when it matters most?

    I suspect the killer application for WooL is prototyping the semantic web. The semantic web has been dragging its feet. Google and Facebook don't wish to become disintermediated. They have one foot on both sides of this fence and their hands cupped over their testicles. Doesn't make for rapid progress.

    The Achilles heel of search is that search returns results rather than models. Google is trying to split the difference by having search return interactions. It's an excellent paving stone on the road to a lucrative future purveying OOXML.

    If ten minutes of coding within the Wolfram Language embarrasses Google search, we have a winner here of WuLing mammoth proportions.

    1. Re:when search returns models by geoskd · · Score: 1

      Wow, that's just bizarre. I don't know where you get your misinformation, but it's an elite grade of batshit.

      I get my information by using the tools. I work with embedded machines where every instruction counts, and Boost as mentioned is good, but will never be competitive with homegrown C/C++ code purpose built for the task. The container classes all add great flexibility, but that comes with a performance hit. The folks behind Boost have done a great job of keeping it to a minimum, but its there nonetheless. Just because compute power keeps getting faster each year doesn't change the fact that you can't increase the power of an embedded system once its in the wild without spending more than the device is typically worth. That means you have to keep within your processor capacity today, and you have to leave enough for future software updates.

      You sound like you come from a financial background, so let me educate you a little about the rest of the world: Most embedded software (>99% of the execution cycles in existence run on embedded systems) is made custom because the cost of processors is not trivial. When you are buying HFT servers that are involved with trades that net millions of dollars, nobody cares if the servers costs an extra $10,000 or not. In embedded systems where you can expect to sell millions of units, a difference of a penny in the final unit cost is enough to justify having an engineer spend an entire year shaving that penny off the cost. Shaving processor cycles allows you to use a cheaper processor, which can save on the order of dollars. Needless to say that under those circumstances, the "minimal performance hit" of Boost costs far more money than it saves, and consequently is unacceptable for production use.

      --
      I wish I had a good sig, but all the good ones are copyrighted
  60. flashy but ... by swframe · · Score: 1

    I liked the demo but it seems shallow to me. He has put a neat UI to connect data to and from well-known algorithms but the language solves problems I already have many solutions for. For example, when I reviewed the wolfram language docs for its support for image processing, I saw functions that are commonly provided in foss image libraries. I didn't see anything that would allow me to write code more quickly, correctly, or briefly but maybe I just missed it.

  61. One line solution to web browsing by medoc · · Score: 1

    I have a better language with a one-liner for web browsing:

    Firefox<CR>

  62. Mind reader by Anonymous Coward · · Score: 0

    This is exactly what I thought. :)

  63. Print a hard copy right there by DanOlner · · Score: 1

    Yeah yeah, but can it look round corners in photos and respond to vague voice commands?

  64. You don't have to by pavon · · Score: 4, Insightful

    The way this is setup isn't that that you code everything in natural language, rather it is just a shortcut to look up the correct formal language. Instead of searching/browsing documentation looking up the exact names of the functions you want and how to chain them, you just type what you want in natural language. If it interpreted you correctly, then great it saved you several minutes, and now you know the real syntax to use in the future. If not, well you only lost a couple seconds.

    The idea of mixing natural language like this isn't so weird; the first step that most programmers would take in looking up documentation when they don't even know the name of the library the functionality is located in is to perform a natural language search on web browser, and then go from there. This just takes it one step further and streamlines the process, which is perfect for a interactive language.

  65. medical applications by alzaid.saud · · Score: 1

    This will be fantastic for medical applications. Looking at the fine details one could concieve rapid statistical analysis and validation for large medical number sets. It's actually very cool.

  66. Re:A traveling salesman built-in is cool I guess.. by quiddity · · Score: 1

    I'm sad this didn't work. Perhaps this might be right? I think the graph still needs to be converted to binary. Or something. >.>

    --
    .
    . hmmm
  67. Not surprising by Anonymous Coward · · Score: 0

    Negative reactions here seems to me like what would happen if a C programmer in the 80's saw Python or if an Assembly programmer saw C for the first time!

    1. Re: Not surprising by BonThomme · · Score: 1

      Actually, having lived through it, the C programmer's negative reaction was to C++...

  68. Consider Examples from CraigsList? by LifesABeach · · Score: 1

    SEO, Web Based LAMP Editing? I haven't gotten to many requests for Traveling Salesman problems. I did get a request, once, to create a childs soccer banner with various shapes though.

    Mathmatica is a great product, and when I apply it to Ma and Pa's eCommerce web site and Ma and Pa have no idea what they're doing, so they manage by a economic system from the 1960's. I would use Mathmatica for what again?

  69. As a long term Mathematica user: by drolli · · Score: 1

    -the programming language seems like plain Mathematica input: nothing new
    -i love (and dislike) Mathematica, and one of the things which i dislike is the fact that it is not FOSS and has no FOSS equivalent. I cant find a license for the new language, just that "it may be bindled with the Rasperry pi".

  70. # lines of code by Anonymous Coward · · Score: 0

    may or may not be a desideratum

    I could write a language with 100,000 subprograms, each referenced by a single name. Then I could solve 100,000 problems. However, there are the 100,000 subprograms to 1) remember as a user 2) maintain as a maintainer

    It may be like the difference between Chinese and English. Chinese ideograms are more like words, and it takes fewer of them to write a sentence. However, you need to know 90,000 to be a scholar. English has 26 letters. With that, we represent 400,000 words. You need to memorize the words.

    In many stat languages, it's the same thing. With SAS or SPSS, you have a number of fundamental processes each of which has wrinkles covered by PROC specific language. If he has brought a lot of the PROC language into more focused functions, there will be many more functions. I'll need to look at the language.

  71. Re:A traveling salesman built-in is cool I guess.. by lucien86 · · Score: 1

    I actually have discovered the secret to life the universe and everything. You would be amazed at how close you just came... : )

    --
    Below the speed of light Special Relativity is one of the most accurate theories in physics - above the speed of light..
  72. Re:beta sucks why do i have to give a new subject by CauseBy · · Score: 1

    So, do you only write software on open-source operating systems for which you have read the entire source code, and the source code of the compiler used to build the code? If so, wow, impressive, I don't do that. As for me I am just a lowly bit pusher who is comfortable programming against the promises of things like the JVM, even though I've never read the JVM source code.