@SocraticPhoenix Right, but it should just be a shorthand for whatever string follows "#TIO " so that we can add boilerplate code before the actual code.
@Adám I've added some of the features you requested to the bot, but Thomas Ward is currently hosting the TIOBot under his AquariusOne account. I want to try and add/test all the features before pushing it
@SocraticPhoenix we can, or we can make it its own Java file with constants that get included in the core runtime by importing them, and we edit the static values in the Java file. I have several python scripts where I have program_config.py which defines all the config arguments as static variables (complete wtih detailed comments on what is what), and that's imported throughout the program.
@ThomasWard that's fine; To get the auto join process fully featured is going to take a bit longer, but I should have a jar up soon that takes a -config=<file> flag and uses a JSON like {"email":"whatever@somewhere.com","password":"pa$$word"}
and google driving sync is arguing with intellij indexing and editing is going insane -_-
@Socratic Phoenix
Main.java:1: error: reached end of file while parsing
public class Main { public static void main(String... args) { System.out.println("Hello World");
^
1 error
Error: Could not find or load main class Main
Real time: 0.765 s
User time: 0.634 s
Sys. time: 0.077 s
CPU share: 92.99 %
Exit code: 1
I mean, instead of having to read line by line and handle it, just read teh JSON, and get the keys out of the returned dict, then return that as a set.
@SocraticPhoenix Sorry I left so abruptly. Had to go home for the weekend. I'll be back at work Monday morning. Meanwhile, I'll only be online intermittently. So the bot in here is still 0.0.2?
@Adám money is good; I like money... But honestly its a hobby project so its cool, and technically Hyper made one first but then couldn't access it...
@Adám I did test it and pushed the .jar but then @ThomasWard disappeared to make a python implementation. We're trying to get auto push and auto restart working
@Thomas Ward
File ".code.tio", line 1
print("Hello, Noobs!")
^
IndentationError: unexpected indent
Real time: 0.161 s
User time: 0.137 s
Sys. time: 0.019 s
CPU share: 97.03 %
Exit code: 1
@Thomas Ward
File ".code.tio", line 1
print("Test")
^
IndentationError: unexpected indent
Real time: 0.148 s
User time: 0.120 s
Sys. time: 0.023 s
CPU share: 96.85 %
Exit code: 1
@Socratic Phoenix
File ".code.tio", line 1
print("hi")
^
IndentationError: unexpected indent
Real time: 0.144 s
User time: 0.111 s
Sys. time: 0.023 s
CPU share: 93.05 %
Exit code: 1
@Adám because it's meant to be a command alias and I chose # to start commands... I suppose it doesn't really have to be that way; I can change it if you want
@Adám I guess that makes sense, the only thing is that opens up the bot responding to things that may not have necessarily been intentional... but sure I can add that
@Socratic Phoenix
File ".code.tio", line 1
print("hi")
^
IndentationError: unexpected indent
Real time: 0.176 s
User time: 0.112 s
Sys. time: 0.046 s
CPU share: 89.51 %
Exit code: 1
@Adám
line(1,0) : error AC0505: error (LENGTH ERROR) executing line "⎕←1 2 ⎕←3 4"
^
Complete: 1 error.
DOMAIN ERROR: There were errors processing the script
'#'⎕NS ⎕FIX'file:///home/runner/.bin.tio.dyalog'
∧
Real time: 0.030 s
User time: 0.008 s
Sys. time: 0.019 s
CPU share: 88.65 %
Exit code: 0
@ThomasWard I have done the auto-login stuff and the persistent aliases stuff (binary not uploaded yet...), how do you want to handle the auto-push? Query github releases every once and a while? Bash script wrapper? Python script wrapper? I could write a java wrapper if you want...