Warning: session_start(): open(/var/lib/php/sessions/sess_lrhv5nrpnl5aku2gjro4ll6nfj, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
!include #1001372 // direct nohupJavax
static MultiMap index = caseInsensitiveMultiMap();
static AutoComboBox cbInput;
p-subst {
showCAL_defaultSize(700, 450);
thread { downloadTypicalWebs(); updateIndex(); }
centerBiggerConsole();
cbInput = replaceConsoleInputWithAutoComboBox();
bot();
consoleInput("George Bush");
addAskButton();
focusInput();
showControls(jcenteredline(jbutton("I want to teach", f makeDiagram));
calcOnConceptChangesInOtherProgram(circlesEditorDBID(), 1000, f updateIndex, true);
}
svoid makeDiagram {
thread {
loading {
startCirclesEditor();
send("Circles Editor.", "new diagram with node *", consoleInput());
}
}
}
svoid updateIndex {
print("Updating index.");
index = dwlw_fullNodeIndex_ci();
updateAutoComboBoxItems(cbInput, keys(index));
consoleStatus(countDistinct(values(index), 'web), "web"));
}
answer {
s = trim(s);
L nodes = index.get(lower(s));
if (nempty(nodes)) {
showWeb(s, web_dropVisUnlessLoaded(cloneWeb(first(nodes).web)));
ret "Found " + n(nodes, "node");
}
}