Podcast Lookup

Wolfram Language and Mathematica

Programming Throwdown

  • January 15, 2019
  • 2 h 17 min
  • Episode 86
Episode page
About this episodeHappy New Year! Today we are sitting down with Stephen Wolfram, inventor of Mathematica, Wolfram Alpha, and Wolfram Language! In this…

Happy New Year! Today we are sitting down with Stephen Wolfram, inventor of Mathematica, Wolfram Alpha, and Wolfram Language! In this super interesting episode, Stephen talks us through his journey as a mathematician, software architect, and language inventor. It was truly an honor to talk to Stephen and hear about his decades of experience. Check this interview out and give us feedback! Show notes: https://www.programmingthrowdown.com/episodes/86-wolfram-language-and

★ Support this podcast on Patreon ★

Transcript

From the publisher

This transcript comes from the podcast’s own feed, shown as the publisher wrote it.

Wolfram Language and Mathematica

00:00—
  1. A

    Programming Throwdown Episode 86: Wolfram

  2. B

    Language with Steven Wolfram. Take it away, Jason.

  3. A

    Hey everyone! Happy New Year. Welcome back. And we are starting the year off with an amazing interview. You know, very rarely do we get the opportunity to interview someone who actually invented a language. Every show, we always talk about a language, and here we have Steven Wolfram on the show. And Steven, why don't you kind of describe yourself and Wolfram Research and kind of walk us through your journey? Oh boy, okay, this...

  4. B

    Is a describe yourself in a few words? I remember I could tell you some interesting stories about times when people have said that to me. But all right, well, we have an hour, so you have plenty of words. Well, let's see. For the last 32 years, I've been working on what's now Wolfram Language and a couple of things that many people will know about have come out of that one: is Mathematica, which was first released in 1988, so we just had our 30th anniversary, and the other is Wolfram Alpha, which came out in 2009. And those—Wolfram Language is kind of the core of those things. I kind of started working... Well, gosh, let's see what's the story. Well, I got really interested in physics when I was about 10 or 11 years old, which is a depressingly long time ago now. That's the beginning of the 1970s. And one of the things about doing physics is you have to calculate all kinds of things with math and so on. And I was very enthusiastic about physics and very unenthusiastic about calculating things with math and so on. And so, I kind of said this is really boring and very mechanical and should be able to be automated. And that time was about 1972, 1973. I first got exposed to computer, which was a big thing the size of a large desk and so on, program with paper tape and all those terrible things. But I started trying to figure out how to essentially automate the computations that I might want to do for things like physics, and that worked really well. And I discovered all kinds of interesting things in physics, and I got my PhD when I was 20 at Caltech. And then I kind of—at that moment actually—I was like, okay, I've been using all these computer tools, and I've kind of outgrown the ones that exist today. If I want to do all sorts of science and things that I'm interested in, I'm going to have to basically build my own tools. So I started building.

  5. A

    Can you dive into that thought process a little bit? So how did you decide that you sort of outgrew the tool? I mean, you know...

  6. B

    Okay, so what happened is this.

  7. A

    And all that stuff.

  8. B

    Right. I'm sorry. Oh, I was just gonna say, you know...

  9. A

    You know, you could say oh, you know, you could do anything in Assembly Language. You could do anything in C. So it actually requires—I think a lot of to some degree experience or maybe wisdom's right word—but to recognize that the productivity hit you would take from having to build something, some tool, from scratch is justified by the gain you would get once you have...

  10. B

    That tool. Right? Yeah, it's been interesting in my life. You know, I spent—oh, for example, a decade doing big basic science projects starting in 1991. It was after the first version of Mathematica came out, and I realized that you know, it was the decade is a long time, and but then I realized that actually if I had not developed Mathematica first and then done that science, I probably it would have taken me 30 years to do what I managed to do in 10 years. So the five years before that—that I spent developing Mathematica as a tool was in the end I was coming out way ahead relative to saying I'll just cobble together what I need to be able to do the things that I want to do. But back in 1979, the story was in a sense simpler because I had been so the idea of sort of doing mathematical and algebraic computation by computer was one that had originated in the 1960s. People had built a variety of kind of research systems for doing that. And I had used kind of most of the ones that were all practical. For some strange reason, other people never used them. It was like there were all these physicists and they were spending all their time with you know pencil and paper and so on calculating things, and it was like, no, you know, I can just use a computer to do that. So at that time, you're talking like FORTRAN—mainly FORTRAN, right? Well, at that time most theoretical physicists did not use computers. The most I mean what happened was if you needed a computation done, you would find some programmer who would go off and do the computation. And in terms of programming languages, yeah, FORTRAN was the main one, as it's still FORTRAN 66. And you know, if you were a real programmer, you used Assembly Language. I remember people telling me, oh, in the even in the '80s, people telling me, oh, you know, all these high-level languages like C they're never going to catch on, you know.

  11. A

    If you want to do something serious, it has to be Assembly.

  12. B

    Language. Yeah, yeah, that's kind of a story that will repeat because in terms of Wolfram Language, you know, it's kind of a higher-level language than one seen elsewhere, and people still say, 'Oh, if you want to do something serious, you have to use some lower-level language.' It isn't true. And you know the course of history—you know, I'm very confident in the course of history in terms of that. But yeah, if you're willing to play the long game.

  13. A

    You know, Moore's Law always works in your favor, and eventually almost any of these optimizations that you get from C end up not being that important. So for example, oh, but

  14. B

    I don't think that's the point. I think that the real point is it's sort of the conceptual level that you can reach. I mean, this is—we're jumping around a lot, and I mean, this is super interesting stuff, but if you want to go back to the narrative of how I came to start

  15. A

    Jumping around is fine. Yeah, let's talk about the trade-offs between say Mathematica and writing it in C. I think that's interesting. Well,

  16. B

    Okay, so first thing you have to understand is in terms of Wolfram Language how do I view that? How what do I think of it as? I view it as a computational language, a little different from a programming language. It's a super productive programming language, but more importantly, it's a computational language. It's a—it's a language for communicating computational ideas in an explicit concrete form, and it's a language that allows computational ideas to be communicated and understood both by people and by machines. So kind of my goal in Wolfram Language is to do something really very different from the goal of other kinds of the traditional programming languages. Um you know, the traditional programming languages, it's kind of, 'Okay, I've got my computer in front of me. I need to tell it, you know, how to operate its transistors,' so to speak, in the best possible way to get, you know, to get what I want done. Done. What I'm more interested in is is how do I represent in a language the way that I think about something computationally? And then it's the job of, you know, us as the implementers of the language to get the computer to take sort of the goals that humans have expressed and get them implemented as efficiently as possible. Now, in terms of—and you know what we've tried to do in Wolfram Language is to build as much knowledge as possible into the language. So, you know, typical language there's a fairly small core language, and then maybe people add libraries and all kinds of other things to it. But in Wolfram Language, the idea is have it have as much as possible built in in a coherent way into the language, and that's a lot of work. I mean, you know, the last 32 years basically I've spent a large fraction of my time trying to fill in the—and just build lots of stuff coherently into the language. I mean pretty much, you know, every day I'm working on kind of the design of the language. In fact, I in the last—for the last almost a year now, I've been doing actually live streaming a bunch of our internal design review meetings. I think we just passed 250 hours of live stream design review meetings. Um so that's to the

  17. A

    public. So anyone can just

  18. B

    watch the public? Yeah, absolutely. It's on Twitch and Facebook Live and YouTube Live. Wow, that's awesome. It's it's really—it's really pretty interesting dynamic. I mean, there's some pretty interesting sophisticated people who tune in and they give some great comments, and I think we've you know we've done better design as a result of things people have suggested. I mean, it's always—it's always interesting because like well today let's see. I did one today. Probably the one yesterday is it is. They did a couple yesterday actually. One yesterday was interesting, was about—well, this relates to the whole thing about the language knows stuff. So one of the things it knows is in it knows geographic data about the world. So it knows you know the locations of all the cities, the populations of all the cities. We happen to have curated the borders of all historical countries that are known. So there's a few thousand historical countries from, you know, the Roman Empire to—you know, the different gyrations of different countries and so on. And so we got all that data, and the issue is how you deal with the language design of talking about a historical country. So, you know, we were starting off looking at—I was like let's look at the Roman Empire in 55 BC, and then one of the guys who's worked on this stuff said, 'Well, actually the Roman Empire didn't exist in 55 BC; it was the Roman Republic in 55 BC.' And it's like, okay, what does it mean for the entity? You know, what counts as France, for example? Right now it's changed its name at various times. And so you know, so these are questions that are an interesting mixture of sort of real-world issues and kind of precise language design. But but more than that, this was—this was actually mostly about how do you think about the sort of time series character of country borders given that one only knows them every year? And how does one deal with the fact that that one has a time series which kind of holds to one side but not to the other, et cetera, et cetera, et cetera. But this is—this is kind of the story of my life is trying to figure out how to take these kinds of things and make a precise symbolic language in which one can talk about let's say historical countries or today's live stream thing happened to be about the display of data sets and figuring out how to parameterize the way that a hierarchical data set is displayed and elided, and so on. So so one thing

  19. A

    that's that has always interested me is this idea of sort of push versus pull when it comes to data. So for example, if we take let's say Google's web mirror, like Google's indexer, right? They they crawl the web, they gather a bunch of data, but but the websites themselves are not particularly participating. You know, they're sort of involuntarily participating. Yeah, I mean what

  20. B

    what? Yeah, what we've done is very different. I mean, you know what we've been interested in for the last—I know 20 years or so is collecting and curating as much data as possible about the world. And so you know what we've done mostly is, you know, we work with sort of the primary providers of data, or we collect it ourselves, and we try and make as good as possible a kind of a computable version of the world. I mean, this is—there's a big difference between, you know, data that's good enough for somebody to read it on a web page and data that's good enough to compute from. And that's a—you know, you could say well, you know if you can do some NLP extraction of stuff and you can get it 80%, right? And that's fine so long as you've got a human to see that. 20% of it is totally ridiculous, right? If you're going to in fact one use case that we've been much involved with in computational contracts and smart contracts on blockchains and things like this, in the end if you want those to allow one to sort of run the world by machine-to-machine sort of contract interactions, you have to have some source of facts about the world. You know, you're selling weather insurance; you want to know did it actually rain yesterday in wherever? And so in fact right now the source in the world for better or worse of computational facts is the Wolfram Alpha API because we've collected and made computable basically a huge range of kinds of facts in a way where those facts can actually be used as inputs to computation in a consistent fashion.

  21. A

    Oh, I've heard about this where there's a—there's a I think it's a betting site where you can bet on facts. You could basically you could bet whether it's going to rain tomorrow, and it's all done on Blockchain.

  22. B

    Yeah, yeah. I mean, you know that particular activity egregiously violates our Terms of Service. Okay?

  23. A

    Right, people.

  24. B

    Do it all the time. Okay? It's you know we hope to—you know one of the issues is, you know, it's like who's liable if we say so-and-so won the election in Bolivia or something. And you know, we do our best to get it right, but it turns out, you know, a lot of people bet on it one way and goes the other way. It's like how does this work? Oh, that makes sense. I think what's emerging is whatever WolframAlpha says is true is true, which puts us in a curious position. And we're sort of working to make our sort of computational fact infrastructure, which deals with these kind of you know deciding things at that moment, so to speak, in as robust a way as possible. But you know, I think we do—you know, we've gotten to much of the computational fact computable knowledge that we deal with is knowledge that wasn't stuff that happened today. I mean, we do deal with plenty that happens today, you know, earthquakes, flight times, you know, all this kind of stuff. But I would say the majority of stuff people are using right now is sort of facts that might be, you know, properties of a chemical or, you know, box office results from a movie or something like this—things which are you know firmly in the past, so to speak, rather than things that you know just happened and are complicated to verify. What about?

  25. A

    Is there? So, you know, there were things like OpenCypher for example where people could specify a list of facts about the world. Is there any way to sort of scale this outwards so that anyone can contribute in some way to deal with Byzantine contributions and things like? Have you thought about things like that?

  26. B

    Yeah, of course. We've had a whole program of volunteer data curators and so on. It hasn't been particularly successful. I would say that there are particular well-collimated types of data where people have been very good at contributing and been very helpful to us, like for example, properties of fictional characters in books that was done by big volunteer effort. Okay? But I would say in more precise kinds of data, usually there's some sort of professional data collection operation that's doing it, or nobody has done it. And but to do it consistently is non-trivial. I mean, what we found is you know we employ lots of data curators and we found that's more efficient than having volunteers do it because it's just—you know, we can train them with they use a bunch of nice tools which we could make available to people, but you know, it takes some training to get to be a good, efficient data curator. And it's not everybody's cup of tea. It makes sense. I think.

  27. A

    There's also great ambiguity in the structure of almost any data, and so if you just give it to this heterogeneous group of volunteers, you're very rarely going to get a consistent structure.

  28. B

    Yeah, I think what one of the challenges of data curation—and you know, a thing I hadn't really realized—but you know we've built this whole sort of culture of doing data curation and I hadn't really realized how unique that is. You know, because we do a bunch of work with all sorts of world's sort of largest companies making basically private versions of WolframAlpha so that the WolframAlpha that people know that powers Siri and also has just started powering Alexa is—that's working on public data. But we've also had a sort of growing business on making enterprise versions of WolframAlpha where we're taking the internal data of some large company and letting people ask unstructured questions about that internal data, making use of public data plus their internal data. So you know somebody might say what were my sales between Christmas and New Year in Sub-Saharan Africa or something? And you know for that you have to know things about the world like Christmas and New Year. You have to know what Sub-Saharan Africa. You have to be able to know currency conversion rates, all those kinds of things. And to answer that question, you have to go be hooked up to the internal databases of Company X to go and to go and answer that. So we've been—that's—you know, we've done a bunch of those things. And one of the things that's been interesting is is that people are sort of horrified, you know. I mean, you actually have to go and do things with humans to make all this stuff work well.

  29. A

    Yes, I mean.

  30. B

    You know, it's we can do—we have very good you know, we've got very leading-edge Machine Learning stuff and NLP stuff and so on. But you know that's not if you really want to make computable data, you can't use that stuff. You can use it to help prime various pumps, but in the end humans and experts end up having to be in the loop if you actually want to build something that is capable of being a foundation on which you can build sort of a big computational tower. And I think you know one of the things about the culture of data curation is it's interesting because you know there's a large volume of work to be done and there's also judgment to be exercised, and it's a—it's a tricky management issue how you propagate sort of judgment calls up and down kind of the chain of people who are working on this type of thing. You know, at what point do you propagate? I don't know. In—you know, is this a—I don't know, like if you're doing image curation, you know, does this really count as an elephant or is it a model of a plastic elephant? You know, what do we really call this an elephant, or do we call it a toy? Yeah. And somebody, you know, at some point somebody has to make a decision like that, but you have to kind of propagate that to the point where that decision is made by somebody with appropriate experience and who knows how it fits together with the rest of the system. But the person who's actually looking at pages and pages of images doesn't—you know, isn't the one who has to has to be figuring that out all the time.

  31. A

    I feel like there's something kind of philosophically profound about that. You know, there's basically two types of jobs: there are jobs that have almost infinite scalability and then there are jobs that don't. So for example, being a musician now has is one of these jobs that scales in the sense that some famous musician will go in a studio and record a song once, and then it gets played on the radio over the whole world to millions of people. Being a software engineer is also one of these scalable jobs where you can design some software that's used by billions of people with only—you know, let's say a few hundred engineers, right? And everyone is really worried about, say, automation taking a job that isn't scalable like truck driving and turning it into a scalable job. But in your case, you're kind of doing the opposite where you are taking a job that had been done with, say, NLP poorly, and you're changing the scale, changing that sort of dynamic to get something that has really high fidelity. And it's funny how even intuitively, like on the surface, I kind of—you know, my first reaction is, oh, that doesn't that doesn't scale. But maybe that's actually a good thing, right? Is maybe what we need is to have more of a human touch. Oh, I don't.

  32. B

    Know. I think the fact is the thing to understand is what does it mean it doesn't scale. The world is finite. You know, when we started working on WolframAlpha, I had been interested in building something like WolframAlpha since I was a kid. I've been interested in kind of being able to sort of collect information, answer questions from it, and so on. I mean, horrifyingly, I found a bunch of stuff I did when I was like 12 years old which is sort of pre-WolframAlpha stuff with you know typewriter rather than data centers, so to speak. But it's always—it's always upsetting in a sense. I don't know whether it's upsetting or satisfying to discover one's really been doing the same thing all one's life. But anyway, I was interested—I've been interested in kind of can you make computational knowledge real since since I was a kid, and you know, I had actually always assumed that one had to kind of invent the whole of AI to do that. And eventually as a result of a bunch of science I did, I kind of realized that wasn't the case. But when we started doing the WolframAlpha project, it was like, okay, let's take the team over to a big reference library and let's look at this reference library. And it's like it's big thing with you know full of books. And my basic statement was, okay, over the next few years we're going to grind all of the knowledge that's in here and we're going to make it computable. And you know, it's a daunting task, but it is finite. You know, it's a finite-sized room, so to speak. And we got much more knowledge than was in the big reference library, but it's worth realizing that—that our civilization has only collected sort of a finite amount of knowledge about things. It's always surprising, you know, the amount of purely structured data that there is in the world is quite big compared to, for example, the text content of the web. I mean, I don't know whose estimate you want to take, but let's say the web is— don't know some modest number of tens of billions of pages of text. You know, there's actually much more of that in structured data that even we have for Alpha, but but so in other words, even if you say well gosh let's use the scaling of the web and try and deduce knowledge from it, there actually isn't that much there. It makes sense. Yeah. And it's—but I think you know for me there are two big multipliers that go beyond the sort of curate the data type thing. One is knowledge about computation, knowledge about algorithms, how you compute things from that data because actually most of the time people don't just want that one number that was sitting in the database; they want something that was the particular thing they wanted to know that is computed using some method or model or algorithm or something from the raw data that might sit in the database or whatever.

  33. A

    Right? Or they're even looking for some signal. They want to decrease the entropy. So, for example, um, they have a bunch of sales data and they want to know which countries are outliers. So they want some tree of some decision tree that's going to say, you know, this area of the world is performing great, this area of the world is performing poorly, and they want your system to extract that high-level information, right? But

  34. B

    You see now take that example. It's an interesting example because it's an example where the kind of, you know, knowledge-based approach that we use in both languages is important. Because let's say you've got that raw sales data. You've got the table of numbers. You've got the number for, you know, Luxembourg, you've got the number for Germany, you've got etc., etc., etc. On its own, those numbers aren't all that significant because if you don't know, let's say the population or the GDP or the number of, you know, internet users or something in each of those countries, it's hard to make all that much from it. Um, and so it becomes really important to have, you know, good computable data that you can use as part of the kind of pipeline of actually doing things. And you could say, well, I'll go scrape that data from somewhere. Okay? Great. You know, then you know, you scrape the data, you discover that countries that have, you know, spaces and their names don't work, right? Etc., etc. etc. I mean, it's some uh, and this is, you know, that this is what I've been trying to do is to kind of add this kind of layer of kind of automated computational intelligence that people can kind of take for granted in computing things. I mean, I, you know, the way I see it, if I look at kind of the the longer arc of history, uh, you know, back from like 60 years ago and so on when the first uh computers were coming out, it was like, well, you could take for granted the fact that there'd be some what was called a high-level language like COBOL or FORTRAN on that computer. Then a few years later, you could take for granted there'd be an operating system on the computer. Then a few years later, take for granted there'd be some kind of user interface or some kind of networking support on the computer. And what I'm trying to do basically is to let people take for granted a sort of layer of computational intelligence that they can expect to find on a computer and where we've tried to take sort of the the knowledge that our civilization has accumulated and try to sort of inject that as something that can be automatically accessed by anybody. And that's kind of, you know, that's kind of the bigger picture of what we're trying to do and sort of the the uh a couple of branches of doing that. I mean, in Wolfram Alpha, we're trying to make a sort of consumerized drive-by version of that where you just ask a question with natural language. You can, you know, ask it by voice since, you know, through intelligence assistance or you can type it on the website or whatever. Um, and the, you know, natural language like, 'Let me ask a question like, you know, what was the uh population of um uh of France in 1952?' or something. Um, that's something one can easily ask as a kind of natural language question, and that's what we're doing with Wolfram Alpha. With Wolfram Language, we have a precise language in which a question like that can be expressed. It's very simple to express but in which one can build up much more sophisticated kinds of things, um, in which one can sort of represent it. It provides a a more precise way than human language to represent what one's talking about when one thinks about things computationally. I mean, a way to think about this that sort of emerged recently is when we think about contracts. People want to say, 'I want to say precisely what's going to happen.' Well, they try and write it in English. Actually, they wind up with some kind of legalese that's some kind of very stilted English often. Um, but you know what we're trying to do is to make it possible to say what you want to have happen in code, in precise computational language—code. But that code, in order to talk about what you want to have happen, it has to be able to talk about things in the world. I mean, it's no good to just say, 'Okay, I'm going to declare, you know, uh, declare that there's an array of integers of length whatever.' That's not really good enough. You have to be able to say, 'Uh, you know, if the person is more than 50 miles from this place' then whatever. And that requires that you understand geo-positions and distances and, you know, all this kind of thing. You have to actually understand stuff about the world to be able to express these things. But what what I've been trying to do is to make a language in which you can express those kinds of things um but you can do it precisely and you can do it in a way that you where you can kind of build up uh, you know, many many layers of complexity. So, you know, in a typical when you interact with Wolfram Alpha, it's like, you know, the typical thing will be, you know, a fragment of a sentence or maybe a whole sentence. When you look at what people do with Wolfram Language, you know, there are well probably the biggest code base we have. Um I don't know what our total—I know Wolfram Alpha is about 15 million lines of Wolfram Language code. I think our whole Wolfram Language code base, which is mostly written in Wolfram Language now, is around 50 million lines. So it's a it's rather dense code because it's, you know, it's very, you know, very high-level symbolic representation of things. But so so kind of the idea is that that one be able to, you know, my my goal is to give people sort of a um to be able to let them sort of in every line of that code make use of all the knowledge that that our civilization's been able to accumulate. Um and uh, you know, don't have to build everything kind of from the sand up, so to speak. Yeah, that

  35. A

    makes sense. I think it's it's fascinating. One of the things that I've felt in the past is uh the way um and then I'll jump to something else, but but the way Google has sort of crawled the web, it's really kind of—I mean, you know, it's a great service, but one of the issues with that is the data as you said hasn't been very structured, and other people haven't been able to play a role. Um even though you might not have volunteers, but you're still going out to these data providers who are ultimately going out to the actual source of that information. And there's this sort of two-way conversation, uh, and I think that that adds a lot to the richness of the data, um which I think I think is awesome. What do you deal uh how do you deal with um let's say questions around saliency? So if someone wants to say, 'Um, you know, tell me something interesting about my profits in the past 10 years,' or something like that, like how do you avoid you how do you how do you take into account someone's mental model? So when they ask something, it's not just sort of a laundry list of details, but you

  36. B

    kind of take into account their intuition. There, right? Right. I mean, it's interesting when when I started working on Wolfram Alpha, you know, I kind of designed this framework for figuring out, 'Okay, so what does the sort of automated report that Wolfram Alpha generates look like?' And I thought we were going to have to iterate this a zillion times to make it, you know, useful to people. Uh turns out, you know, with a with a bunch of like fairly clever heuristics and things, we do remarkably well. And you know because we obviously have data on what people click on and, you know, where they read and so on. And you know I think it's a but it requires, you know, expert knowledge to build these things. So I mean those heuristics are built by using the fact that, you know, somebody who actually knew a lot about this field helped define those heuristics. If it was just like let's automate it, let's try and put a ranking algorithm in here and just do it based on, you know, we don't know what this is. It's just a question of how the words are correlated and, you know, let's use um, you know, TF-IDF or something to do something that's a—it's a, you know, that it's turned out that that was actually of all the various things, you know, it was one of many things that I thought was going to be really difficult with Wolfram Alpha that turned out, uh, you know, we had a bunch of big advantages in terms of the the way our algorithmic system was the framework was built and also the kind of way that we made use of, you know, experts all the way through what we've done. Um but uh, you know, that turned out to be making reports that are what people care about has turned out to be remarkably, you know, that that has not turned out to be the difficult thing. Now if you say, 'Okay, let me, you know, throw me some random data, tell me something interesting about it,' we actually have done that a bit. We actually had a the Pro version of Wolfram Alpha. You can actually upload data sets and it will try and do things like that. I don't consider that particularly successful. I mean, I I don't think people, you know, people find it amusing, but I don't think it's uh I I don't consider it kind of um uh something that is a a uh uh, you know, a core thing that people really care about at this point. That makes sense.

  37. A

    i think it's it's profoundly difficult to to come up with some kind of distance metric there like if if you if you if someone gives you a bunch of financial data and you just project that into some latent space you'll end up with some distance metric but it probably doesn't match their mental model and things that you think are really

  38. B

    close or really important actually aren't okay so so this i mean it happens to be something i've thought about a lot is the theory of interestingness so in other words if you've so i've studied a lot kind of uh simple programs out in the computational universe things like cellular automata and so on and so you look at lots of these cellular automata and you say which ones of these are interesting right you know you look at them some of them look oh they that's that's kind of cool you know it does all these things but which ones are interesting or you can do the same thing for chemicals let's say you can start enumerating possible you know hydrocarbon structures and you can say which ones of these are interesting so interestingness is a is a very cultural kind of thing that is what is interesting to somebody depends on you know the whole history of how they got there and and for us as a civilization you know when we say well what's interesting to invent you know or what mathematical theorems are worth proving those are things which are you know a very history and context dependent and in fact it's it's really so okay in in my world as a as a language designer um here's here's a way to think about this so you know you can imagine sort of concepts in the world and you could say well which ones of these concepts are interesting you know you we see stuff let's say you know in stone age or something we saw you know uh i don't know um you know different cracks in mud or something or different kinds of puddles or something like this and at some point we decided well puddles were interesting enough that we would give them a name and so as as human language emerged you know somebody said okay that's called a pub puddle and then you know people could discuss puddles and they could discuss lakes and they could discuss other things for which they have names right so in other words that there was sort of a a a con um uh this sort of condensed this this cluster of things in the world condensed into a concept that was interesting enough to be given a name that's

  39. A

    right and it is actually culture as you said it's culture dependent you know the the common um uh the one that everyone talks about is how eskimos have i think 50 words for snow and that's just because that that snow occupies a big spot in their mental model of the world right because

  40. B

    they see so much of it right right exactly but but i think in in um and so okay so what does a language designer do well a language designer has to think about you know what are all the computations people might want to do of which there is sort of an infinite collection and if you as as i've done you know study the sort of abstract space of possible computations and so on you realize there are even more of these possible computations to do the question is which of these are interesting enough to give them names to make them primitives in your computational language and to have people think in terms of them and that's you know that i think is the sort of at a meta level that is the role of the language designer is to figure out you know what are the repeated lumps of computational work that you should define as primitives and build your language out of and what's what's really interesting to me is that what when you build your language and you identify certain primitives and you give people this language they will start thinking in terms of that language and so you know one of the achievements i think with wolfman language is that we've you know lots of things have been invented and discovered with the language and with mathematics and so on over the years and i you know i can't quantify it but i think some significant fraction got discovered because we gave people a framework for thinking about things that was of a computational nature and that sort of condensed their kind of concepts into these things into these kind of conceptual anchors that are the primitives of the language um and i think that that's and so the way that works it's kind of an interesting spiral because um as you build certain primitives you get to think about things in different ways and when you've thought about those things in different ways then you can build another level of primitives and we're kind of continually in the history of sort of civilization we're continually building these layers of abstraction as a result of having successfully sort of condensed our concepts into definite things that we give for example names to

  41. A

    That makes sense. I mean, that's why, you know, if you go back—I'm probably not going to get this chronologically right—but if you go back enough, far enough, you get to the point where only the most brilliant mathematicians could understand geometry. And now you can't get a high school certificate without knowing geometry, and that's only because, as you said, we've compacted that and we've made that so innate and so unconscious that it can be broadcast to everybody. Yeah, that's right.

  42. B

    I mean, I think one of the things that one can think about regarding education and the history of sort of development of civilization again is, you know, as time has gone on, we know more and more stuff. And you might think, 'Oh my gosh, that means we have to—you know, people have got to be educated for a hundred years in order to be sort of functional in the world because there's all this stuff to know.' But the thing that's ignoring is the fact that there have been these moments of kind of unification and abstraction that happen that allow one to take something like what you're just describing. You don't have to learn every—you know, you don't have to learn every theorem in Euclid; you can know certain principles of geometry, and that allows you to figure out a lot of things without having to go through every single detail to get there. But, you know, the thing that's important about that from the point of view of language design—computational language design—it's kind of the same story. It's like what do you have to put into the language that gives people a framework for their thinking that lets them sort of make use of this process of abstraction? And as far as I'm concerned, you know, people don't yet understand the role of computational language in framing the way that people think about things. It's a funny thing because people talk about, you know, the Sapir-Whorf hypothesis for human natural languages, and that's the hypothesis that the words in your language define how you think about things. And people argue how valid is Sapir-Whorf? And, you know, is it really a significant thing or not? And, you know, that's there sort of—you know, it's a—it's I think it's a real thing in human language, but it's somewhat weak in human language. In computational language, it's extremely strong. That is the things you think about. You know, we've developed, and, you know, Wolf language—we've developed sort of a way of thinking about things. And you can kind of see that people, you know, I know for myself, and I can see with other people who are kind of fluent Wolf language users—I would say speakers. It's a funny thing. Years ago, I was—I happened to visit this group of, I think they were 11-year-olds at the time who were who had been learning Wolf language, and pretty smart kids. And that was the only time I've ever heard people actually speak our computational language, and it was a very bizarre experience for me because you know I invented this language, but yet I couldn't process it fast enough. You know, the—I'm just not used to hearing it as a spoken language. It's very, very bizarre to—but anyway, I mean, people—it's, you know, it's interesting to me that for example when I'm trying to think about something and you know I can start typing Wolf language code much faster than I could explain to you what I'm about to do. So that's, you know, that's what it's like to be sort of fluent in that kind of computational thinking. And with that—with our, you know, computational language as a way of expressing that computational thinking—it's, you know, the thoughts are forming, so to speak, around what will emerge as that language rather than the thoughts are forming in a way that I could express in human natural language and then sort of translate into computational language.

  43. A

    Makes sense. What about—I mean, you know things tend to be moving towards let's say more of like these what's the right word? Like signal processing or statistical-based approaches where you don't actually know anything atomic; you just throw a bunch of data into some layered systems, some neural network, or something that's just this composition of embeddings and then you cross your fingers kind of on the other side. Yeah. And so how does with that sort of trending and people wanting to sort of automatically extract signal—where does Wolfram Language kind of fit into that? My guess is it sort of would provide a very nice sort of basis function or basis set of data that then someone can go in and do that kind of thing, or maybe maybe those people are totally wrong and really the

  44. B

    yeah no that's i don't think that's quite the right way to think about it i mean it's it's the same as the way that we use so so for a long time these kind of soft tasks like identify whether this is a picture of an elephant or a teacup those were very hard for computers and um you know nowadays with modern machine learning that's rather easy um and so there are these these tasks that had traditionally these kind of soft tasks that had traditionally been very hard and what's happened you know if you look at how that's interacting with with all from language i mean we happen to have a rather wonderful sort of highest level machine learning framework that people have right now happens to be the thing we built on top of on top of mxnet you know which is a you know low level framework for the machine learning um the uh but but you know the way that interacts with often language is there's a function called image identify and the innards of that function make use of all of this kind of soft neural net stuff but at the end of the day it's like okay we'll take you know a thousand images and we run image identify on all of them and then we start making histograms of how many rhinoceroses and how many you know eagles were there in those pictures and so on so in other words these these kind of uh sort of soft things become elements of what is then ultimately going to be this big structure that we build i mean if we think about it in terms of the way that that humans work on stuff again let's imagine it's a it's a legal contract somewhere in the legal contract it will say if it's a ripe you know if if the bananas are too ripe then they'll be rejected okay and that you know if the bananas are too ripe that's a soft question right the whole chain of things around then they'll be rejected and then this payment will happen and then that will happen and so on that's all sort of symbolic structure i mean we look at it in terms of how we as humans act you know symbolic structure is what we tend to represent like in a conversation like this with with our human language but there are other things that we do that are you know the way that we automatically process things in our visual system where we say yeah i'm looking at a you know at a a bottle of water or something that's something that is happening at that level now there is an interesting trade-off that's happening right now uh of so so certain kinds of tasks where it's absolutely true the best you know that a really good way to do it is you just give it a bunch of training examples you let it learn uh it's been interesting you know what does it mean to do data curation in a world of machine learning so for example we have this neural network repository and the importance of that is that we are not there the main thing we're learning is things like feature extractors right so you know and that you know that is a very useful piece of curation you know it is a piece of sort of uh the fact that we now have a really good feature extractor for images or you know or really good getting a pretty good feature extractor for sounds for example as well um the uh you know that then allows us to compute a lot of things and that's kind of a a uh you know a different kind of data curation i mean just like um you know we when we were first doing uh sort of modern machine learning stuff maybe five six years ago um you know one of the big advantages that we had was that we were very experienced at doing data curation so when it was a question of okay take all these images and figure out what they're what they're of it wasn't just oh we'll just search the web and see what tags they have we actually had good processes for being able to inject you know some human knowledge into into being able to do that but i think there's a there's another thing which is sort of the trade-off between what is uh um you know what's um um uh what's um uh when when do you have a model of things i mean so for example is machine learning the end of science is an interesting question um in other words you know one has been interested in physics for example in saying let's understand let's let's write down some theoretical model for this process and let's work through that theoretical model and see what consequences it has that's sort of you know uh way number one for doing it way number two for doing it is say let's just take a bunch of examples and try and machine learn the results so so for example let's say you're trying to work out you know that sound your washing machine is making is that is the washing machine about to blow up or is it perfectly happy well one approach you can take is to use like we have this whole system modeling systems engineering system um you can actually have some some uh sort of engineering model of your washing machine and you can try and compute from it the resonant frequencies and work out vibrations and so on and figure out what's going to happen to your washing machine or you can just say let's just measure 10 000 washing machines and throw it all into a neural network and see what comes out um it's interesting i'm not sure you know what we're seeing you know in people who use our technology stack they can do both of these things with it and it's interesting to see uh you know in in the last few years there are some things where well the black box method is working really well other things where the black box method just doesn't seem to be making it yeah you actually need to kind of understand what's going on yeah

  45. A

    exactly i think i think that's that's exactly it is you i i look at it as sort of three layers the bottom layer is is is are what questions so um you know what you know here here's a washing machine uh what will happen today will it break or not and so you can take thousands of washing machines you can you can say these ones broke today these ones didn't um we have a bit of a sampling problem let's say take millions of washing machines and and you can figure that out and and you know automated methods are getting very good at that right but then if you move up the next level are kind of how questions or control control theory questions and so i feel as if when you do the pure automated way at the bottom and then you try to do control on top of that it becomes very difficult because you don't you don't actually know what you're controlling because those those signals are not the the signals are just effectively coming from noise you don't know the difference between that data and noise and okay you've extracted signal from it but now you're trying to control based on that and then the the top layer is causal analysis so so why am i even doing taking this policy why am i even doing this this controller based on these signals and and and and you kind of you end up sort of kneecapping or handicapping yourself when you do too much automation too much unstructured learning at one of those lower layers you make it impossible to to build the layer above it

  46. B

    well i mean one way to think about this is if you ask is there a role for kind of computational language for symbolic language or should we just throw everything into you know a a black box machine learning system well you know if you look at the difference between humans and other animals you kind of see what the what the payoff is for symbolic language that's the way in which we differ you know yes you can get your your average beaver or something to do many of the tasks that you know we can expect to do without this you know construction of symbolic language that allows us to express abstract things and so on um there's a there's a there's a level that you can do and and you know which we were unable to do with computers properly until quite recently but now those become components in what you know in our sort of human development has been all the stuff we've built you know our civilization was made possible by this idea of symbolic language and by the idea of being able to express abstraction and so on and that's you know that's the that's in a sense what what you know what someone like me is trying to capture in the computational language that we're building i mean what's interesting about the computational language is it's kind of another level of of sort of communication i mean in other words when you know back in the day well you know that there was you know the most basic level of communication for for life is genetic you know you pass to your offspring certain certain information then there's then there's things where sort of things are automatically learnt in each generation like your visual system you know learns from the actual objects and correlations it sees in the world your visual system you know just like a neural net learns how to see so to speak yeah but then you know the big innovation of our species is that we get to actually communicate stuff from one generation to the next using sort of abstract symbolic representation of ideas but still we're kind kind of stuck because you know one generation can write the books the next generation can be like oh we don't understand the books or you know when you talk to somebody it's like you form the thoughts in your brain you express those thoughts in human language but then the person on the other end has to do a whole bunch of work in their brain to absorb that language to fit it into their thought patterns to be able to take action on the basis of it the thing that's pretty interesting in terms of computational language is we don't need that that second step once we've expressed something in computational language it is immediately executable and that's and so in other words when we're you know the way i see that in terms of of sort of the ai world is we get to instead of just having to you know we could we could like talk to our ai's in human natural language and we can try and say yeah you know we want you to do this and that and the other and the ai can try and figure out what one's talking about or one can if one has a good way of expressing sort of one's human goals in a computer in a precise computational language and just say okay here's what i want to have happen now it's up to the ai to figure out how to make that happen in the most efficient possible way but you've expressed what your goals are in a in a precise fashion i mean i think that the you know again in a sense the the you know the role of automation is uh you know humans define you know what you want to have happen is uh you know humans define what they want then it gets actuated as automatically as possible but a piece to that is humans have to define what they want and now that you know and now that you know and now that you know and now that you know and now that you know with computation and ai and so on the set of things that we can get done automatically is very broad there's a big focus on so how do you tell in a sense how do you tell the ai's what you want them to do and that's again that's you know that's why i care about computational language is that gives us this bridge between our human goals and human thinking and what we can get computers computation and so on to do and that's you know that's you know that's why um you know i see it as being a um uh a pretty important thing in kind of the the history of of uh uh of of kind of you know developing kind of well uh sort of the the trajectory of human civilization it's it's a it's an important moment that we're at right now where we can automate a very wide range of things the question is just to say uh you know what do we actually want and then to be able to describe what we want and that's you know that's the uh we have a program for uh middle school kids um and uh i think the tagline last i knew at least the tagline was who's going to tell the ai's what to do nice and um it's uh um i think the um i mean it's an interesting thing in terms of of education and what people should be learning about i mean this idea of of sort of thinking about things computationally is you know this is the really important thing of this of this time in history i mean we are we are the sort of the 21st century is the time when the computational paradigm basically took over everything um yeah i think one of

  47. A

    The things there is—I'm seeing a lot of research lately around these Generative Adversarial Networks, right? And so the idea there is you want to project things into some latent space that was sort of the big thing of let's say the last decade or the last five years was this compositional embedding and how powerful that is. And a lot of the unsupervised methods got kind of wiped out by deep learning, right? Now you're seeing sort of these approaches to try to reverse the process. So you'll see, for example, someone will use a GAN to generate endless amounts of birds, you know? That was one of the research papers I saw. Or for example, they would use a GAN to reverse an embedding and generate a text description from a picture. So, you know, there's a picture of a person sitting on a bench—that's in the test set and that the training set didn't have that, but it had a lot of benches and a lot of people, and the system was smart enough to sort of reverse that embedding and create language. But it's an extraordinarily difficult problem. And as opposed to images where people have understood that Convolutional Nets and these things have really captured the regularity of images, we haven't really done that for language. And you know, definitely the research should continue, but I think an alternative might be—you know, at the educational level getting people to communicate with computers in a slightly different way. That might be the low-hanging fruit there rather than trying to reverse engineer the entire history of human language. No.

  48. B

    i think you're right i mean i think that the the human language is is decently optimized for humans communicating with each other you know computers you know we are in the business you know we built this whole nlu system that you know is used in wolf and alpha that's in the business of taking the random things that people say to their phones or their you know cylinders in their kitchens or whatever um and uh you know and trying to make sense of those and and you know for small utterances we can do quite well for building up a whole complicated story you could do it but it's really a pretty silly way to do it now right

  49. A

    and the state becomes a big problem so if someone says you know i mean you hear these these these um you know people will showcase these examples but they're always very contrived so someone will say uh you know google was showing this off at one point someone would say uh you know what time or or you know what's the movie with this actor and they would say i don't know black panther and the person say what time is that and that subsequent query would have the context of the first query you know but but that is it's so hand coded you're getting a system to keep state of what of the conversation uh in a in an automated way no one's even come close to that and and and and we expected so much more progress than we've got as a community that that might not be a good problem to be solving right i

  50. B

    mean so so here's an analogy so back 500 years ago literacy was not common right written you know people didn't know how to read and write so certain kinds of things could be expressed by you know spoken things people had to memorize they're probably better at memorizing things back then but you know there was a time when for example if you you know longer ago in history like with lawyers you know they would read the law somebody would recite well not read it they would recite the law they knew every law and they would just recite the law to decide what you know whether somebody was doing the right thing or not then when literacy came in it it enabled a much greater level of sophistication and richness you know you you could you could create things that were much more you know you could write books and many people could read them and so on i think that uh what your uh you know this this whole question about whether whether it's um uh human natural language is is good for expressing certain kinds of things but when it comes to building big structures it's not very good you know if you imagine writing some big doing some big piece of software engineering where every piece of it was written with human natural language it really wouldn't work very well now a couple of things to say about that so one thing i found really interesting so you know i worked on wolf in language for uh what was it 15 years or so before i started working on wolf in alpha wolf in language is very precise language everything is precisely defined and very you know there's a precise meaning to everything then i started working on wolf from alpha where the idea is people should just talk to it and say whatever they want to say and there's no documentation it's just like it's our job just to understand those weird things that humans say to it okay so i decided to adopt a completely different design philosophy so in wolf in language you know one of the things is i want everything to be as consistent as possible i want to minimize concepts i want to have uh everything be sort of infinitely facturable and so on and so on and so on for wolf in alpha it's just a pure do what i mean type type story and it's just like deal with whatever crazy things the humans say right so those were two it was interesting for me because those were two very different design methodologies um and i was you know it took me a little while to get used to the second one but then you know i used to be very afraid of heuristics i used to say never use heuristics it's crazy and then you know in wolf in alpha it's all heuristics it's like what does it what do you what does a human mean when they say you know 50 cents oh they mean something about money if they say 50 cent they probably mean a rapper oh yeah it's very you know it's it's but if they say 47 cent you know that's probably a mistake for 40 for 47 cents no so it's just all heuristics doesn't that when

  51. A

    you told when you said that example it made me feel sort of agoraphobic right i mean just sounds like there's an endless amount of there's no end to the amount of things the heuristics that you need to add to the

  52. B

    system right well yes that's what i thought right i thought oh my gosh the thing's going to drown in heuristics right and but what i learned after a while is there's a there's a logic to heuristics and and yes there are lots and lots of them i mean it's a for example if you're into software quality assurance uh you know doing sqa on um uh natural language understanding system is one of the scariest things you can you can do in that in that business because nothing is modular you know the whole system you know you can end up if there's a new rapper who comes on the scene called 47 cent that just blew up a bunch of your lu for for financial transactions and so on um so it's it's a very very weird thing but um uh the the um uh the the point you know when when in working on wolfman alpha it was just this heuristics you know the logic of heuristics working on wolfman language it's the sort of very precise very uh sort of formal way of doing things and i didn't know you know i thought these were two different branches very interesting thing happened a few years ago when we started to basically build wolfman alpha capabilities into wolfman language what i realized is that there are little fragments of when you write code and you need a list of the u. s states for example you just say control equals list of u.s states that's a natural language you hit return it turns that into a precise symbolic representation of that that then becomes something precise that you can use in your program and so what ends up happening is there are these little fragments of natural language that you use for things like that you don't say you know uh map this pure function over this using natural language that's a total lose but you do say give me the list of state capitals in the u.s or something that you can say with natural language so there's this interesting sort of uh uh you know connection between these two things i mean it's worth realizing that that you know the software engineering stack that you need to make all this stuff work is somewhat complicated because when you're dealing with you know for example the thing i just said let's imagine you're you know you're mapping over some list of state capitals okay that list of and you're doing it in some you know version of wolfman language that's sitting on your desktop computer that list of state capitals lives inside our knowledge base in the cloud it has to you know it's a it's a sort of language where where things you know sort of it it's a it's a language where it can make use of this kind of vast pool of knowledge that exists in the cloud it's downloaded you know sort of magically downloaded and cached and you know all those wonderful things um but it's it's sort of interesting that again that's a that's a different kind of uh software engineering experience so to speak uh to what one might be used to with oh that's just a language and it compiles into machine code type thing um yeah

  53. A

    it seems like it seems like that there that that whole concept of you know i wonder if if if you need to if it needs if the programming language needs to be attached to this sort of common sense reasoning database or maybe you know maybe they do have to be attached but but my guess is there's probably a large use case where somebody has you know because the vast majority of what let's say someone's building an app the vast majority of their app um is going to be written in a specific language and that language is going to be designed around showing buttons and showing you know uh sliders and things like that um but then they could take advantage of the capable this this sort of knowledge database and this knowledge language it could almost like be embedded into sure any

  54. B

    process that someone's doing you know that's the least less interesting way to do it okay all right yes we we have a a great way of making instant apis where people can call us just for little bits where they where they have figured out that we can do them what's much more interesting is to think about everything you're doing in this kind of very high level symbolic way and because you get to do a lot more like let's say you're laying out those buttons okay well we have a symbolic representation representation for you know a user interface that's completely program you know that ever for the last 20 years or something has been a completely program manipulable thing so it's something where yeah you could write you know hard code to lay out these buttons in this way but you can you can have a symbolic structure that is you know computed with nice functional programming sort of on the fly that does that button layout and being able to think about that or you could say uh you know make the buttons be i don't know let's say a crazy thing you know let let's say you want to you're putting buttons to represent uh which city you want to go to next well you can actually use geographic data to place the buttons in your interface it's kind of a stupid idea but but you know no but

  55. A

    the whole point is it could

  56. B

    be interesting i mean

  57. A

    Maybe you have a spinning globe or something like.

  58. B

    That yeah, right. But I mean the point is being able to—the big thing with Wolfram Language is it's free to do fancy stuff, you know? With most if somebody says, 'Oh, by the way, I've got, you know, oh, I've got to have 10 cities and let me do a traveling salesman tour, you know, through those cities.' Somebody say, 'Oh my gosh, I gotta figure out how to write this traveling...

  59. A

    sales? Download a library. Sometimes the library doesn't work.

  60. B

    Right, but the whole point is for us it's free to do that stuff. It's just sitting there. It's just some function that does it. And by the way, you asked much earlier about sort of the trade-off between writing things in low-level languages and writing things in, you know, a knowledge-based language, you know, that like Wolfram Language. Here's what I found. You know, you imagine you're writing an algorithm—let's say it's some oh, I don't know, some numerical computation algorithm—and you're going to write in a low-level language. Okay? You know, and but at some point in that algorithm, you say, 'Gosh, if only I could do some algebraic analysis of what's going on?' Or 'If only I could use some piece of graph theory.' Well, you don't do it if you're writing in a low-level language because it's just too hard to get that done. Yeah. What ends up happening in our language and what's been probably the last decade or so—most of the algorithms that we've produced, and we create a lot of algorithms, their building blocks are these very sophisticated things, and the fact that those building blocks are kind of freely available is critical to having much a much more sophisticated level of algorithm than you could achieve if you were building it kind of from scratch.' And people—and by the way, the whole question of is it efficient? The answer is, gosh, you know, if you're doing let's say solving traveling salesman problem or something, you know, we have the world's best traveling salesman, you know, problem algorithms. You don't have to go, you know, if you were writing that from scratch, you'd never use the world's best such algorithms because it'd be a big pain to try and figure out how.

  61. A

    to do that.

  62. B

    Yeah. And you know then the question is how good can our compilers be? And that's a—you know because that's the big thing. You know back in the day people used to say when I started doing computing, people would say, 'Oh, you know, if you're doing something serious, you've got to write an Assembly language.' You know, these languages like C, they're—they're just they're crazily inefficient. And but of course that's not true anymore because you know optimizing compilers typically will do better than a human writing most kinds. Yeah. Most most humans in most situations it's just not a good idea to write the Assembly code.

  63. A

    Or even another way of looking at it is is the limiting—the limiting factor now is is the person's time and energy. You know, the people, those are the that's the commodity that doesn't scale. You can get a really large data center, but you can't necessarily take someone's mental model and replicate it to 10,000 people, right? Yeah, right. But...

  64. B

    But I think more than that. And that, you know, what happens, you know, because we've built this kind of sort of language at a different level than people have tried to build languages before, what we—what happens there is there's just much more stuff automated. So people who end up getting fluent in the language can just be much more productive. They can write, you know, it might take, you know, five lines of Wolfram Language code or it might take, you know, 200 lines of some other language. But by the way, the calling on five libraries that you then have to figure out—well, are they really going to work and so on and so on and so on. So, you know, I completely agree. I mean what, you know, one of the things about Wolfram Language is, you know, my original idea is, you know, panda to the humans not to the computers. You know, back in 30 years ago or more particularly when I was starting this, everybody was saying, 'Oh, you have to make it easy for the computer.' And saying, 'No, actually, you know, make it as easy as possible for the humans.' And and the ultimate version of that is find a way for the humans as easily as possible to express what they want in computational terms. And then it's up to us, the implementers, to try and make that run as efficiently as possible. And you know, it's—it's lots of work, and you know like we're just building a very elaborate new layer of compilation technology to basically take this sort of very high-level language representation of things and really, you know, turn into LLVM and really have it grind all the way down.

  65. A

    So to speak. Yeah, that makes sense. But I think so—most people let's say like they have some system, maybe it's a service on the internet or maybe it's an app or it's a website or something like that, and so they can interoperate with Wolfram Language. But you're saying that that, you know, over time, Wolfram Language can eventually be used to drive, you know, apps and UIs and things like.

  66. B

    That yeah, and it is. Right now I mean it's used in lots of large-scale enterprise applications. They are just running Wolfram Language code. I mean they have some web server in the front end, and then behind it is, you know, let's say a private version of our cloud technology, and it's just running Wolfram Language code. And that's, you know, there's—there's lots of that. It's kind of always funny to me. You know, I go to—I don't know, you know, I go to a pharmacy and I pick up a prescription, and I realize, 'Oh my gosh, it's our technology that actually created, you know, the thing that I'm seeing here.' That went from, you know, the doctor's prescription, you know, written out to the kind of symbolic representation that's used to compute all kinds of things about, you know, multiple drugs or whatever and to compute, you know, the schedule. And you know in the end that label is probably, you know, there's probably some piece of Wolfram Language code that made that label.' So to speak, it's a weird thing in the world because, you know, in—you know, there's an awful lot of stuff now that, you know, in the past there was a lot of stuff where the R&D was done with our language. Now there's an increasing amount of stuff where the actual deployment is done with our language. But it's a strange thing as a language designer, you know, you realize, 'Gosh, it's it's our technology underneath there.' And it's like and so what I'm still, you know, standing in line picking this thing up and it doesn't make any difference. I mean it's—it's—I also find it interesting, you know, the flip side of that. You know, I—I'm interested in sort of education, and we should talk about that a bit because I think there's some worthwhile things to say about about that. But but so I end up quite often, you know, talking to groups of kids and things like that, and a lot of them use Wolfram Alpha, and they kind of, you know, they notice my name. They know about Wolfram Alpha, and there's this moment of surprise when they realize that there's a person... who is connected to this thing that exists on the internet and that they use every day. That's right.

  67. A

    There's a real building and set of people behind all of these websites. They're not just ephemeral.

  68. B

    Right, right. And it's like there's a human and somebody decided to do this, and somebody actually built it. Yeah, how is Wolfram Alpha answering questions when you're here? Yes, yes, yes, right. We did that as an April Fool gag at one point. We had a handwriting output from the thing, and we had a whole backstory about that. Nice. But I think the you know in terms of sort of the educational aspects of things—I mean this whole question about, you talked about, you know, what's the right way to do things? Is it the right way to have computers kind of come and understand human natural language, or is the right way for humans to get to the point where they can express things in a more computationally precise way? And I think the thing, you know, I was talking about—sort of the literacy transition 500 years ago—there will be another such transition. And it will be a transition where people can, where the typical person understands computational language. And I like to think that the things I've spent much of my life building will contribute to that. That you know that people will understand enough computational language that they can routinely express themselves in that way. They can write that little contract. They can define, you know, they can—they can, you know, the restaurant menu will be in computational language, and they can say, 'Well, actually I want to make a change to this.' Let me, you know, change that piece of code, so to speak.

  69. A

    That makes sense. It's sort of like solving a maze by, you know, beginning at the start and the finish and working your way to the middle. You know, if we make it way too open-ended for people, then there's just too much ambiguity. On the flip side, you know, we can't expect everyone to write C code to order a hamburger, right? But there's probably a spot in the middle where people think and act, and people interface with computers with much more unconscious knowledge, similar to right now how we can use algebra almost unconsciously. And yeah, yeah.

  70. B

    And that will help, will help the

  71. A

    whole process tremendously, right?

  72. B

    No. I think that's, you know, as I say that the language design is a curious kind of art because it isn't—it's not like it's all about kind of trying to think about how people think about things. It's not like doing basic science where you are purely trying to do something abstract. You have to be sort of, you have to be thinking about how does this relate to sort of what people care about, how people think about things, and so on. And I think in the you know one of the things that's really neat right now is that through the technology we built—the world's fanciest research scientists and so on, you know a very large collection of them use our technology to do their work every day—and it turns out that exact same technology is now perfectly accessible to, you know, middle school type kids who can learn sort of to express themselves computationally in our language and who can, by the way, do things in the language that they immediately care about. So it's not just this kind of abstract exercise of write a program that sorts numbers or something, right? They can say, 'You know, let's take movie posters of, uh, you know, the popular movies of the last year and let's find out whether red is becoming a more popular color or whatever it.'

  73. A

    Is we always laugh about the you know if someone's applying to be a Data Scientist or or you know which is basically Silicon Valley's version of just statistician, right? But but if someone's applying for one of these roles, they'll do a coding interview where they'll have to sort a list or invert a Binary Tree or something like that. And it's kind of funny to see someone with say 20 years of experience you know inverting a Binary Tree, and it's just kind of a running joke. But maybe maybe that's because there's sort of this inertia, and maybe something better would be using a language that allows you to fetch a lot of information and solving a much more high-level problem, right?

  74. B

    So I mean, you know, a typical one that we've used a few times is—okay, you're given a lat/long coordinate on the Earth and you're going to produce a map. There's a real problem in Wolfram Alpha: you're going to produce a map. What's the default map scale that you should use given that you're throwing a particular lat/long coordinate on the Earth? Okay, if the lat/long coordinate lands in the middle of the Pacific, you obviously don't want to show a one-mile radius map. If the you know lat/long coordinate lands in the middle of Manhattan, you probably don't want to show a one thousand, you know, kilometer radius map. Yeah? And the question is what do you actually do? And so the answer might be well, you look at the population density. You look at the actual imagery in the map. You try and figure out density of that—that's kind of typical sort of computational thinking problem. And the whole point of our language is once you can define what you want. Like you say, 'I care about population of people.' 'I care about, you know, the entropy of the actual map features,' or 'I care about, you know, you can invent lots of different kinds of things.' Then it becomes pretty easy to express those things and to try out your algorithm. And that's a very different kind of exercise than the typical kind of computer science, you know, sort of list type thing. It involves a different kind of thinking. And by the way, it's thinking which is not really taught much in a lot of computer science education. I mean this idea of let's just think computationally about real problems in the world—that's not what ends up being in those computer science exercises. I mean, what one of the things that is my biggest fear actually about modern computer science education, particularly at the K-12 level, is that it'll go the same way as things have gone with math. I mean, what happens with—what happened with math? You know, most people's takeaway from studying math in school is, 'I don't like math.' It's kind of boring. It's very, you know, intricate. It's mechanical. It's kind of why do I care? Like I've asked many kids, you know, with quite sophisticated kids, 'I say the math you've learned in school, have you used it anywhere?' And they're like, 'Well, no.' And that's, you know, that's kind of—so they learned it as a, oh well, I've got to do my algebra, calculus, whatever,' and I'm doing that as a sort of separated abstract thing. And it's something where I'm going through the mechanics of it. I'm learning how to factor a polynomial, how to do an integral, whatever. That's like to the horror of particularly one of my kids.

  75. A

    One of the things that cracked me up when I was taking the SAT as a teenager was there was a question where somebody had 17 watermelons and they were at a grocery store, and the answer ended up being 17. And it was just—I found that hilarious because I just pictured this person with 17 watermelons, you know, in a shopping cart in a grocery store. And that is this—that is the stereotypical math problem. It's just it, you know, even in that environment where you had every opportunity to put, I don't know, bottles of water or something, but they chose something even more absurd than that, and it just shows how disconnected it is from anything real.

  76. B

    Right. I mean, look, I think that the a couple of comments about that, but but I think you know programming low-level programming, I think is the enemy of computational thinking in education. That is if what you do is teach people how to write Quicksort—you are and maybe you don't even get to that level—but you know if you write them, if you teach them how to do a for loop or something, yes, right? You know most people will find that kind of boring. Some people who might go on to be systems programmers will find that super interesting, and that's great. And you know but most people just like all those people who won't go on to be pure mathematicians and who find a lot of the algebra stuff kind of boring will similarly be turned off computation by being fed this kind of very, you know, very low-level kind of 'why do I care?' type stuff. And I think you know computer science education has gone through about four waves over time. You know, the basic wave that which was one of the better ones, by the way, and then a series of other waves. And you know it—you know one of the things that you know I put a fair amount of effort into, although education is such a fragmented area, it's so hard to know really, you know, to well, it's easier in smaller countries actually where there's more central kind of decision making. But but in a country like the U.S., it's really hard to, you know, to sort of put effort and get commensurate returns. But it—it's some, you know this thing about, 'Okay, let's teach computational thinking,' and let's teach it by having people be able to sort of form computational ideas and then make it up to the job of the implementers like us to make it so that, you know, what the kids, you know, to make it as easy as possible for the kids to actually get computational results. And it's like you know if the kids are getting the syntax wrong, that's not because the kids are stupid; it's because we haven't given the right user assistance prompts to make sure that they don't get the syntax wrong. You know, I think it's the whereas in math you don't get to do that. You don't get to have somebody thinking about how do we provide, you know, algebra is algebra, and you don't get to say, 'Oh, let's, you know, we're trying to automate this as much as possible so that the humans just have to do the real thinking part.' It's just like well, no. Actually, you have to, you know, add X and X and get to X and all that kind of thing, and then you have to do that yourself. And I think so you know I think there's an important thing that happens in education there. I mean it's for me it's interesting. We run a summer camp for high school students, and we also have a summer school for sort of grown-ups that we've been doing now for 16 years where people come and do some original project that's never been done before, and they've often never done a project where you go from sort of nothing and actually create something. And it's really—it's really great with the tools that we have now. It has become there's an awful lot of low-hanging fruit out there. I mean there's an awful lot of stuff where using, you know, using our language, using the whole sort of computational paradigm, there are things that people can do. You know a high school kid can come in and in two weeks actually produce something really, really, really neat. You can, you know, there's a website with all kinds of projects on it that kids have done, but you know that's something that is a thing of our times that that's possible. And I think that I find it particularly for me it's particularly cool to see that these kids are able to make use of the same tools that kind of the fanciest research scientists are using and they're able to go find things that you know are interesting new things, so to speak. Yeah, let's

  77. A

    Talk about that for a minute on the accessibility side. So, this is something we actually haven't mentioned on the show, but the vast majority of languages are just, you know, completely public open source and totally accessible. And the way that the people who put their time and effort into those languages, you know, support themselves is usually through some type of enterprise contract. So for example, Java becomes really popular. Java's probably not a good example.

  78. B

    Let's say Python. It's terrible. It's an example of the disaster of what you're describing. Yeah, it's like I immediately regret my decision.

  79. A

    Yeah, so Python is really popular. You know, anyone can go and download the source code and look at all of it. So in a sense, the intellectual property is—is you know, the value there is questionable. But then, you know, some enterprise customer starts using it, and now they need to reduce their risk because they have a risk of something bad happening, you know, with their system. That's that's a fault of Python itself. And so to reduce their risk, they spend money. And that's really what keeps that whole process moving. Now I know for Mathematica, and I have it to be totally fair, I kept totally up to date on Wolfram Language, but I know for Mathematica, it's similar to MATLAB in the sense that it costs money to sort of even enter and start using it. So yeah, how does that work if someone's a student? How do they get started? And what's sort of—I guess the business model to some degree? And how does that sort of work operationally?

  80. B

    I mean, so you know I've been interested my whole life in kind of threading the needle of figuring out how to do the most interesting innovative stuff for the world and have that be sustainable over the long term. Okay? And I think I'm not doing too badly in the sense that you know we've been able to consistently be building a technology stack for the last 32 years. It's interesting that when I started this, the first company, you know, the first thing I built, I was originally going to sort of do the open source thing. I realized, 'Gosh, there's no way to—that was in 19—in 1981, there's no way to support this. I have to start a company.' I started a company of a certain kind, you know, venture capital funded, and so on. That didn't work out that well. I mean, the company eventually did an IPO and did okay, but—you know it didn't work out well in terms of having a long-term sustained vision for the last 32 years. I've been pretty lucky in that. I have a you know smallish private company, only 800 people, mostly R&D folk, and we've been able to kind of keep innovating and building things. Now, you know the problem that we have—namely, you know build this huge computational language that has everything in it. It's not just one of these, 'Oh, I'm going to spend the weekend and come out with a new language,' right? And throw it out on GitHub type thing, right? It's a thing which is sustained, you know, in this case 32-year story. And it's a story where, you know, I was pretty pleased, you know, at the 30th anniversary of Mathematica. I thought, 'Oh, let me see whether I can take code that I wrote 30 years ago.' And there it was on a, you know, on an original Mac and I get it off with floppies and things like that. I take this code—this was just lost—a few months ago. Take this code with great effort, I get it off the floppy and onto a modern computer, and by golly, it just runs in the latest version of Wolfram Language. That's cool! We have 30-year compatibility. And you know people, a lot of people in sort of the research world really appreciate this. I mean, they, you know, they have stuff that they did, you know, 25 years ago and it just works. And you know, I think that the idea that—so you know my main goal has been sort of threading the needle of being able to do sustained innovative work for a long period of time and try and deliver something valuable to the world while letting as many people as possible use it and have the ecosystem work. And you know we've done a variety of different things. So, for example, you know basically every major university in the U.S at least—and most, most around the world has a site license for our technology. So for anybody at a university, it's free. I mean, the the uh you know the university is effectively paying an enterprise license, but that means every individual student and so on gets it.

  81. A

    For free? Nice.

  82. B

    So they put in

  83. A

    their edu email address or something like that.

  84. B

    Yeah. I mean, supposedly the universities have ways that they distribute all these things, but yes, and that's basically what happens. And you know now Wolfram Alpha—the main Wolfram Alpha is just free to the world. There's a there's a version, there's a Pro version that students—some students, well, a lot of students end up getting because it has some additional capabilities like showing steps and so on for computations. But you know Wolfram for the idea was just make it free for the world. Now, obviously we have an API that's what gets used by folks like Apple and Amazon and so on. And uh the um and we have enterprise versions and all this kind of thing, but that's a you know that that's one model. Now in terms of Wolfram Language, this sort of interesting actually. I mean, the the um uh you know I have a very strong belief that one wants to have the the source of funding for something be as aligned as possible with, you know, where the value is coming is going, so to speak. So in other words, that makes sense. It's like, you know, the people who are actually going to use this seriously should be, you know, if they believe in it and they're going to pay for it. Then I want—and I don't want something where it's like, 'Well, we'll make a free version, but we're really going to make our money off support.' So let's not make the free version too good. Let's make the thing a little bit cockeyed so that we can make money from support, which is unfortunately what's happened. Or, you know, or let's make everything free and get people—a lot of people to use it and then say, 'Oh whoops, we got some patents on this.' You know, you have to pay up lots of money because you're using our patents. Yeah, especially

  85. A

    when it comes to documentation. I mean, it's—it's like every line of documentation that you provide with your open source language is literally taking revenue away from your business model, which is to support people who are trying to use undocumented code.

  86. B

    Yeah. I mean, look, my point of view is I just want—I mean, you know I've tried to operate in a sense a very sort of straightforward business, so to speak. I mean, we're you know what we try to do is, you know, continue to innovate and produce you know the best language we can. Of course, the fact that we're doing this in an ultimately commercial way allows us to make use of all these data sources and all these other kinds of things which there's no way they would say, 'You know if we said oh we're going to give everything away to everybody,' they'd say, 'Well, you can't give our stuff away.' So, you know so forget having, you know financial data or something. Um the uh so you know it's part of the ecosystem that one has to have. You know, everybody—it has to be a sort of a thing. The other thing is there's the question of how do you maintain coherence? I mean in—you know that's been my personal commitment, so to speak, for the last, you know, three decades or so is actually try and keep this language consistent and you know do sort of unified development. And I think, you know, in—it requires leadership to do that. Um I think well like like Python, I gather recently had had had trouble with that because um you know it's like by the time if you know in our case, I'm you know in a position where I'm actually trying to lead this now that there's the question of um uh the question of source code. I actually don't really care whether, you know, I mean our source code isn't sort of publicly out on the internet. That's you know that's not something I care that much about, and I don't think anybody else cares that much about it either. Yeah, you know actually for a decade we actually had a large chunk of source code out, you know. freely available. And the thing that was really funny was—and you know we were doing this because we thought, 'Oh, people are going to be interested in all these mathematical algorithms.' Isn't that cool? Type thing. Um it turned out when we finally did a sort of an assessment, did anybody care? We discovered that a large swath of comments in the code were in Russian. Okay? It happened. It happened that the people who were working on it were—it was you know the people who natively speak Russian who work on this stuff for us. And um it's like nobody read this for a decade. You know, we had it out there. Nobody read this because somebody would say, 'Oops, your comments are in Russian.' Yeah, I think.

  87. A

    The open-source model makes sense when it's low level. So for example, um you know an operating system. You know if the operating system is not open source, then there's a worry that you know I won't be able one day—I won't be able to use my mouse or something like that. You could always write some interface driver, but for something like Mathematica, I agree. I mean, if I had to guess, I would guess that the source code is less important. What's more important is that somebody can make Wolfram Language a part of their process. So right, yeah.

  88. B

    Right. I mean so what we're trying to do—I think we have a pretty good record of three decades of stable, compatible development, which I think is pretty impressive on the scale of languages. And you know what I want to do? My goal is to have our language prosper forever, so to speak. And what's the best way to do that? I don't know precisely, but obviously we want to set it up so that whatever happens to our company—to etc., etc.—the language will always be available. Actually, a thing we're doing is the Wolfram Engine, which is kind of the core computational kernel of the language, we're actually going to be changing the way that's licensed so that it's much easier for people to incorporate it into things. And basically, the deal there is going to be if you're developing stuff, you can just use the Engine for free. You can just download it for free; you can use it for free as soon as you want a production license—if you want to actually go into production, running some big commercial site—then you pay us. But while you're just using the thing to play around, now if your product is R&D, that's our traditional market, and that doesn't count as software development. But if your goal is I'm developing this, I'm playing around with it, I'm trying to develop some product, then it's just a version that's free for developers. And I think the—I don't know exactly how that's going to work out, but the way I

  89. A

    Just you're walking in some good footsteps there because that's what the business model of Unity is. So Unity—yes, I will give you almost everything, but then as soon as you want to make a commercial product. Now in the case of Unity, they have a little bit more control just because everyone has to at the end of the day package their game in a certain way. But I still think that this business model makes sense. The other thing that people don't really give full appreciation to is the sort of private charitable nature of people. I mean, the vast majority of people recognize value and will pay for

  90. B

    things. Yeah, especially if

  91. A

    they're also making money if it's part of their

  92. B

    commercial process. I mean, you know my attitude is there's and we give away our software to lots of students and lots of different groups and so on. But like on the Raspberry Pi computer, there's a Wolfram Language bundled on every Raspberry Pi computer, freely available to people. And there are lots of things like that. My goal is to make sure that the people who are really deriving value—and that value might be doing the next great R&D thing, that value might be teaching a class, that value might be delivering a product—the people who are really deriving what ends up being commercial value support the continued development of what we're doing. And I mean it's been a complicated sort of threading of the needle because I personally, you know, if we had infinite commercial resources, maybe we'd be able to just give it away to everybody, but I actually think that isn't even healthy. I think it's good to have a situation where the people who are benefiting are the people who are supporting continued development. Yep. And you know that allows us—I mean, it makes us do things that actually make sense for the world, so to speak. That's right. I mean,

  93. A

    it's sort of like if you were to play one of these simulation video games like SimCity or something like that and you give yourself infinite money, then all of a sudden the game becomes completely unguided. And so you have no direction unless you have some customers. Yeah.

  94. B

    The later versions of SimCity actually were. A bunch of it was designed in Wolfram Language. Oh cool.

  95. A

    I didn't know that.

  96. B

    That's just one of those. You know, and I think the—you know the rules, I don't know exactly all the things that were done there. I've seen a bunch of the simulations of the simulations of cities, right? I

  97. A

    saw an interesting article about how not to go on too much of a tangent, but how they decided on the traffic model. And effectively it's a Monte Carlo approach where at every time step they randomly pick two different zoned places, so for example, a residential zoned place and then a commercial zoned place, and they draw a path using the roads that the player has placed, and then—and then they also decrease everything by a constant so that they always have a distribution, a probability distribution. And over time, if many of those paths require the person to take the same road, then that naturally becomes sort of a very nice mathematical model of the traffic, and to do anything like that you need to try many different

  98. B

    ideas. I'm quite certain that that was prototyped in Mathematica and Wolfram Language. Just knowing the team that was involved in doing that—it's actually I have to tell a personal story about traffic flow, which is kind of a so when I was a kid, I was sort of interested in traffic flow as kind of an interesting kind of mathematical type problem. And I didn't really ever figure out terribly much about it. Then I started working on these things called cellular automata. They're very simple programs that we just have a row of black and white cells, and you just have a rule that says if there's a black cell to the right and a white cell in the middle and etc. , then do this. And the main thing that I discovered about things like cellular automata is it's very easy to get very complicated behavior even when the rules are very simple. And that turns out to—I wrote this 1200-page book called The New Kind of Science that is based on that idea, that actually just today came out in paperback after 16 years of being a pure hard cover book.

  99. A

    Oh cool. I digress. Is it on Kindle or anything like that? Oh.

  100. B

    Yeah, and there's actually a free version on the web. Cool. It's a very, very elaborate version on the web which—which—um, and I've been slowly taking—oh, this is a fun, fun story. So all of the, you know, the science for that book—um, the book came out in 2002, but all the science that I spent the decade before that working on for that book, it's all in Wolfram Language notebooks. Um and so I've wanted to sort of expose all that stuff, and so I've been just recently actually—I've been doing—um, it's ended up that it ends up being me who has to do a bunch of this stuff because I kind of understand the code I wrote before, but um uh uh so I've been live streaming some of these things, and I've been taking these notebooks that I made, you know, in 1992 and things like this. And it's really satisfying because they just run, you know. I just start them up and, you know, press Shift+Enter, and the code just runs. And some of it can be better now because we have, you know, cleaner sort of functions that where, you know, we've used sort of higher levels of abstraction to define how certain kinds of things work so the code can be shorter and clearer. Sure, but it's pretty neat that the, you know, that all this sort of research notebooks that I had all just run. But in any case, I digress. I was talking about road traffic flow. So I studied these cellular automaton things, and then years went by, and, you know, I had sort of failed in my youth to be able to do much with road traffic flow. Um and then, you know, then somebody said, 'By the way, there's the cellular automaton model that people have developed of road traffic flow,' and actually it turns out the standard model now is a cellular automaton model based on—I think Rule 184, which is the well, the 184th rule in this enumeration of rules that I made. And so it's like, uh, it's kind of amusing for me because that's—that's become, as I say, the standard model that people use. for road traffic flow. And there it was sort of right under my nose. Yeah, the cellular automaton that I studied. And—um—but, you know, it's actually if one's interested in sort of the meta theory of modeling, it's actually an interesting story because what really happened and what always happens with modeling is modeling is an idealization. So you say, 'I'm going to model snowflake growth.' You might say what really matters to me is exactly how fast the edges of the snowflake expand, but the fact that my snowflakes are circular? I don't care about that. I really just care about how fast the edges expand. Or I might say what I really care about is the overall structure of the snowflake, and I don't care whether I get exactly right how fast the edges expand.' So modeling is always as much about what you care about as it is about, you know, you're never going to get all the details right because models are always an idealization. And it's a little bit like what we're talking about a while back about sort of—um, you know, what's interesting so to speak, you know, and the fact that that's very culturally dependent so to speak. And so what really happened with this road traffic flow thing is that the things I thought were important about road traffic flow turned out not to be the things that are important. And what the model—what this cellular automaton model captures is a bunch of stuff that I really wasn't focused on. I was focused on various quantitative things that it doesn't capture, but what it does capture is the stuff that really matters for, you know, modeling self-driving, you know, modeling, you know, current traffic jams and the effects of self-driving cars on them and all that kind of thing. Um, but okay, so I think—um—I think that was a digression. No.

  101. A

    I mean one of the nice things about doing something such as inventing a language or doing something, you know, in the pure math space, or publishing a paper on graph theory or one of these things is that it has really wild implications that get realized over many years. I found out recently some research I had done as a student went into just figuring out the mass of a cork, and then I know absolutely nothing about physics. That's interesting. Yeah.

  102. B

    I'm curious what that was. I—I you know my only so I worked on particle physics when I was a teenager actually, and um uh it was it's interesting in terms of sort of the meta theory of fields because I worked on particle physics in the late 1970s when it was kind of the golden age of particle physics and a bunch of new methodology had come in, and there was this like five-year period when just there was major new result every two weeks type thing, kind of the same way that machine learning is today. Yeah. And uh uh and so what's—what's interesting about being involved in a field during its kind of golden age of hyper growth is that you know there's low-hanging fruit lying all over the place. And so, you know, I invented this thing—um uh this way of studying the structure of particle events at the particle accelerator, and I was—I was um uh, you know, which I did when I was like 17 years old or something, and I was really pleased that, you know, when the Higgs particle was discovered, you know they'd used um uh these, uh, you know, as part of the kind of the pipeline of doing the analysis and so on. They used these things called event shapes that I—that I'd invented. So that was, you know, that's the benefit of being involved in a field during its sort of hyper growth phase. The—the, you know, from a sort of career planning point of view. The downside is you've got a lot of competition. Yeah. During that period, I mean if you, you know, I personally tend to prefer working on things where, you know, I can do neat stuff but nobody else cares. And, you know, after—after it's done, you know, I mean my favorite thing in a sense is producing what I tend to call alien artifacts—things that nobody kind of thought would exist, but, you know, once it exists, you can look at it and you can realize it's interesting. So like Wolf and Alpha, I consider to be an example of kind of an alien artifact, like people hadn't, you know. People had well they kind of tried to do question answering stuff for years, but they had not—they didn't have knowledge bases. They didn't have symbolic languages underneath them, etc., etc., etc. That hadn't really gone anywhere. Yeah. I think the

  103. A

    thing that I noticed about Wolf and Alpha is it's sort of a blending of two things. So so you know there had been expert systems like I talked about, you know, OpenCyc, and there had been, you know, there's WordNet, there had been these sort of Prologue obviously driving a lot of that. There had been these systems, but they were far too rigid, right? And then on the other end, you have something like Google.com which is extremely open-ended, um but entirely data driven and there's no—there's no structure and there's no human intuition behind those results, right? And so I feel like Wolf and Alpha sort of walked that line very well. Yeah. I

  104. B

    think. I mean, you know, you mentioned things like Cyc. You know, Cyc is a isn't you know? I—I had known the guy who created Cyc from back in the early '80s. Um and so I watched that whole progress, and it was—it was, you know, I have to say it was interesting because, you know, when Wolf and Alpha came out, it was, you know, AI was at one of its real low point. I mean people didn't really believe AI. You know, 2009 AI was not, you know, people said, 'You're working on AI? It's like oh, that's not going anywhere.' Type.

  105. A

    Thing. Yep. I literally—you my background is in deep neural networks, and in 2009 I um got a job writing JavaScript because nobody needed someone who knew anything about neural networks. Oh.

  106. B

    That's good. That's that's a yeah. So your data point. Yeah. No, I—I think I mean it was interesting when Wolf and Alpha was coming out. I had a friend named Marvin Minsky who was a sort of pioneer of the AI world. Um and you know I saw Marvin probably a few weeks before Wolf and Alpha went live, and I said, 'Marvin, let me show you something.' Right? It's like I said it's a, you know, it's a question answering system among other things. And it's like okay. And so, you know, type a couple of things in, and then Marvin, you know, changes the subject, wants to talk about something different. I said, 'No, Marvin, this time it actually works.' And then he's, you know, then he's like, 'Oh well, let me try something else. Let me try something else.' Oh wow. No. And he's like, 'This was—it was interesting to see because he really, you know, he'd seen so many kind of fake question answering systems over the course of many years. He just decided it was impossible.' And, you know, why were we able to succeed? Basically for I didn't really even understand this until sort of after the fact. I mean as far as I was concerned in building Wolf and Alpha, it was just, you know, use what you know cleverness I might have and use, you know, and just do a bunch of engineering. But after the fact, I realized, you know, a couple of things. First of all, we had a lot of actual knowledge, and people have been trying to do natural language understanding and so on without knowledge. They've been trying to abstractly do it. It's just like what's the structure? You know, let's parse the sentence and find the noun and the verb and so on. That's much, much less relevant than knowing this is a city and its population is roughly this and so on. And that's why, you know, that's why it's likely to be talking about Springfield, Massachusetts rather than Springfield, you know, Illinois or something like this. Um and the second thing was which I is that we actually had a target to turn the natural language into—namely, we had our symbolic language. that could represent things about the world. And another thing that again only became sort of clear after the fact is that a bunch of the well ideas about algorithm, what one might call algorithm discovery that came out of my new kind of science project—um we use that a lot in building the way that Wolfman works. I mean, you know just to say something about that. I mean the, you know, traditional way to think about building software is or has been, um, you know let's write the lines of code to do what we want to do. What I ended up discovering from sort of just looking at, you know, trillions of simple programs is that there are simple programs that do really interesting things, and sometimes those things are really useful. They might be good pseudonym number generators. They might be good image processing things and so on. And so we started developing this kind of methodology for just finding algorithms by knowing what kind of a thing you want and then just going out and searching the space of possible programs. I mean in today's world that seems less surprising because with deep learning and so on, one's sort of doing the same kind of thing although what we've done a lot more of is just exhaustively going out and sampling the computational universe whereas in typical neural nets you're doing this kind of incremental sort of more like biological evolution. You know, small taking small steps and trying to make sure the animals don't die on the way type thing rather than just sampling the whole space. But but, you know, I think that the um but to go back to the sort of the things about common sense reasoning and so on. So, you know, this project called Cyc which was an attempt to represent to use essentially predicate logic to represent sort of facts about the world—common sense facts about the world. You know, if something is dunked in water, then it is wet. Those kinds of things, right? Um the uh when Wolfman Alpha came out, you know Doug Linett said basically, 'Well, you succeeded in what I tried to do.' And and and you know the whole sort of common sense reasoning thing clearly wasn't able to get there. What I realized was a sort of interesting conceptual point which is in a sense what Doug was trying to do was to use the state of human thinking in the medieval time, in the Middle Ages, and I just cheated and used the last 300 years of science because for him, you know if he wants to figure out some physics problem with common sense reasoning, he's like, 'Oh well, you know if you push on this then it'll push on that which will make this happen.' And it's kind of like you're reasoning through it, like you're doing natural philosophy to figure out what's going to happen in the world. For us, it's like, 'Well, let's just, you know, just use all that science that people have figured out. Let's just, you know, for the physics problem, let's turn that into Lagrangian mechanics and solve the differential equations,' and say the answer is 7.5 or something. Um so essentially we're, you know, we're making use of all that additional knowledge that's been developed in civilization beyond the pure human reasoning knowledge. And I think that's what, you know, that's kind of, uh, you know, in a sense we cheated relative to the original mission of kind of common sense AI. Um but I think

  107. A

    That the fact that you have these dynamical systems and they don't is definitely part of it, but I think the other, the even more important part is is the resolving of the ambiguity ultimately through, you know, heuristics, but also through statistics and through language understanding. Yeah, yeah.

  108. B

    No, no, right. I mean, look, it's just—I mean, as an engineering project, it's a—I mean, you know, our effort was much, you know, has been much more, I don't know, pragmatic and in a sense making use of many more methods. I mean, it's not just saying we're just going to use common sense reasoning to figure everything out; we're using whatever method makes sense. And that's kind of a story, you know, that's part of kind of the whole Wolfram language story is put everything in so you can use whatever makes sense. I mean, you know when we come to do data science, for example, the—uh, uh, you know, we like to talk about kind of multi-paradigm data science. You know, it's just everything is there, so whatever makes sense to do, you can—you can do so, to speak, rather than, 'Oh, we've got a package that does this,' so, you know, so that's what we're going to have to do. But I was going to say, you know, you're talking—we're talking earlier about math problems and watermelons and and and so on, and one of the use cases that I really wanted to make use of sort of common sense reasoning for was math word problems. Um, so uh we um uh, you know, I and I we still have never managed to do this. And it's um uh, you know, when you talk about, you know, putting the watermelons in your in your shopping cart or whatever, and then and then somebody might say, 'Um,' and uh uh, I don't know, 'Um after—well, let's say you put the watermelon, you know, um uh, you know, you put the watermelons in bags in the shopping cart.' And uh, you know, if there are X number of um uh watermelons go in these bags, how many of them are still are are visible as you're walking around the store? Well, of course, to know that it will be visible when you're walking around the store, you have to know that once a watermelon has been put in a bag, you can't see it anymore. And that's kind of common sense reasoning.' And so to do, you know, if you set up a word problem like that, you have to have a layer of common sense reasoning. You know, we might be able to if we if we can get an equation out of it, you know, 3x + 7 = 14 or something where X is the number of watermelons, then, you know, then we're all done and we can just use, you know, modern science so to speak, to just crack that and get to the answer. Right? The thing about, you know, how many watermelons can you see in the shopping cart—that we need common sense reasoning for. Now, you know, I've been hoping uh, you know, I've been hoping that that we'll be able to make use of what Doug has done for so many years. I mean, he he he's been very pessimistic about whether this is going to work, so it's never been tried. But but um uh, you know, and in fact, we've reached—we can do basically up to middle school level math word problems using extremely boring heuristic template type techniques. We can't do uh, we can't do more sophisticated ones, and it's sort of an interesting open problem to be able to do those. And it's a place where one might be able to use—well, and should be able to use, you know, common sense reasoning. But it's interesting to realize that that the space where the space where there's sort of things that one actually wants to do with sort of common sense reasoning is is still worth doing is a narrow space. And it's a space where in a sense those things were built for humans to have to sort of uh uh put effort into to to figure them out; they weren't—they're not natural things. I mean, you know another example might be that makes. sense. You know, let's say you're doing medical school and you're saying, 'You know, which nerve goes near the such and such tendon?' You know of such and such. Well, you could do that with common sense reasoning, but actually, you know, we've got a complete 3D map of human anatomy, and you can just go and use computational geometry and answer the question. Um, and it's not, you know, even though a medical student might do it by thinking through, 'Oh, you know, this goes that place and that place,' and so they're using common sense reasoning, but that's not how—how you know we're going to do it with a with a computer.' It's interesting. It sounds.

  109. A

    Like, so if you think about the these word problems ultimately what they're trying to do is um they're really trying to do two things. One is sort of obfuscate the core problem, so they're not just giving you 3x + 7 = 14, but but they're—but they're wrapping it in some narrative that you have to understand, so they're making the problem harder. But then they're also um trying to relate the problem to real life, which is why it was so funny to see the 17 watermelons in one shopping cart. So, so in a sense, you know, if you could generate relevant—if you could generate, you know, say SAT math questions that really connected with somebody, that that would be, you know, maybe more difficult than the counting they would do at a real grocery store, but but would closely emulate something they would do in real life. Um I feel like there's something really profound there. So I mean because you've sort of understood that it is truly a common sense reasoning problem—you've understood the way the routine things that people do and and the math that people do on a routine basis, and you've been able to sort of extrapolate that to something more difficult like differential equations and figure out a way to sort of tie those two things together. Um that's actually something profoundly complex, right?

  110. B

    I mean, look, I think that the thing one would like people to learn is the stuff they can't just feed to computers and get automated. And you know, the main thing is this question of taking sort of a human thing you want to do and thinking about it in computational enough terms that you can, you know, describe it in a precise language and and you know have a computer unambiguously know what you're talking about. And I think that process—I mean when you talk about like math word problems, you know sort of the idea there is take these kind of fake situations in the world and try and mathematize them. I think the real thing that people should be learning how to do, and very few people are actually learning this yet, is take things in the world that are real things in the world and learn how to think about them computationally and be able to express them in such a way that both you can think about them more clearly. I mean, the remarkable thing for me at least is, you know, I've been spending years kind of thinking about things computationally, and so there are lots of kinds of, you know, very everyday questions where I think about them in terms of breaking it down into the kinds of, you know, structure that I would use to think about something computationally, and then by golly, I can actually get to an answer. And whereas otherwise you just don't have it; it's very mushy, you don't have a way to think about it. You know, if you don't have this kind of framework and in our case, you know, computational language to use to think about things, um you you know you can't—you can't form them precisely enough in your mind to actually get to a conclusion. I mean, it's it's the same problem as, you know, Doug's common sense reasoning thing. You you just end up with, you know, you don't. Get—it's it's kind of all um it's all these, you know, 'If it rains then it will get wet,' then this. But it's all very kind of vague and it doesn't give you a, you know, a precise structure to operate in.' Um talking of which, I uh I think we are—we are probably reaching the end of my um uh I'm I'm a I'm a creature of, you know, one of the things. I I I'm a data oriented person, and so yeah, I do um uh I've I've done a lot of sort of personal analytics stuff, and I probably I was somewhat horrified a number of years ago to discover that I'm the human who's collected more data on themselves than anybody else. And uh so one of the things I know is that I get sleepy at a very precise time, and that time was about 10 minutes ago. All right, that totally makes sense. I'm gonna start failing here, but but um no, I.

  111. A

    think it's great. So I wanted to—I mean, this has been just absolutely fantastic. Thank you so much for for for for coming on the show. I think people are gonna be absolutely fascinated to hear a true protein language inventor and to sort of hear your story. And and this dialogue, I think it's it's been amazing. What about just to sort of, you know, conclude here? Like, um, you know, we always ask two things: one is sort of what is it like day-to-day at your company? Um so in this case, you know well from research and are you hiring? If so, what kind of jobs are you hiring for where things like that? Okay. So,

  112. B

    I mean, for me I spend most of my time figuring stuff out. It's pretty neat actually. It's, you know, I've—I've uh, you know, it's it's I'm an unusual kind of CEO because I um uh, you know, I i'm deeply involved in the design of the product and so on. And uh, you know, I have we've we've got great people at the company, and so a whole lot of what happens at the company just happens and doesn't require, you know, uh uh the CEO to stick his nose into those things. And in fact, you know, in one thing that's been interesting the last year but since we've been doing this live streaming of internal design review meetings is that folks who want to know what it's like to work at our company—well, there's 250 hours of what a bunch of meetings are like out there in the archives of the live streamed um stuff. I think that um so our company is very geographically distributed where our headquarters is in Champaign, Illinois. I have been a remote CEO for 28 years. I live near Boston. Um and uh the although I happen to be tomorrow doing my about three times a year trip to Illinois, but but um the um uh the thing that um we we end up having people kind of scattered all over the world. Actually, there's—there's our HR department tries to maintain an accurate map on our careers section of our website of where people are in the world, and it's quite quite diverse, I would say. Um cool in terms of what um uh you know we well the places we we tend to not hire people in in New York and Silicon Valley because, you know, we're going to, you know, that's super expensive for us, and it doesn't um uh you know we don't—we don't really need the um the proximity to other things that um that Silicon Valley provides. Not. That I mean it's uh um I think in terms of, you know, we've ended up with a wonderfully talented group of people from around the world. Yeah.

  113. A

    I know some players who work at Wolfram Research who are in South Africa, and yeah, yeah, it's amazing, right? I

  114. B

    mean it's um you know I think that they're um the thing that um um you know I really actually—I've come to appreciate the sort of the diversity of having people all over the world in all kinds of different um uh um settings and situations and so on. It's it's um I think it adds a certain vibrancy to what happens that um is uh is is something I certainly appreciate, but it's you know we've ended up with, you know, lots of world experts on lots of kinds of things. We've had, you know, lots of people who've been at the company a very long time and uh you know some people they at the company for a decade then they say, 'Oh, the grass is greener somewhere else,' and they go off somewhere else for a few years and then they come back, which um is always satisfying for it's satisfying for management to see that happen so to speak.

  115. A

    Yeah.

  116. B

    Definitely because it means we're doing something right. But um, you know, I think that the thing that we've ended up with is like people who are good at thinking are the people who tend to succeed because, you know, we are always trying to solve, you know, a lot of what we're doing is stuff that's never been done before. And, you know, my principle in building the company is very similar to my principle in building our language: automate as much as possible. And so, you know, for me, you mentioned JavaScript programming. You know, there was a period of time when we had tons of JavaScript programmers, and it's like, 'Look guys, what you're doing is... why don't we build something higher level that just automates a bunch of this stuff?' So we did that. And so then those folks moved on to doing other things. And for us, it—you know—that they end up getting being able to work on sort of higher-level things. And for the company, you know, that's how we get away with only having 800 people is by the fact that we've automated a huge amount of what goes on internal to the company. And, you know, we are trying to—you know, we are using both the principles and the actual technology that we've built, you know, like our... Oh, I don't know. You know, our testing system is of course all written in Wolfram Language. Our one of the more exotic things that we're now doing is rating our ERP transaction processing system in Wolfram Language because we just got fed up with actually—we got fed up with some of these pseudo open-source things which are actually costing way too much money. Yeah, and we said, 'These don't even work well. You know, let's just build our own.' And it's so you know, that stuff is now in terms of hiring. You know, one of the things I might mention is we have the Summer School every year. It's usually about 70 people from around the world. That's a great collection of people. It's become a favorite sort of pseudo vacation for a bunch of our R&D folk. And in fact, most of the instructors at the Summer School are alumni of the Summer School, which reveals the fact that the Summer School is our—you know—as a single sort of we recruit a lot of people from there. It's a it's a it works really well because people come and they often have never thought about working for the company. And they come and spend three weeks and they do a project, and they get to know a bunch of people at the company, and we get to see what they do; they get to see what kind of our approach to doing things is. And it's kind of you know it's very works well. But I think in terms of what are we—what are we? I mean, we are always looking for very talented people. I would say that my approach to management tends to be, you know, we've got a lot of projects we want to do; we've got a certain pool of people that have lots of talents. And sort of the role of management is to solve the puzzle of how do you connect the talented people with the projects that you want to get done. And so we are more interested in kind of really talented people than we are in the specifics of, 'Oh, we want to get a such and such kind of person right now.' Yeah, that makes sense. And it's sort of strange because we are a company where we actually need things like history PhDs because we actually do stuff with curating all military conflicts and history type thing where it's useful. You know, we need people. Actually, another thing interesting to mention in connection with language is if you look at the people who have—you know—we have a whole lot of people who have I would say subject-area backgrounds, many of whom were not computer people particularly before, but they are very smart people, and they and it's turned out many of them have become really strong Wolfram Language programmers, which is an interesting thing to watch. I mean, it's interesting to see that we see in an educational level for example. You know, like in K-12 education, it's like, 'Well, okay, which teachers are really going to understand this stuff? Is it going to be the math teacher? Is it going to be the computer science teacher who knows Java, for example? Or is it going to be the head of the English department who's just a smart person who decides that they're going to pick the stuff up?' Turns out it's not. It turns out it's a diverse background of people. And that's the same thing we see in people who end up being really strong Wolfram Language programmers. So I think that I guess the point there is that it's whole world of kind of computational language and sort of computational thinking is the most important thing. It's a bit of a disruption relative to you know, we are all going to learn to be the best, churn out the maximum number of lines of code and make sure that the type checking works correctly.' Right? Yeah, that makes sense. You know, I think in anyway, that's some yeah. So that totally makes

  117. A

    sense. I think I think the camp sounds awesome especially for people are interested in as you said, maybe they have a great background in history or particle physics or something like that, and this is a great way to jump into computation and programming and things like that.

  118. B

    But no. It's been I mean, look the one for grown-ups—that's the case. The one for high school kids, there that's interesting because you know it turns out that even at the fancy high schools and we've tried very hard to get kids also not from the fancy high schools, but turns out that many fewer people are learning any kind of real programming, any kind of anything computational in high school than you might think. I mean, I kind of assumed with all the noise that's made about everybody doing everyone's STEM crazy, right? But it turns out a lot of these kids and actually it's often—it's often the worst cases they did a C++ class and they found it boring, and they learned a bunch. You know, the most important thing to do is to I don't even know every time or something. Yes, yes, right. It's anyway well, listen, I should be off, but yeah, totally so.

  119. A

    Yeah, just to recap real quick. So if you're a student, you have access to Mathematics already; you just might have not known it, so definitely check it out. I mean, it's totally free. Go through your university and start playing with it and see how many people there are in each country and do all these cool things. If you aren't a student—I believe correct me if I'm wrong—but you can still use it for free.

  120. B

    In fact, the web version. You can just go to the front of our website and it says 'Immediate Access' and 'Startup Wolfram Programming Lab,' which is Wolfram Programming Lab is the full Wolfram Language, but it's kind of themed for kids. So if you don't mind that it's themed for kids, you get it.

  121. A

    For free. Cool, good to know. And if you want to integrate it with some something you already have half written, you can use the Wolfram Language, which is also free for personal use.

  122. B

    Yeah. I mean, the Wolfram Engine—I mean, this is where it's everything gets complicated at this point, but basically it's been you know go to our website and you should find a path getting going. You can

  123. A

    find good documentation there. There's definitely at least a web way to sort of like a sandbox where you could.

  124. B

    Play around? Yes, exactly right. And everything.

  125. A

    And cool. Thank you so much for coming on the show. It's been amazing. Um, you know, it has gone a little long, but I'm sure the people are going to be—they're not going to be upset about that. This is an absolutely fantastic interview, and thanks for

  126. B

    Staying up late with us. Yeah, sounds great. It was fun.

  127. A

    The intro music is axo by Binar Pilot. Programming Throwdown is distributed under a Creative Commons Attribution-ShareAlike 2.0 license. You're free to share, copy, distribute, transmit the work, to remix, adapt the work, but you must provide attribution to Patrick and I, and ShareAlike in kind.