#test | Logs for 2015-04-07

« return
[06:28:35] chromas is now known as soclose
[07:05:29] -!- aqu4 has quit [Ping timeout: 264 seconds]
[07:11:52] -!- aqu4 [aqu4!~aqu4bot@universe2.us/ircbot/aqu4] has joined #test
[07:11:52] -!- mode/#test [+v aqu4] by wheatley
[08:02:29] -!- aqu4 has quit [Ping timeout: 264 seconds]
[08:07:47] -!- aqu4 [aqu4!~aqu4bot@universe2.us/ircbot/aqu4] has joined #test
[08:07:47] -!- mode/#test [+v aqu4] by wheatley
[10:27:03] soclose is now known as chromas
[11:58:37] -!- exec [exec!~exec@utioner/T-800/BeVeryAfraid] has joined #test
[11:58:37] -!- mode/#test [+v exec] by wheatley
[12:35:29] -!- aqu4 has quit [Ping timeout: 264 seconds]
[12:49:36] -!- MrPlow has quit [Remote host closed the connection]
[12:49:55] -!- MrPlow [MrPlow!~TheMighty@nsa.gov] has joined #test
[12:49:55] -!- mode/#test [+v MrPlow] by wheatley
[12:53:27] -!- MrPlow has quit [Remote host closed the connection]
[12:53:40] -!- MrPlow [MrPlow!~TheMighty@nsa.gov] has joined #test
[12:53:40] -!- mode/#test [+v MrPlow] by wheatley
[13:06:38] -!- MrPlow has quit [Remote host closed the connection]
[13:06:52] -!- MrPlow [MrPlow!~TheMighty@nsa.gov] has joined #test
[13:06:52] -!- mode/#test [+v MrPlow] by wheatley
[13:43:26] -!- MrPlow has quit [Remote host closed the connection]
[13:43:44] -!- MrPlow [MrPlow!~TheMighty@nsa.gov] has joined #test
[13:43:44] -!- mode/#test [+v MrPlow] by wheatley
[13:44:09] -!- TheMightyBuzzard [TheMightyBuzzard!~TheMighty@Soylent/Staff/Developer/TMB] has joined #test
[13:44:09] -!- mode/#test [+v TheMightyBuzzard] by wheatley
[13:46:09] <TheMightyBuzzard> ;dothis $bar = Dumper($last);
[13:46:09] <MrPlow> $VAR1 = {
[13:46:09] <MrPlow> .. 'ChanServ' => {
[13:46:09] <MrPlow> .. 'raw_nick' => 'ChanServ!ChanServ@services.',
[13:46:09] <MrPlow> .. 'type' => 'p',
[13:46:09] <MrPlow> .. 'channel' => 'msg',
[13:46:12] <MrPlow> .. 'body' => '[#test] Logs can be found at: http://logs.sylnt.us'
[13:46:12] <RobotHouse> ^ 03#test | Logs
[13:46:15] <MrPlow> .. },
[13:46:17] <MrPlow> .. 'NickServ' => {
[13:46:19] <MrPlow> .. 'raw_nick' => 'NickServ!NickServ@services.',
[13:46:22] <MrPlow> .. 'type' => 'p',
[13:46:25] <MrPlow> .. 'body' => 'You are now identified for TheMightyBot.',
[13:46:27] <MrPlow> .. 'channel' => 'msg'
[13:46:30] <MrPlow> .. },
[13:46:34] <MrPlow> .. 'TheMightyBuzzard' => {
[13:46:37] <MrPlow> .. 'type' => 'c',
[13:46:39] <MrPlow> .. 'raw_nick' => 'TheMightyBuzzard!~TheMighty@Soylent/Staff/Developer/TMB',
[13:46:42] <MrPlow> .. 'channel' => '#test',
[13:46:45] <MrPlow> .. 'body' => ';dothis $bar = Dumper($last);'
[13:46:48] <MrPlow> .. },
[13:46:50] <MrPlow> .. 'crutchy' => {
[13:46:52] <MrPlow> .. 'channel' => '#Soylent',
[13:46:55] <MrPlow> .. 'body' => 's/^/Matrix /',
[13:46:59] <MrPlow> .. 'raw_nick' => 'crutchy!~crutchy@709-27-2-01.cust.aussiebb.net',
[13:46:59] -!- aqu4 [aqu4!~aqu4bot@universe2.us/ircbot/aqu4] has joined #test
[13:46:59] -!- mode/#test [+v aqu4] by wheatley
[13:47:02] <MrPlow> .. 'type' => 'c'
[13:47:05] <MrPlow> .. },
[13:47:07] <MrPlow> .. 'sedctl' => {
[13:47:09] <MrPlow> .. 'channel' => '#Soylent',
[13:47:12] <MrPlow> .. 'body' => '<crutchy> <MrPlow> Matrix Reloaded',
[13:47:15] <MrPlow> .. 'raw_nick' => 'sedctl!~sedctl@0::1',
[13:47:17] <MrPlow> .. 'type' => 'c'
[13:47:20] <MrPlow> .. }
[13:47:22] <MrPlow> .. };
[13:47:22] -!- crutchy [crutchy!~crutchy@709-27-2-01.cust.aussiebb.net] has joined #test
[13:47:22] -!- mode/#test [+v crutchy] by wheatley
[13:48:55] <TheMightyBuzzard> ;dothis $bar = time();
[13:48:55] <MrPlow> 1428414535
[13:50:14] <TheMightyBuzzard> ;dothis $bar = localtime();
[13:50:14] <MrPlow> Tue Apr 7 13:50:14 2015
[13:50:21] <TheMightyBuzzard> good nuff
[13:50:47] <crutchy> is that an eval?
[13:51:31] -!- MrPlow has quit [Remote host closed the connection]
[13:51:43] -!- MrPlow [MrPlow!~TheMighty@nsa.gov] has joined #test
[13:51:43] -!- mode/#test [+v MrPlow] by wheatley
[13:51:58] <TheMightyBuzzard> crutchy, yep
[13:52:17] <TheMightyBuzzard> eval and print the value of $bar
[13:52:45] <crutchy> cool
[13:53:05] <TheMightyBuzzard> only works for me though for testin porpoises
[13:53:30] <TheMightyBuzzard> like this...
[13:53:54] <TheMightyBuzzard> ;dothis $bar = $last->{crutchy}{when};
[13:54:02] <TheMightyBuzzard> oh, right
[13:54:04] <TheMightyBuzzard> ;reload
[13:54:04] <MrPlow> Reloaded
[13:54:07] <TheMightyBuzzard> ;dothis $bar = $last->{crutchy}{when};
[13:54:07] <MrPlow> Tue Apr 7 13:54:02 2015
[13:55:11] <crutchy> hah
[13:55:25] <crutchy> MrPlow has buckets too eh :p
[13:55:26] <TheMightyBuzzard> beats dumping var values to stdout and lets me test code on a running bot without having to reboot him.
[13:55:36] <crutchy> handy
[13:55:51] <TheMightyBuzzard> of a sort. has volatile code i can load n unload.
[13:56:46] <TheMightyBuzzard> most of his code can be nuked or changed without rebooting him now.
[13:57:27] <TheMightyBuzzard> can even overwrite static parts of his own code, though i prefer not to do that.
[14:00:20] <crutchy> i tried to do something like that, but php is.. err... limited
[14:00:46] <crutchy> any changes to main bot code gotta have a restart
[14:01:00] <TheMightyBuzzard> ya, perl i can even overwrite code in external modules or perl internals if i REALLY want to
[14:01:54] <crutchy> luckily don't need to change bot much. most action is in the external scripts
[14:02:20] <TheMightyBuzzard> most of my commands are but i like putting things that should never change outside the volatile code file
[14:05:10] <TheMightyBuzzard> ;dothis $bar = `ifconfig | awk '/inet addr/{print substr($2,6)}'`;
[14:05:16] <TheMightyBuzzard> awe...
[14:05:26] <TheMightyBuzzard> ;reload
[14:05:26] <MrPlow> Reloaded
[14:05:29] <TheMightyBuzzard> ;dothis $bar = `ifconfig | awk '/inet addr/{print substr($2,6)}'`;
[14:05:37] <TheMightyBuzzard> ;dothis $bar = `ifconfig`;
[14:05:37] <MrPlow> eth0 Link encap:Ethernet HWaddr f2:3c:91:6e:c4:bf
[14:05:37] <MrPlow> .. inet addr:173.255.194.21 Bcast:173.255.194.255 Mask:255.255.255.0
[14:05:37] <MrPlow> .. inet6 addr: 2600:3c00::f03c:91ff:fe6e:c4bf/64 Scope:Global
[14:05:37] <MrPlow> .. inet6 addr: fe80::f03c:91ff:fe6e:c4bf/64 Scope:Link
[14:05:38] <MrPlow> .. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[14:05:41] <MrPlow> .. RX packets:82133607 errors:0 dropped:0 overruns:0 frame:0
[14:05:44] <MrPlow> .. TX packets:79310793 errors:0 dropped:0 overruns:0 carrier:0
[14:05:46] <MrPlow> .. collisions:0 txqueuelen:1000
[14:05:49] <MrPlow> .. RX bytes:117050195127 (117.0 GB) TX bytes:136113445831 (136.1 GB)
[14:05:52] <MrPlow> .. Interrupt:32
[14:05:54] <MrPlow> ..
[14:05:56] <MrPlow> ..eth0:0 Link encap:Ethernet HWaddr f2:3c:91:6e:c4:bf
[14:05:59] <MrPlow> .. inet addr:192.168.170.201 Bcast:192.168.255.255 Mask:255.255.128.0
[14:06:01] <MrPlow> .. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[14:06:04] <MrPlow> .. Interrupt:32
[14:06:06] <MrPlow> ..
[14:06:09] <MrPlow> ..lo Link encap:Local Loopback
[14:06:11] <MrPlow> .. inet addr:127.0.0.1 Mask:255.0.0.0
[14:06:14] <MrPlow> .. inet6 addr: ::1/128 Scope:Host
[14:06:16] <MrPlow> .. UP LOOPBACK RUNNING MTU:16436 Metric:1
[14:06:19] <MrPlow> .. RX packets:100796671 errors:0 dropped:0 overruns:0 frame:0
[14:06:19] <TheMightyBuzzard> spam spam spam spam
[14:06:21] <MrPlow> .. TX packets:100796671 errors:0 dropped:0 overruns:0 carrier:0
[14:06:24] <MrPlow> .. collisions:0 txqueuelen:0
[14:06:26] <MrPlow> .. RX bytes:108179481593 (108.1 GB) TX bytes:108179481593 (108.1 GB)
[14:21:29] <crutchy> haha. you got an exec too
[14:22:50] <crutchy> fucket. tried to push to github from two different local repo copies :/
[14:23:05] <crutchy> now i gotta do my branchy fix thingy
[14:28:45] <crutchy> fixed it, but i got a little branch bump in the network diagram
[14:29:21] <crutchy> there's prolly a more elegant way of doing that
[14:33:01] <crutchy> ~eval ip -f inet addr
[14:33:35] <crutchy> derp. non-permitted channel for ~eval :/
[14:34:20] <crutchy> ~rehash
[14:34:30] <exec> successfully reloaded exec file (133 aliases)
[14:34:40] <crutchy> ~eval ip -f inet addr
[14:34:43] <exec> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
[14:34:44] <exec> inet 127.0.0.1/8 scope host lo
[14:34:44] <exec> valid_lft forever preferred_lft forever
[14:34:45] <exec> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
[14:34:46] <exec> inet 192.168.1.58/24 brd 192.168.1.255 scope global dynamic eth0
[14:34:47] <exec> valid_lft 66969sec preferred_lft 66969sec
[14:35:30] <crutchy> would be nice if there was a way i could just grab eth0