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

12
LINES

< > BotCompany Repo | #1001481 // programsRunningInAllVMs

JavaX fragment (include)

// returns "naked" ids (without the #)
// might return ids more than once
static L<S> programsRunningInAllVMs() {
  L<S> answers = sendToAllVMs("which programs are you running (ids only)");
  new L<S> l;
  for (S s : answers) {
    new Matches m;
    if (match3("these: *", s, m))
      l.addAll((L) unstructure(unquote(m.m[0])));
  }
  ret l;
}

Author comment

Began life as a copy of #1001480

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: #1001481
Snippet name: programsRunningInAllVMs
Eternal ID of this version: #1001481/1
Text MD5: 73769f7313320bae8407b40535831ee8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-17 19:41:32
Source code size: 356 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 510 / 756
Referenced in: [show references]