This site is supported by donations to The OEIS Foundation.

Template talk:Sequence/list/names

From OeisWiki
Jump to: navigation, search

Load

This is an ambitious project. If I understand the purpose correctly (implementing a template lookup to give sequence names in the title text), it's a feature which has been oft-requested. But it seems that lookups on such a table will be expensive, maintaining the database will be difficult, and the frequent changes required will prevent caching and thus slow page loading on the wiki (assuming its use is widespread).

Has this been discussed with User:David Applegate or others involved with the wiki?

Charles R Greathouse IV 17:17, 29 June 2012 (UTC)

I just sent (Feb 27, 2013) an email to: David Applegate, Russ Cox and Neil Sloane

== Tooltips with sequence names in OEIS Wiki ==

I implemented a demo (for up to A000999) of tooltips with sequence
names (in the wiki) with the [[Template:Sequence]] template. The thing
is, for 200000 sequences, it takes 200 tables (1000 sequences per
table)...

Starting with http://oeis.org/names.gz we use slices of 1000 sequence
names, then some editing is required, as explained in the
documentation of [[Template:Sequence/list/names#Format of sequence
names database tables]]. Each line must have the format

 | A-number = Sequence name.

(where  <space><pipe><space> is prepended, and <space><equal><space>
is inserted) instead of

A-number Sequence name.

There are more than 200000 such lines to edit (doing it by hand would
take an eternity...). Also, if we want to use it, we would have to ask
Russ Cox to modify the script concerning the A-numbers to
automatically invoke the template.

For example

:{{tlxb|sequence|A000795}} or {{tlxb|seq|A000795}} (for short)

yields

:{{sequence|A000795}}

— [[User:Daniel Forgues|Daniel Forgues]] 23:08, 27 February 2013 (UTC)

For example (it now works up to A000999, since the first table of 1000 sequence names is done)

{{sequence|A000795}} or {{seq|A000795}} (for short)

yields

A000795

I have the exact same worries:

  • expensive to use
  • difficult to maintain

Daniel Forgues 03:34, 28 February 2013 (UTC)