Math.OEIS needs a new maintainer

Summary: the OEIS has switched servers and the oeis package needs updating to match, so I’m looking for someone to take over development. All the rest is padding in the form of entertaining stories.

Recently, Michael Snoyman’s wonderful packdeps tool notified me that there were some updated dependencies for my oeis package, a Haskell interface to Neil Sloane’s Online Encyclopedia of Integer Sequences. In particular, there was a newer version of network available. So I installed the newest version of network, recompiled the package with no errors or warnings, and tried looking up the prime numbers — and got Nothing! I tried a few other lookups with the same result. Strangely enough, downgrading network and recompiling did not help matters. Lambdabot’s @oeis command (which uses oeis as a plugin) was also failing to obtain any results.

After a bit of poking around, I found the real problem — the OEIS has recently moved to a different server, using different software! The queries were all failing because they were querying the wrong thing.

Amusingly, while poking around the new OEIS trying to figure out how it is organized, I found this:

Just as it is OK for a browser (such as Firefox) to access the OEIS, so it is also OK for a computer algebra program such as SAGE or Haskell to have an interface with the OEIS, provided of course that this does not put too much of a burden on the server here.

That’s right, Neil Sloane himself has given his explicit blessing to the Haskell oeis package! I guess we can forgive the fact that he thinks Haskell is a “computer algebra package”.

Unfortunately, the way that OEIS queries work and the formats in which you can retrieve data seem to have changed (and it looks like they might change again!), so getting the oeis package to work again is not just a simple matter of updating a URL. I don’t really have much time to spend on it right now, so I’m looking for someone to take over its development and maintenance. In addition to simply getting it to work again, there are a number of features I’ve thought about adding but never got around to; the biggest one being the ability to return multiple search results to the user instead of just the first. So perhaps that’s something a new maintainer could work on as well. If you’re interested, please send me an email!

About Brent

Associate Professor of Computer Science at Hendrix College. Functional programmer, mathematician, teacher, pianist, follower of Jesus.
This entry was posted in haskell, math, projects and tagged , , , , . Bookmark the permalink.

4 Responses to Math.OEIS needs a new maintainer

  1. Tom Duff says:

    I’d hold off redoing the package for a while. The new OEIS is still in a state of flux. To relieve Neil of the unbelievable load of editing a couple of hundred sequences a day, a foundation has been set up to run the OEIS, it’s been reorganized as a wiki and a pile of subeditors (including me) have been pressed into service. It would probably be a good idea to coordinate with Russ Cox (I won’t mention his email address, look for it at his web page), who is in charge of the new OIES software.

    • Brent says:

      Ah, good to know, thanks for the advice. Well, in any event I’d still love to hand the package off to someone else, but I guess there’s no big rush.

  2. What is the latest status? Back in the day you could get a dump of the entire DB for local indexing.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.