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

355
LINES

< > BotCompany Repo | #1025607 // PhilosophyBot1 backup before backtracking

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

Libraryless. Click here for Pure Java version (6624L/43K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_gq60v83g357ln5okmr3b24u874, 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
{"1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000798":"dropFirst function (drop first elements of array or chars of string - synonym of \"drop\")","1000810":"join function + array version","1001038":"last function (get last element of list or last character in string)","1001055":"assertEquals - not using structure() for making the message anymore [saving code]","1001135":"isQuoted - now accurate by default","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001561":"rtrim (now includes line breaks)","1002071":"trim function","1002108":"empty - extended synonym of isEmpty","1002285":"assertIdentifier - synonym of assertIsIdentifier","1002348":"nempty - not empty","1002644":"think function - synonym of miniChat","1002853":"autoUnindent","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003144":"indentx function - handles trailing \\n better","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003322":"checkCondition - call a predicate object","1003360":"splitAtEmptyLines - also covers lines containing spaces","1003382":"ll - synonym of litlist (literal list)","1003800":"endsWith","1004219":"Pair - value pair; sorted by a, then b","1004293":"replaceVars - uses javaTok","1004652":"mapValues - apply function to a map's values","1005270":"cloneSet - safely clone a set, try to match original type","1005567":"isFalse - checks if an object is Boolean.FALSE (returns false on default)","1006092":"listMinusList - list minus some elements","1007610":"popFirst - remove & return first element(s) of collection","1008448":"pnl - synonym of printNumberedLines","1008537":"pnlStruct - print structures, numbered","1008703":"trimJoinSubList - trim(join(subList(...)))","1008942":"tlft - synonym of toLinesFullTrim","1008946":"sfu - synonym of structureForUser - structure() without too many back refs","1009319":"joinSubList - join(subList(...)) - TODO: optimize","1010892":"mapKeys - apply function to a map's keys","1011096":"litciset - make case-insensitive set","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1013446":"deRoundBracket - non-token version. see tok_deRoundBracket for token-aware version","1014558":"replaceCodeTokensUsingMap","1014559":"lookupOrKeep","1015526":"getAndClearList","1015568":"joinWithEmptyLines","1015624":"isCurlyBracketed - synonym of isCurlyBraced","1017062":"isTrueOpt","1017203":"antiFilter - drop where predicate matches","1017294":"filterAntiFilter - make \"true\" and \"false\" list using predicate","1017697":"javaTokWithBrackets - synonym of javaTokPlusBrackets","1019909":"cloneLinkedList - now safely clones a synchroList (synchronizing on it)","1020043":"pnlWithHeading","1021252":"splitAtDoubleArrow_pair - javaTok and split at \"=>\" (and trim). uses javaTokWithBrackets","1021639":"gazelle_zip - tokenize & zip code tokens to ci-map. null if no match possible (differing token counts)","1021743":"IF1 - function with one argument (interface version)","1022172":"linkedCISet - a case-insensitive set that enumerates in insertion order (like LinkedHashMap)","1022797":"isSingleLine","1023032":"IF0 - function with no arguments (interface version)","1023892":"AllOnAll","1024021":"with - synonym of withComputing","1025426":"not - boolean negation, return null on null","1025577":"countJavaTokens - synonym of countTokens","1025578":"allLinesAreUnindented","1025579":"tok_splitAtAmpersand","1025580":"allKeysAreInSet","1025581":"getCodeToken - get code token at index","1025582":"countCodeTokens - synonym of countTokens","1025584":"uncurly_keepSpaces - synonym of tok_unCurlyBracket_keepSpaces","1025585":"withoutLinesEmptyAfterTrim","1025586":"groupPythonStyleIndents","1025587":"firstCodeToken - synonym of firstJavaToken","1025589":"tok_dropRoundBrackets - but not the contents of brackets","1025592":"tok_deRoundBracket","1025597":"PhilosophyBot1 (LIVE)","1025601":"mapToLinkedList - map function, return as LinkedList","1025602":"optRound - synonym of roundBracketIfMoreThanOneToken","1027756":"And - generic binary \"&\" connector"} 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 #1025597

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1025607
Snippet name: PhilosophyBot1 backup before backtracking
Eternal ID of this version: #1025607/1
Text MD5: e1670695d1a19d50a8b46ceaccaae02e
Transpilation MD5: 76eebc65135d53eba4a6a4a96f58c156
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-08 12:40:27
Source code size: 11766 bytes / 355 lines
Pitched / IR pitched: No / No
Views / Downloads: 673 / 792
Referenced in: