Warning: session_start(): open(/var/lib/php/sessions/sess_itinigb4j0ngq4v2ne8p1elc87, 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
GazelleHost + Stem [backup before multiple databases] [1034637]

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

711
LINES

< > BotCompany Repo | #1034637 // GazelleHost + Stem [backup before multiple databases]

JavaX (incomplete)

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_nlp47nqqccro0iftn9qgskqc73, 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)","1000750":"base64encode","1000828":"nohup function","1000829":"isWindows","1000934":"class Q (LIVE, runnable queue, new version without idle thread)","1001055":"assertEquals - not using structure() for making the message anymore [saving code]","1001106":"showText function","1001116":"sleepSeconds","1001326":"programID","1001333":"sameSnippetID","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001733":"setFrameTitle","1001820":"run (hotwire and callMain)","1001899":"asSet - makes a guess whether to use TreeSet or HashSet. also drops null elements","1001913":"unnull","1001931":"cleanUp - try to clean up a program\/object\/class","1001954":"getString - getOpt with cast to string","1001992":"str function (=String.valueOf + extensions)","1002104":"loadTextFileFromZip","1002288":"printStackTrace","1002348":"nempty - not empty","1002692":"mc method - get main class of program","1002835":"swic - synonym of startsWithIgnoreCase","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003310":"setText - more flexible shorthand for JTextComponent\/JLabel\/JButton.setText() - uses AWT thread (and waits)","1003312":"jbutton - extended synonym of newButton","1003329":"cic - short for containsIgnoreCase","1003379":"setFrameContents","1003382":"ll - synonym of litlist (literal list)","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1003516":"maximizeFrame - better in non-AWT thread (so it can wait for the maximization)","1003546":"centerAndEast (make BorderLayout)","1003549":"disposeWindow","1003551":"imageIcon - make ImageIcon from image ID or BufferedImage","1003587":"setFrameIcon - set JFrame's icon to a snippet image","1003656":"installTrayIcon - takes image ID and menu item params","1003771":"psI - synonym of parseSnippetID","1003781":"restart - clean-restart VM's main program (in new Java VM)","1003859":"containsOneOf - possibly slow with array as 2nd argument; fast with Set","1004075":"swing - extended synonym of swingAndWait","1004219":"Pair - value pair; sorted by a, then b","1004220":"pair - make value pair","1004386":"northAndCenter (make BorderLayout)","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1004683":"doEvery - install a java.util.Timer","1004863":"\"Concepts\" (persistent Java objects, include)","1004877":"cleanExit - exit through a special RuntimeException (CleanExit)","1005111":"getPrintLog - get snapshot of program's print log","1005249":"cdelete - partial synonym of deleteConcepts","1005390":"class Rect - persistable version of Rectangle","1005447":"javaxCodeDir","1005668":"getWindow (get window\/frame of Swing component)","1006045":"findConcepts - synonym of findConceptsWhere","1006060":"copyImageToClipboard","1006168":"shootWindow - bring window to front, take screenshot of it","1006175":"jCenteredLabel - synonym of jcenteredLabel","1006226":"jline - line components up left to right","1006244":"showWindow","1006276":"gzipString","1006407":"firstThat - find first element in list that matches a predicate","1006524":"alwaysOnTop - make frame\/window of component always on top","1006744":"deleteFile","1006833":"infoBox - synonym of infoMessage - show info message in top-right corner","1006836":"setAlwaysOnTop - synonym of alwaysOnTop - make frame of component always on top","1006898":"jtransparent_recursive - setOpaque(false) recursively for all JPanels","1007144":"hmsWithColonsAndMS - hour, minute, second, milliseconds in \"hh:mm:ss:msm\"","1007362":"fileExists - also true for a directory","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1007911":"componentPopupMenuItem - adds to the menu if it already exists","1008474":"newFile - extended version of new File(...) - concatenates multiple parts","1008484":"allConcepts","1008942":"tlft - synonym of toLinesFullTrim","1009257":"cset - set fields in Concept object (with notification of DB)","1009441":"setOpt_raw function (set field by reflection, ignore if it's a Map)","1009552":"startQ","1009661":"onWindowClosing","1009810":"toRect","1009832":"change - indicate change in mainConcepts","1009936":"setBounds - set bounds of component","1010502":"renderUserThreadsWithStackTraces","1010603":"myJar - get jar file or classes directory for running program","1010626":"callOnLoadMethods - call _onLoad*","1010838":"printLog - get program's print log (does not include calls to System.out.println)","1010852":"isMain - synonym of isMainProgram - false if we're hotwired by another program","1011916":"printFileInfo","1012410":"jsonEncode","1014539":"awtColor - Color from hex. TODO: shortened version with 3 chars","1014546":"setBackground","1014906":"vm_generalMap_put","1014944":"getBounds","1015171":"hideWindow","1015182":"withBorder","1015193":"appendToFileName - synonym of fileAppendToName","1015356":"renderFileInfo","1015554":"LiveValue","1015811":"jLiveValueLabel","1015892":"DynModule [base class for dynamic modules]","1016127":"dm_getStem - now also takes a service ID","1016134":"setOpaqueBackground","1016184":"firstIntAsString - get first int in string (or null)","1016205":"DynPrintLog - show program's print log as visualization - new version with fast log view","1016413":"printJavaVersion","1016875":"StefansOS_ConnectToServer","1016994":"centerAndEastWithMargin - synonym of centerAndEastWithMarginInbetween","1017978":"copyFileVerbose - synonym of copyFileToFileVerbose","1018419":"vmBus_onMessage","1018437":"transpileOnServerWithErrorWindow","1018658":"fileInSubDir","1019014":"renderComponentToImage","1019390":"jImage_scaledToHeight","1019506":"haveMuricaPassword (historical name since when the server was in 'murica)","1019618":"isFile","1019625":"mapNonNulls - map, then nonNulls","1019646":"westCenterAndEastWithMargin","1019941":"toolTip - synonym of setToolTipText","1020255":"jPopDownButton_noText - pop down button with just a triangle (no text)","1020268":"isShowing - synonym of isComponentShowing","1020383":"fontSizePlus - increase JComponent's font size","1020440":"tempInfoBox - infoBox as AutoCloseable","1020819":"conceptsFileName","1020883":"_defaultClassFinder","1020890":"list (for concepts)","1020902":"csetAll","1021524":"profileToConsole - synonym of poorMansProfileToConsole","1021743":"IF1 - function with one argument (interface version)","1023032":"IF0 - function with no arguments (interface version)","1023427":"printWithMS - synonym of printWithMSTime","1024021":"with - synonym of withComputing","1024212":"showText_fast_noWrap - use JFastLogView_noWrap","1024897":"toIF1","1024907":"copyToClipboard - text\/image\/file","1025093":"nFiles","1026521":"appendToBaseName - synonym of appendToFileNameBeforeExtension","1026604":"onBoundsChange","1026995":"pqO - synonym of platformQuoteOpt","1027011":"nBytes","1027549":"registerConcept - register a concept with mainConcepts","1027606":"newConceptsWithClassFinder","1028019":"jCheckBoxMenuItem_dyn - with lambda getting value on show","1029563":"snippetUpdateConnector [sends to VM bus]","1031323":"mcDollar - \"main$\" or similar depending on main class name","1031521":"swingConfirm - synonym of confirmOKCancel","1031611":"ccallOpt - call a concept's method by reflection. finds and uses an enter() method. actually works for everything","1031730":"renderStackTrace - synonym of stackTraceToString","1032126":"postBinaryPageToFile - shortest POST version (takes url, parameters)","1032221":"allJFrames - synonym of allFrames","1033398":"ymdMinusHMS - synonym of ymd_minus_hms","1033401":"ThreadPool [seems to work]","1033421":"makeUndecoratedFrame","1033448":"activateFrame_v3 - bring frame to foreground [iconify first, then restore, dev.]","1033449":"minimizeWindow","1033450":"currentProcessCommand - which java.exe are we running?","1033454":"isNonEmptySingleZip_byMagicHeader","1033457":"getBytecodePathForClass","1033465":"installWindowDragger - registers on left mouse button by default","1033472":"installWindowResizeDraggerOnBorder","1033473":"copyLocalLog","1033484":"gazelle_wavySpacer","1033808":"hideTrayIcon - synonym of removeTrayIcon","1033809":"systemExit","1033817":"maximizeOrRestoreFrame - better in non-AWT thread (so it can wait for the maximization)","1033818":"isExtendedStateNormal","1033819":"onFirstShowing - synonym of onFirstComponentShow","1033844":"flattenToList - best flattening function. unpacks object arrays and iterables recursively, drops nulls","1033849":"saveInImageDirectoryWithCounter","1033866":"TrayIconLastPosition - record coordinates when user hovers over tray icon","1033900":"resizeImageIcon","1033904":"jimageButtonScaledToWidth - for non-animated only (uses smooth scaling)","1033907":"gazelle22_imagesSubDirName","1034043":"zipFileToJSONFingerprint_md5 - list each file name with md5","1034092":"ComputerCountListener","1034148":"G22Utils","1034180":"tempProgressBar_addToWindowIfPossible","1034205":"onWindowDeiconified","1034301":"G22MasterStuff - global (inter-project) functions in a Gazelle process","1034303":"tempInfoBoxNoHide - synonym of tempInfoBox_noHide","1034307":"identifiers - synonym of tok_identifiersInOrder","1034308":"cgetAll","1034348":"tempSetButtonImages","1034349":"tempDisableButtons","1034358":"Zip4j_MergeZipFilesWithFilter [OK]","1034360":"countFilesInZip","1034413":"renameFileVerbose_assertSuccess","1034414":"deleteFileVerbose_assertSuccess","1034512":"printRunningThreads"} 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 #1033891

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

-
Snippet ID: #1034637
Snippet name: GazelleHost + Stem [backup before multiple databases]
Eternal ID of this version: #1034637/1
Text MD5: 37065f8a6fb74a1468991d51fdaaedf5
Author: stefan
Category: javax / gazelle v
Type: JavaX (incomplete)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-25 21:24:49
Source code size: 20888 bytes / 711 lines
Pitched / IR pitched: No / No
Views / Downloads: 605 / 607
Referenced in: