←2007-06-23 2007-06-24 2007-06-25→ ↑2007 ↑all
00:01:18 * ihope also calls upon himself
00:01:37 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: sys.stdout(y.group(0)))
00:01:44 <ihope> Jar breeze!
00:01:45 <bsmnt_bot> :ihope!n=ihope@tapthru/resident/ihope PRIVMSG #esoteric :Jar breeze!
00:01:51 <ihope> Quite wonderful.
00:01:51 <bsmnt_bot> :ihope!n=ihope@tapthru/resident/ihope PRIVMSG #esoteric :Quite wonderful.
00:01:57 <ihope> ~exec self.raw("QUIT")
00:01:58 <bsmnt_bot> :ihope!n=ihope@tapthru/resident/ihope PRIVMSG #esoteric :~exec self.raw("QUIT")
00:01:58 -!- bsmnt_bot has quit.
00:02:01 -!- bsmnt_bot has joined.
00:02:03 <pikhq> :sp3tt!n=sp3tt@80-162.cust.umeanergi.com PRIVMSG :Foo!
00:02:04 <pikhq> Damn it.
00:02:17 <pikhq> ~exec self.register_raw(r":sp3tt!n=sp3tt@80-162.cust.umeaenergi.com PRIVMSG \S+ :(.*)", lambda x,y: sys.stdout(y.group(0)))
00:02:18 <ihope> What were you hoping to accomplish there?
00:02:19 <oerjan> try group(1) then.
00:02:20 <pikhq> :sp3tt!n=sp3tt@80-162.cust.umeanergi.com PRIVMSG :Foo!
00:02:24 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: sys.stdout(y.group(1)))
00:02:27 <ihope> Akaka
00:02:27 <bsmnt_bot> Akaka
00:02:30 <pikhq> Just trying to see if I can fiddle with the matching.
00:02:34 <ihope> Cool.
00:02:34 <bsmnt_bot> Cool.
00:02:41 <ihope> ~exec self.raw("QUIT")
00:02:41 <bsmnt_bot> ~exec self.raw("QUIT")
00:02:42 -!- bsmnt_bot has quit (Client Quit).
00:02:44 -!- bsmnt_bot has joined.
00:03:06 <ihope> ~exec self.register_raw(r":sp3tt!n=sp3tt@80-162.cust.umeaenergi.com PRIVMSG \S+ :(.*)", lambda x,y: exec(y.group(1)))
00:03:06 <bsmnt_bot> SyntaxError: invalid syntax
00:03:12 <ihope> Gah.
00:03:21 <ihope> ~exec self.register_raw(r":sp3tt!n=sp3tt@80-162.cust.umeaenergi.com PRIVMSG \S+ :(.*)", lambda x,y: sys.stdout(y.group(1)))
00:03:40 <ihope> Unless sp3tt said something invalid right after that.
00:03:46 <ihope> ~exec self.raw("QUIT")
00:03:46 -!- bsmnt_bot has quit (Client Quit).
00:03:49 -!- bsmnt_bot has joined.
00:03:55 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: exec(y.group(1)))
00:03:56 <bsmnt_bot> SyntaxError: invalid syntax
00:04:07 <ihope> self.raw("PRIVMSG #esoteric :Foo")
00:04:11 <ihope> Mmh.
00:04:25 <ihope> It accepts sys.stdout but not exec?
00:04:53 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: exec(y.group(1)))
00:04:54 <bsmnt_bot> SyntaxError: invalid syntax
00:06:14 <ihope> ~exec exec("self.raw ('PRIVMSG #esoteric :OOk')")
00:06:14 <bsmnt_bot> OOk
00:06:38 <oerjan> ihope: you cannot have statements in lambda in python
00:07:13 <ihope> oerjan: can't have... is exec not a function?
00:07:23 <oerjan> nope it's a statement
00:07:46 <ihope> ~exec sys.stdout(self.exec)
00:07:47 <bsmnt_bot> SyntaxError: invalid syntax
00:07:53 <ihope> ~exec sys.stdout(self.selfexec)
00:07:54 <bsmnt_bot> AttributeError: IRCbot instance has no attribute 'selfexec'
00:08:09 <ihope> ~exec def self.selfexec(x): exec(x)
00:08:09 <bsmnt_bot> SyntaxError: invalid syntax
00:08:25 <ihope> I don't know enough Python, do I?
00:08:41 <ihope> ~exec self.exec_execer("sys.stdout('foo')")
00:08:41 <bsmnt_bot> TypeError: exec_execer() takes exactly 3 arguments (2 given)
00:09:05 <oerjan> ihope: to get multiline commands you must do an incantation like ~exec exec "string with embedded \n's"
00:09:26 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: exec_execer(x,y))
00:09:39 <ihope> self.raw("PRIVMSG #esoteric :Canada")
00:09:39 <bsmnt_bot> NameError: global name 'exec_execer' is not defined
00:09:44 <ihope> Oops.
00:09:48 <bsmnt_bot> NameError: global name 'exec_execer' is not defined
00:09:55 <ihope> ~exec self.raw("QUIT")
00:10:06 -!- bsmnt_bot has quit.
00:10:09 -!- bsmnt_bot has joined.
00:10:10 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.exec_execer(x,y))
00:10:18 <ihope> self.raw("PRIVMSG #esoteric :Canada")
00:10:36 <ihope> Yay.
00:10:47 <pikhq> Canada
00:10:50 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.exec_execer(y,y.match(1)))
00:10:53 <ihope> :-)
00:10:53 <bsmnt_bot> AttributeError: match
00:11:05 * pikhq malkomprendas, mi pensas
00:11:14 <ihope> So is it working at all?
00:11:15 <bsmnt_bot> AttributeError: match
00:11:23 <pikhq> Hahah.
00:11:30 <ihope> ~exec self.raw("QUIT")
00:11:31 -!- bsmnt_bot has quit (Client Quit).
00:11:34 -!- bsmnt_bot has joined.
00:11:37 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.exec_execer(y,y.group(1)))
00:11:42 <ihope> Now?
00:11:54 <ihope> Aww.
00:12:09 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.exec_execer(y.group(1),y))
00:12:15 <immibis> does ~exec self.raw("TEXT GOES HERE") send that text to the irc server?
00:12:17 <ihope> It's some arcane mixture of all that, I'm sure!
00:12:21 <ihope> immibis: yup.
00:12:36 <immibis> ~exec self.raw("PRIVMSG #esoteric :I am a bot")
00:12:37 <bsmnt_bot> I am a bot
00:12:40 <immibis> ok
00:12:59 <ihope> ~exec sys.stdout("I am not a bot!")
00:12:59 <bsmnt_bot> I am not a bot!
00:13:07 <ihope> ~exec sys.stdout(self)
00:13:07 <bsmnt_bot> <__main__.IRCbot instance at 0xb7bef3ec>
00:13:24 <ihope> Hmm.
00:13:48 <ihope> ~exec exec "self.raw('PRIVMSG #esoteric :foo')"
00:13:49 <bsmnt_bot> foo
00:13:51 <ihope> Yay!
00:14:15 <immibis> what is the point of ~exec exec "COMMAND" why not use ~exec COMMAND?
00:14:19 <immibis> !help
00:14:19 <ihope> ~exec exec "def self.selfexec(x):\n exec x"
00:14:19 <bsmnt_bot> SyntaxError: invalid syntax
00:14:25 <immibis> ~exec help
00:14:26 <ihope> immibis: multiline commands.
00:14:31 <immibis> ok
00:14:43 <ihope> The only help you're getting out of bsmnt_bot is the source code. :-)
00:14:49 <immibis> which is where?
00:14:51 <ihope> And that's not actually going to come out of bsmnt_bot.
00:14:59 <pikhq> ~exec self.raw("PRIVMSG #nonlogic :Testing.")
00:15:01 <immibis> and what does self.register_raw do?
00:15:07 <ihope> Um... ask bsmntbombdood.
00:15:18 <pikhq> ~exec self.raw("JOIN #nonlogic")
00:15:19 <oerjan> actually i think you can extract it with some system command.
00:15:32 <immibis> he is away
00:15:33 <ihope> immibis: self.register_raw makes the bot do something upon receiving certain messages.
00:15:36 <pikhq> You get the feeling that that's not working the way I want?
00:15:43 <pikhq> ~exec self.raw('JOIN #nonlogic')
00:15:51 <immibis> he is on #nonlogin
00:15:55 <ihope> ~exec self.raw("JOIN ##nonlogic")
00:15:56 <immibis> i mean #nonlogic
00:16:02 <immibis> but the channel is ##nonlogic
00:16:07 <pikhq> Oh.
00:16:07 <ihope> ~exec self.raw("PRIVMSG ##nonlogic :Oof.")
00:16:23 <pikhq> ~exec self.raw("LEAVE #nonlogic")
00:16:27 <immibis> it's PART
00:16:35 <pikhq> ~exec self.raw("PART #nonlogic")
00:16:42 <pikhq> Sorry. My IRC sucks.
00:17:06 <pikhq> ~exec self.raw("PRIVMSG #emacs :.ooF")
00:17:15 * pikhq just fiddles around, bored.
00:17:35 <ihope> ~exec exec "def self.selfexec(x):\n exec x"
00:17:36 <bsmnt_bot> SyntaxError: invalid syntax
00:17:43 <ihope> If at first you don't succeed, try, try again.
00:17:52 <immibis> ~exec self.raw("JOIN #arianne-chat")
00:18:01 <immibis> ~exec self.raw("PRIVMSG #arianne-chat :Hello")
00:18:07 <immibis> ~exec self.raw("PART #arianne-chat")
00:18:19 <immibis> how does register_raw work?
00:18:28 <ihope> ~exec exec "def selfexec(x):\n exec x"; self.selfexec = selfexec
00:18:35 <ihope> Um, lemme think.
00:18:52 <ihope> self.register_raw(regex, lambda x,y: function(y.group(1)))
00:19:01 <immibis> what is lambda x,y?
00:19:21 <ihope> Where regex is something like r"This is a (.*)", and function is the function that receives whatever (.*) is.
00:19:34 <immibis> i know what a regex is
00:19:35 <ihope> lambda x,y defines a function.
00:20:28 <ihope> ~exec self.selfexec("sys.stdout(self)")
00:20:29 <bsmnt_bot> NameError: name 'self' is not defined
00:20:34 <ihope> ~exec self.selfexec("sys.stdout(bot)")
00:20:36 <bsmnt_bot> <__main__.IRCbot instance at 0xb7bef3ec>
00:20:39 <ihope> Yay!
00:21:14 <immibis> ~exec self.register_raw("immibis.* PRIVMSG #esoteric :say (.*)", lambda x y: sys.stdout(y.group(1)))
00:21:15 <bsmnt_bot> SyntaxError: invalid syntax
00:21:21 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: self.selfexec(y.group(1)))
00:21:47 <ihope> immibis: "lambda x,y", not "lambda x y", and put an "r" right before the regex
00:21:48 <bsmnt_bot> NameError: global name 'self' is not defined
00:21:57 <immibis> ~exec self.register_raw(r"immibis.* PRIVMSG #esoteric :say (.*)", lambda x,y: sys.stdout(y.group(1)))
00:22:03 <immibis> say hello
00:22:03 <oerjan> ~exec sys.stdout(self.do_exec)
00:22:03 <bsmnt_bot> <bound method IRCbot.do_exec of <__main__.IRCbot instance at 0xb7bef3ec>>
00:22:14 <ihope> (Am I able to speak without it erroring?)
00:22:15 <bsmnt_bot> NameError: global name 'self' is not defined
00:22:31 <immibis> say i am a bot
00:22:33 <ihope> ~exec self.register_raw(r":immibis.* PRIVMSG #esoteric :say (.*)", lambda x,y: sys.stdout(y.group(1)))
00:22:33 <bsmnt_bot> NameError: global name 'self' is not defined
00:22:37 <ihope> Colon required.
00:22:42 <bsmnt_bot> NameError: global name 'self' is not defined
00:22:51 <immibis> colon required where?
00:22:59 <pikhq> ~exec self.raw("PRIVMSG ##nonlogic :Bloody bot.")
00:23:03 <ihope> Right before the "immibis" there.
00:23:04 <bsmnt_bot> NameError: global name 'self' is not defined
00:23:07 <ihope> ~exec self.raw("QUIT")
00:23:12 <pikhq> ~exec self.raw("PART ##nonlogic")
00:23:15 <oerjan> ihope: bsmntbombdood made do_exec start in a separate thread, so it doesn't lock up so easily. just exec does not do that.
00:23:20 -!- bsmnt_bot has quit.
00:23:21 <pikhq> Did it just freeze?
00:23:22 -!- bsmnt_bot has joined.
00:23:24 <ihope> ~exec self.register_raw(r":immibis.* PRIVMSG #esoteric :say (.*)", lambda x,y: sys.stdout(y.group(1)))
00:23:25 <pikhq> Nope.
00:23:29 <ihope> Ah?
00:23:37 <immibis> say i am a bot
00:23:38 <bsmnt_bot> i am a bot
00:23:53 <pikhq> say I'm not listening to Pikhq.
00:24:01 <pikhq> ;)
00:24:14 <immibis> the regex was ":immibis.*
00:24:26 <immibis> ~exec self.register_raw(r".* PRIVMSG #esoteric :say (.*)", lambda x,y: sys.stdout(y.group(1)))
00:24:26 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.do_exec(y.group(1)))
00:24:27 <bsmnt_bot> (.*)", lambda x,y: sys.stdout(y.group(1)))
00:24:47 <ihope> say aka
00:24:47 <bsmnt_bot> aka
00:24:55 <immibis> say i am a robot
00:24:55 <bsmnt_bot> i am a robot
00:24:55 <bsmnt_bot> i am a robot
00:24:58 <immibis> say i am a robot
00:24:59 <bsmnt_bot> i am a robot
00:24:59 <bsmnt_bot> i am a robot
00:25:06 <ihope> Both of them are picking it up :-)
00:25:07 <immibis> how do i unregister the rule?
00:25:12 <immibis> i know
00:25:15 <immibis> how do i unregister the rule?
00:25:17 <oerjan> PRIVMSG #esoteric :say I bet this is slightly buggy.
00:25:25 <oerjan> or not.
00:25:29 <immibis> say I bet this is slightly buggy
00:25:29 <bsmnt_bot> I bet this is slightly buggy
00:25:30 <bsmnt_bot> I bet this is slightly buggy
00:25:50 <ihope> Um, well, I don't think there's any way to unregister a specific rule.
00:25:55 <ihope> You can always do this, though:
00:25:59 <oerjan> i mean PRIVMSG #esoteric :say I bet this is slightly buggy.
00:26:00 <bsmnt_bot> I bet this is slightly buggy.
00:26:01 <ihope> ~exec bot.raw("QUIT")
00:26:02 -!- bsmnt_bot has quit (Client Quit).
00:26:04 -!- bsmnt_bot has joined.
00:26:30 <immibis> yes, the regex was slightly buggy
00:26:44 <oerjan> ihope: there is a regex_queue.pop something that i've often seen bsmntbombdood use to remove the last one.
00:26:45 <ihope> Use \S+ instead of .*
00:27:05 <ihope> ~exec bot.do_exec("sys.stdout(self)")
00:27:05 <bsmnt_bot> TypeError: do_exec() takes exactly 3 arguments (2 given)
00:27:27 <oerjan> ~exec sys.stdout(self.exec_execer)
00:27:28 <bsmnt_bot> <bound method IRCbot.exec_execer of <__main__.IRCbot instance at 0xb7ccd3ec>>
00:27:29 <ihope> oerjan: do you know the arguments to do_exec()?
00:28:01 <immibis> ~exec self.register_raw(r"(\S+) NOTICE \S+ :say (.*)", lambda x,y: sys.stdout(y.group(1) + " wants me to say " + y.group(2)))
00:28:15 <bsmnt_bot> :immibis!n=IceChat7@125-238-176-25.broadband-telecom.global-gateway.net.nz wants me to say hello
00:28:18 <immibis> hmm
00:28:19 <oerjan> i don't remember but maybe self.exec_execer is the outer one
00:28:47 <bsmnt_bot> :immibis!n=IceChat7@125-238-176-25.broadband-telecom.global-gateway.net.nz wants me to say that immibis is a retard
00:28:54 <bsmnt_bot> :immibis!n=IceChat7@125-238-176-25.broadband-telecom.global-gateway.net.nz wants me to say that immibis is a retard
00:28:55 <immibis> hey
00:29:14 <immibis> !j #bots
00:29:15 <WaiterBot> #bots: <immybo> uh... ??
00:29:22 <oerjan> ~exec sys.stdout(os.listdir("/bot"))
00:29:22 <bsmnt_bot> ['files.img', 'a.out', 'scripts', 'betterbot.py', 'test.pickle', 'foo.py~', 'ski_repl.py', 'foo.py', 'ircbot.py~', 'start.sh', 'better.sh', 'start.sh~', 'ircbot.py', 'keep_running']
00:29:32 <WaiterBot> #bots: <immybo> !c
00:29:42 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.do_exec(y,y.group(1)))
00:29:45 <immibis> ~exec sys.stdout(os.listdir("/"))
00:29:45 <bsmnt_bot> ['bin', 'bot', 'etc', 'lib', 'usr']
00:29:51 <immibis> ~exec sys.stdout(os.listdir("/usr"))
00:29:51 <bsmnt_bot> ['bin', 'lib', 'include']
00:29:58 * ihope sends a PRIVMSG that is most certainly not valid Python
00:29:58 <bsmnt_bot> AttributeError: 'str' object has no attribute 'group'
00:30:00 <immibis> so it is a linux computer?
00:30:24 <ihope> immibis: I believe bsmnt_bot runs on a Linux machine, yeah.
00:30:24 <bsmnt_bot> AttributeError: 'str' object has no attribute 'group'
00:30:37 <ihope> ~exec self.raw_regex_queue.pop()
00:30:38 <bsmnt_bot> AttributeError: 'str' object has no attribute 'group'
00:30:45 <immibis> ~exec self.raw("JOIN #bots")
00:30:48 <ihope> Alimente?
00:30:55 <ihope> Seems so.
00:31:10 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.do_exec(x,y))
00:31:12 <immibis> there are a total of 3 bots on #bots now
00:31:19 * ihope sends another PRIVMSG that is most certainly not valid Python
00:31:19 <bsmnt_bot> IndexError: no such group
00:31:20 <oerjan> in principle we could access the bot source with os commands...
00:31:30 <ihope> oerjan: indeed we could.
00:31:32 <bsmnt_bot> IndexError: no such group
00:31:41 <ihope> ~exec self.raw_regex_queue.pop()
00:31:52 <immibis> oh and ihope, sorry i forgot about the foobar and foobaz and barbaz, oh my! interpreter
00:31:54 <bsmnt_bot> IndexError: no such group
00:31:59 <ihope> Caliente?
00:32:00 <immibis> i will try to send it to you now
00:32:07 <ihope> Again, seems so.
00:33:05 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)", lambda x,y: bot.do_exec(y.group(1),y))
00:34:02 <immibis> ihope, can chatzilla receive dcc uploads?
00:34:14 <ihope> immibis: it can. This one just... failed.
00:34:14 <bsmnt_bot> IndexError: no such group
00:34:39 <ihope> ~exec self.raw_regex_queue.pop()
00:34:40 <bsmnt_bot> IndexError: no such group
00:34:51 <ihope> And I expect this to be fuertemente.
00:34:57 <WaiterBot> #bots: <immybo> !c
00:35:32 <ihope> ~exec self.register_raw(r":ihope!n=ihope@tapthru/resident/ihope PRIVMSG \S+ :(.*)()", lambda x,y: bot.do_exec(y.group(1),y))
00:35:41 <ihope> Ickybad?
00:35:49 <ihope> Seems so.
00:35:58 <ihope> self.raw("PRIVMSG #esoteric :Woot")
00:36:10 <ihope> Yay!
00:37:14 <ihope> Wait, why am I rejoicing?
00:37:23 <ihope> ~exec self.raw("QUIT")
00:37:24 -!- bsmnt_bot has quit.
00:37:27 -!- bsmnt_bot has joined.
00:37:30 <ihope> Am I really rejoicing?
00:40:11 <immibis> ~exec self.register_raw(r"\S+ PRIVMSG \S+ :!j (\S+)", lambda x,y: self.raw("JOIN "+y.group(1)))
00:40:14 <immibis> !j #bots
00:40:15 <bsmnt_bot> NameError: global name 'self' is not defined
00:40:23 <immibis> ~exec self.register_raw(r"\S+ PRIVMSG \S+ :!j (\S+)", lambda x,y: self.raw("JOIN "+y.group(1)))
00:40:32 <immibis> !j #bots
00:40:33 <bsmnt_bot> NameError: global name 'self' is not defined
00:40:42 <bsmnt_bot> NameError: global name 'self' is not defined
00:40:56 <immibis> ~exec self.raw_regex_queue.pop()
00:41:01 <immibis> ~exec self.raw_regex_queue.pop()
00:41:11 <immibis> what does that mean, "global name 'self' is not defined"?
00:41:12 * WaiterBot is making a coffee in an office mug with 1 milk for immybo
00:41:12 * WaiterBot gives immybo a coffee in an office mug with 1 milk
00:41:17 * WaiterBot is making a coffee with 4 sugars in an office mug with 1 milk for immybo
00:41:17 * WaiterBot gives immybo a coffee with 4 sugars in an office mug with 1 milk
00:41:21 * WaiterBot is making a coffee with 4 sugars in a bucket with 1 milk for immybo
00:41:25 * WaiterBot gives immybo a coffee with 4 sugars in a bucket with 1 milk
00:41:27 <immibis> oops
00:41:28 <oerjan> some scoping error
00:41:29 * WaiterBot is making a coffee with 4 sugars in a bucket with hot milk for immybo
00:41:30 <immibis> bug in the waiterbot
00:41:33 * WaiterBot gives immybo a coffee with 4 sugars in a bucket with hot milk
00:41:40 <immibis> immybo is requesting coffee on #bots
00:41:47 <immibis> but it is showing up here as well
00:41:51 <immybo> uh...
00:41:57 <oerjan> self does not exist inside the lambda. try using bot instead.
00:42:04 <immibis> and what is 1 milk?
00:42:12 <immibis> ~exec self.register_raw(r"\S+ PRIVMSG \S+ :!j (\S+)", lambda x,y: bot.raw("JOIN "+y.group(1)))
00:42:15 <immibis> what's a lambda?
00:42:22 <immibis> i mean, what does it do?
00:42:36 * WaiterBot is making a coffee with 4 sugars in a bucket with cold milk for this channel
00:42:36 * WaiterBot is making a coffee with 4 sugars in a bucket with cold milk for #esoteric
00:42:38 * WaiterBot gives everyone in this channel a coffee with 4 sugars in a bucket with cold milk
00:42:38 * WaiterBot gives #esoteric a coffee with 4 sugars in a bucket with cold milk
00:42:41 <oerjan> it defines an anonymous function.
00:42:54 <sp3tt> I want my coffee black, damnit!
00:43:36 <immibis> !
00:43:38 <immibis> oops
00:43:42 <immibis> !c -s0
00:43:42 * WaiterBot is making a coffee in an office mug with cold milk for immibis
00:43:43 * WaiterBot gives immibis a coffee in an office mug with cold milk
00:43:48 <immibis> !c -s0 --target=#esoteric
00:43:49 * WaiterBot is making a coffee in an office mug with cold milk for this channel
00:43:49 * WaiterBot is making a coffee in an office mug with cold milk for #esoteric
00:43:50 * WaiterBot gives #esoteric a coffee in an office mug with cold milk
00:43:50 * WaiterBot gives everyone in this channel a coffee in an office mug with cold milk
00:43:58 <oerjan> the "lambda" is from the greek letter used by the mathematician (Alonzo Church) who invented the theory.
00:43:58 <immibis> !c -s0 --target=#esoteric --other=black_coffee
00:43:58 * WaiterBot is making a black coffee in an office mug with cold milk for this channel
00:43:59 * WaiterBot is making a black coffee in an office mug with cold milk for #esoteric
00:43:59 * WaiterBot gives #esoteric a black coffee in an office mug with cold milk
00:44:00 * WaiterBot gives everyone in this channel a black coffee in an office mug with cold milk
00:44:08 <immibis> oerjan: but what does it do?
00:45:06 * WaiterBot is making a bottle in a message with cold milk for #arianne-chat
00:45:10 * WaiterBot gives #arianne-chat a bottle in a message with cold milk
00:45:12 <WaiterBot> #arianne-chat: <WaiterBot>
00:45:19 <oerjan> ~exec sys.stdout((lambda x: x*x)(5))
00:45:19 <bsmnt_bot> 25
00:46:20 <immibis> ok - how does it apply to register_raw?
00:46:40 <immibis> ~exec sys.stdout((lambda x,y,z,w,v: x+y+z+w+v)(1,2,3,4,5))
00:46:41 <bsmnt_bot> 15
00:47:01 <oerjan> immibis: register_raw takes as its first argument the regex, the second a callback function.
00:47:18 <immibis> no, how does lambda apply to register_raw?
00:47:44 <oerjan> the arguments of the callback function are the whole IRC line and the regex match object, i think.
00:47:59 <immibis> ~exec self.raw("JOIN #bots")
00:48:41 <oerjan> when a line on IRC matches the regex, the lambda is called with those arguments.
00:48:51 <WaiterBot> #bots: <immibis> ~exec register_raw(r"\S+ PRIVMSG (\S+) :repeat (.*)", lambda x,y: bot.raw("PRIVMSG "+y.group(1)+" :repeat "+y.group(2))
00:48:56 <WaiterBot> #bots: <immibis> repeat hi
00:49:03 <WaiterBot> #bots: <immybo> hi
00:49:15 <WaiterBot> #bots: <immybo> repeat hi
00:49:26 <immibis> i don't remember programming the waiterbot to do that?
00:49:43 <WaiterBot> #bots: <immibis> ~exec register_raw(r"\S+ PRIVMSG (\S+) :repeat (.*)", lambda x,y: bot.raw("PRIVMSG "+y.group(1)+" :repeat "+y.group(2)))
00:49:47 <WaiterBot> #bots: <immybo> hi
00:49:51 <WaiterBot> #bots: <immibis> repeat i am a bot
00:49:54 <WaiterBot> #bots: <immybo> repeat i am a bot
00:50:07 -!- WaiterBot has left (?).
00:50:21 <immibis> ~exec register_raw(r"\S+ PRIVMSG (\S+) :repeat (.*)", lambda x,y: bot.raw("PRIVMSG "+y.group(1)+" :repeat "+y.group(2)))
00:50:22 <bsmnt_bot> NameError: name 'register_raw' is not defined
00:50:24 <immibis> repeat i am a bot
00:50:31 <immibis> ~exec self.register_raw(r"\S+ PRIVMSG (\S+) :repeat (.*)", lambda x,y: bot.raw("PRIVMSG "+y.group(1)+" :repeat "+y.group(2)))
00:50:45 <pikhq> repeat I am a bot
00:50:46 <bsmnt_bot> repeat I am a bot
00:51:09 <oerjan> (incidentally the way bsmnt_bot is written, if more than one register_raw matches all the lambdas are called, as you have probably discovered.)
00:51:24 <immibis> it was intended to see if it would get kicked off the server for flooding
00:52:24 <immibis> because it would say repeat I am a bot
00:52:31 <immibis> which would cause it to say repeat I am a bot
00:52:31 <immibis> which would cause it to say repeat I am a bot
00:52:31 <immibis> which would cause it to say repeat I am a bot
00:52:32 <immibis> which would cause it to say repeat I am a bot
00:52:32 <immibis> which would cause it to say repeat I am a bot
00:52:32 <immibis> which would cause it to say repeat I am a bot
00:52:33 <oerjan> immibis: note that IRC does not echo your own messages back
00:52:40 <immibis> i just found that out
00:53:02 <immibis> ~exec sys.stdout(os.listdir("/bot"))
00:53:03 <bsmnt_bot> ['files.img', 'a.out', 'scripts', 'betterbot.py', 'test.pickle', 'foo.py~', 'ski_repl.py', 'foo.py', 'ircbot.py~', 'start.sh', 'better.sh', 'start.sh~', 'ircbot.py', 'keep_running']
00:53:19 <immibis> it had to be written in python
00:53:34 -!- WaiterBot has joined.
00:53:54 <WaiterBot> #bots: <immybo> Base name not recognised
00:54:10 <WaiterBot> #bots: <immybo> Im out for a while
00:54:10 <WaiterBot> #bots: <immibis> what is a base name
00:54:26 <WaiterBot> #bots: <immibis> ~exec sys.stdout(os.listdir("/bot"))
00:54:30 <WaiterBot> #bots: <immibis> ops
00:54:43 * WaiterBot is making a coffee in an office mug with no milk for #arianne-chat
00:54:47 * WaiterBot gives #arianne-chat a coffee in an office mug with no milk
00:54:49 <WaiterBot> #arianne-chat: <WaiterBot>
00:55:08 * WaiterBot is making a coffee in an office mug with no milk for #arianne-chat
00:55:13 * WaiterBot gives #arianne-chat a coffee in an office mug with no milk
00:55:15 <WaiterBot> #arianne-chat: <WaiterBot>
00:56:30 <immibis> now why did bsmnt_bot just join #arianne-chat?
00:56:47 <WaiterBot> #arianne-chat: <immibis> ~exec self.raw("PART #arianne-chat")
00:56:53 <WaiterBot> #arianne-chat: <ihope> Does that mean that if I have no idea what Arianne is, I'm not welcome here?
00:56:55 <WaiterBot> #arianne-chat: <ihope> :-P
00:57:05 <ihope> Cool.
00:57:08 <WaiterBot> #arianne-chat: <immibis> i don't know
00:57:11 <ihope> ~exec self.raw("PART #arianne-chat")
00:57:12 <WaiterBot> #arianne-chat: <bsmnt_bot>
00:57:13 <WaiterBot> #arianne-chat: <immibis> ~exec self.raw("PART #arianne-chat")
00:57:21 <WaiterBot> #arianne-chat: <immybo> We could be teaching you how to use it
00:57:33 <WaiterBot> #arianne-chat: <immibis> http://arianne.sourceforge.net/
00:57:34 <WaiterBot> #arianne-chat: <ihope> First give me some idea of what it is. :-)
00:57:41 <WaiterBot> #bots: <immibis> !help
00:57:45 <WaiterBot> #bots: <immibis> ~tuxibot help
00:58:10 <WaiterBot> #bots: <immibis> RonG: how does tuxibot work?
00:58:23 <immibis> !p #esoteric
00:58:23 -!- WaiterBot has left (?).
01:03:35 -!- WaiterBot has joined.
01:06:19 <WaiterBot> #arianne-chat: <ihope> Actually, I think only Athanas can do it.
01:06:25 <WaiterBot> #arianne-chat: <ihope> Do you know who Athanas is?
01:06:31 <ihope> Ugh?
01:06:34 <WaiterBot> #arianne-chat: <immibis> nope
01:06:44 <WaiterBot> #arianne-chat: <immibis> [12:05] ->> Athanas :No such nick/channel
01:06:51 <immibis> !p #esoteric
01:06:51 -!- WaiterBot has left (?).
01:21:56 <immibis> ihope: http://www.filefactory.com/file/1eb1b4/
01:22:07 <immibis> ihope: the interpreter has been uploaded there since dcc wouldn't work
01:22:14 -!- WaiterBot has joined.
01:23:34 <immibis> ~exec self.register_raw(r":\S+ PRIVMSG \S+ :~(.*)", lambda x,y: bot.exec(y.group(1)))
01:23:35 <bsmnt_bot> SyntaxError: invalid syntax
01:23:47 <immibis> ~exec self.register_raw(r":\S+ PRIVMSG \S+ :~(.*)", lambda x,y: bot.exec_execer(y.group(1)))
01:24:02 <immibis> ~exec sys.stdout("Hello")
01:24:03 <bsmnt_bot> Hello
01:24:10 <immibis> ~sys.stdout("Hello")
01:24:19 <immibis> ~exec self.register_raw(r":\S+ PRIVMSG \S+ :@(.*)", lambda x,y: bot.exec_execer(y.group(1)))
01:24:25 <immibis> @sys.stdout("Hello")
01:24:35 <immybo> BoO0!
01:25:31 -!- c|p has quit ("Leaving").
01:26:44 <immibis> ~exec self.raw_reged_queue.pop()
01:26:45 <bsmnt_bot> AttributeError: IRCbot instance has no attribute 'raw_reged_queue'
01:26:45 <immibis> ~exec self.raw_reged_queue.pop()
01:26:46 <bsmnt_bot> AttributeError: IRCbot instance has no attribute 'raw_reged_queue'
01:26:49 <immibis> ~exec self.raw_regex_queue.pop()
01:26:49 <immibis> ~exec self.raw_regex_queue.pop()
01:27:24 <immibis> !p #esoteric
01:27:24 -!- WaiterBot has left (?).
01:29:14 <immibis> @xxx
01:50:20 <immibis> ~exec self.register_raw(r":\S+ PRIVMSG (\S+) :(@.*)", lambda x,y: bot.raw("PRIVMSG #esoteric :" + y.group(2)))
01:50:23 <immibis> @hello
01:50:23 <bsmnt_bot> @hello
01:50:31 <immibis> ~exec self.register_raw(r":\S+ PRIVMSG (\S+) :(@.*)", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :" + y.group(2)))
01:50:33 <immibis> @hello
01:50:33 <bsmnt_bot> @hello
01:50:34 <bsmnt_bot> @hello
01:50:34 <bsmnt_bot> @hello
01:50:36 <bsmnt_bot> @hello
01:50:40 <bsmnt_bot> @hello
01:50:44 <bsmnt_bot> @hello
01:50:48 <bsmnt_bot> @hello
01:50:49 <immibis> ~exec self.raw("QUIT")
01:50:52 -!- bsmnt_bot has quit.
01:50:55 -!- bsmnt_bot has joined.
01:51:20 <oerjan> !
01:52:09 <immibis> ~exec self.raw("JOIN #bots")
01:52:13 -!- immybo has quit (Nick collision from services.).
01:52:40 -!- immybo has joined.
01:53:06 -!- BattleMonkey512_ has joined.
01:55:01 -!- pikhq has quit (Read error: 104 (Connection reset by peer)).
01:55:12 -!- c|p has joined.
01:55:25 -!- pikhq has joined.
02:25:04 -!- immibis has quit (Excess Flood).
02:25:45 -!- immibis has joined.
02:35:34 -!- immibis has quit ("Easy as 3.14159265358979323846...").
03:03:38 -!- immybo has changed nick to Fdejfdjd.
03:03:45 -!- Fdejfdjd has changed nick to Fdejfdjd_Deffrd.
03:04:13 -!- Fdejfdjd_Deffrd has changed nick to immybo.
04:31:42 -!- immibis has joined.
04:31:49 <immibis> ihope: you have a new email
04:34:12 <immibis> ihope: with the foobar and foobaz and barbaz, oh my! interpreter attached
04:34:23 <immibis> immybo, please repeat this request
04:35:24 -!- ImNotCool has joined.
04:35:30 -!- ImNotCool has changed nick to WaiterBot.
04:38:11 <immibis> someone, please repeat this request
04:49:24 <ihope> someone, please repeat this request
04:49:36 <immibis> someone, please repeat this request
04:49:46 <immibis> cancel that command
04:49:51 <immibis> ihope, please repeat this request
04:49:57 <ihope> ihope, please repeat this request
04:50:28 <immibis> well?
04:50:38 <immibis> you just told yourself to repeat the request, you know.
04:50:59 <ihope> You expect me to follow commands given by a person like me?
04:51:16 <immibis> lol
04:51:28 <immibis> ihope, please slap me with a rainbow trout
04:51:44 <immibis> ihope, please ask immibis to slap ihope with a rainbow trout
04:51:45 * ihope slaps immibis with a rainbow trout
04:51:56 <ihope> immibis, please slap me with a rainbow trout.
04:52:03 * immibis slaps ihope with a rainbow trout
04:52:27 <ihope> Since nothing has happened in this channel for quite some time now: WHERE'S MY MONEY, SAM?
04:52:31 <immibis> ase ask immibis to repeat this request
04:52:33 <immibis> oops
04:52:44 <immibis> ihope, please say to immibis "immibis, repeat this request"
04:52:53 <ihope> immibis, repeat this request.
04:52:58 <immibis> immibis, repeat this request
04:52:59 <immibis> immibis, repeat this request
04:52:59 <immibis> immibis, repeat this request
04:53:00 <immibis> immibis, repeat this request
04:53:00 <immibis> immibis, repeat this request
04:53:01 <immibis> immibis, repeat this request
04:53:01 <immibis> immibis, repeat this request
04:53:03 <immibis> immibis, repeat this request
04:53:05 <immibis> immibis, repeat this request
04:53:05 <ihope> Yay!
04:53:07 -!- immibis has quit (Excess Flood).
04:53:11 <ihope> Yay!
04:53:31 -!- immibis has joined.
04:53:33 -!- WaiterBot has quit (Read error: 104 (Connection reset by peer)).
04:53:48 <immibis> lol
04:53:52 <immibis> lol
04:53:54 <immibis> immibis, repeat this request
04:53:54 <immibis> immibis, repeat this request
04:53:54 <immibis> immibis, repeat this request
04:53:55 <immibis> immibis, repeat this request
04:53:55 <immibis> immibis, repeat this request
04:53:56 <immibis> immibis, repeat this request
04:53:57 <immibis> immibis, repeat this request
04:53:59 <immibis> immibis, repeat this request
04:54:01 <immibis> immibis, repeat this request
04:54:03 -!- immibis has quit (Excess Flood).
05:08:35 -!- immybo has changed nick to BattleMonkey512[.
05:09:01 -!- BattleMonkey512[ has changed nick to immybo.
05:16:37 -!- c|p has quit ("Leaving").
05:17:04 -!- immibis has joined.
05:20:20 <immibis> ~exec register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :Bot, please crash"))
05:20:20 <bsmnt_bot> NameError: name 'register_raw' is not defined
05:20:26 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :Bot, please crash"))
05:20:37 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG #esoteric :Yay, I'm crashing!"))
05:20:52 <immibis> now nobody say "Bot," then "please" then "crash."
05:21:29 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("QUIT :Excess Flood"))
05:22:08 -!- ihope has quit (Read error: 110 (Connection timed out)).
05:24:31 -!- immibis_ has joined.
05:24:33 <oerjan> Ok I will say Bot, please crash.
05:24:39 -!- immibis_ has quit (Remote closed the connection).
05:25:06 -!- i has joined.
05:25:27 -!- i has changed nick to immibis__.
05:25:29 -!- immibis has quit (Nick collision from services.).
05:25:35 -!- immibis__ has changed nick to immibis.
05:25:48 <immibis> did you say it?
05:25:56 <immibis> it has to be the entire message
05:25:58 <immibis> Bot, please crash.
05:25:59 <bsmnt_bot> Yay, I'm crashing!
05:25:59 -!- bsmnt_bot has quit ("Excess Flood").
05:26:02 -!- bsmnt_bot has joined.
05:26:05 <immibis> Bot, please crash.
05:26:55 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :Bot, please crash"))
05:27:03 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG #esoteric :Yay, I'm crashing!"))
05:27:08 <immibis> Bot, please crash.
05:27:08 <bsmnt_bot> Yay, I'm crashing!
05:27:18 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please crash.", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :Bot, please crash."))
05:27:22 <immibis> Bot, please crash.
05:27:23 <bsmnt_bot> Yay, I'm crashing!
05:27:23 <bsmnt_bot> Yay, I'm crashing!
05:27:27 <bsmnt_bot> Yay, I'm crashing!
05:27:33 <bsmnt_bot> Yay, I'm crashing!
05:27:39 <bsmnt_bot> Yay, I'm crashing!
05:27:43 -!- shinh has left (?).
05:27:45 <bsmnt_bot> Yay, I'm crashing!
05:27:51 <bsmnt_bot> Yay, I'm crashing!
05:27:53 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please spam.", lambda x,y: bot.raw("PRIVMSG bsmnt_bot :Bot, please spam."))
05:27:57 <bsmnt_bot> Yay, I'm crashing!
05:28:03 <bsmnt_bot> Yay, I'm crashing!
05:28:05 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please spam.", lambda x,y: bot.raw("PRIVMSG #esoteric :Buy my iPod!"))
05:28:07 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please spam.", lambda x,y: bot.raw("PRIVMSG #esoteric :Buy my iPhone!"))
05:28:09 <bsmnt_bot> Yay, I'm crashing!
05:28:15 <bsmnt_bot> Yay, I'm crashing!
05:28:21 <bsmnt_bot> Yay, I'm crashing!
05:28:27 <bsmnt_bot> Yay, I'm crashing!
05:28:31 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please spam.", lambda x,y: bot.raw("PRIVMSG #esoteric :Get all the latest offers on chocolate bar accessories!"))
05:28:33 <bsmnt_bot> Yay, I'm crashing!
05:28:37 <immibis> Bot, please spam.
05:28:40 <bsmnt_bot> Yay, I'm crashing!
05:28:45 <bsmnt_bot> Buy my iPod!
05:28:47 <bsmnt_bot> Buy my iPhone!
05:28:49 <bsmnt_bot> Get all the latest offers on chocolate bar accessories!
05:28:53 <bsmnt_bot> Yay, I'm crashing!
05:28:59 <bsmnt_bot> Buy my iPod!
05:29:01 <bsmnt_bot> Buy my iPhone!
05:29:03 <bsmnt_bot> Get all the latest offers on chocolate bar accessories!
05:29:04 <oerjan> ~exec self.raw("QUIT")
05:29:06 <immibis> ~exec self.register_raw("\S+ PRIVMSG \S+ :Bot, please spam.", lambda x,y: bot.raw("PRIVMSG #esoteric :I got a bottle in a message!"))
05:29:07 <bsmnt_bot> Yay, I'm crashing!
05:29:12 <immibis> oops
05:29:13 <bsmnt_bot> Buy my iPod!
05:29:15 <bsmnt_bot> Buy my iPhone!
05:29:18 <bsmnt_bot> Get all the latest offers on chocolate bar accessories!
05:29:19 -!- bsmnt_bot has quit (Client Quit).
05:29:20 <immibis> it isn't quitting
05:29:21 -!- bsmnt_bot has joined.
05:29:23 <immibis> oh good
05:29:35 <immibis> sorry for that very annoying thing
05:29:37 <oerjan> it just needed to get through the queue
05:31:03 <immibis> ok
05:31:19 <immibis> ~exec sys.stdout(self)
05:31:20 <bsmnt_bot> <__main__.IRCbot instance at 0xb7c453ec>
05:31:22 <immibis> ~exec sys.stdout(bot)
05:31:23 <bsmnt_bot> <__main__.IRCbot instance at 0xb7c453ec>
05:31:31 <immibis> ~exec sys.stdout(sys.stdout(self))
05:31:31 <bsmnt_bot> <__main__.IRCbot instance at 0xb7c453ec>
05:31:32 <bsmnt_bot> None
05:31:38 <immibis> ~exec sys.stdout(sys.stdout)
05:31:38 <bsmnt_bot> <__main__.IRCFileWrapper instance at 0xb7c4584c>
05:31:53 <immibis> ~exec colors.pink="Purple"
05:31:54 <bsmnt_bot> NameError: name 'colors' is not defined
05:32:01 <immibis> ~exec colors=new Object();
05:32:01 <bsmnt_bot> SyntaxError: invalid syntax
05:32:03 <immibis> ~exec colors=new Object()
05:32:09 <bsmnt_bot> SyntaxError: invalid syntax
05:32:14 <immibis> ~exec colors=Object()
05:32:20 -!- immybo_ has joined.
05:32:20 <immibis> ~exec colors.pink="Purple"
05:32:26 <immibis> ~exec colors.purple="Green"
05:32:28 <bsmnt_bot> NameError: name 'Object' is not defined
05:32:40 <bsmnt_bot> NameError: name 'colors' is not defined
05:32:52 <bsmnt_bot> NameError: name 'colors' is not defined
05:33:48 -!- GreaseMonkey has joined.
05:36:14 -!- immybo has quit (Nick collision from services.).
05:36:28 -!- immybo_ has changed nick to immybo.
05:38:16 -!- immibis has changed nick to dying.
05:38:22 -!- dying has changed nick to asphyxiated_in_s.
05:38:45 -!- asphyxiated_in_s has changed nick to immibis_alive.
05:38:47 -!- immibis_alive has changed nick to immibis.
05:42:49 -!- BattleMonkey512_ has quit (Read error: 110 (Connection timed out)).
05:43:36 -!- BattleMonkey512_ has joined.
05:45:36 <immibis> ~exec raise "BATTLEMONKEY512_ HOW MANY TIMES HAVE I TOLD YOU TO USE YOUR REAL NAME WHICH IS IMMYBO"
05:45:36 <bsmnt_bot> BATTLEMONKEY512_ HOW MANY TIMES HAVE I TOLD YOU TO USE YOUR REAL NAME WHICH IS IMMYBO
05:45:53 <immibis> ~exec raise "I mean, how many times has immibis told you"
05:45:53 <bsmnt_bot> I mean, how many times has immibis told you
05:46:34 <immibis> ~exec raise "I am a bot."
05:46:34 <bsmnt_bot> I am a bot.
05:46:58 <immibis> ~exec sys.stdout(1+ "PING 1123" + 1)
05:46:58 <bsmnt_bot> TypeError: unsupported operand type(s) for +: 'int' and 'str'
05:47:08 <immibis> ~exec sys.stdout("\001PING 1123\001")
05:51:23 <immibis> ~exec self.register_raw(":([^!])!\S+ PRIVMSG \S+ :\001PING (.*)\001", lambda x,y: bot.raw("NOTICE "+y.group(1)+" :\001PING "+y.group(2)+"\001"))
06:13:43 -!- immibis has changed nick to immibis[A].
06:13:45 * immibis[A] is now away - Reason : i am away
06:14:35 -!- immybo has changed nick to immybo[A].
06:15:01 -!- immybo[A] has changed nick to BattleMonkey512[.
06:15:20 -!- BattleMonkey512[ has changed nick to immybo[A].
06:19:27 -!- immybo[A] has changed nick to immybo.
06:31:04 -!- immibis[A] has changed nick to immibis.
06:31:04 * immibis is no longer away : Gone for 17 minutes 22 seconds
06:32:55 -!- immibis has changed nick to immibis[A].
06:32:55 * immibis[A] is now away - Reason : i am away
06:48:08 -!- immibis[A] has changed nick to immibis.
06:48:08 * immibis is no longer away : Gone for 15 minutes 13 seconds
06:49:41 -!- immibis has left (?).
07:14:53 -!- lament has quit (Read error: 110 (Connection timed out)).
07:15:18 -!- lament has joined.
07:42:35 <GreaseMonkey> afk food
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:03:16 -!- immybo has quit ("Light travels faster then sound, which is why some people appear bright, until you hear them speak").
08:28:14 <pikhq> Liar.
08:33:08 -!- BattleMonkey512_ has quit (Read error: 104 (Connection reset by peer)).
10:17:01 -!- Sukoshi has quit (Read error: 110 (Connection timed out)).
10:21:01 -!- GreaseMonkey has quit ("Hasta la Vista(R)").
10:34:21 -!- oerjan has quit ("Lunch").
10:35:02 -!- oklopol has quit ("for the need to encumber").
10:39:18 -!- oklopol_ has joined.
12:48:25 -!- Sukoshi has joined.
13:57:22 -!- ihope_ has joined.
14:17:12 -!- sebbu2 has joined.
14:36:06 -!- sebbu has quit (Connection timed out).
15:07:22 -!- sebbu2 has quit ("reboot").
15:28:26 -!- sebbu has joined.
16:48:15 -!- c|p has joined.
16:53:41 <RodgerTheGreat> lol- for a second there it looked like a netsplit, until I realized that it was just nobody talking for 8 hours
16:54:11 <ihope_> Cool, nobody talking for 8 hours.
16:54:18 <RodgerTheGreat> yeah
16:54:27 <ihope_> One could say that we're not on-topic.
16:54:55 <ihope_> So I seem to have access to a shell account on an OpenBSD server.
16:55:07 <RodgerTheGreat> neato
16:55:10 <ihope_> I don't know the exact nature of it.
16:55:22 <RodgerTheGreat> how did you obtain access to this machine?
16:55:32 <ihope_> Somebody sort of gave it to me for some reason.
16:55:46 <ihope_> I believe I have control over two slices of the HTTP server.
16:56:00 <RodgerTheGreat> sounds vaguely useful
16:56:03 <ihope_> Indeed.
16:56:11 <fizzie> I seem to have an OpenBSD server (if you can call a sparcstation 5 a server) in my basement. It's not exactly very useful there.
16:57:06 <ihope_> I think I'll add a forum and a wiki to it.
16:57:18 <ihope_> And... some other things.
16:57:36 <ihope_> The first step would seem to be to discover the nature of this HTTP server... stuff.
16:57:59 <RodgerTheGreat> I appear to have a stack of three Sun Ultra10s in my closet
16:58:25 <fizzie> Are the ultra10s running?
16:58:40 <fizzie> And no, this is not a "then you'd better catch them" joke setup.
16:59:04 <ihope_> I have a Linux box. It's dormant.
16:59:15 <fizzie> Misread "it's a doormat".
16:59:23 <RodgerTheGreat> lol
16:59:45 <RodgerTheGreat> the ultra10s are not running. They're sleeping....perhaps dreaming...
16:59:59 <RodgerTheGreat> dreaming of protein folding and packet routing
17:00:23 <ihope_> And turned off?
17:00:38 <RodgerTheGreat> visions of supercomputing tasks dance in their multiple silicon cores...
17:00:42 <RodgerTheGreat> ihope_: yeah
17:01:54 <RodgerTheGreat> I'm gathering the things as my university throws them away, and eventually I'm going to turn them into a cluster
17:03:04 <fizzie> There were 31 Ultra10s in the computer classes of the CS department building as little as a year ago.
17:03:31 <ihope_> Maybe I should ask my school if they have any computers that need throwing away.
17:03:32 <ihope_> :-P
17:03:58 <fizzie> I wonder where they went. The SGI Indys at least were given to anyone who wanted 'em, and I think there was a similar thing for the SGI O2's, but I didn't see any notices about the sparcs.
17:04:31 <RodgerTheGreat> the trick at MTU is to skulk around all the loading docks, where various departments dispose of their techno-waste. Anything you can find is yours for the taking
17:04:58 <ihope_> Hmm, maybe I'll search for /manual/mod/mod_ssl/, since that seems to be a directory on the web server.
17:04:59 <RodgerTheGreat> it's pretty much all about good timing
17:05:28 <fizzie> The Indys were given away with a "add your name to this web form, then come pick it up from this classroom" procedure.
17:06:00 <RodgerTheGreat> ah
17:06:31 <RodgerTheGreat> well, presumably they did that to avoid a riot, like you'd get if you just dumped a couple SGI machines in a hall somewhere
17:07:02 <ihope_> Anybody know how I'd go about looking for a directory with that name?
17:07:41 <RodgerTheGreat> erm... hm
17:08:09 * ihope_ tries find / | grep "/manual/mod/mod_ssl"
17:08:43 <ihope_> Now to... wait?
17:09:12 <fizzie> find / -type d -name 'mod_ssl' would perhaps been a bit more elegant, but whatever works.
17:09:24 <fizzie> (I don't think there would be that many directories called mod_ssl.)
17:09:26 <ihope_> Cool. /var/www/htdocs/manual/mod/mod_ssl
17:09:35 <ihope_> More elegant?
17:09:44 <fizzie> No useless 'grep' process.
17:09:53 <ihope_> Would it be faster?
17:10:00 <fizzie> Not noticeably, no.
17:10:14 <fizzie> But starting up grep probably crushes millions of fuzzy baby electrons.
17:10:39 <ihope_> And the same number of fuzzy baby protons?
17:10:49 <ihope_> Really big babies, in a really small way.
17:11:04 * SimonRC is entertained by a mangled web-page http://forums.worsethanfailure.com/forums/thread/124261.aspx
17:11:56 <SimonRC> ooh, it has 5.8 seconds of memory, is approx 256 tones tall and can use paper up to 80kg in size!
17:12:41 <fizzie> The "Weight: Standard" made me chuckle, even though it's one of the less outlandish items there.
17:22:28 -!- pikhq has quit (Read error: 110 (Connection timed out)).
17:39:00 <ihope_> Paper Sizes: Optional
17:39:43 -!- c|p has quit.
17:47:06 <RodgerTheGreat> SimonRC: well, paper "80kg in size" isn't *completely* nonsensical- weight is often used to describe the thickness of paper in terms of weight per ream
17:47:20 <RodgerTheGreat> but damn, that'd be some thick paper
19:24:34 -!- pikhq has joined.
19:27:07 <ihope_> 4kg per 25 sheets.
19:27:18 <ihope_> That's about 40 grams a sheet.
19:27:34 <ihope_> In fact, that probably is 40 grams a sheet.
19:35:07 <bsmntbombdood> ask me what?
19:35:56 <ihope_> Did somebody say something about asking?
19:36:10 <ihope_> About asking you, at that?
19:36:46 <bsmntbombdood> you did
19:44:53 <ihope_> When?
19:45:38 <bsmntbombdood> 18:14
19:46:55 <bsmntbombdood> blargh
19:47:05 <bsmntbombdood> the internet here is soo slow
19:48:15 <bsmntbombdood> the upload is faster than the download, lol
19:48:41 <bsmntbombdood> 165 kb/s down 348 up
19:57:10 <ihope_> 18:14?
19:57:24 * ihope_ warns everybody of impending CTCP TIME
19:57:44 <ihope_> That'd be yesterday, wouldn't it?
20:33:10 <bsmntbombdood> yeah
20:35:35 <ihope_> I'm guessing I wanted to know where the bsmnt_bot source code is, then.
20:35:44 <ihope_> (You know, you really should have a bsmnt_bot website.)
20:37:19 <bsmntbombdood> i should?
20:41:21 <bsmntbombdood> http://abacus.kwzs.be/~bsmnt_bot/
20:43:58 <ihope_> Wow, it's one of the smallest websites I've ever seen!
20:44:00 <ihope_> :-P
20:44:22 <bsmntbombdood> and it's not even valid html
20:45:53 <SimonRC> indeed
20:46:09 <SimonRC> it needs a doctype declaration
20:46:29 <SimonRC> How the hell is anyone supposed to remember those anyway?
20:46:45 <SimonRC> and an XML version declaration
20:47:13 <SimonRC> I mean, the syntax includes double forward-slashes, FFS
20:47:29 <bsmntbombdood> is there something like a verbatim tag?
20:51:09 <SimonRC> what would it do?
20:52:20 <bsmntbombdood> put its contents exactly into the document
20:59:16 <bsmntbombdood> ~quit
20:59:17 -!- bsmnt_bot has quit.
20:59:21 -!- bsmnt_bot has joined.
20:59:34 <bsmntbombdood> ~exec while 1: time.sleep(1)
20:59:36 <bsmntbombdood> ~ps
20:59:37 <bsmnt_bot> 0: 'while 1: time.sleep(1)', 2.14 seconds
20:59:37 <bsmnt_bot> 1: 'self.handle_callback(message, m, i)', 0.02 seconds
20:59:50 <bsmntbombdood> somebody do ~kill 0
21:00:48 <bsmntbombdood> crap
21:01:29 <ihope_> ~kill 0
21:02:17 <ihope_> bsmntbombdood: like the <nowiki> of MediaWiki?
21:02:31 <ihope_> Can't you use &lt; and &gt; for that?
21:02:57 <bsmntbombdood> ~ps
21:02:57 <bsmnt_bot> 0: 'while 1: time.sleep(1)', 202.64 seconds
21:02:58 <bsmnt_bot> 1: 'self.handle_callback(message, m, i)', 0.00 seconds
21:03:00 <bsmntbombdood> ~quit
21:03:00 -!- bsmnt_bot has quit (Client Quit).
21:03:03 -!- bsmnt_bot has joined.
21:03:11 <bsmntbombdood> ~exec while 1: time.sleep(1)
21:03:17 <bsmntbombdood> ihope_: do it again
21:03:28 <ihope_> ~kill 0
21:03:29 <bsmnt_bot> ValueError: invalid literal for int(): #esoteric
21:04:37 <ihope_> ~ps
21:04:38 <bsmntbombdood> ~quit
21:04:49 <bsmntbombdood> oh no
21:04:58 <ihope_> Hmm?
21:04:59 <bsmntbombdood> there's a bug
21:05:05 <ihope_> I can see that.
21:05:22 <ihope_> Use ~exec self.raw("QUIT"), though, like the rest of us! :-P
21:05:38 -!- bsmnt_bot has quit (Read error: 131 (Connection reset by peer)).
21:05:41 -!- bsmnt_bot has joined.
21:05:50 <bsmntbombdood> ~exec while 1: time.sleep(1)
21:05:52 <bsmntbombdood> ~os
21:05:55 <bsmntbombdood> ~os
21:05:58 <bsmntbombdood> ~ps
21:05:58 <bsmnt_bot> 0: 'while 1: time.sleep(1)', 8.23 seconds
21:05:59 <bsmnt_bot> 1: 'self.handle_callback(message, m, i)', 0.00 seconds
21:06:03 <bsmntbombdood> ~kill 0
21:06:05 <bsmntbombdood> ~ps
21:06:06 <bsmnt_bot> 0: 'self.handle_callback(message, m, i)', 0.00 seconds
21:06:08 <bsmntbombdood> ok
21:07:24 <bsmntbombdood> anyone know how to maximize a window in windows without using the mouse?
21:07:52 <ihope_> Why do you need to do that?
21:08:12 <bsmntbombdood> because this computer is running windows and doesn't have a mouse
21:08:35 <ihope_> Attach a mouse?
21:09:08 <bsmntbombdood> i would, if i had one
21:09:27 <ihope_> Your place isn't of the type where sufficient searching can yield any number of mice?
21:09:48 <bsmntbombdood> i'm not in my place
21:10:13 <bsmntbombdood> i'm in my new house, where any amount of searching wouldn't yeild much of anything
21:10:13 <ihope_> The place you're in isn't of that type?
21:10:27 <ihope_> Oh, you could set the computer up to go mouseless.
21:10:59 <bsmntbombdood> ?
21:11:23 <ihope_> Accessibility Options under the Control Panel.
21:12:05 <ihope_> If you have a numeric keypad. I'm guessing you do, since if you don't have a laptop you probably have a keypad, and if you don't have a touchpad you probably don't have a laptop.
21:12:43 <ihope_> And if you would rather have a mouse you probably don't have a touchpad.
21:12:46 <SimonRC> to access the thingy menu in the upper-left cornet of a windon, usually you can hit alt-space
21:12:57 <SimonRC> maximise is alt+space,x
21:13:19 <bsmntbombdood> putty sends alt-space
21:13:29 <bsmntbombdood> i did it with this mouse keys thing
21:13:39 <SimonRC> there is a option to tell it not to
21:13:55 <bsmntbombdood> i hate not having my computer
21:14:11 <SimonRC> or you can use win+tab (analogous to alt+tab) to go to putty's taskbar button and hit the context-mnu key on your keyboard
21:14:43 <bsmntbombdood> clever
21:15:01 <ihope_> Cool.
21:15:24 <SimonRC> also, don't forget that alt-shift-tab goes backwards in the alt-tab list
21:15:30 <ihope_> About as nice as knowing about shift+home :-)
21:15:41 <bsmntbombdood> what else should i put on bsmnt_bot's page?
21:15:58 <SimonRC> and you can select most things in the taskbar/startbar/systray using tab, shift-tab, and the arrow keys
21:16:03 <ihope_> ...Are there any here that do home shift+end rather than end shift+home?
21:16:11 <ihope_> Hmm.
21:16:19 <SimonRC> I can't recall what I do
21:17:18 <SimonRC> is it possible to get firefox to do sftp instead of ftp?
21:18:10 <SimonRC> ah, wait, duh , JFGI
21:20:43 <bsmntbombdood> ihope_: my ctcp time is wrong btw
22:01:27 -!- ihope_ has quit ("http://tunes.org/~nef/logs/esoteric/06.08.09").
22:01:46 -!- ihope_ has joined.
23:20:08 -!- ihope_ has quit (Read error: 110 (Connection timed out)).
23:35:38 <Sukoshi> RodgerTheGreat: You home?
23:37:28 -!- sebbu has quit ("@+").
23:44:03 <pikhq> Sukoshi: Nobody is.
23:44:14 <pikhq> When we're on IRC, we fall through the computer and leave home.
23:44:16 <pikhq> :p
23:44:34 <Sukoshi> I see :P
23:47:11 <RodgerTheGreat> I'm here
23:47:22 <RodgerTheGreat> not exactly home, but what the hell
←2007-06-23 2007-06-24 2007-06-25→ ↑2007 ↑all