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

128
LINES

< > BotCompany Repo | #1009918 // Local Snippets DB [OK, now with regular update every minute]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (12922L/93K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_9uqlopb2077g6t6epk238va145, 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
{"1000708":"parseSnippetID","1000997":"loadSnippet and dependencies (with (hopefully) better caching, current)","1001166":"toUtf8","1001865":"neq function","1002112":"n function","1003047":"collect - extended synonym of collectField","1003137":"ping - allow pausing all threads & thread-inserted actions","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003242":"fsI - synonym of formatSnippetID","1003363":"struct - short for structure","1003400":"sorted - takes a Collection and an optional func(A, A) -> int","1003418":"slurp - grab objects through a function until it returns null","1003519":"class Snippet { S id, title, md5, type, text }","1004549":"cancelThread - cancel thread through ping()","1004558":"startThread","1004683":"doEvery - install a java.util.Timer","1005060":"countConcepts","1005292":"uniq - synonym of uniqueConcept","1005523":"findConcept - synonym of findConceptWhere","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006459":"printWithTime","1006833":"infoBox - synonym of infoMessage - show info message in top-right corner","1007380":"lock - acquire Lock with message; also lock() is a synonym of fairLock()","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008561":"ConcurrentEvaluator","1009230":"dbIndexing - start DB, indexing certain concept fields - idempotent","1009257":"cset - set fields in Concept object (with notification of DB)","1009321":"dbLock - mainconcepts.lock","1009838":"botWithCommandList - makeBot and showCommandList","1009917":"listAllSnippets - strains the server","1009919":"listRecentlyChangedSnippets","1009920":"emptyMD5 - md5 of empty string","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1012976":"autoRestart10Mins","1013548":"cleanKillIn1 - synonym of cleanKillIn1Second","1013924":"programLock - synonym of mainLock - get main class's \"main lock\"","1014750":"CSnippet (local snippets DB concept - don't confuse with CSnippet from #1016871)"} 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)

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: #1009918
Snippet name: Local Snippets DB [OK, now with regular update every minute]
Eternal ID of this version: #1009918/55
Text MD5: ba551e38235e53fd6fecb37c8a9e5cd9
Transpilation MD5: af424bbc02729c6be69f1407cc047c05
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-03 01:06:34
Source code size: 3177 bytes / 128 lines
Pitched / IR pitched: No / No
Views / Downloads: 1143 / 4290
Version history: 54 change(s)
Referenced in: #1014460 - Upload list of all snippet IDs (needs Local Snippets DB, #1009918)
#1014753 - Snippet Title Reasoning v1 [OK]
#1015245 - Bench loading all snippets
#1015253 - loadSnippetsDBForAnalysis
#1016026 - Snippets DB [Dyn Module, warning: loads whole snippet DB in memory]
#1016871 - Local Snippets DB v2 [with text on disk, OK]
#3000512 - Smart Bot's answer to: !eval centralRestartLog_raw()
#3000526 - Smart Bot's answer to: !fresh latestPrograms()