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

61
LINES

< > BotCompany Repo | #1016548 // OS Instances Long Poll Bot [LIVE, but we're using the socket version]

JavaX module [tags: butter use-pretranspiled] - homepage

Download Jar. Libraryless. Click here for Pure Java version (2549L/17K/64K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_hqph749f4l9m93b0hs7u3h97pq, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000658":"print function (=System.out.println + logging in memory)","1000988":"MultiSet - now synchronized","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1002042":"keys function","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003550":"class Var - thread-safe variable","1004211":"synchroMap - synonym of synchroHashMap. also wraps arbitrary maps","1004683":"doEvery - install a java.util.Timer","1005272":"mergeSets - synonym of joinSets","1006528":"parseIntOpt - return 0 on non-int","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1014811":"tempAfterwards - do something after current block ends (even if there is an exception) - i.e., add action to (imaginary) finally clause of current block","1016547":"waitForVarToChange_withTimeout - returns true if there was a change","1016561":"ExpiringMap2 - now synchronized","1016564":"subBot_getHeader"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1014866

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016548
Snippet name: OS Instances Long Poll Bot [LIVE, but we're using the socket version]
Eternal ID of this version: #1016548/28
Text MD5: 674eda8b15b5c76457384244a0efb61f
Transpilation MD5: 172061d927da53b9aa7ff7535c1dbd59
Author: stefan
Category: javax / web
Type: JavaX module
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-18 16:51:12
Source code size: 1939 bytes / 61 lines
Pitched / IR pitched: No / No
Views / Downloads: 834 / 2990
Version history: 27 change(s)
Referenced in: #1016551 - Connect To Server [Long Poll Version, Dyn Module]
#1016565 - Test interrupting loadPageWithTimeout (OK, but server doesn't notice if in long poll)
#1016567 - ConnectedInstances - robustly counts computers currently connected through network