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

21
LINES

< > BotCompany Repo | #1003756 // Find Run Programs, Sort By Incidence

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Transpiled version (1839L) is out of date.

!752

p {
  new MultiSet<S> programs;
  
  for (S s : scanLog("#1000825", "run.log")) pcall {
    new Matches m;
    if "*: Running *" {
      programs.add(fsi(onlyUntilSpace(trim(m.unq(1)))));
    }
  }
  
  L<S> ids = programs.getTopTen();
  Map<S, S> titles = getSnippetTitles(ids);
  for (int i = 0; i < l(ids); i++) {
    S id = ids.get(i);
    print(programs.get(id) + ": " + id + " - " + titles.get(id));
  }
    
  //printTopTen(programs, func(S s) { s + " - " + getSnippetTitle(s) });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003756
Snippet name: Find Run Programs, Sort By Incidence
Eternal ID of this version: #1003756/1
Text MD5: cbb31052744aae50fd60ce463414ca32
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-26 22:58:05
Source code size: 515 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 687 / 758
Referenced in: [show references]