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

9
LINES

< > BotCompany Repo | #747 // OLD main translator (use !7 now)

JavaX translator [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1436L/9K/34K).

!7

p {
  S s = loadMainJava();
  s = "!636 (modern)\n" + s;
  //s += "\n!1001045";
  // etc
  saveMainJava(s);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 25 computer(s): ajlfxifxfcul, aoiabmzegqzx, bhatertpkbcr, cahelewubzku, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, jlatgrcjtklg, jtubtzbbkimh, liwcxgsjrgqn, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, tzxuzeklshpk, ufhdzwgrioxs, vouqrxazstgt, xinetxnxrdbb

No comments. add comment

Snippet ID: #747
Snippet name: OLD main translator (use !7 now)
Eternal ID of this version: #747/4
Text MD5: 04e0f70f6b94e8e6b5faa7a2fc161ba0
Transpilation MD5: 4a8ea6508202f27f89a270cf2ae0ec87
Author: stefan
Category:
Type: JavaX translator
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-17 22:34:42
Source code size: 121 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 760 / 31582
Version history: 3 change(s)
Referenced in: #712 - Linux+Android: Find gateway (e.g. your phone) and connect to it
#748 - Presence
#749 - Presence improved
#750 - x25.java (JavaX)
#752 - JavaX Outdated "Conservative" Standard Translator (see #759/#7 for current)
#755 - HTTP Proxy (developing)
#1000436 - Android/desktop: Web server test using NanoHTTPD on port 8888, shortened
#1000536 - Perform javaTok on snippet
#1000550 - Magnetize image (current)
#1000573 - Run program and upload output as NT snippet (developing)
#1000763 - Swing: Show a list of strings
#1000764 - Presence
#1000768 - Understander of concepts (v1)
#1000772 - Prolog spike
#1000776 - Kill Switch!
#1000777 - Send kill switch to program
#1000780 - Send "hello!" to program
#1000785 - Print my IP addresses
#1000796 - Port scan!
#1000797 - "set" - Run program with changed variables [old]
#1000802 - Program scan!
#1000803 - Program with a hello message on server port
#1000809 - Answer questions
#1000816 - LogView test - FREEZES because of insertString BUG!
#1000817 - AWT error test
#1000819 - Console test
#1000821 - LogView test 2
#1000822 - TextArea LogView test that ALSO hangs...
#1000823 - LogView test - fixed by putting UI creation in awt { }
#1000824 - Redirecting stdout+stderr to LogView test
#1000831 - nohup test
#1000834 - Run dialog (UI test)
#1000836 - Run dialog with javax nohup action
#1000846 - HTML parsing
#1000849 - Get names of some parties from pouet (with links, static)
#1000852 - Get names of some parties from pouet (live, random letter)
#1000854 - Run program and upload output as NT snippet (attempt 2)
#1000857 - Google search test
#1000865 - MediaRecorder Test (Android)
#1000874 - Run another program with Swing Java Console
#1000878 - Show number of computers
#1000884 - BlockDiffer test
#1000885 - Answer questions 2
#1000886 - Answer questions 3
#1000887 - Answer questions 4
#1000890 - "what time is it" (test case on #1000887, works)
#1000897 - Swing: Single-line text entry
#1000899 - Test single-line input
#1000901 - A snippet that lists the questions another one can provide answers (works)
#1000902 - Testing SelectFinder (find snippet types)
#1000907 - Extract questions, make snippets for them
#1000914 - slte function test
#1000919 - Swing: Answer a question
#1000920 - JLabel with HTML content
#1000924 - Transpile snippet on server & run (admins only =)
#1000927 - Delayed AWT update test
#1000928 - Chat client
#1000930 - Test startChatServerIfNotUp
#1000933 - Thread bridge example
#1000939 - Chat sucking test
#1000941 - YouTube video finding test
#1000944 - Recursion when printing in System.out handler :)
#1000945 - Test auto-reportToChat on every print - hopefully no recursion?
#1000948 - List all threads (short method)
#1000951 - Test autoReportToChat
#1000953 - "brain on": Enable consciousness
#1000954 - "brain off": Disable consciousness
#1000958 - Self-awareness experiment - find last programs run
#1000964 - Test installHelloMessage
#1000965 - Bla
#1000971 - Hello world with stay-alive (for testing autoLogToChat)
#1000974 - Dialog with delayed answers
#1000976 - Dialog 3 (sucking chat for answers)
#1000977 - Answer questions on chat
#1000978 - Test suckFromChatNoHistory
#1000985 - swing-top - List running programs & bots (old)
#1000986 - Sentences as patterns
#1000987 - Multiset matching for prediction
#1000990 - Predict snippet continuation according to previous snippets (developing)
#1000991 - Token prediction with graphical display
#1000995 - Token prediction, multiple predictors
#1000996 - Diff two snippets
#1001000 - Token prediction, multiple predictors (improving architecture)
#1001004 - Swing: Snippet editor with predictor (v1)
#1001009 - Upload github zip to TinyBrain
#1001011 - Token prediction, multiple predictors (adding zip support)
#1001023 - Test loadLibrary (we have two data servers now...)
#1001025 - Token prediction, multiple predictors (new architecture, developing)
#1001033 - Token prediction, multiple predictors (v4, including patterns, developing)
#1001037 - Token prediction, multiple predictors (v5, developing)
#1001040 - ps - list running programs on console
#1001048 - Test readLocally+saveLocally
#1001050 - Show data directory for a program
#1001053 - Memory cells (developing)
#1001054 - Simple function call interpreter (developing)
#1001057 - Test interpret function
#1001059 - Clear data directory of a program
#1001060 - AI Engine (developing)
#1001069 - hasInvocation bug test
#1001071 - Double inner class test - it's legal JavaX =)
#1001072 - Answer questions on port 5000
#1001073 - Test readLine() (reading System.in)
#1001077 - Telnet replacement using the standard console
#1001079 - Android: Test EditText
#1001081 - Android: Talk to the android
#1001083 - Answer questions on port 5000 and console
#1001085 - Swing: Talk to the android
#1001086 - Test talkTo
#1001088 - Print chat stats and last 10 lines
#1001092 - Rule-based android
#1001097 - Learning android
#1001100 - Learning android with persistence
#1001102 - Learning android that can list its rules
#1001105 - Java programming android (developing)
#1001109 - Local storage android (texts + images)
#1001110 - x26.java (JavaX)
#1001115 - Online check! (verifies 3 servers)
#1001117 - Online bot!
#1001120 - Speaking VM (developing)
#1001121 - RuntimeMXBean test (get current process ID)
#1001125 - "public on": Enable public communication
#1001126 - "public off": Disable public communication
#1001128 - Android: Speech recognition test (works with JavaX 26 :)
#1001129 - Android: Speech recognition test, trying muting the beep sound & endless looping
#1001130 - Android: Direct SpeechRecognizer test
#1001131 - Android: Direct SpeechRecognizer test with muting & repeat, english (with error 8...)
#1001133 - Information forwarding android (developing)
#1001134 - Find supported questions in an android's source code
#1001140 - List running bots on console
#1001143 - Test showText_fontSize
#1001145 - Test latestInstalledJavaX
#1001146 - Tel bot (list running bots on console, allow to connect to one)
#1001148 - x27.java (JavaX)
#1001149 - Rename bot
#1001150 - Compiler Bot (loves to compile)
#1001163 - x27.jar maker module (from #1001148)
#1001168 - Java 7 test
#1001169 - Program runner (for local and remote clients)
#1001175 - Android speech output (internal engine)
#1001176 - Windows: Find gateway (e.g. your phone or VirtualBox host) and connect to it
#1001178 - Networking module (developing)
#1001182 - Talk Bot
#1001186 - Talk Bot 2
#1001187 - Console Bot (developing)
#1001188 - "pcall {" (JavaX translator, NOT the one used)
#1001195 - Lisp/NL logic engine tester (developing)
#1001200 - Get PATH variable (tested on Linux)
#1001201 - Program Runner Bot (for analysing the results of program runs)
#1001202 - Helper Bot (helps other bots with answering questions, developing)
#1001206 - Translator Runner Bot
#1001207 - Misc Bot
#1001211 - Process execution bot
#1001212 - Conversation improvement bot
#1001213 - List all Java windows/frames
#1001215 - Update Snippet Cache Bot with latest changed snippets
#1001216 - Snippet Cache Bot
#1001218 - Reboot Bot (Linux/Windows)
#1001221 - Put latest JavaX jar on desktop (Windows)
#1001222 - Public Comm Bot
#1001223 - Talk to Remote Public Comm Bot
#1001225 - Check my host name(s) by contacting myself
#1001227 - Test contactMyself
#1001228 - Bridge Bot (bridges two machines!, developing)
#1001230 - Make screen shot and show in window
#1001231 - Find supported questions in all androids (developing)
#1001236 - find3 test
#1001237 - Snippet Cache Bot v2
#1001242 - Understander of concepts ("digit", v2)
#1001245 - OK Collector Bot (LIVE)
#1001247 - OK Sender Test
#1001249 - Get # of OKs on server
#1001253 - Android speech output (good version)
#1001257 - Test makeAndroid3
#1001258 - OK Sender Bot (does nothing but send OKs to server if you type "ok")
#1001259 - Android: Direct SpeechRecognizer test with muting & repeat, fixed, german
#1001260 - Speech test
#1001265 - Try playing .ogg (desktop, JavaLayer)
#1001268 - Desktop: Speech test with playing
#1001270 - Android Play MP3 test
#1001272 - Test androidPlayMp3
#1001274 - Android: Speech test with playing
#1001276 - Unterhaltung
#1001278 - Unterhaltung mit Leopold 2
#1001280 - Unterhaltung mit Leopold 3 (refactoring)
#1001289 - Android: Random Smiley Animation
#1001290 - Unterhaltung mit Leopold 4 (with pictures)
#1001294 - Leo Bot
#1001300 - Android speech output, german, testing
#1001306 - Emoticons test
#1001307 - Conversations Logger Bot
#1001311 - Desktop: Unterhaltung mit Leopold 5 (with central bot)
#1001316 - Sleep.
#1001317 - Dependent VM
#1001318 - Test case (start dependent VM and check if it reports its PID and program ID)
#1001319 - Get your own VM inspection port
#1001321 - Test Result Collector Bot
#1001324 - Heart (silent because console is a little stupid - but definitely active)
#1001325 - Heart (loud)
#1001327 - Kill & zip a bot
#1001328 - What programs are running Bot (returns program IDs)
#1001334 - Kill a program and wait until it is dead
#1001337 - Bot Receiving Bot
#1001339 - Test backupAndCleanProgramDir
#1001341 - Kill, zip & upload a bot
#1001345 - Channel Bridge Bot (developing)
#1001348 - Identity Manager (LIVE)
#1001349 - List incoming bots
#1001351 - Kill, zip, upload & MOVE a bot
#1001353 - Restart a program
#1001354 - Kill a program
#1001357 - Accept all incoming bots (seems a little brave ^^)
#1001358 - Jumping Heart (jumps between two machines)
#1001359 - Auxiliary for hotwire test case
#1001360 - Test case: hotwire and programID
#1001362 - Named thread: thread "bla" {
#1001363 - Multi-program VM
#1001364 - Periodic rebooter (once every 24h)
#1001367 - Jumping Heart (jumps between two machines) with hyperMove (faster)
#1001369 - Boss Bot (has up-to-date snippet contents)
#1001370 - x28.java (JavaX)
#1001371 - x28.jar maker module (from #1001370)
#1001374 - Add Kilroy to JList (code for injection)
#1001379 - Always keep a pre-spun VM around
#1001382 - Joke Bot :-)
#1001383 - Boss Bot v2 (with continuous update, developing)
#1001384 - Master Bot (developing)
#1001387 - Count all threads (injectable program)
#1001388 - Injection test (count threads in VM)
#1001389 - Simple injectable program test
#1001390 - Minimal injection test
#1001391 - Super-simple injectable program test
#1001392 - Even more minimal injection test
#1001398 - format3 special case test (apostrophe)
#1001403 - Thread CPU time experimentation (ThreadMXBean)
#1001404 - Per-Thread CPU monitor
#1001406 - JavaX Splash Screen Test
#1001408 - getInstance test
#1001410 - Smart Editor (developing)
#1001413 - Smart Editor Watcher (developing)
#1001415 - Test SList
#1001417 - Text Bot (md5 -> text)
#1001420 - Write text on a bitmap test
#1001421 - Start Smart Editor + Watcher
#1001423 - Bot Starter (all in one VM)
#1001426 - Test ShowBigText
#1001430 - Swing: Bots List
#1001437 - swing-top: Bots table (developing)
#1001441 - Jumping Heart (jumps between two machines) with window
#1001443 - Open Firefox (Peppermint Linux)
#1001444 - List all non-daemon threads
#1001446 - Make screen shot, convert to 2-bit grayscale and show in window
#1001448 - Make screen shot, convert to 1-bit grayscale and show in window
#1001449 - Make screen shot, convert to 3-bit grayscale and show in window
#1001457 - Log Viewer for Smart Editor
#1001464 - OS Sensor
#1001467 - Move the OS Sensor around
#1001468 - OS Sensor 2: OS Sensor with Memory
#1001469 - Move OS Sensor 2 around
#1001472 - Kill OS Sensor 2
#1001474 - Start Windows XP in VirtualBox
#1001485 - Get coordinates of image Bot
#1001487 - Get current code line translator
#1001489 - Test getCurrentCodeLine
#1001490 - Print identity of script (from Identity Manager)
#1001492 - Self-moving OS Sensor
#1001493 - Bot Ref Bot
#1001494 - Answer Questions Bot (developing)
#1001506 - Singular & plural
#1001507 - Singular & plural (without lisp)
#1001508 - Singular & plural (v3)
#1001510 - Singular & plural (v4, with include)
#1001511 - Synonyms
#1001513 - Synonyms (with include)
#1001514 - Mental nodes (developing)
#1001515 - Collector (developing)
#1001517 - Object Counter Bot (developing)
#1001519 - Sequences of NL instructions (developing)
#1001521 - Swing: Test Courier font & two colors
#1001525 - Mark opening and closing tokens in JavaX source
#1001526 - Swing: Courier New?
#1001531 - Timeless Question Answerer - developing
#1001533 - Structure Holder (developing)
#1001541 - Bot web chat test
#1001542 - Indent Java Test Case Bot - developing
#1001545 - Test sayInWebChat
#1001546 - Echo Bot (web chat)
#1001556 - Signature test
#1001558 - Loading private key test
#1001559 - Delete computer's standard key pair
#1001569 - List security providers (crypto algorithms) on device
#1001570 - Upload list of security providers as snippet
#1001572 - Test getProgramOutput
#1001575 - Remote Controlled Bot (developing)
#1001578 - Leo Bot Web Chat Gateway
#1001579 - Translation Riddle
#1001587 - Test renameVM
#1001589 - Tunnel signed command to remote bot
#1001591 - Test badly signed message
#1001592 - Test toLines/fromLines (last line break)
#1001594 - Test tunnelToRemoteBot
#1001595 - Shared VM (short version)
#1001596 - Test Android
#1001597 - Test: Inject new android into Shared VM and connect to it
#1001599 - Inject per-thread CPU monitor into Shared VM (chasing the 100% CPU bug!)
#1001600 - x29.java (JavaX)
#1001601 - x29.jar maker module - deploys into {userhome}/.javax
#1001603 - Multi Assoc Bot Clone
#1001604 - Print my program ID
#1001605 - "include" test (hotwire with outer program id)
#1001608 - Aibo! (Great for making screenshots)
#1001611 - Swing: Show arbitrary Java list as table
#1001614 - Swing: Test dataToTable
#1001620 - Extract class from source snippet (developing)
#1001640 - Try to make a source compilable (developing)
#1001646 - Test addToConsole
#1001652 - Remote Bots Up?
#1001655 - Central Server Up?
#1001661 - Find active component (text field or other, in current VM)
#1001662 - Efficient Input Storer Bot (Compressing Data)
#1001669 - File size watcher (big text)
#1001675 - Add bot to multi-port test
#1001679 - Test sendToLocalBot with sub-bot
#1001680 - swing-top 2: Bots table (with sub-bots)
#1001683 - Web chat client (developing)
#1001685 - Clock times (works!)
#1001694 - Points (developing)
#1001699 - Botifier (developing)
#1001700 - Quick Botifier
#1001702 - Test printing "\n" on Windows (and all other platforms)
#1001704 - Simple List Bot
#1001706 - User Request List Bot
#1001708 - Telnet to local bot (needs arguments)
#1001709 - Execute "talk to bot" commands from User Request List Bot
#1001714 - Inject Public Comm Bot to local Bot VM
#1001716 - Test structure() with classes and exceptions
#1001718 - Run a script in bot VM (takes arguments)
#1001720 - List injections (in all VMs)
#1001722 - Thing Knower Bot (developing)
#1001729 - Show console for other process (developing)
#1001731 - Show console for other process (simple version)
#1001734 - Get Active Swing Component Bot (uses multiport)
#1001738 - Get active Swing component (search all VMs)
#1001743 - Test getInjectionID
#1001749 - Start Bot VM
#1001752 - Get selected table line (search all VMs)
#1001758 - Get Selected Table Line Bot (searches all VMs at every request!)
#1001759 - Test findBot
#1001760 - Quick Talk Window (talk to bot selected in swing-top 2, no actual functionality yet)
#1001764 - Test getBotNameFromSnippet
#1001766 - My favorite bots
#1001768 - Who Is Online Bot
#1001769 - Ping 10 - ping server every 10 seconds to show we're online
#1001775 - Test vgrid
#1001776 - Print "name" getName() of all Swing components (in a VM)
#1001778 - Print "name" getName() of all Swing components (scanning all VMs)
#1001782 - HTML making bot (test)
#1001784 - Connect an http() bot as web server
#1001785 - HTML Time Bot
#1001787 - Quick Talk Window 2
#1001803 - Test getBattery
#1001804 - Test backtick echo
#1001806 - Translator for #1001805
#1001813 - Serve HTTP on port 80
#1001816 - Translator for #1001814 ("Hit Log")
#1001819 - Quick Talk + Bots Table (together in a single frame)
#1001824 - Test calling WMIC on Windows
#1001830 - New function adder (using tokenizers, developing)
#1001834 - Translator for #722
#1001849 - Web server for all HTML bots (port 80, with white list, LIVE)
#1002006 - Examples JavaX/Python (output of #1002005)
#1002100 - Upload github zip to TinyBrain (mcheese/cheesebase)
#1003872 - Integrating #759 in One Program
#1003874 - Backup of #759 Before Integration
#1004091 - 759 with new loadClasses (spike)
#1006724 - Backup of #759 before switching to higher-level-translation
#1007961 - Android/desktop: Web server test using NanoHTTPD on port 8888, shortened
#1007972 - Disecting the NanoHTTPD Server
#3000033 - Contents of http://tinybrain.blog.de
#3000127 - An untitled snippet
#3000128 - Temp program by 1001628
#3000129 - Temp program by 1001628
#3000130 - Temp program by #1001628
#3000133 - Contents of http://tinybrain.blog.de
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)
#3000386 - Temp program by #1001628