Libraryless. Click here for Pure Java version (7931L/53K/175K).
1 | !7 |
2 | |
3 | html { |
4 | if (!webAuthed()) ret "no"; |
5 | Class main = getBotMainClass("Truth Table"); |
6 | |
7 | new StringBuffer buf; |
8 | O concepts = get(main, "mainConcepts"); |
9 | buf.append("Statements: " + call(concepts, "countConcepts") + "\n"); |
10 | for (O c : values(cloneMap((Map) get(concepts, "concepts")))) { |
11 | Statement s = fastLoadStatement(c); |
12 | //buf.append("Statement: " + getString(c, "globalID") + " - " + getString(c, "text") + "\n"); |
13 | buf.append("Statement: " + s.globalID + " - " + s.text + "\n"); |
14 | } |
15 | |
16 | main = getBotMainClass(dbBotName(aiConceptsProgram())); |
17 | concepts = get(main, "mainConcepts"); |
18 | buf.append("Concepts: " + call(concepts, "countConcepts") + "\n"); |
19 | for (O c : values(cloneMap((Map) get(concepts, "concepts")))) |
20 | buf.append("Concept: " + getString(c, "globalID") + " - " + getString(c, "name") + "\n"); |
21 | |
22 | ret hpre(htmlencode(buf)); |
23 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007627 |
Snippet name: | Test fast-loading from databases |
Eternal ID of this version: | #1007627/9 |
Text MD5: | 5b4164c518058c9883708dbf52fce5ae |
Transpilation MD5: | be16f3f61aa3c27135d822af2b8f9116 |
Author: | stefan |
Category: | javax / a.i. / html |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-29 15:47:00 |
Source code size: | 890 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 520 / 665 |
Version history: | 8 change(s) |
Referenced in: | [show references] |