Domain: stephenwolfram.com
Stories and comments across the archive that link to stephenwolfram.com.
Stories · 12
-
How Stephen Wolfram Devised Interstellar Travel (And Code Samples) For 'Arrival' (backchannel.com)
The new movie "Arrival" depicts first contact with aliens, and its producers faced the question of how interstellar spacecraft would actually work. They turned to futurist Stephen Wolfram, who came up with an answer overnight, and also tasked his son with writing much of the computer code seen on displays in the movie. Slashdot reader mirandakatz brings us Wolfram's story: Christopher was well aware that code shown in movies often doesn't make sense (a favorite, regardless of context, seems to be the source code for nmap.c in Linux). But he wanted to create code that would make sense, and would actually do the analyses that would be going on in the movie... For instance, there's a nice shot of rearranging alien "handwriting," in which one sees a Wolfram Language notebook with rather elegant Wolfram Language code in it. And, yes, those lines of code actually do the transformation that's in the notebook. It's real stuff, with real computations being done...
For the movie, I wanted to have a particular theory for interstellar travel. And who knows, maybe one day in the distant future it'll turn out to be correct. But as of now, we certainly don't know. In fact, for all we know, there's just some simple "hack" in existing physics that'll immediately make interstellar travel possible.
Wolfram's theory posited that space is just one of the attributes emerging from a low-level network of nodes, where long-range connections occasionally break out of three-dimensional space altogether. His 6,900-word essay (originally published on his blog) also suggests film-making has "some structural similarities" with software development -- and grapples with the question of how we'd actually communicate with aliens once they've arrived. -
Code.org Disses Wolfram Language, Touts Apple's Swift Playgrounds (edsurge.com)
America is changing the way it teaches computer science. "There are now 31 states that allow CS to count towards high school graduation," according to an announcement this week by the White House, while a new Advance Placement course "will be offered in more than 2,000 U.S. classrooms this fall...the largest course launch in the history of the AP exam." But what's the best way to teach coding? theodp reports: Tech-backed Code.org, one of the leaders of the new CSforAll Consortium that was announced at the White House on Wednesday, took to its blog Thursday to say "Thanks, Tim [Cook], for supporting the effort to give every student the opportunity to learn computer science," giving a shout out to Apple for providing "resources for teachers who want to put Swift Playgrounds in their classrooms. (A day earlier, the White House said Apple developed Swift Playgrounds "in support of the President's call to action" for CS for All).
Curiously, Code.org CEO Hadi Partovi argued Friday that "the Wolfram Language has serious shortcomings for broad educational use" in an EdSurge op-ed that was called a "response to a recent blog post by Stephen Wolfram" on Wolfram's ambitious plan to teach computational thinking in schools. Partovi's complaints? "It requires login for all but the simplest use cases, but doesn't provide any privacy safeguards for young children (required in the U.S. through legislation such as COPPA). Also, a serious user would need to pay for usage, making implementation inaccessible in most schools. Lastly, it's a bit difficult to use by students who struggle with English reading or writing, such as English language learners or early elementary school students."
The submission ultimately asks how should computer science be taught to teenagers. "Would you be inclined to embrace Wolfram's approach, Apple's Swift Playgrounds, Microsoft TEALS' Java-centric AP CS curriculum, or something else (e.g., R, Tableau, Excel+VBA)?" -
Untangling the Tale of Ada Lovelace
theodp writes: To commemorate the 200th birthday of Ada Lovelace, Google's CS Education in Media Program partnered with YouTube Kids on Happy Birthday Ada! for Computer Science Education Week. For those seeking (much!) more information on The Enchantress of Numbers, Stephen Wolfram has penned a pretty epic blog post, Untangling the Tale of Ada Lovelace. "Ada Lovelace was born 200 years ago today," Wolfram begins. "To some she is a great hero in the history of computing; to others an overestimated minor figure. I've been curious for a long time what the real story is. And in preparation for her bicentennial, I decided to try to solve what for me has always been the 'mystery of Ada'." If you're not up for the full 12,000+ word read, skip to "The Final Story" for the TL;DR summary. -
Stephen Wolfram's Free Book Teaches the Wolfram Language To Kids
theodp writes: Stephen Wolfram received a PhD in particle physics at age 20 (his thesis committee included Richard Feynman). So it's probably not too surprising that Wolfram's new book, An Elementary Introduction to the Wolfram Language (free on the web), aspires to teach those new to programming how to do much more than just move Minecraft and Star Wars characters around. "The goal of the book," explains Wolfram in a blog post, "is to take people from zero to the point where they know enough about the Wolfram Language that they can routinely use it to create programs for things they want to do. And when I say 'zero', I really mean 'zero'. This is a book for everyone. It doesn't assume any knowledge of programming, or math (beyond basic arithmetic), or anything else. It just starts from scratch and explains things. I've tried to make it appropriate for both adults and kids. I think it'll work for typical kids aged about 12 and up." -
Stephen Wolfram Developing New Programming Language
Nerval's Lobster writes "Stephen Wolfram, the chief designer of the Mathematica software platform and the Wolfram Alpha 'computation knowledge engine,' has another massive project in the works—although he's remaining somewhat vague about details for the time being. In simplest terms, the project is a new programming language—which he's dubbing the 'Wolfram Language'—which will allow developers and software engineers to program a wide variety of complex functions in a streamlined fashion, for pretty much every single type of hardware from PCs and smartphones all the way up to datacenters and embedded systems. The Language will leverage automation to cut out much of the nitpicking complexity that dominates current programming. 'The Wolfram Language does things automatically whenever you want it to,' he wrote in a recent blog posting. 'Whether it's selecting an optimal algorithm for something. Or picking the most aesthetic layout. Or parallelizing a computation efficiently. Or figuring out the semantic meaning of a piece of data. Or, for that matter, predicting what you might want to do next. Or understanding input you've given in natural language.' In other words, he's proposing a general-purpose programming language with a mind-boggling amount of functions built right in. At this year's SXSW, Wolfram alluded to his decades of work coming together in 'a very nice way,' and this is clearly what he meant. And while it's tempting to dismiss anyone who makes sweeping statements about radically changing the existing paradigm, he does have a record of launching very big projects (Wolfram Alpha contains more than 10 trillion pieces of data cultivated from primary sources, along with tens of thousands of algorithms and equations) that function reliably. At many points over the past few years, he's also expressed a belief that simple equations and programming can converge to create and support enormously complicated systems. Combine all those factors together, and it's clear that Wolfram's pronouncements—no matter how grandiose—can't simply be dismissed. But it remains to be seen how much of an impact he actually has on programming as an art and science." -
Wolfram Alpha Drills Deep Into Facebook Data
Nerval's Lobster writes "Back in January, when Wolfram Alpha launched an updated version of its Personal Analytics for Facebook module, the self-billed 'computational knowledge engine' asked users to contribute their detailed Facebook data for research purposes. The researchers at Wolfram Alpha, having crunched all that information, are now offering some data on how users interact with Facebook. For starters, the median number of 'friends' is 342, with the average number of friends peaking for those in their late teens before declining at a steady rate. Younger people also have a tendency to largely add Facebook friends around their own age — for example, someone who's 20 might have lots of friends in the twenty-something range, and comparatively few in other decades of life—while middle-aged people tend to have friends across the age spectrum. Beyond that, the Wolfram Alpha blog offers up some interesting information about friend counts (and 'friend of friend' counts), how friends' networks tend to 'cluster' around life events such as school and sports teams, and even how peoples' postings tend to evolve as they get older — as people age, for example, they tend to talk less about video games and more about politics. 'It feels like we're starting to be able to train a serious "computational telescope" on the "social universe,"' the blog concluded. 'And it's letting us discover all sorts of phenomena.'" -
The Numbers of a Life
porsche911 points out a recent post by Stephen Wolfram in which he plots out data on his communication habits collected over a period of years — or in some cases, decades. He presents visualizations of the times and frequency of a third of a million emails since 1989, 100 million keystrokes since 2002, phone calls, meetings, modification times on his personal files, and even the number of footsteps he takes in a day. It provides some interesting correlations and insights into the structure of a person's life, and how that structure shifts over the years. He says, "What is the future for personal analytics? There is so much that can be done. Some of it will focus on large-scale trends, some of it on identifying specific events or anomalies, and some of it on extracting 'stories' from personal data. And in time I'm looking forward to being able to ask Wolfram|Alpha all sorts of things about my life and times—and have it immediately generate reports about them. Not only being able to act as an adjunct to my personal memory, but also to be able to do automatic computational history—explaining how and why things happened—and then making projections and predictions. As personal analytics develops, it’s going to give us a whole new dimension to experiencing our lives." -
Google Would Beat Bing At Jeopardy, Says Wolfram
destinyland writes "Stephen Wolfram, the physicist behind the Wolfram Alpha 'answer engine,' believes that Google would beat Bing in any contest based on questions from Jeopardy. 'Wolfram took a sample of Jeopardy clues and fed them into search engines,' explains one technology blog. 'When it came to the first page, Google got 69 percent correct, just beating Ask with 68 percent and Bing on 63 percent. ... To put that into context, the average human contestant gets 60 percent of answers correct, while champion Ken Jennings has a record of 79 percent.' Interestingly, Wikipedia came in last, scoring 23%, though they may have more to do with how Wikipedia handles searches. In two weeks, IBM's Watson computer will compete on Jeopardy against two of the show's all-time human champions." -
Free-Form Linguistic Input In Mathematica 8
vbraga writes "With the release of Mathematica 8, it now allows input through free-form English instead of the Mathematica syntax, just like the Wolfram|Alpha engine. The results are impressive. From the blog post: 'I routinely found myself using free-form linguistics as an integral part of longer computations — randomly interspersing Mathematica syntax and free-form linguistics on different lines in a Mathematica session, and just using whichever was most convenient for a particular input. And here's an exciting part: in Mathematica 8 the free-form linguistics doesn't just operate line-by-line. It knows the context in which it's used in a notebook, so you can use it to build things up.'" -
Wolfram's New Kind of Science Now Online
gotscheme writes "When Stephen Wolfram of Mathematica fame self-published A New Kind of Science in 2002, he raised the suspicions of many in scientific communities that he was taking advantage of a lot of other people's work for his sole financial gain and that he was going against the open nature of academia by using restrictive copyright. Yesterday, Wolfram and company released the entire contents of NKS for free on the Web (short registration required). Perhaps Wolfram is giving back to the scientific community; perhaps it is simply clever marketing for a framework that is beginning to gain momentum. For any matter, the entire encyclopedic volume is online, and this appears to be a positive step for scientific writing." -
Stephen Wolfram Radio Lecture
Stephen Wolfram, subject of much discussion here, once known solely as the creator of Mathematica, now also known as the author of A New Kind of Science (/. review here), gave a lecture at Boston University this past spring on that book's subject matter. The audio of the lecture was broadcast this evening on the program World of Ideas on WBUR-FM out of Boston. If you don't live in the Boston area, if you missed the program, or if like me you were listening in your car while driving and found that two activites incompatible, the hour-long recording is also available for download in RealMedia format. -
A New Kind of Science
cybrpnk2 writes: "The story is one of epic proportions: Boy genius gets PhD from Cal Tech at age 20, is the youngest recipient ever of the MacArthur Foundation Genius Grant, writes the Mathematica simulation software used by millions of people, makes millions of dollars in the process, becomes enticed by the seductive lure of the Game of Life, and goes into a decade of seclusion to discover the secrets of the universe. You can catch up on the resulting speculation and hype here. The years of anticipation and publication delays came to an end Tuesday, May 14, 2002 with Stephan Wolfram's release of his opus, A New Kind of Science." Read on for cybrpnk2's review of Wolfram's much-heralded work. A New Kind Of Science author Stephen Wolfram pages 1197 (plus 62 page index) publisher Wolfram Media, Inc. rating 10 reviewer cybrpnk2 ISBN 1-57955-008-8 summary A long awaited treatise that cellular automations, not mathematics, holds the key to understanding realityFirst things first - have I read this book? Hell, no, and if anybody else says THEY have in the next year, they're lying thru their teeth. This book is so dense that if Wolfram had added a single additional page, the whole thing would have imploded into a black hole. That's got to be the only reason he quit writing and finally went to press.
I've been waiting for years for ANKOS to come out. I ordered my copy Tuesday when it was released, got it on Thursday and I've been skimming it like mad since. To give you some idea of how engrossing this book is, I was reading it Friday morning at 4 AM in the bathroom of a Motel 6, curled up in a bedspread on the tile floor to keep from disturbing my wife and stepdaughter during a trip to my stepson's graduation. I've got four college degrees, one in math and two from MIT, and bottom line - this sucker's gonna take a while to digest. However, it's theoretically straightforward enough that anybody with a high enough level of obsession and a few years to stay glued to it can follow it in its entirety. In ANKOS, Wolfram certainly comes across as arrogantly cocky but in the final analysis is he a crank or a revolutionary genius? Who knows, but it's going to be a new nerd pastime for the next decade to argue that point.
ANKOS is 1250+ pages divided into 850 pages of breezy exposition followed by 350 pages of fine-print notes. The exposition is composed of 12 chapters and the notes have about a paragraph per page of topic- and name-dropping technobabble to let you know where to go next for more details on whichever of Wolfram's tangents strike your fancy. Topping the whole thing off is a 60+ page index with thousands of entries in even smaller typeface than the notes.
Despite its length, ANKOS is not a rigorous mathematical proof of anything as much as it is a superficial survey of a vast new intellectual landscape. And what a landscape Wolfram has laid before us. It's all about cellular automations, which have traditionally been relegated to the realm of mathematical recreations. Start with a black square in the center grid square (cell) on the top line of a sheet of graph paper. Think up a few rules about whether a square gets colored black or white on the next line down depending on the colors of its neighbors. Apply these rules to the squares on the next line of the sheet of graph paper. Repeat. Watch what happens. Sounds simple. It isn't.
The first short chapter outlines Wolfram's central thesis: That three hundred years of mathematics based on the equals sign have failed to provide true insight into various complex systems in nature, and that algorithms based on the DO loop can succeed in this endeavor where mathematics has failed. The reason, claims Wolfram, is that deceptively simple algorithms can produce heretofore undreamed of levels of complexity. He claims that while frontier intellectual efforts such as chaos theory, fractals, AI, cybernetics and so forth have hinted at this concept for years, his decade of isolation studying cellular automata has taken the idea of simple algorithms or rules embodying universal complexity to the level of a new paradigm.
The second chapter outlines what Wolfram calls his crucial experiment: the systematic analysis of the 256 simplest rule sets for the most basic cellular automatons. He discovers this "universe" of rules is sufficient to produce his four so-called "classes" of complex systems: order, self-similar nested patterns, structures and most importantly, true randomness. The first two lead to somewhat familiar checkerboard-type patterns and leaf-type fractals; the last two, unforeseen unique shapes and unpredictable sequences. Wolfram stresses that the ability of simple iterative algorithms to produce complex and unique non-fractal shapes as well as truly random sequences of output is in fact a revolutionary new discovery with subtle and profound implications.
The third chapter expands his initial 256-rule-set universe of simple algorithms with many others Wolfram has researched for years in the dead of night while others slept. Rule sets involving multiple colors beyond black-and-white, rule sets that update only one grid square instead of a whole row, rule sets that embody full-blown Turing machines, rule sets that substitute entire sets of patterned blocks into single grid cells, that tag end point grid squares with new patterns, that implement "registers" and "symbols" - Wolfram has examined them all in excruciating detail. And no matter how complex the rule set is he explores, it ends up generating still more and more unexpected complex behavior with many notable features as the rule sets are implemented. This ever-escalating spiral of complexity leads Wolfram to believe that cellular automatons are a viable alternative to mathematics in modeling - in fact, embodying - the inherent complexity of the natural world.
In chapter four, he begins this process, by linking cellular automatons to the natural world concept of numbers. Automatons that multiply and divide, that calculate prime numbers and generate universal constants like pi, that calculate square roots and even more complex numerical functions like partial differential equations - Wolfram details them all. Who needs conscious human minds like those of Pythagoras or Newton to laboriously work out over thousands of years the details of things like trigonometry or calculus? Set up dominos in just the right way, flip the first one and stand back - nature can do such calculations automatically, efficiently and mindlessly.
Chapter five broadens the natural scope of cellular automations from one-dimensional numbers to multi-dimensional entities. Simple X-Y Cartesian coordinates are left behind as Wolfram defines "networks" and "constraints" as the canvas on which updated cellular automatons flourish - always generating the ever-higher levels of complexity. More Turing machines and fractals such as snowflakes and biological cells forming organs spontaneously spring forth. So far we've seen some really neat sleight-of-hand that Martin Gardner or Michael Barnsley might have written. But we're only on page 200 of 850 with seven chapters to go, and Wolfram is just now getting warmed up.
Chapter six is where Wolfram begins to lay the foundation for what he believes is so special about his insights and discoveries. Instead of using rigid and fixed initial conditions as the starting points for the cellular automations he has described, he now explores what happens using random and unknown initial conditions in each of his previously defined four "classes" of systems. He finds that while previously explored checkerboard (Class 1) and fractal (Class 2) systems yield few surprises, his newly-discovered unique (Class 3) and random (Class 4) cellular automaton systems generate still higher levels of complexity and begin to exhibit behavior that can simulate any of the four classes - a telltale hint of universality. Furthermore, their behavior starts to be influenced by "attractors" that guide them to "structure" and self-organization.
With the scent of universality and self-organization in the air, Wolfram begins in chapter seven to compare and contrast his cellular automations to various real-world topics of interest. Billiards, taffy-making, Brownian motion, casino games, the three-body problem, pachinko machines - randomness is obviously a factor in all of these. Yet, Wolfram notes, while randomness is embedded in the initiation and influences the outcomes of each of these processes, none of them actually generate true randomness in the course of running the process itself. The cellular automations he has catalogued, particularly his beloved Rule 30, do. The realization that cellular automations can uniquely serve as an initiator or generator of true randomness is a crucial insight, leading to the difference between continuity and discreteness and ultimately to the origins of simple behaviors. How, you ask? Hey, Wolfram takes most of the chapter to lay it out in a manner that I'm still trying to follow: no way can I summarize it in a sentence or two.
By chapter eight, Wolfram believes he has laid out sufficient rationale for why you, me and everybody else should think cellular automations are indeed the mirror we should be looking in to find true reflections of the world around us. Forget the Navier-Stokes equations - if you want to understand fluid flow, you have to think of it as a cellular automation process. Ditto for crystal growth. Ditto for fracture mechanics. Ditto for Wall Street. Most definitely ditto for biological systems like leaf growth, seashell growth and pigmentation patterns. This is very convincing stuff - tables of Mathematica-generated cellular automation shapes side by side with the photos of corresponding leaves or seashells or pigment patterns found in nature. Yes, you've seen this before in all of the fractals textbooks. The difference between fractals and cellular automations: fractals are a way to mathematically catalog the points that make up the object while cellular automations are a way to actually physically create the object via a growth process. It's a somewhat subtle difference - and a key Wolfram point.
Having established some credibility for his ideas, Wolfram stretches that credibility to the limit in chapter nine, where he applies his cellular automation ideas to fundamental physics. It was practically inevitable he would do this - his first published paper as a teenager was on particle physics, and that's the field he got his PhD in from Cal Tech at age 20 before going on to write the Mathematica software program and make his millions as a young businessman. Despite his solid background in physics, this seems at first blush to be pretty speculative stuff. He shifts his focus on the cellular automations from randomness to reversibility, and describes several rule-sets that both lead to complexity and are reversible. This behavior is an apparent violation of the Second Law of Thermodynamics. From Wolfram's way of thinking, if the universe is indeed some kind of ongoing cellular automation, then it may well be reversible and the Second Law must not be the whole story, so there must be something more we have yet to learn about the nature of the universe itself. He continues extensive speculations on what this may be, and how space, time, gravity, relativity and quantum mechanics must all be manifestations of this underlying Universal Cellular Automation. The rule set for this ultimate automation, which Wolfram believes might ultimately be expressed as only a few lines of code in Mathematica, takes the place of a mathematically-defined unified field theory in Wolfram's world. This is mind-blowing stuff, but ultimately boils down to Wolfram's opinion. I have great difficulty in comprehending space and time and matter and energy as "mere" manifestations of some cellular automation - if so, what is left to be the "system" on which the automation itself is running? I'm reduced to one of Clarke's Laws: The universe is not only stranger than we imagine, it is stranger than we CAN imagine ...
Wolfram shifts from Kubrick-style religion back to mere philosophy in chapter ten, where he explores how cellular automations are perceived by the human mind. Visual image perception, the human perception of complexity and randomness, cryptography, data compression, statistical analysis, and the nature of mathematics as a mental artifact are all explored. The chapter ends on a discussion of language and the mechanics of thinking itself. Wolfram reaches no real concrete conclusions on any of these, except that once again cellular automation is a revolutionary new tool to use in achieving new insights on all of these topics.
Chapter eleven jumps from the human mind to the machine mind by exploring not the nature of consciousness but the nature of computation instead. He goes here into somewhat deeper detail on ideas he has introduced earlier, about how cellular automations can perform mathematical calculations, emulate other computational systems, and act as universal Turing machines. He focuses on the implications of randomness in Class 4 systems and the universality embodied in systems like that of his Rule 110. His arguments lead up to a closing realization, what he does not call but may one day be named Wolfram's Law.
The final chapter, chapter twelve, discusses what all of Wolfram's years of isolation and work have led him to conclude. He calls it the Principle of Computational Equivalence. What follows is an unavoidably oversimplified distillation of Wolfram's thoughts on the PCE. If indeed cellular automations are somehow at the heart of the universe around us, then the human effort to reduce the universe to understandable models and formulas and simulations is ultimately doomed to failure. Because of the nature of cellular automation computation, there is no way to come up with a shortcut method that will deduce the final outcome of a system in advance of it actually running to completion. We can currently compute a rocket trajectory or a lens shape or a skyscraper framework in advance using mathematics merely because these are ridiculously simple human efforts. New technologies based not on mathematics but instead on cellular-automations like wind-tunnel simulators and nanobot devices will be exciting technological advances but will not lead to a fundamentally new understanding of nature. Issues that humans define as undecidability and intractability will always limit the level of understanding we will ultimately achieve, and will always have impacts on philosophical questions such as predestination and free will. To conclude with Wolfram's own final paragraph in the book:
"And indeed in the end the PCE encapsulates both the ultimate power and the ultimate weakness of science. For it implies that all the wonders of the universe can in effect be captured by simple rules, yet it shows that there can be no way to know all the consequences of these rules, except in effect just to watch and see how they unfold."
As noted above, 350+ pages of notes follow this exposition, and trust me, there's no way they can be summarized. To mention one nugget I found amusing as I envisioned Wolfram working towards endless dawns on ANKOS, he thinks sleep has no purpose except to allow removal of built-up brain wastes that cannot be removed while conscious. So much for dreaming.
So what is the bottom line on ANKOS? It is a towering piece of work and an enduring monument to what a focused and disciplined intellect can achieve. It is very thought provoking. It will definitely lead to new work and progress on cellular automation theory and some interesting technological applications we should all look forward to with anticipation. But is it the next Principia, the herald of a new scientific revolution?
Read and decide for yourself. Only time, and a lot of it, will tell.
To read it yourself, you can purchase A New Kind of Science at bn.com. You can read your own book reviews in this space by submitting your reviews after reading the book review guidelines.