Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1024240 // agi.blue Bot: Download adjectives to mech list [OK]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (8732L/47K).

!7

cmodule AgiBlueBot_DownloadAdjectives > DynSingleFunctionWithPrintLog {
  transient PKIKeyPair keys;
  
  start { keys = keyPairForProgram(); }
  
  void doIt {
    Set<S> known = mechCISet("Adjectives");
    
    L<S> downloaded = collect q(loadJSONList("http://agi.blue/bot/keyAndValueSearch" + hquery(key := "is", value := "an adjective", nameOnly := 1)));
    
    LS diff = listMinusSet(downloaded, known);
    pnlStructWithTitle("New adjectives", diff);
    print(addToMechList("Adjectives", diff));
  }
}

Author comment

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: 227 / 408
Version history: 9 change(s)
Referenced in: [show references]