[02:49:01] snarfer has joined #noxbot
[08:38:17] <snarfer> CyaNox: I have an idea about the .app
[08:38:24] <snarfer> It'll have to wait to be implemented though
[08:38:29] * snarfer makes note
[08:38:50] <snarfer> I'll probably be on later in your evening
[08:39:33] snarfer has quit:
[08:59:23] snarfer has joined #noxbot
[09:00:03] snarfbot_SVN has joined #noxbot
[09:01:44] <CyaNox> morning
[09:03:08] <snarfer> Morning
[09:03:13] <snarfer> Though I should get to bed soon
[09:03:49] <snarfer> There's an if loop in noxbot.php line 50
[09:04:06] <snarfer> It just checks for CLI flags
[09:04:11] <snarfer> From what it looks like
[09:04:13] <snarfer> correct?
[09:04:54] <snarfer> !trac
[09:05:02] <snarfer> :/
[09:05:32] <CyaNox> its not a loop but it checks if it runs in CLI mode yes
[09:05:52] <snarfer> Why does it do that?
[09:06:01] <snarfer> And what purpose does it serve?
[09:06:09] <CyaNox> because its nto meant to be run in a browser
[09:06:14] <CyaNox> or through apache
[09:07:34] <snarfer> But if you run it through a browser, wouldn't that reder that loop false
[09:07:43] <snarfer> And then exit()
[09:08:41] <snarfer> Correct?
[09:08:58] testbot9683 has joined #noxbot
[09:08:58] testbot9683 has quit: Remote closed the connection
[09:09:18] <CyaNox> the whole point of that check is to stop people from starting the bot through a browser
[09:09:49] <snarfer> Ah, misunderstood you
[09:10:01] <CyaNox> There is no single reason why one would even want to run the bot through the browser.
[09:11:20] <snarfer> True
[09:11:38] <snarfer> Heh, nice way of generating a password
[09:12:14] <CyaNox> where?
[09:12:26] <CyaNox> there are more then one places where a password is generated in the bot.
[09:12:57] <snarfer> classes/socket_server.php[41]
[09:13:42] <snarfer> Ah, that's just the server pass
[09:14:10] <CyaNox> indeed
[09:14:26] <CyaNox> the other one is in auth.php line 347
[09:14:35] <snarfer> Heh
[09:14:58] <snarfer> classes//socket_server.php[47]
[09:15:26] <snarfer> What's with connecting to tcp://0.0.0.0:49000 ?
[09:16:34] <CyaNox> it opens a listening port on all interfaces
[09:17:06] <snarfer> To check if there's an outside connection...
[09:17:16] <CyaNox> no its simply just opens it.
[09:18:05] <snarfer> Why do you need a listening port?
[09:18:14] <snarfer> Aren't you just connecting to the irc server?
[09:18:54] <CyaNox> the socket server can do some fancy things. Its more or less a bridge for other aplications to send data and commands (which will become events) to the bot,
[09:19:16] <CyaNox> the svnhook.php script utilizes this together with the svnhook plugin.
[09:19:26] <snarfer> Hmm
[09:19:31] <CyaNox> no the connection to the irc server is something different
[09:20:07] <snarfer> OK
[09:20:53] <snarfer> IIRC, there's a shorthand hack at line 48
[09:20:55] <snarfer> Same file
[09:21:02] <snarfer> !$errno
[09:21:06] <snarfer> That should do it
[09:21:31] <CyaNox> thats not really a hack
[09:21:47] <CyaNox> and it implies another type conversion
[09:21:58] <CyaNox> which with my current check is not needed
[09:22:34] <snarfer> Just shorthand
[09:22:55] <CyaNox> its shorter yes but in theory less acurate
[09:23:45] <snarfer> Right
[09:24:14] <snarfer> Language pack (en) doesn't exist
[09:24:18] <snarfer> Is this true?
[09:25:53] <snarfer> Warning: stream_select(): supplied argument is not a valid stream resource in /Users/snarfer/Projects/noxbot/classes/socket_server.php on line 61
[09:26:50] testbot9683 has joined #noxbot
[09:27:00] <snarfer> testbot9683: version
[09:27:01] <testbot9683> NoxBot version 0.3.1 (r0 Unknown) made by Mark Sanders (CyaNox) running with PHP 5.1.6 on Darwin since Thu, 01 Feb 2007 09:26:22 +0100.
[09:27:07] <snarfer> Hm
[09:27:10] <snarfer> Runs fine
[09:27:21] <snarfer> Except for that Warning
[09:27:39] testbot9683 has quit: Remote closed the connection
[09:28:43] <snarfer> Socket was created correctly
[09:29:28] testbot9683 has joined #noxbot
[09:29:39] testbot9683 has quit: Remote closed the connection
[09:30:57] <CyaNox> the socket server is not required so it does not matter much
[09:33:21] testbot9683 has joined #noxbot
[09:33:35] <snarfer> Which is why the bot continues to run
[09:33:41] <snarfer> But the warning
[09:33:51] * snarfer does some more tweaking
[09:34:03] testbot9683 has quit: Remote closed the connection
[09:34:32] <CyaNox> and the english language pack ... well ... its not needed either. All text in the bot are english already
[09:34:52] <snarfer> Right, it's just notice()s are being used
[09:35:09] <JohnTitor> SVN--> admin commited r292 to noxbot with log message: Small tweak. (+1, -2).
[09:36:15] testbot9683 has joined #noxbot
[09:36:19] testbot9683 has quit: Remote closed the connection
[09:36:33] <JohnTitor> SVN--> admin commited r293 to noxbot with log message: more tweaks. (+2, -2).
[09:37:18] snarfbot_SVN has quit: Remote closed the connection
[09:37:36] <CyaNox> and notice()'s are usually not visible when running normally.
[09:37:58] <snarfer> Does classes/socket_server.php only open the listening port?
[09:38:45] <CyaNox> well in that file there is also the accepting of new connections, transforming the received data to an event and the ability te send data to an existing connection.
[09:38:54] snarfbot_SVN has joined #noxbot
[09:39:39] <snarfer> And if the recieved data doesn't get recieved, then commands are rendered useless
[09:39:42] <snarfer> :/
[09:42:58] <snarfer> Oh, it wasn't notice()s that were being thrown, it was PHP's e_warning
[09:43:11] testbot9683 has joined #noxbot
[09:43:40] <snarfer> testbot9683: version
[09:43:41] <testbot9683> NoxBot version 0.3.1 (rBOTSYSREVISIONBOTSYSMODIFIED) made by Mark Sanders (CyaNox) running with PHP 5.1.6 on Darwin since Thu, 01 Feb 2007 09:42:43 +0100.
[09:44:33] <snarfer> In noxbot.php classes/socket_server.php is require_once() twice
[09:44:40] <snarfer> That just doesn't make any sense
[09:45:38] testbot9683 has quit: Remote closed the connection
[09:45:40] testbot9683 has joined #noxbot
[09:45:56] <snarfer> testbot9683: version
[09:45:57] <testbot9683> NoxBot version 0.3.1 (rBOTSYSREVISIONBOTSYSMODIFIED) made by Mark Sanders (CyaNox) running with PHP 5.1.6 on Darwin since Thu, 01 Feb 2007 09:45:12 +0100.
[09:46:03] <snarfer> Ooohhh
[09:46:08] <snarfer> Hm
[09:47:45] testbot9683 has quit: Remote closed the connection
[09:47:58] testbot9683 has joined #noxbot
[09:48:02] <snarfer> testbot9683: version
[09:48:03] <testbot9683> NoxBot version 0.3.1 (r0 Error 3) made by Mark Sanders (CyaNox) running with PHP 5.1.6 on Darwin since Thu, 01 Feb 2007 09:47:22 +0100.
[09:48:10] <snarfer> YES!
[09:48:13] testbot9683 has quit: Remote closed the connection
[09:48:43] testbot9683 has joined #noxbot
[09:48:59] <snarfer> testbot9683: version
[09:49:00] <testbot9683> NoxBot version 0.3.1 (r0 Error 3) made by Mark Sanders (CyaNox) running with PHP 5.1.6 on Darwin since Thu, 01 Feb 2007 09:48:08 +0100.
[09:49:09] <snarfer> CyaNox: ping
[09:49:14] <snarfer> Look alive
[09:50:09] testbot9683 has quit: Remote closed the connection
[09:50:31] testbot9683 has joined #noxbot
[09:50:38] <snarfer> CyaNox: I have testbot9683 running from inside a binary
[09:51:22] snarfbot_SVN has quit: Remote closed the connection
[09:51:57] <CyaNox> well thats exactly why I use require_once() ... I prefere to not need to check how often I include something.
[09:53:00] <snarfer> True, but it's in the same file
[09:53:05] <snarfer> Not 5 lines apart
[09:55:49] <snarfer> !ticket 18
[09:58:05] <CyaNox> whats with ticket 18?
[09:58:08] snarfbot_SVN has joined #noxbot
[09:58:17] <JohnTitor> SVN--> admin commited r294 to noxbot with log message: snarfer are you happy now? (+0, -1).
[09:58:19] <snarfer> Look at it
[09:58:28] snarfbot_SVN has quit: Remote closed the connection
[09:59:09] <CyaNox> priority still should have stayd trivial.
[09:59:22] <CyaNox> and the osx binary should have been a new ticket.
[09:59:39] <snarfer> You can delete the comment if you'd like
[10:00:04] <CyaNox> no I cannot
[10:00:16] <snarfer> Aren't you the admin?
[10:00:45] <CyaNox> yes
[10:00:55] <CyaNox> but removing comments is not a feature of trac
[10:01:10] <CyaNox> or Trac has as feature to preserve comments
[10:02:19] snarfbot_SVN has joined #noxbot
[10:02:23] <snarfer> Hm
[10:02:29] <snarfer> I can still make a new ticket
[10:02:57] <snarfer> I can make a .zip of the package
[10:02:59] <snarfer> If you'd like
[10:03:55] testbot9683 has quit: Remote closed the connection
[10:04:10] <snarfer> Well, according to the GPL, I have to
[10:04:51] <CyaNox> how is it normally distributed for osx?
[10:05:30] <snarfer> Usually in a .dmg
[10:09:08] <CyaNox> well can you make that?
[10:09:14] <CyaNox> (and maintain it)
[10:10:59] <snarfer> Sure I guess
[10:12:38] <CyaNox> you can btw attach it to a new ticket once your done. I'll eventually get to it to put it on the website
[10:14:38] <snarfer> So long as you can track stable releases on Freshmeat, I can keep the binary up to date
[10:14:46] <snarfer> I just need to note what changes I made
[10:15:25] <CyaNox> if I make a release I will add it to freshmeat
[10:15:38] <CyaNox> /update
[10:15:52] <snarfer> What do you mean, if?
[10:16:38] <snarfer> Just kidding ;)
[10:18:48] <snarfer> There
[10:18:59] <snarfer> I uploaded the DMG to my server
[10:19:14] <snarfer> (Uploading it to your trac would take ages)
[10:19:29] <snarfer> spontaneousdancing.net/noxbot.dmg
[10:20:45] <snarfer> Now I really need sleep
[10:24:55] snarfer has quit:
[10:52:57] snarfbot_SVN has quit: Read error: 60 (Operation timed out)
[16:36:20] snarfbot_SVN has joined #noxbot
[18:01:08] snarfer has joined #noxbot
[18:25:51] <CyaNox> morning snarfer
[18:59:23] <snarfer> Morning
[19:37:45] <snarfer> Hm
[19:37:50] <snarfer> I was thinking
[19:38:10] <snarfer> Perhaps there ought to be like a command line script
[19:38:24] <snarfer> That sets the configuration variables
[20:40:28] <CyaNox> thats alrady on the todo list for 0.4
[20:41:32] <CyaNox> owh and snarfer I put the .dmg on the site ... http://noxbot.org/noxbot-0.3.1.dmg ... I however havent updated the wiki or the freshmeat project.
[20:41:56] <snarfer> Ah, thanks
[20:42:10] <snarfer> It would've taken forever to upload it to your trac
[20:42:11] <CyaNox> maybe you could do the wiki
[20:42:21] <snarfer> Sure
[20:42:25] <CyaNox> why would it have taken so long?
[20:42:40] <snarfer> My internet decided to crap out on me
[20:42:51] <snarfer> I think my ISP capped me for torrenting
[20:42:55] <snarfer> D:
[20:43:12] <CyaNox> well I know it aint my side ... got a quite stable 20MBits downstream connectiom
[20:43:39] <CyaNox> owh and I'm also rather happy to not be capped or limited in traffic usage ... :p
[20:44:08] <snarfer> Lucky :p
[20:44:15] <snarfer> It really has to do with the stupid ToS's they hand out
[20:44:23] <snarfer> And the amount of overselling they do
[20:44:27] <CyaNox> well it does not come cheap though
[20:45:10] <CyaNox> I pay a bit more then 50 euro's each month
[20:45:19] <snarfer> Damn
[20:45:37] <snarfer> That's why you have a day job, eh?
[20:45:43] <CyaNox> I also leech at least 100GB a month
[20:45:54] <CyaNox> no the day job was there first ... :p
[20:45:58] <CyaNox> besides I like my job
[20:46:30] <CyaNox> I can aquire free domains, hosting and such. Have full control over the zone files, and all kinds of shit
[20:47:11] * snarfer assumes CyaNox identity
[20:47:40] * CyaNox ghosts CyaNox
[20:48:18] <CyaNox> besides that I'm almost always online so taking my nick is rather difficult
[20:49:24] <snarfer> I meant IRL, but eh
[20:49:57] <CyaNox> who says I wasent talking about RL ... :p
[20:50:51] <snarfer> XD
[20:52:56] * CyaNox waits for 12gig to be transfered
[20:53:33] <snarfer> 12gigs of what?
[20:53:42] <CyaNox> backups
[20:53:51] <CyaNox> all my work from my laptop
[20:54:05] <snarfer> http://noxbot.org/index.php/Howto_Install_And_Run_Noxbot#Mac_OSX
[20:54:11] <snarfer> Backups = necessary
[20:54:50] <CyaNox> don't forget the page: http://noxbot.org/index.php/Downloads
[20:57:02] <CyaNox> its 602KB in case you are wondering
[20:57:34] <snarfer> The .dmg ?
[20:57:37] <snarfer> Yeah, I knew
[20:57:37] <CyaNox> yes
[20:57:51] <CyaNox> oeh almost done
[20:59:44] <CyaNox> so lapptop reinstall time
[20:59:58] <CyaNox> not something I do regularly
[21:00:09] <CyaNox> but this time I fucked it up a bit too much
[21:00:20] <CyaNox> thats what you get for running bleeding edge ubuntu
[21:00:44] <snarfer> Heh
[21:00:49] <snarfer> Oops
[21:00:57] <snarfer> Are you using Edgy Eft?
[21:01:49] <CyaNox> no I was using Feisty
[21:07:08] <snarfer> Ah
[21:07:12] <CyaNox> but currently installing edgy
[21:07:28] <CyaNox> probably going to run beryl as WM
[21:07:32] <snarfer> I heard a lot of people were having ussues with it
[21:07:47] <snarfer> http://noxbot.org/index.php/Downloads
[21:08:03] <CyaNox> I havent had issues that where because of ubuntu
[21:08:41] <CyaNox> hhhmmm I'm not satisfied with the formatting there
[21:08:53] <snarfer> I know
[21:09:05] * snarfer is rusty with his WikiFormatting
[21:10:23] * CyaNox is going to write a php script that is going to stream music to an icecast server ... :p
[21:12:24] <CyaNox> hhmmm I should prolly start with writing something that allows me to clean up my music collection
[21:14:09] <CyaNox> hhhmmm nah ...
[21:14:12] <CyaNox> I'll do that later
[21:14:17] <CyaNox> gonna watch some X-Files episodes
[21:16:39] <snarfer> Heh, my sister was obsessed with Xfiles
[21:16:51] <snarfer> Have fun
[21:18:26] <CyaNox> owh and in the meantime chat a bit and work on my new clean ubuntu install to mess it up again ... :p
[21:20:50] <snarfer> Heh
[22:47:55] snarfer has quit:
[22:48:43] snarfbot_SVN has quit: Remote closed the connection