Warning: session_start(): open(/var/lib/php/sessions/sess_93g7k3ssgcsj4bm6fau7ahb0ni, 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
static JLabel lblText;
sS phoneIP;
p {
swing {
setText_opt = false;
setConsoleWidth(800);
setConsoleHeight(600);
centerConsole();
consoleFont(sansSerif(40));
wordWrapConsole();
consoleMaxChars(1000);
}
while licensed {
print("Waiting for phone to come online...");
while licensed {
L possiblePhones = empBlast();
phoneIP = first(possiblePhones);
if (phoneIP != null) break;
sleepSeconds(1);
}
print("Using phone: " + phoneIP);
S last = "";
swing {
manualConsole();
//consoleTextArea().setAlign
lblText = jcenteredlabel();
lblText.setFont(sansSerif(40));
replaceComponent(consoleTextArea(), lblText);
}
repeat with sleep 1 {
S s = sendToPublicCommBotSilently(phoneIP, forward("Recognizer.", "text"));
s = substring(s, smartIndexOf(s, ":")+1);
//S ss = dropPrefixTrim(last, s);
S ss = joinLines(takeLast(12, javaTokC(s)));
last = s;
if (nempty(ss)) {
setText_htmlencode(lblText, ss);
awt {
lblText.scrollRectToVisible(new Rectangle(0, 10000, 1, 1));
}
}
}
}
}