Download Jar. Uses 3874K of libraries. Click here for Pure Java version (14772L/105K).
1 | !7 |
2 | |
3 | p-noconsole { |
4 | autoRestart(); |
5 | Web web = lastChatLinesAsWeb2(5, f makeNodeFromMsg); |
6 | web_dropLabelsStartingWith(web, "Msg "); |
7 | showWeb_noAutoLayout(web, 1000, 600); |
8 | } |
9 | |
10 | static void makeNodeFromMsg(ChatMsg msg, WebNode n) { |
11 | n.x = n.y; |
12 | n.addLabel(/*"Text " +*/ quote(msg.text)); |
13 | web_addString(n, msg.botMark ? "by bot" : "by user"); |
14 | web_addStrings(n, ai_categoriesForChatLine(msg.text)); |
15 | n.addLabel("Msg " + msg.globalID); |
16 | } |
Began life as a copy of #1010916
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010958 |
Snippet name: | Last chat lines as web, for reasoning [OK] |
Eternal ID of this version: | #1010958/10 |
Text MD5: | 0ea0f33f72e9a5c3d2f5781e2963cc2b |
Transpilation MD5: | db9793085d10d16e9bd2fac0014850e7 |
Author: | stefan |
Category: | javax / chat |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-10 18:56:02 |
Source code size: | 454 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 525 / 1688 |
Version history: | 9 change(s) |
Referenced in: | [show references] |