November 10, 2014 — Christopher Carlson, Senior User Interface Developer, User Interfaces

This year’s Wolfram Technology Conference once again included the One-Liner Competition, an opportunity for some of the world’s most talented Wolfram Language developers to show us the amazing things you can do with tiny pieces of Wolfram Language code.

In previous years, One-Liner submissions were allowed 140 characters and 2D typesetting constructs. This year, in the spirit of Tweet-a-Program, we limited entries to 128-character, tweetable Wolfram Language programs. That’s right: we challenged them to write a useful or entertaining program that fits in a single tweet.

And the participants rose to the occasion. Entries were blind-judged by a panel of Wolfram Research developers, who awarded two honorable mentions and first, second, and third prizes.

One honorable mention went to Michael Sollami for his “Mariner Valley Flyby,” which takes you on a flight through the terrain of the Mariner Valley on Mars. The judges were greatly impressed by the idea and the effect. Unfortunately, a small glitch in the program is visible at the start of the output, due to an error in the code. Since Michael’s submission is right up against the 128-character limit, it would have taken some clever tweaking to fix it.

Mariner Valley Flyby

Mariner Valley Flyby

Read More »

November 4, 2014 — Vitaliy Kaurov, Technical Communication & Strategy

Data is critical for an objective outlook, but bare data is not a forecast. Scientific models are necessary to predict pandemics, terrorist attacks, natural disasters, market crashes, and other complex aspects of our world. One of the tools for combating the ongoing and tragic Ebola outbreak is to make computer models of the virus’s possible spread. By understanding where and how quickly the outbreak is likely to appear, policy makers can put into place effective measures to slow transmissions and ultimately bring the epidemic to a halt. Our goal here is to show how to set up a mathematical model that depicts a global spread of a pandemic, using real-world data. The model would apply to any pandemic, but we will sometimes mention and use current Ebola outbreak data to put the simulation into perspective. The results should not be taken as a realistic quantitative projection of current Ebola pandemic.

Ebola animation

Read More »

October 27, 2014 — Wolfram Blog Team

Halloween is quickly approaching, and to help you gear up for trick-or-treating, costume parties, and pumpkin carving, we’re issuing another Tweet-a-Program Code Challenge! This time, instead of spaceships and planets, we want you to tweet us your spookiest Halloween-themed lines of Wolfram Language code. We’ll then use the Wolfram Language to randomly select three winning tweets (and a few of our favorites) to pin, retweet, and share with our followers. Winners will also be awarded a free Wolfram T-shirt!

Take some inspiration from these examples, while you come up with your creepy codes:

Tweet-a-Program skull

Tweet-a-Program Halloween

Read More »

October 7, 2014 — Wolfram Blog Team

In honor of World Space Week and this year’s theme of satellite navigation, “Space: Guiding Your Way,” we’re issuing a Tweet-a-Program Code Challenge focused on anything to do with space and getting there. You tweet us your “space-iest” line(s) of Wolfram Language code, and then we’ll use the Wolfram Language to randomly select three winning tweets (plus a few favorites) to shower with retweets, pin or post to our wall, and receive a free Wolfram T-shirt!

Any space-themed submissions tweeted to us @wolframtap all day Thursday and Friday (12am PDT Thursday, October 9 through 11:59pm PDT Friday, October 10) will be eligible to win. To not waste needed code space, no hashtag is required with your original submission, but we encourage you to share your results by retweeting them with hashtag #wsw2014 and #tapspaceweek.

In addition to satellite path tracking and real-time analysis, the Wolfram Language gives you access to all sorts of entities, formulas, and other functionality for astronomical computation and coding—from supernovas, comets, and constellations to the Sun, deep space, and other galaxies.

Maybe you want to remix the planets and their colors, as Stephen Wolfram did in one of his first Tweet-a-Program tweets:

Randomizing planet colors

Read More »

September 18, 2014 — Stephen Wolfram

