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

1046
LINES

< > BotCompany Repo | #1034316 // Gazelle Screen Cam / Gazelle 22 Module [backup]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 4324K of libraries. Click here for Pure Java version (31276L/171K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_ll1kfa4uuusp750158n57obm7a, 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)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000826":"withLabel","1001101":"\"getOpt\" function (get field by reflection, return null if not there)","1001141":"firstToUpper","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001598":"assertTrue - no longer accepts a function returning a boolean","1001822":"isChecked","1001992":"str function (=String.valueOf + extensions)","1002288":"printStackTrace","1002662":"isTrue - synonym of booleanValue","1002692":"mc method - get main class of program","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 \"\")","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003287":"onUpdate (for JTextComponent, JCheckBox and others)","1003310":"setText - more flexible shorthand for JTextComponent\/JLabel\/JButton.setText() - uses AWT thread (and waits)","1003312":"jbutton - extended synonym of newButton","1003382":"ll - synonym of litlist (literal list)","1003546":"centerAndEast (make BorderLayout)","1003638":"litorderedmap - create LinkedHashMap with items","1003647":"jtabs - make JTabbedPane","1003741":"iround - round to int","1004223":"loadImage2 - synonym of loadBufferedImage","1004386":"northAndCenter (make BorderLayout)","1004434":"jlabel - make JLabel with automatic tooltip and popup menu","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1004553":"ImageSurface","1004714":"withMargin","1004787":"assertSame - compare with ==","1004863":"\"Concepts\" (persistent Java objects, include)","1004934":"jMinHeight","1004957":"vstack function - synonym of vstack2","1004959":"withBottomMargin","1005060":"countConcepts","1005068":"deleteConcepts","1005246":"conceptsWhere - synonym of findConceptsWhere","1005292":"uniq - synonym of uniqueConcept","1005319":"SingleComponentPanel","1005426":"jCheckBox - make JCheckBox","1005718":"class Pt - persistable\/portable version of Point","1005756":"jhsplit - make horizontal JSplitPane","1005816":"mouseArea - return area around mouse pointer (Rect), unclipped","1006014":"jscroll - make JScrollPane","1006175":"jCenteredLabel - synonym of jcenteredLabel","1006226":"jline - line components up left to right","1006245":"infoMessage - show info message in top-right corner","1006319":"class ReliableSingleThread - triggers again reliably when one step is already running","1006542":"db - synonym of conceptsAndBot","1006626":"vstackWithSpacing - stack components vertically","1006636":"jvsplit - make vertical JSplitPane","1006642":"getText - get entered text\/selected item from JTextComponent or JComboBox (thread-safe)","1006699":"jcenteredlabel - synonym of jcenteredLabel","1006833":"infoBox - synonym of infoMessage - show info message in top-right corner","1006923":"jMenuItem - synonym of jmenuItem","1006935":"jFullCenter - uses the GridBagLayout trick","1006938":"intFromSpinner","1006954":"onChange","1007246":"westCenterAndEast (make BorderLayout)","1007247":"withLeftMargin","1007324":"New hotwire using outer JavaX for clients (LIVE)","1007328":"hstack function (layout components left to right, try to fill full height, dev.)","1007331":"hstackWithSpacing function (layout components left to right, try to fill full height, dev.)","1007362":"fileExists - also true for a directory","1007439":"lines - short for fromLines \/ toLines","1007450":"withTopAndBottomMargin","1007651":"onChangeAndNow - synonym of onUpdateAndNow (for JTextComponent, JCheckBox and others)","1007730":"fileSize - synonym of getFileSize - return file size or 0 if not exists","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1007876":"jfullcenter - synonym of jFullCenter","1008622":"indexConceptField - add index to a field of a concept class - idempotent","1009086":"setComboBoxItems - thread-safe","1009156":"joinWithComma - join with \", \" separator","1009257":"cset - set fields in Concept object (with notification of DB)","1009832":"change - indicate change in mainConcepts","1009867":"jspinner - synonym of jSpinner","1010136":"withLeftAndRightMargin","1010267":"singleComponentPanel","1010681":"fileName","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1013224":"setToolTip - extended synonym of setToolTipText","1013341":"awtEveryAndNow","1013787":"listWebCams","1014638":"jRaisedSection - make raised BevelBorder around component","1014662":"sortedByComparator","1015089":"jHigherScrollPane - includes space for horizontal scrollbar on pack()","1015211":"selectItem - for JComboBox or JList","1015215":"jComboBox - synonym of jcombobox","1015390":"isImageFile","1015554":"LiveValue","1015740":"northAndCenterWithMargins","1015811":"jLiveValueLabel","1015971":"dm_fieldLiveValue - live-value for a field in DynModule. should also work with transient fields","1016412":"javaVersion","1016848":"northAndCenterWithMargin","1016951":"jCenteredSection - jSection with centered title","1016994":"centerAndEastWithMargin - synonym of centerAndEastWithMarginInbetween","1017891":"componentPopupMenuItems - adds to the menu if it already exists","1018470":"dm_fieldLabel - label reflecting a module field","1018472":"rightAlignLabel","1018862":"dm_rst - make ReliableSingleThread for DynModule. automatically enters() before calling the runnable","1018941":"ownResource - synonym of _registerAutoCloseable","1019129":"RollingAverage (compact version with double[] array)","1019298":"uniq_returnIfNew","1019396":"dm_callOSOpt - call optional Stefan's OS function","1019800":"dm_q - get current module's queue, or add code to queue","1019826":"withRightAlignedButtons (below)","1019840":"withSideMargin - synonym of withLeftAndRightMargin","1019860":"verticalStrut - Box.createVerticalStrut","1019941":"toolTip - synonym of setToolTipText","1019947":"dm_reload - synonym of dm_reloadMe","1020255":"jPopDownButton_noText - pop down button with just a triangle (no text)","1020268":"isShowing - synonym of isComponentShowing","1020281":"makeForm3 - now uses JForm","1020440":"tempInfoBox - infoBox as AutoCloseable","1020856":"r_dm_q - dm_q as Runnable","1020864":"selectTab","1020879":"db_mainConcepts","1020887":"findWebCamByName","1020890":"list (for concepts)","1021146":"dm_checkBox - synonym of dm_fieldCheckBox. with label","1023106":"dm_onFieldChange - synonym of dm_watchField + dm_watchFields","1023390":"addTab","1023427":"printWithMS - synonym of printWithMSTime","1023971":"jTextArea_noUndo","1024021":"with - synonym of withComputing","1024556":"dm_spinner","1024617":"withLabelToTheRight","1024631":"dirPath - path of file's parent","1024765":"nImages","1024997":"dm_watchFieldAndNow - onChange is called in module queue","1025032":"mouseLocationPt - synonym of mousePointer","1025193":"FlexibleRateTimer","1025392":"dm_callStem - call a module's stem","1026103":"ConceptWithGlobalID","1026828":"picturesDir - synonym of imagesDir","1027048":"waitUntil - wait for condition, check in regular intervals, poll-wait","1028019":"jCheckBoxMenuItem_dyn - with lambda getting value on show","1028106":"dropTrailingBracketedCount","1028693":"updateEnclosingTabTitleWithCount","1028967":"dm_stem - synonym of dm_getStem","1029631":"Timestamp","1029669":"cmpAlphanumIC - synonym of cmpAlphaNum","1030467":"FileWatchService [OK]","1030726":"SimpleCRUD_v2 - create\/read\/update\/delete for a concept class with simple fields [Swing]","1030770":"onConceptChanges - synonym of onConceptsChange","1030793":"jTypedComboBox","1030813":"getSelectedItem_typed - for JList\/JComboBox","1031140":"conceptFieldLiveValue - LiveValue reflecting a concept's field. Not for Ref\/RefL fields!","1031316":"loadTextFileResource","1031472":"classLoader - synonym of classLoaderForObject","1032036":"microSymbol","1032139":"dm_liveValue - synonym of dm_calculatedLiveValue + dm_fieldLiveValue","1032481":"tsNow - now() as Timestamp [same as \"new Timestamp\"]","1032488":"bufferedImage - synonym of newBufferedImage","1033304":"hsplit - synonym of jhsplit","1033457":"getBytecodePathForClass","1033521":"screenCount","1033670":"ScreenCamStream","1033686":"DoubleFPSCounter - always shows counter for previous whole second","1033688":"tsNowPlusMS","1033692":"jPowersOfTwoSpinner","1033695":"dm_rcheckBox - dm_checkBox with smarter argument order","1033702":"nFrames","1033704":"dm_powersOfTwoSpinner","1033713":"nRegions","1033714":"FunctionTimings","1033715":"ciSorted - synonym of sortedIgnoreCase","1033716":"nsToMicroseconds - synonym of nanosToMicroseconds","1033725":"JGazelleVScriptRunner","1033773":"getMetaSrc","1033778":"centerAndSouthOrEast","1033780":"jTopOrLeftTabs - synonym of jLeftOrTopTabs","1033782":"dm_transientCalculatedToolTip","1033783":"dm_transientCalculatedLabel","1033790":"UIURLSystem - \"UI URLs\" (free-form case-insensitive URLs to navigate the UI) for Swing","1033800":"withSideAndBottomMargin","1033801":"withSideAndTopMargin","1033804":"borderlessScrollPane","1033805":"jscroll_centered_borderless","1033820":"scrollingTabs","1033829":"ScanlineBitMatrix - Scanline (runs) based implementation of BitMatrix. immutable","1033844":"flattenToList - best flattening function. unpacks object arrays and iterables recursively, drops nulls","1033852":"toScanlineBitMatrix","1033869":"AWTOnConceptChanges - successor of awtOnConceptChanges","1033875":"countIteratorAsList_incl - synonym of countIteratorToList_inclusive","1033904":"jimageButtonScaledToWidth - for non-animated only (uses smooth scaling)","1033905":"saveImageWithCounter","1033907":"gazelle22_imagesSubDirName","1033908":"allImageFiles - recurse","1033910":"JGallery - should rewrite","1033911":"WithToolTip","1033913":"ConceptsComboBox","1033918":"setSelectedItem - synonym of selectItem","1033920":"imageSurfaceOnLeftMouseDown","1033921":"replaceTabTitleComponent - replace title component in JTabbedPane by name","1033923":"tabComponentClickFixer - allow activating tab when clicking nested custom component","1033945":"horizontalStrut - Box.createHorizontalStrut","1033946":"comboBoxContainsItem","1033948":"withSideMargins - synonym of withLeftAndRightMargin","1033976":"GazelleV_LeftArrowScriptParser","1033981":"GazelleV_LeftArrowScript [LIVE]","1034000":"liveValueRSyntaxTextArea_bothWays","1034008":"ScreenShotMeta","1034022":"JLeftArrowScriptIDE","1034024":"jOnDemand - generate component only when shown - computes in AWT thread","1034027":"SnPSettings (Scale & Posterize)","1034028":"Gazelle22_ImageToRegions (BufferedImage -> BWIntegralImage -> regions)","1034036":"g22_renderPosterizedHighlightedImage","1034037":"g22_highlightRegion","1034039":"persistSelectedTabAsLiveValue (only grabs live value once)","1034042":"g22_runPostAnalysisLeftArrowScript","1034062":"JMiniJavaIDE","1034127":"BackgroundProcessesUI","1034132":"indexOfTabNameWithoutTrailingCount - also case-insensitive","1034133":"tabNames","1034147":"G22_TestScreenPanel [OK]","1034148":"G22Utils","1034152":"containsTabNameWithoutTrailingCount - also case-insensitive","1034170":"str_toMB_oneDigit","1034172":"screenNrContaining","1034181":"jCenteredRaisedSection - make raised BevelBorder around component","1034197":"linesOfCode_javaTok - lines of code without empty lines and comments (not rigorously tested but seems to work)","1034198":"withTopRightAndBottomMargin","1034204":"G22Challenge","1034206":"str_toKB","1034207":"JFilePathLabel - JLabel showing file path and allowing to open in file exporer","1034214":"G22ChallengePanel","1034255":"G22LeftArrowScript (script as a concept)","1034256":"G22RecognizerScript - synonym of G22Analyzer","1034284":"focusOnFirstShow - synonym of focusOnShow","1034285":"addTabs - fill JTabbedPane","1034288":"G22DatabasesPanel","1034305":"conceptsDirName","1034306":"jSimpleLabel - make JLabel without automatic tooltip and popup menu"} 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 #1033862

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

-
Snippet ID: #1034316
Snippet name: Gazelle Screen Cam / Gazelle 22 Module [backup]
Eternal ID of this version: #1034316/1
Text MD5: 4efddfa15a929567a92d9156a4ee5669
Transpilation MD5: 87de8611e98d3a315440d5d42be9ef10
Author: stefan
Category: javax / gazelle v
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-02 00:15:22
Source code size: 33472 bytes / 1046 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 768
Referenced in: