static L<RemoteResult> dm_evalOnAllOnlineComputers(S code, O... _) { new L<RemoteResult> l; for (S computerID : dm_onlineComputers()) pcall-short { new RemoteResult out; out.computerID = computerID; out.initiated = now(); try { out.result = dm_evalOnOtherMachine_optimizeIfMe(computerID, code); } catch e { out.error = e; } out.returned = now(); l.add(out); } ret l; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020337 |
Snippet name: | dm_evalOnAllOnlineComputers (if they allow that). will timeout after 30s if one computer doesn't answer |
Eternal ID of this version: | #1020337/3 |
Text MD5: | 59e653c1a3ac8a2f84f71754b79edf54 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-14 18:41:48 |
Source code size: | 435 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 322 / 351 |
Version history: | 2 change(s) |
Referenced in: | [show references] |