<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[05:43:12] ⇨ Joins: empathizes (~Wlocket1@96.30.71.208)
L2[09:52:02] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L3[09:52:47] <Forecaster> ?help help
L4[09:57:17] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) ()
L5[09:58:19] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L6[09:58:29] <Forecaster> ?help help
L7[10:03:00] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) (Client Quit)
L8[10:03:22] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L9[10:04:35] <Forecaster> ?help help
L10[10:04:49] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) (Client Quit)
L11[10:05:10] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L12[10:05:23] <Forecaster> ?help help
L13[10:05:48] <Forecaster> `help` matches String! => `help` Remainder: ``
L14[10:05:51] <Forecaster> huh
L15[10:05:59] <Forecaster> it's not a bug in the argument handler
L16[10:07:09] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) (Client Quit)
L17[10:07:32] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L18[10:07:44] <Forecaster> ?help help
L19[10:07:58] <Michiyo> ?help translate
L20[10:08:03] <Michiyo> lol...
L21[10:08:35] <Forecaster> it's adding a space somewhere, it's not in the help command which makes sense, what's left is the getArgument method
L22[10:09:11] <Forecaster> or it's when it's storing it
L23[10:09:46] <Forecaster> ?help help
L24[10:13:56] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) ()
L25[10:14:44] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L26[10:14:51] <Forecaster> ?help help
L27[10:15:10] <Forecaster> huh
L28[10:15:31] <Forecaster> the space is there right when it retrieves it from the object
L29[10:19:05] <Forecaster> Oh.
L30[10:19:34] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) (Client Quit)
L31[10:19:54] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L32[10:20:02] <Forecaster> ?help help
L33[10:20:11] <Forecaster> there we go
L34[10:21:30] <Forecaster> can also take this opportunity to make the help command output output syntax if available
L35[10:27:46] <PCL-Jenkins> Starting build #959 for job LanteaBot (previous build: SUCCESS)
L36[10:28:04] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) ()
L37[10:28:12] <PCL-Jenkins> Project LanteaBot build #959: SUCCESS in 30 sec: https://ci.pc-logix.com/job/LanteaBot/959/
L38[10:28:12] <PCL-Jenkins> * forecaster: - Enable quick enable/disable of debug output
L39[10:28:13] <PCL-Jenkins> * forecaster: Add syntax output to help command
L40[10:28:28] ⇦ Quits: MichiBot (~MichiBot@ip160.ip-192-99-104.net) (Remote host closed the connection)
L41[10:28:50] ⇨ Joins: MichiBot (~MichiBot@ip160.ip-192-99-104.net)
L42[10:28:50] Spock sets mode: +o on MichiBot
L43[10:36:34] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L44[10:36:53] <Forecaster> ?jiggle pie 25
L45[10:36:54] * ForeBot jiggles pie
L46[10:37:17] <Forecaster> hmmmm
L47[10:38:21] <Forecaster> Oh.
L48[10:38:23] <Forecaster> dammit
L49[10:38:58] <Forecaster> or wait, no this should work...
L50[10:39:02] <Forecaster> back to hmmmm
L51[10:39:29] <Forecaster> ?jiggle pie 25
L52[10:42:21] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) (Ping timeout: 198 seconds)
L53[10:42:33] <Forecaster> oh right, the pattern ruins it
L54[10:42:50] <Forecaster> and timeout because suspended for too long, dammit IRC
L55[10:43:55] <Forecaster> so it fails to match "25" because the pattern is `^(\\d+) `
L56[10:44:09] <Forecaster> and "25" has no space at the end
L57[10:45:02] <Forecaster> the question is do I add a space at the end of the argument, or spend who knows how much time trying to find a regex pattern that works but doesn't match a number with a period after it
L58[10:45:28] <Forecaster> hmmm
L59[11:17:22] <Forecaster> ^(\d+)(?: |$) should do
L60[11:17:50] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L61[11:18:05] <Forecaster> ?jiggle pie 25
L62[11:18:12] * ForeBot jiggles pie 25 times
L63[11:22:08] <ThePi​Guy24> ?jiggle Боб 12
L64[11:22:08] * ForeBot jiggles
L65[11:22:26] <ThePi​Guy24> u n i c o d e
L66[11:22:41] <Forecaster> you still have to quote it
L67[11:22:56] <Forecaster> same as yesterday
L68[11:23:04] <ThePi​Guy24> e
L69[11:23:16] <ThePi​Guy24> ?jiggle "Боб" 12
L70[11:23:40] <ThePi​Guy24> why <ForeBot> I cannot execute this command right now. Wait 51 seconds.
L71[11:23:48] <Forecaster> yep, there's a timeout
L72[11:24:12] <Forecaster> nobody uses this command, I just use it as a template or for testing
L73[11:25:12] <ThePi​Guy24> ?jiggle "Боб" 12
L74[11:25:12] * ForeBot jiggles Боб 12 times
L75[11:52:59] <PCL-Jenkins> Starting build #960 for job LanteaBot (previous build: SUCCESS)
L76[11:53:15] <PCL-Jenkins> Project LanteaBot build #960: SUCCESS in 17 sec: https://ci.pc-logix.com/job/LanteaBot/960/
L77[11:53:15] <PCL-Jenkins> * forecaster: Fix Integer matching
L78[11:53:16] <PCL-Jenkins> * forecaster: - Add ArgumentTypes class for consistent typing
L79[11:53:16] <PCL-Jenkins> * forecaster: Improve Translator
L80[11:53:26] <Forecaster> %restart
L81[11:53:26] ⇦ Quits: MichiBot (~MichiBot@ip160.ip-192-99-104.net) (Remote host closed the connection)
L82[11:53:30] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) ()
L83[11:53:44] ⇨ Joins: MichiBot (~MichiBot@ip160.ip-192-99-104.net)
L84[11:53:44] Spock sets mode: +o on MichiBot
L85[11:54:24] <Forec​aster> now translate ^ works with setting languages, in theory
L86[11:54:46] <Forec​aster> %translate ^ en de
L87[11:54:48] <MichiBot> now translate ^ works with setting languages, in theory
L88[11:54:55] <Forec​aster> or not
L89[11:56:28] <ThePi​Guy24> ?translate "Привет" ru en
L90[11:56:59] <ThePi​Guy24> %translate "Привет" ru en
L91[11:57:15] <Forec​aster> hm
L92[11:58:53] ⇨ Joins: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com)
L93[11:59:00] <Forecaster> ?translate kanin
L94[11:59:01] <ForeBot> [microsoft-translator-api] Error retrieving translation : Server returned HTTP response code: 401 for URL: https://api.cognitive.microsoft.com/sts/v1.0/issueToken
L95[11:59:04] <Forecaster> uh
L96[11:59:20] <ThePi​Guy24> oof
L97[12:00:22] <Forecaster> right, I don't have an API token for that
L98[12:01:08] <Forecaster> %translate kanin
L99[12:01:09] <MichiBot> ArgumentOutOfRangeException: 'from' must be a valid language
L100[12:01:16] <Forecaster> huh
L101[12:01:40] <ThePi​Guy24> ah the feeling of fixing something and breaking another
L102[12:02:01] <Forecaster> Michiyo can I have your api token for the translate thing?
L103[12:05:31] ⇦ Quits: ForeBot (~ForeBot@90-224-77-58-no600.tbcn.telia.com) ()
L104[13:09:04] <Amanda> I think they're freewhich is why Michiyo uses it
L105[16:44:23] <Michiyo> They are free, but I can give you mine
L106[16:44:44] <Michiyo> ummm, eventually
L107[16:44:53] <Michiyo> as this is a fresh windows install and I don't have my SCP client
<<Prev Next>> Scroll to Top