last day (48 days later) » 

6:51 PM
So even as room owner I can't allow TIOBot talking privileges?
 
7:41 PM
@SocraticPhoenix it hadn't joined chat here before. System didn't know how to handle it. Mods are the only ones who can add unpriv'd users though to privs.
 
TIOBot logged in!
 
#TIO help
 
yay it works :0
@SocraticPhoenix FWIW, bot's now up in multiple rooms now :0
i think :)
 
#TIO run shnap println(5)
 
7:44 PM
@Socratic Phoenix
5
 
yep
@SocraticPhoenix so I think the issue there was connection speed.
with this thing on a server, with a very nice uplink, things work well :)
 
@ThomasWard IM SO STUPID. Every thirty seconds it refreshes a local cache of the language list... In the listener thread... Auhg that's why it stalls sometimes
 
well there you go
time to move that elsewhere :P
asynchronous caching :P
 
Although connection speed would also speed that up
 
this too
though it explains why it hung for a minute a few minutes ago. Socket error was because of a partial timeout but related possibly.
That said, AquariusOne is literally just my friendly little sockpuppet, so he just sits there :P
 
7:48 PM
Depends on how the API does threading
 
well, true, but if it's that poor the API needs to run in an async method
one thread for the actual listener, one for the refresher
it's how Smokey handles so many tasks at once, multiple threads for the individual components
granted that's Python :p
 
No I mean the chat API. I'm using someone elses; if it handles connection and events in the same thread it could cause timeouts. I don't think it does tho
 
ahh, right. yeah that's fine.
Python, we use ChatExchange as the base and set up chat handlers slightly separate.
 
I use the same library but in java.. not sure if just same name or actually same
 
probably similar
but there's all sorts of odd things in ChatExchange
in Smokey, each room is its own listener thread.
so... :P
it's complicated.
we call CE its own brand of black magic
"it just works, has some minor issues but it works so leave it alone" :p
@SocraticPhoenix thanks for sharing the JAR, though, now we can always have a bot that's available for things, and I'm not that far away. And I have access to the box directly so I can make it do cool things :P
 
7:54 PM
Sure no problem
 
wonders about resource usage, checks free -m
wow, not bad for a Java program, 136MB footprint in RAM.
 
8:13 PM
waits for kaboom
:P
#TIO help
 
hrm
#TIO run python3 print("Hah!")
 
@Thomas Ward
Hah!
 
ah, there we go.
@SocraticPhoenix may want to make it look for #tio case-insensitive.
just a thought.
 
Yes I was thinking of doing that too
 
8:17 PM
where's your code, in the same repository?
there it is
@SocraticPhoenix do you use Gradle to build this, like Android programs ar ebuilt with?
 
@ThomasWard ye gradle; to get the executable it's the shadowJar task though, since that packages the libraries
 
8:33 PM
indeed.
well i trust you know more about java than me :P
it's been a while since I dabbled in Java ;P
you'd be better suited to make it case-insensitive
 
@ThomasWard I just pushed that fix to GitHub... haven't pushed the binary yet though :)
 
indeed. whenever you get to it :)
 
its up in releases now
 
cool i'll get it later
i'm in the middle of dinner :P
 
meh it's not like it's a rush :)
room topic changed to TIOBot: The resident home of TIOBot. GitHub Repository, Help Page (no tags)
room topic changed to TIOBot: The resident home of TIOBot. GitHub Repository: github.com/SocraticPhoenix/TioBot, Help Page: gist.github.com/SocraticPhoenix/bf98c72d0c1274acce76bc02ac6ee253 (no tags)
room topic changed to TIOBot: The resident home of TIOBot. GitHub Repository: github.com/SocraticPhoenix/TioBot, Help Page: gist.github.com/SocraticPhoenix/… (no tags)
 

  last day (48 days later) »