<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://katlas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ZelmoNrelb</id>
	<title>Knot Atlas - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://katlas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ZelmoNrelb"/>
	<link rel="alternate" type="text/html" href="https://katlas.org/wiki/Special:Contributions/ZelmoNrelb"/>
	<updated>2026-05-30T17:21:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://katlas.org/index.php?title=Upload_Queues&amp;diff=1691782</id>
		<title>Upload Queues</title>
		<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=Upload_Queues&amp;diff=1691782"/>
		<updated>2008-07-13T18:34:44Z</updated>

		<summary type="html">&lt;p&gt;ZelmoNrelb: delacelracd&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;cmoncnat&lt;br /&gt;
This page keeps track of the progress of various robots uploading data to the KnotAtlas.&lt;br /&gt;
&lt;br /&gt;
If you look at the source of this page, you&#039;ll see a line that says &amp;lt;pre&amp;gt;{{:ScottDataRobot Queue}}&amp;lt;/pre&amp;gt;This line &#039;transcludes&#039; the page [[ScottDataRobot Queue]], showing its contents here. You can edit it to control the ScottDataRobot. You can create new queues by creating a new page in the same format. There&#039;s no need to transclude it here, but perhaps you should, so it&#039;s easy to see what&#039;s going on. To start uploading data in a queue, see the [[#Instructions]] section below. &lt;br /&gt;
&lt;br /&gt;
==Broken queue items==&lt;br /&gt;
*&amp;quot;HOMFLYPT&amp;quot;, &amp;quot;TorusKnots[20]&amp;quot;&lt;br /&gt;
*&amp;quot;HOMFLYPT&amp;quot;, &amp;quot;TorusKnots[40]&amp;quot;&lt;br /&gt;
*&amp;quot;Kauffman&amp;quot;, &amp;quot;TorusKnots[20]&amp;quot;&lt;br /&gt;
*&amp;quot;Kauffman&amp;quot;, &amp;quot;TorusKnots[40]&amp;quot;&lt;br /&gt;
**For some reason the HOMFLYPT  and Kauffman polynomials that get uploaded for TorusKnots are broken -- powers of a all replaced with $Failed^-1.&lt;br /&gt;
&lt;br /&gt;
==ScottDataRobot Queue==&lt;br /&gt;
{{floating edit link|ScottDataRobot Queue}}&lt;br /&gt;
{{:ScottDataRobot Queue}}&lt;br /&gt;
&lt;br /&gt;
==QuantumInvariants Queue==&lt;br /&gt;
{{floating edit link|QuantumInvariants Queue}}&lt;br /&gt;
{{:QuantumInvariants Queue}}&lt;br /&gt;
&lt;br /&gt;
==Testing Queue==&lt;br /&gt;
{{floating edit link|Testing Queue}}&lt;br /&gt;
{{:Testing Queue}}&lt;br /&gt;
&lt;br /&gt;
==Completed Work==&lt;br /&gt;
{{floating edit link|Upload Queues Completed Work}}&lt;br /&gt;
{{:Upload Queues Completed Work}}&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To upload data from a queue, you can either use an interactive Mathematica session, or a command line script.&lt;br /&gt;
&lt;br /&gt;
===Command line===&lt;br /&gt;
In the &amp;lt;code&amp;gt;KnotTheory/scripts/&amp;lt;/code&amp;gt; folder, you should find a script called upload_script.sh, and upload_script_nice.sh. These both do the same thing, but upload_script_nice runs in the background, with lower priority than anything else, survives after you logout, and writes its output to nohup.out, rather than the tty. Both scripts require three arguments:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./upload_script.sh username password queue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The queue should be the wiki name for the queue you want to use; something like &amp;lt;code&amp;gt;ScottDataRobot_Queue&amp;lt;/code&amp;gt;. You must replace any spaces in the name with underscores. Optionally, you can specify a fourth argument, the path to your &amp;lt;code&amp;gt;math&amp;lt;/code&amp;gt; executable, if it&#039;s not already on the path. This path must be terminated with a slash.&lt;br /&gt;
&lt;br /&gt;
For example, to start uploading, I use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./upload_script_nice.sh ScottDataRobot password ScottDataRobot_Queue /scratch/bin2/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you&#039;re not sure how to kill a process you started this way, using ps and kill, you might just try &amp;lt;code&amp;gt;kill `ps -C MathKernel -o pid=`&amp;lt;/code&amp;gt;. Strongly not recommended if you have another Mathematica session running! :-)&lt;br /&gt;
&lt;br /&gt;
===Mathematica session===&lt;br /&gt;
Suppose you want to use the &amp;quot;YourDataRobot Queue&amp;quot;. You&#039;ll need to load KnotTheory`, probably with &amp;lt;code&amp;gt;&amp;lt;&amp;lt;KnotTheory`&amp;lt;/code&amp;gt;, and then login, using something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CreateWikiConnection[&lt;br /&gt;
  &amp;quot;http://katlas.math.toronto.edu/w/index.php&amp;quot;,&lt;br /&gt;
  &amp;quot;YourDataRobot&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now issue the command &amp;lt;code&amp;gt;ProcessKnotAtlasUploadQueue[&amp;quot;YourDataRobot Queue&amp;quot;]&amp;lt;/code&amp;gt;. Options &amp;lt;code&amp;gt;Repeat-&amp;gt;numberOfRepeats&amp;lt;/code&amp;gt; (defaults to infinity) and &amp;lt;code&amp;gt;Timeout-&amp;gt;numberOfSeconds&amp;lt;/code&amp;gt; (defaults to 12 hours) can be used to control how many items will be processed, and the maximum amount of time spent on each.&lt;br /&gt;
&lt;br /&gt;
===Format of queue pages===&lt;br /&gt;
The queue pages should contain one line for each task, in the form&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
*&amp;quot;Invariant Name&amp;quot;, &amp;quot;Mathematica expression that evaluates to a list of knots&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The expression evaluating to a list of knots is subjected to a very strict sanity check before it&#039;s evaluated, to protect against malicious code. At the moment, all you can use is AllKnots, AllLink, and Take. In particular, you can&#039;t write the presumably quite useful &amp;lt;code&amp;gt;Select[AllKnots[14], BraidIndex[#]&amp;lt;=4&amp;amp;]&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>ZelmoNrelb</name></author>
	</entry>
</feed>