Uses 911K of libraries. Click here for Pure Java version (8732L/47K).
1 | !7 |
2 | |
3 | cmodule AgiBlueBot_DownloadAdjectives > DynSingleFunctionWithPrintLog { |
4 | transient PKIKeyPair keys; |
5 | |
6 | start { keys = keyPairForProgram(); } |
7 | |
8 | void doIt { |
9 | Set<S> known = mechCISet("Adjectives"); |
10 | |
11 | L<S> downloaded = collect q(loadJSONList("http://agi.blue/bot/keyAndValueSearch" + hquery(key := "is", value := "an adjective", nameOnly := 1))); |
12 | |
13 | LS diff = listMinusSet(downloaded, known); |
14 | pnlStructWithTitle("New adjectives", diff); |
15 | print(addToMechList("Adjectives", diff)); |
16 | } |
17 | } |
Began life as a copy of #1024239
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024240 |
Snippet name: | agi.blue Bot: Download adjectives to mech list [OK] |
Eternal ID of this version: | #1024240/10 |
Text MD5: | bafc29998a2e9cbee5aa5b70eb9d35e8 |
Transpilation MD5: | c23bdda7f223cb28172801ea656f6774 |
Author: | stefan |
Category: | javax / agi.blue |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-28 16:57:05 |
Source code size: | 531 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 229 / 411 |
Version history: | 9 change(s) |
Referenced in: | [show references] |