
Define f(z) = iz*exp(-z/sin(iz)) + 1 and g(z) = f(f(z)) + 2 for a complex argument z. Here’s what the phase plots...
0 replies - 1061 views - 03/10/13 by John Cook in Articles

The past week or so we got some new data that we had to process quickly. There are quite a few technologies out there to quickly churn map/reduce jobs on...
0 replies - 1452 views - 03/05/13 by Arnon Rotem-gal-oz in Articles

Pick a number x between 0 and 1. Then repeatedly replace x with 4x(1-x). For almost all starting values of x, the result exhibits...
0 replies - 436 views - 02/27/13 by John Cook in Articles

I recently wrote about an implementation of the Bellman Ford shortest path algorithm and concluded by saying that it took 27 seconds to calculate...
0 replies - 2104 views - 02/19/13 by Mark Needham in Articles

I’ve been working in some Python Solr client code. One area where bugs have cropped up is in query terms that need to be escaped before passing to Solr....
0 replies - 1071 views - 02/08/13 by Doug Turnbull in Articles

My previous post looked at continued fractions and rational approximations for e and gave a little Python code. I found out later...
0 replies - 801 views - 02/01/13 by John Cook in Articles

This 15-minute video, presented by Javier de Rosa, explores how graph databases, which are often designed for use with Java or C, are beginning to be...
0 replies - 2371 views - 01/09/13 by Eric Genesky in Articles

A while back I wrote about sonnet primes, primes of the form ababcdcdefefgg where the letters a through g represent digits and a is...
0 replies - 1649 views - 01/09/13 by John Cook in Articles

My youngest daughter asked me this morning whether you can find the number 2013 in the digits of pi. I said it must be possible, then wrote the following...
0 replies - 3873 views - 01/02/13 by John Cook in Articles

You're looking for the right gifts for a young or beginning programmer in your life, and you need to get them in a hurry. Not to worry: here are five ideas for...
0 replies - 5803 views - 12/21/12 by Eric Gregory in Articles

Redhat's popular open-source PaaS sooution, OpenShift, has recently responded to community requests for WebSockets on OpenShift. OpenShift Evangelist...
0 replies - 2461 views - 12/20/12 by Eric Genesky in Articles

Noah Kantrowitz introduces you to Chef and Fabric, helping you to apply your Python skills in DevOps:
0 replies - 1537 views - 12/20/12 by Eric Gregory in Articles

Last night I was talking with someone about the pros and cons of various programming languages and frameworks for data analysis. One of the pros of Python is...
0 replies - 2090 views - 12/01/12 by John Cook in Articles

Suppose you’ve written a program that randomly assigns test subjects to one of two treatments, A or B, with equal probability. The researcher using your...
0 replies - 2740 views - 11/15/12 by John Cook in Articles

Sometimes a little bit of Python beats a Google search.Last week I needed to look up the moments of a normal distribution. The first two moments are common...
0 replies - 2282 views - 11/05/12 by John Cook in Articles