In the Wolfram Language a little code can go a long way. And to use that fact to let everyone have some fun, today we’re introducing Tweet-a-Program.

Compose a tweet-length Wolfram Language program, and tweet it to @WolframTaP. Our Twitter bot will run your program in the Wolfram Cloud and tweet back the result.

Hello World from Tweet-a-Program: GeoGraphics[Text[Style["Hello!",150]],GeoRange->"World"]

Read More »

September 10, 2014 — Crystal Fantry, Manager, Education Content

Thirty students from six different countries came together to explore their passion for programming and mathematics for two weeks in July, and the result was extraordinary! Each and every one of these students created a significant Wolfram Language project during the camp. Their projects and interests ranged from physics and mathematics to automotive engines to poker and blackjack.

MSC 2014 group photo

Read More »

September 4, 2014 — Jon McLoone, International Business & Strategic Development

I first came across the knight’s tour problem in the early ’80s when a performer on the BBC’s The Paul Daniels Magic Show demonstrated that he could find a route for a knight to visit every square on the chess board, once and only once, from a random start point chosen by the audience. Of course, the act was mostly showmanship, but it was a few years before I realized that he had simply memorized a closed (or reentrant) tour (one that ended back where he started), so whatever the audience chose, he could continue the same sequence from that point.

In college a few years later, I spent some hours trying, and failing, to find any knight’s tour, using pencil and paper in various systematic and haphazard ways. And for no particular reason, this memory came to me while I was driving to work today, along with the realization that the problem can be reduced to finding a Hamiltonian cycle—a closed path that visits every vertex—of the graph of possible knight moves. Something that is easy to do in Mathematica. Here is how.

Read More »

August 19, 2014 — Michael Trott, Chief Scientist

In today’s blog post, we will use some of the new features of the Wolfram Language, such as language processing, geometric regions, map-making capabilities, and deploying forms to analyze and visualize the distribution of beer breweries and whiskey distilleries in the US. In particular, we want to answer the core question: for which fraction of the US is the nearest brewery further away than the nearest distillery?

Disclaimer: you may read, carry out, and modify inputs in this blog post independent of your age. Hands-on taste tests might require a certain minimal legal age (check your countries’ and states’ laws).

We start by importing two images from Wikipedia to set the theme; later we will use them on maps.

Read More »

August 7, 2014 — Jeffrey Bryant, Scientific Information Group

We are reposting this blog post due to the ESA’s success yesterday, August 6, 2014.

We recently posted a blog entry celebrating the anniversary of the Apollo 11 landing on the Moon. Now, just a couple weeks later, we are preparing for another first: the European Space Agency’s attempt to orbit and then land on a comet. The Rosetta spacecraft was launched in 2004 with the ultimate goal of orbiting and landing on comet 67P/Churyumov–Gerasimenko. Since the launch, Rosetta has already flown by asteroid Steins, in 2008, and asteroid 21 Lutetia, in 2010.

NASA and the European Space Agency (ESA) have a long history of sending probes to other solar system bodies that then orbit those bodies. The bodies have usually been nice, well-behaved, and spherical, making orbital calculations a fairly standard thing. But, as Rosetta recently started to approach comet 67P, we began to get our first views of this alien world. And it is far from spherical.

Far from spherical comet 67P

Read More »

August 1, 2014 — Arnoud Buzing, Director of Quality and Release Management

Earlier this month we released Mathematica 10, a major update to Wolfram’s flagship desktop product. It contains over 700 new functions and improvements to just about every part of the system.

Mathematica + Raspberry Pi

Today I’m happy to announce an update for Mathematica and the Wolfram Language for the Raspberry Pi that brings those new features to the Raspberry Pi. To get the new version of the Wolfram Language, simply run this command in a terminal on your Raspberry Pi:

sudo apt-get update && sudo apt-get install wolfram-engine

This new version will also be pre-installed in the next release of NOOBS, the easy setup system for the Raspberry Pi.

Read More »