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

114
LINES

< > BotCompany Repo | #1000997 // loadSnippet and dependencies (with (hopefully) better caching, current)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4578L/31K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_srv6rp1cu7r4ntrte093m2cdpu, 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)","1000676":"getGlobalCache","1000708":"parseSnippetID","1000879":"loadPage + loadPageSilently","1000997":"loadSnippet and dependencies (with (hopefully) better caching, current)","1000998":"md5 - MD5 checksum as hex string","1001042":"saveTextFile (function)","1001049":"loadTextFile (function)","1002348":"nempty - not empty","1002662":"isTrue - synonym of booleanValue","1003242":"fsI - synonym of formatSnippetID","1003519":"class Snippet { S id, title, md5, type, text }","1005163":"standardCredentials - make URL parameters with user & pass","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1010028":"tb_mainServer - where snippets are loaded from. includes protocol, but no trailing slash","1011580":"setThreadLocal - returns old value","1018979":"isLocalSnippetID","1018980":"loadLocalSnippet","1022636":"IResourceLoader","1022640":"vm_getResourceLoader"} 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 #2000512

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000997
Snippet name: loadSnippet and dependencies (with (hopefully) better caching, current)
Eternal ID of this version: #1000997/18
Text MD5: 375017d60e7132b057515a88f6ab2d14
Transpilation MD5: 12d7a5cc2bb48fe9614e2085ba96d538
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-14 14:27:28
Source code size: 3474 bytes / 114 lines
Pitched / IR pitched: No / No
Views / Downloads: 1691 / 6207
Version history: 17 change(s)
Referenced in: [show references]