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

495
LINES

< > BotCompany Repo | #1012236 // Stefan's Chat - pre parsing display

JavaX source code (desktop) - run with: x30.jar

Download Jar.

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_sst9nb936rdn36d31qabjo5mq5, 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
{"1000580":"urlencode","1000644":"shorten function","1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000736":"sleep function","1000801":"now function","1000810":"join function + array version","1000811":"parseInt - returns 0 on \"\" or null","1000879":"loadPage + loadPageSilently","1000942":"urldecode","1001038":"last function (get last element of list or last character in string)","1001116":"sleepSeconds","1001263":"htmlencode","1001326":"programID","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001695":"litmap - skips null values","1001730":"currentThread","1001741":"or function","1001842":"match - synonym of match3","1001865":"neq function","1001906":"reversedList","1001948":"scanLog - scan log made with logQuoted","1001992":"str function (=String.valueOf + extensions)","1002066":"licensed - should program keep running? also ping()s so thread is cancelled\/paused etc. on request","1002071":"trim function","1002108":"empty - extended synonym of isEmpty","1002112":"n function","1002305":"removeLast","1002310":"subList function - use instead of List.subList","1002348":"nempty - not empty","1002389":"selfLink - make a HTML self-link with modified parameters (for sub-bots)","1002423":"tag - make HTML tag - synonym of htag","1002439":"ul - make HTML list (no htmlencode)","1002440":"h3 - make HTML h3 tag","1002441":"p - make HTML p tag","1002533":"yn - synonym of yesno","1002595":"webAuthed","1002621":"toInt","1002835":"swic - synonym of startsWithIgnoreCase","1002965":"hrefresh - make HTML \"refresh\" tag","1003010":"botLink - link to a bot","1003085":"tr - make tag","1003088":"hsubmit - create HTML submit button","1003098":"himg - HTML tag - takes image url, image snippet ID or BufferedImage","1003099":"takeLast function (take last n elements of a list or characters of a string)","1003102":"b - HTML bold tag","1003103":"ahref - make HTML link - synonym of href","1003217":"hmobilefix - fix fonts for mobile browsers","1003229":"registerVisitor - call visitors bot if there to register current http request. returns visitor stats","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","1003255":"youtubeEmbed - synonym of hEmbedYoutube","1003266":"hreplaceTitle - replace in HTML text","1003340":"startsWith - now also for lists","1003363":"struct - short for structure","1003393":"snippetImgLink - synonym of snippetImageURL","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1003505":"targetBlank - synonym of hrefBlank","1003638":"litorderedmap - create LinkedHashMap with items","1003855":"matchOneOf","1004223":"loadImage2 - synonym of loadBufferedImage","1004323":"parseFirstInt - parse first int in string (or return 0)","1004348":"span - HTML <span> tag","1004923":"findWhere - get first element that matches a data condition (fields+values)","1005292":"uniq - synonym of uniqueConcept","1005407":"evalJava - evaluate JavaX code or expression in new temp class","1005523":"findConcept - synonym of findConceptWhere","1005546":"reversed - short for reversedList \/ reversedString","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1005972":"sortByField - synonym of sortedByField","1006045":"findConcepts - synonym of findConceptsWhere","1006055":"deleteConcept","1006056":"withDBLock - execute code while holding DB lock","1006239":"sysNow - access System nano-timer in milliseconds (more precise than now(), but not related to date)","1006528":"parseIntOpt - return 0 on non-int","1007380":"lock - acquire Lock with message; also lock() is a synonym of fairLock()","1007385":"possibleGlobalID","1007439":"lines - short for fromLines \/ toLines","1007584":"formatDateAndTime - format a long timestamp in some general way (including time)","1007610":"popFirst - remove & return first element(s) of collection","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1007805":"tt - short for typeWriterConsole \/ also the HTML tag","1007901":"serveText - for sub-bots or direct servers","1008164":"cloneSubList - synonym of newSubList - return a sublist as new ArrayList","1008274":"_registerThread - register a thread as belonging to this program","1008278":"_unregisterThread - opposite of _registerThread","1008279":"registeredThreads - list threads registered for module","1008386":"h3_htitle","1008422":"htmlEncode_nlToBr","1008759":"uniq_sync - make a unique object in a locked way (now a synonym of uniq)","1008788":"lengthLevel2 - recursive length of collection of collections","1008790":"ul_htmlEncode - ul + htmlEncode - params are for ul, then null, then for li","1008791":"getThreadNames","1008999":"clientIP - synonym of getClientIP - for web bots, may return two addresses separated by comma (second one is x-forwarded-for)","1009026":"formatGMTWithOptionalDate_24","1009219":"cookieConcept","1009230":"dbIndexing - start DB, indexing certain concept fields - idempotent","1009257":"cset - set fields in Concept object (with notification of DB)","1009306":"td - make <td> tag","1009321":"dbLock - mainconcepts.lock","1009372":"aGlobalIDUnlessLoading","1009486":"setInConcept","1009832":"change - indicate change in mainConcepts","1010277":"logStructureWithDate","1010284":"h3AndTitle - synonym of h3_htitle","1010367":"relativeRawBotLink - link to a bot, \"raw\" page version (no title)","1010842":"trueOrNull - convert true to TRUE, false to null","1010843":"rawBotLink_rel - synonym of relativeRawBotLink - link to a bot, \"raw\" page version (no title)","1011050":"hGoogleFontOswald - <style> tag that imports a Google font","1011051":"hfullcenter - HTML center on page. params are added to <table> tag","1011155":"html_linkURLs_targetBlank","1011442":"encyclopediaLink - synonym of smartBot_encyclopediaLink","1011525":"unicode_rightPointingTriangle (filled black)","1011531":"smartBotURL","1011562":"pageNav2 - HTML page navigation with flexible base link","1011624":"small - synonym of hsmall - HTML <small> tag","1011866":"gmtWithSeconds","1011867":"smallestByMethod","1011868":"stefansChat_messageLimit","1011872":"ExpiringHashMap - use ExpiringMap2 instead","1011886":"setSmartBotURL","1011974":"superSimpleSpamTester","1012210":"loadSnippet_simpleCache - expires in 10 seconds","1014725":"add - add Component to Container, add element to collection, set bit in BitSet","1020890":"list (for concepts)","1027772":"Msg + MsgOut"} 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) </pre></div> <h4>Author comment</h4> <div style="padding-left: 1em; padding-top: 0.5em; padding-bottom: 0.5em; background-color: #EEEEEE; "><pre> Began life as a copy of <a href="https://code.botcompany.de/1008998" title="#1008998 - Stefan's Chat [LIVE]" >#1008998</a></pre></div> <p><a href="/getraw.php?id=1012236">download</a>  <a href="show-snippet.php?id=1012236&lineNumbers=1">show line numbers</a>  <a href="/dexcompile.php?id=1012236&debug=1">debug dex</a>  <a target="_blank" href="old-transpilations.php?id=1012236">old transpilations</a>   </p><p>Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt</p> <p>No comments. <a href="#" onClick="commentDiv.style.display = 'inline'; return false">add comment</a></p> <div id="commentDiv" style="display: none"> <form action="show-snippet.php" method="POST"> Your comment:<br> <textarea rows="4" name="comment" style="width: 600px"></textarea><br> Please log in to comment OR answer this question: What's the first name of the guy running this site (6 letters)? <br><input type="text" name="check" value=""><br> <input type="hidden" name="id" value="1012236"> <input type="submit" value="Add"> </form> </div> <table border="1"> <tr> <td valign="top">Snippet ID:</td> <td valign="top"><b>#1012236</b></td> </tr> <tr> <td valign="top">Snippet name:</td> <td valign="top">Stefan's Chat - pre parsing display</td> </tr> <tr> <td valign="top">Eternal ID of this version:</td> <td valign="top">#1012236/1</td> </tr> <tr> <td valign="top">Text MD5:</td> <td valign="top" align="right">edb7f1ba11c2585fb5788906fe0badfb</td> </tr> <tr> <td valign="top">Author:</td> <td valign="bottom">stefan</td> </tr> <tr> <td valign="top">Category:</td> <td valign="bottom">javax / a.i.</td> </tr> <tr> <td valign="top">Type:</td> <td valign="top">JavaX source code (desktop)</td> </tr> <tr> <td valign="top">Public (visible to everyone):</td> <td valign="top" align=right>Yes</td> </tr> <tr> <td valign="top">Archived (hidden from active list):</td> <td valign="top" align=right>No</td> </tr> <tr> <td valign="top">Created/modified:</td> <td valign="top" align="right">2017-11-26 11:27:19</td> </tr> <tr> <td valign="top">Source code size:</td> <td valign="top" align="right">15876 bytes / 495 lines</td> </tr> <tr> <td valign="top">Pitched / IR pitched:</td> <td valign="top" align="right">No / No</td> </tr> <tr> <td valign="top">Views / Downloads:</td> <td valign="top" align="right">1002 / 1463</td> </tr> <a name="refs"> <tr> <td valign="top">Referenced in:</td> -</td> </tr> </table> </body></html>