Timestamps are in GMT/BST.
| 00:03:11 | Watusimoto_ | oh yes, it was |
| 00:03:14 | Watusimoto_ | and is |
| 00:03:39 | Watusimoto_ | I'm trying to funnel all the lua calls through one method to make hooking up the stacktracer easier |
| 00:03:49 | Watusimoto_ | I've tried this many times before, and always failed |
| 00:04:18 | hdon | raptor, how do i go into the editor? |
| 00:04:36 | raptor | select LEVEL EDITOR |
| 00:04:47 | raptor | type in a filename (can be anything), then press enter |
| 00:05:12 | hdon | raptor, i'm in the editor but when i hit control-enter nothing happens |
| 00:05:22 | hdon | i have a tool bar, a green info box, and a white-on-black grid |
| 00:05:35 | hdon | oh |
| 00:05:38 | hdon | NOT pressing control worked |
| 00:05:53 | hdon | and it types a back-tick |
| 00:05:54 | hdon | heh |
| 00:06:11 | hdon | ok i'll see how difficult it is to make this run oglconsole850 branch |
| 00:06:18 | hdon | now that i know how to pull it up :) |
| 00:07:00 | raptor | ctrl + SLASH |
| 00:07:12 | raptor | the slash --> / |
| 00:08:00 | Watusimoto_ | in editor it's just slash, no ctrl |
| 00:08:16 | Watusimoto_ | but definitely the forward leaning one |
| 00:13:49 | hdon | i got it :) |
| 00:18:15 | | BFLogBot Commit: 80097c038c6d | Author: watusimoto | Message: Remove almost all of Robot::tickTimer; fix problem with bot events firing (we seem to arbitrarily assign error conditions to true in some places, and ok to true in others. What a mess!) |
| 00:19:07 | raptor | Watusimoto_: does that last one have anything to do with #33 on the running list? |
| 00:19:39 | | bobdaduck has joined |
| 00:19:46 | bobdaduck | Goodmorning, gentlemen. |
| 00:19:47 | Watusimoto_ | not intentionally -- it was a problme I introduced in previous batch of commits |
| 00:20:00 | raptor | hi bobdaduck |
| 00:20:04 | Watusimoto_ | hey there |
| 00:20:24 | Watusimoto_ | this is all related to 25 |
| 00:20:31 | Watusimoto_ | kind of 25 on super horse steriods |
| 00:20:41 | Watusimoto_ | the lance armstrong of 25 |
| 00:20:47 | bobdaduck | wat |
| 00:20:50 | Watusimoto_ | 25 gone wild |
| 00:21:00 | bobdaduck | wut |
| 00:21:07 | raptor | !bug |
| 00:21:07 | BFLogBot | To enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List |
| 00:21:37 | raptor | bobdaduck I can't tell if that is fog or pollution outside... |
| 00:21:47 | raptor | but i can't see the mountains to the south.. |
| 00:22:12 | bobdaduck | *checks* |
| 00:22:16 | bobdaduck | Huh. |
| 00:22:22 | bobdaduck | I dunno, just low clouds? |
| 00:22:35 | raptor | we're having an inversion right now, right? |
| 00:22:43 | bobdaduck | Yeah that. |
| 00:22:51 | bobdaduck | I have no idea what it means but I heard about it. |
| 00:22:54 | raptor | it's like the inversion mixed with clouds |
| 00:23:11 | raptor | it just means air currents change in a weird way to trap all air here |
| 00:23:16 | raptor | in the valleys |
| 00:25:09 | bobdaduck | Ah. |
| 00:25:18 | bobdaduck | Yes, well, that does certainly appear to be what's happening. |
| 00:25:43 | Watusimoto_ | inversion means stop breathing |
| 00:25:45 | hdon | Watusimoto_, raptor what revision did you guys think you started from with oglconsole? |
| 00:25:50 | Watusimoto_ | inversion means beautiful skiing |
| 00:26:08 | Watusimoto_ | wow |
| 00:26:25 | Watusimoto_ | raptor: how can we tell what version we added a file? |
| 00:26:30 | Watusimoto_ | look at file's history? |
| 00:26:41 | raptor | hg log... |
| 00:26:55 | raptor | hg log <file> oldest revision means it was added |
| 00:27:18 | raptor | 600, something.. |
| 00:27:43 | raptor | Watusimoto_: how does inversion mean beautiful skiing? because you see the filth below it contrasts the beauty of the mountains? |
| 00:27:54 | Watusimoto_ | yup |
| 00:28:11 | Watusimoto_ | it means I'm up here in the mountains, and it sucks to be in SLC because look at all that crap! |
| 00:28:20 | raptor | haha |
| 00:28:25 | Watusimoto_ | even if the snow is bad, it sure beats life down there |
| 00:28:30 | hdon | oh right |
| 00:28:31 | hdon | duh |
| 00:28:51 | hdon | it looks like the first commit of it says |
| 00:28:58 | hdon | "Sams' console fixes plus a few from trunk" |
| 00:29:05 | hdon | Nov 14 2010 |
| 00:29:24 | Watusimoto_ | raptor: did oglconsole predate our move to google code? |
| 00:29:46 | Watusimoto_ | I see first mention of it in versin 601, but it clearly existed before that |
| 00:29:52 | raptor | beautiful!: http://www.airquality.utah.gov/aqp/utah-currentconditions.html |
| 00:29:59 | raptor | Watusimoto_: maybe? |
| 00:30:07 | Watusimoto_ | my thoughts exactly |
| 00:30:38 | raptor | when i converted to svn to hg it had to do some tricksy stuff with all the crazy branches - some pruning was involved |
| 00:30:39 | Watusimoto_ | I think it must have |
| 00:30:56 | Watusimoto_ | you didn't keep history when we moved to google code, did you? |
| 00:31:00 | raptor | i sure did |
| 00:31:52 | Watusimoto_ | well, all I can say is that it predated rev 601 |
| 00:32:07 | raptor | but i think some did get lost because of all the branch stuff... like a branch would have loads of changes in it, then the files were just copied to trunk without any pointing to the branch history |
| 00:33:10 | raptor | this was difficult to reconcile: http://zap.svn.sourceforge.net/viewvc/zap/ |
| 00:33:34 | | Fordcars Quit (Quit: This computer has gone to sleep) |
| 00:33:41 | hdon | what is zap? |
| 00:34:24 | hdon | that's weird |
| 00:34:35 | hdon | i just copied in an old version of oglconsole.{c,h} |
| 00:34:41 | raptor | a little on that here: http://www.bitfighter.org/wiki/index.php/History_of_Bitfighter |
| 00:35:17 | hdon | and then when i did make clean and make |
| 00:35:34 | hdon | i got a bunch of linker errors for OGLCONSOLE symbols |
| 00:35:37 | hdon | but the weird thing is |
| 00:35:39 | hdon | i can't find oglconsole.o anywhere |
| 00:35:41 | raptor | 'Zap!' was the original open source game released to show off TNL, it morphed into Bitfighter |
| 00:35:51 | hdon | do you guys use .o as your object filenames on *nix? |
| 00:35:57 | Watusimoto_ | hmmmm |
| 00:35:57 | hdon | it would appear that way |
| 00:36:06 | Watusimoto_ | I can't find it even here, which is well after 601 |
| 00:36:07 | Watusimoto_ | http://zap.svn.sourceforge.net/viewvc/zap/release-013/zap/ |
| 00:36:10 | hdon | in zap directory i only see |
| 00:36:13 | hdon | ClientGame.o |
| 00:36:15 | hdon | no other .o files |
| 00:36:23 | hdon | how can that be? |
| 00:36:27 | raptor | hdon: are you trying to compile and older release? |
| 00:36:31 | raptor | *an |
| 00:36:33 | hdon | oh wait |
| 00:36:39 | hdon | i'm retarded |
| 00:36:44 | hdon | before i did make clean i got linker errors |
| 00:36:46 | hdon | now i'm getting compiler errors |
| 00:36:51 | hdon | i can figure it out now :) |
| 00:37:26 | raptor | no guarantee of compilability with very old revisions |
| 00:37:35 | | hdon nods |
| 00:37:46 | hdon | i was just perplexed because i didn't actually read the errors :| |
| 00:38:08 | hdon | i'm also trying to watch a really dumb tv show at the same time as i'm working which is not helping |
| 00:38:50 | hdon | how come you guys call OGLCONSOLE_CreateFont() ? |
| 00:39:03 | hdon | ohhhh |
| 00:39:12 | hdon | that's why! |
| 00:39:21 | hdon | because on some systems you lose your textures sometimes |
| 00:39:29 | hdon | like fullscreen toggle on mswindows |
| 00:39:44 | raptor | windows + opengl textures... argh! |
| 00:40:06 | hdon | i barely used mswindows since 2001 |
| 00:41:01 | hdon | that is a good bugfix but |
| 00:41:11 | hdon | i have no good way to test that it actually works if i try to reimplement that particular bugfix :( |
| 00:41:18 | hdon | no mswindows dev environment |
| 00:41:26 | hdon | my girlfriend has an mswindows machine though |
| 00:41:35 | hdon | maybe i could borrow it while she's at work |
| 00:42:01 | hdon | hmm |
| 00:42:05 | hdon | there may be a better way to do this |
| 00:43:13 | hdon | yes this will be much easier |
| 00:43:33 | hdon | Watusimoto_, i can provide you with a diff if you want to try to apply the Code Page 850 branch changes to your oglconsole |
| 00:43:54 | hdon | that will be easier than trying to reconcile our very divergent branches |
| 00:44:04 | raptor | hdon: VMs are your friend |
| 00:44:10 | raptor | when testing cross-platform stuff |
| 00:44:21 | hdon | raptor, i don't want redmond polluting my machine |
| 00:44:26 | Watusimoto_ | hdon: sure, that would be great |
| 00:44:50 | raptor | then think of a VM as a trash can |
| 00:45:01 | raptor | you can throw it away any time |
| 00:45:04 | Watusimoto_ | of course, I should tell you that if you were to make the fix yourself, you;d get a special developer badge when you played Bitfighter! |
| 00:45:14 | hdon | Watusimoto_, http://codebad.com/~hdon/oglconsole-850.patch |
| 00:45:23 | hdon | Watusimoto_, the first file there is just a font, sorry i shouldn't have included it |
| 00:45:34 | hdon | let me fix it |
| 00:46:00 | hdon | Watusimoto_, updated the file |
| 00:46:33 | hdon | Watusimoto_, you should have the needed file font850.c from the tarball i sent you earlier |
| 00:46:40 | Watusimoto_ | yes |
| 00:46:52 | hdon | Watusimoto_, you'll see this patch is very simple, and may mirror bugfixes you have already made, in which case you can just skip them |
| 00:47:46 | Watusimoto_ | great; I'll try it in a couple of minutes |
| 00:47:52 | hdon | hmm, i think i got an extra revision in there i didn't want |
| 00:48:14 | Watusimoto_ | so much for going to bed early |
| 00:48:20 | Watusimoto_ | it's almost 2AM! |
| 00:48:24 | hdon | :o |
| 00:48:38 | hdon | it's almost 5 PM where i am |
| 00:49:05 | hdon | in the glorious united states of america |
| 00:50:25 | Watusimoto_ | you're in PA, right? |
| 00:50:54 | raptor | pacific timezone |
| 00:51:30 | Watusimoto_ | I'm way out of date on my intel |
| 00:54:11 | hdon | Watusimoto_, i used to live in pittsburgh, pa. my employer wanted me in las vegas, nv, for the summer. i figured it was time for a change of scenery, so i just gave away my furniture and moved |
| 00:56:16 | hdon | ok i'm gonna get back to the project that caused me to unearth oglconsole :) |
| 00:56:23 | hdon | Watusimoto_, if you need any more help with oglconsole let me know |
| 00:56:38 | Watusimoto_ | thanks; wrestling with the patch now |
| 00:56:56 | hdon | Watusimoto_, it's pretty simple. i made those changes (minus the min() stuff) in just a couple hours |
| 00:57:10 | hdon | most of that time was spent in gimp lining up the raster font characters lol |
| 00:57:15 | Watusimoto_ | yeah, I'm trying to use a tool that is not well suited to the task |
| 00:57:15 | hdon | well not most |
| 00:57:26 | hdon | Watusimoto_, for this kind of thing i wouldn't use an automatic patching tool |
| 00:58:08 | Watusimoto_ | looks easy enough to do manually |
| 00:58:08 | hdon | when i'm not 100% confident in an automatic merge, i just open the patch in an editor, and implement the changes myself with my own brain, deleting parts of the patch file as i do them |
| 00:58:15 | hdon | i think so :) |
| 00:58:16 | | BFLogBot Commit: 23914374fa77 | Author: watusimoto | Message: Whitespace |
| 00:58:18 | | BFLogBot Commit: c18e390c1b8b | Author: watusimoto | Message: Consolidate tickTimer for both bots and levelgens into a single function. yay!! |
| 00:58:36 | hdon | Watusimoto_, fwiw you'll get all the neat Code Page 850 characters you can use for drawing boxes and such |
| 00:58:45 | Watusimoto_ | but it's going to have to wait until tomorrw, sadly |
| 00:58:49 | Watusimoto_ | that's cool! |
| 00:58:57 | Watusimoto_ | maybe we can find a way to use that |
| 00:59:19 | Watusimoto_ | old school ncurses style menu |
| 00:59:37 | hdon | for this project i'm going to be adding additional features to oglconsole so that i can have multiple consoles on the same screen with resizing/repositioning |
| 00:59:48 | hdon | and also have non-interactive consoles just for displaying text |
| 00:59:58 | Watusimoto_ | cool |
| 00:59:58 | hdon | it's a network diagnostic tool in opengl :) |
| 01:00:17 | Watusimoto_ | you'd proabbly be well served to do that in c++, so you could do some object orientation |
| 01:00:40 | Watusimoto_ | you just described the perfect class system |
| 01:00:53 | hdon | i thought about it, but you can do OOP programming in C easily enough, since i can't make much use of inheritance for this |
| 01:00:54 | Watusimoto_ | console, resizingconsole, displayconsole, editconsole, etc. |
| 01:01:06 | hdon | if i could use inheritance then i would use C++ |
| 01:01:15 | hdon | well you say it's a perfect class ontology |
| 01:01:15 | Watusimoto_ | I totally think you could |
| 01:01:24 | hdon | but i think it's really just a couple of switches |
| 01:01:39 | Watusimoto_ | yes, that would obviously work as well |
| 01:01:39 | hdon | some consoles are interactive. all consoles should be resizable. |
| 01:01:46 | hdon | so there would be a switch for interactive |
| 01:02:00 | Watusimoto_ | I like classes! |
| 01:02:04 | Watusimoto_ | :-) |
| 01:02:04 | hdon | heh |
| 01:02:17 | Watusimoto_ | well in any case, I need to get some sleep |
| 01:02:25 | Watusimoto_ | so to all, adieu! |
| 01:02:35 | raptor | night! |
| 01:02:40 | hdon | i have found in 15 years of programming that deep ontologies can be cumbersome, and only to use them when there is very good justification for doing so |
| 01:02:43 | raptor | i'm heading home, laters! |
| 01:02:45 | hdon | goodnight Watusimoto_ |
| 01:02:58 | Watusimoto_ | it's a good day when I can reduce the amount of code we have |
| 01:03:02 | Watusimoto_ | I'll sleep well |
| 01:03:06 | hdon | but sometimes i still get crazy and think "i love OOP!" and go overboard.. |
| 01:03:13 | hdon | :) |
| 01:03:43 | | raptor Quit () |
| 01:20:48 | | Watusimoto_ Quit (Ping timeout: 246 seconds) |
| 01:21:08 | | bobdaduck Quit (Quit: Page closed) |
| 01:45:01 | | BFLogBot Commit: 6c716a9deb93 | Author: sam8641 | Message: Fix dedicated compile, Fix warning "Not all control paths return a value" |
| 03:35:58 | | raptor has joined |
| 03:35:58 | | ChanServ sets mode +o raptor |
| 04:13:54 | | ShadowXLoner Quit (Quit: ShadowXLoner) |
| 05:14:24 | | ShadowXLoner has joined |
| 05:25:23 | | raptor Quit () |
| 05:26:10 | | ShadowXLoner Quit (Quit: ShadowXLoner) |
| 05:34:35 | | amgine1234567890 has joined |
| 05:34:39 | amgine1234567890 | hi |
| 05:34:49 | | amgine1234567890 Quit (Client Quit) |
| 06:56:08 | | bobdaduck has joined |
| 08:36:50 | | watusimoto has joined |
| 08:36:54 | | ChanServ sets mode +o watusimoto |
| 08:38:57 | bobdaduck | Goodmorning, watusimoto |
| 09:29:13 | | bobdaduck Quit (Quit: Page closed) |
| 11:26:03 | | LordDVG has joined |
| 12:49:32 | | raptor has joined |
| 12:49:32 | | ChanServ sets mode +o raptor |
| 14:36:50 | watusimoto | hi |
| 15:44:29 | raptor | hi |
| 15:47:25 | | bobdaduck has joined |
| 15:47:56 | bobdaduck | Goodmorning, gentlemen. |
| 15:48:04 | raptor | buenos |
| 15:58:35 | raptor | i'm off to learn about electrostatic charges! |
| 15:58:43 | raptor | chao |
| 16:01:37 | | raptor Quit () |
| 16:09:49 | | LordDVG Quit (Remote host closed the connection) |
| 17:18:55 | | LordDVG has joined |
| 17:37:51 | | LordDVG Quit (Quit: Leaving) |
| 17:44:37 | | morozowdmitry has joined |
| 17:45:25 | morozowdmitry | Hi! |
| 17:45:49 | morozowdmitry | watusimoto, can you approve my task request? |
| 17:46:11 | | morozowdmitry Quit (Client Quit) |
| 17:55:41 | | watusimoto Quit (Ping timeout: 276 seconds) |
| 18:19:42 | | raptor has joined |
| 18:19:42 | | ChanServ sets mode +o raptor |
| 18:20:32 | bobdaduck | Welcome back |
| 18:20:39 | bobdaduck | How are electrostatic charges? |
| 18:20:44 | raptor | hello! |
| 18:20:49 | raptor | they were shocking! |
| 18:22:00 | kaen | I appreciate that pun |
| 18:22:11 | kaen | good morning all |
| 18:22:30 | raptor | mornin' |
| 18:22:37 | kaen | raptor |
| 18:22:42 | raptor | kaen |
| 18:22:51 | kaen | any idea why I can't respawn in my game mode? |
| 18:22:52 | bobdaduck | Hi kaen |
| 18:22:55 | kaen | hi bobdaduck |
| 18:23:01 | bobdaduck | These nethack nerds are quite friendly. |
| 18:23:07 | kaen | aren't they? |
| 18:23:21 | raptor | respawn in your game mode... |
| 18:23:29 | raptor | what is the effect you are seeing? |
| 18:23:34 | kaen | when I die |
| 18:23:38 | bobdaduck | Asked for advise |
| 18:23:39 | kaen | the screen is simply black. |
| 18:23:53 | raptor | hmm, black screen of DOOM |
| 18:23:59 | bobdaduck | some "Aerie" guy told me to immediately name my dagger stack "swag", and insisted that humans are the best race |
| 18:23:59 | kaen | if you don't know, don't sweat it |
| 18:24:12 | kaen | I'm going to dive in |
| 18:24:20 | raptor | that is usually called by an inconsistency is the spawn + idle logic |
| 18:24:23 | kaen | bobdaduck, that's pretty hilarious |
| 18:24:46 | bobdaduck | because "elves are whiny, orcs are smelly, dwarves and gnomes are short" |
| 18:24:48 | kaen | my fruit name is "hallucinogenic mushroom" |
| 18:25:04 | bobdaduck | lol |
| 18:25:17 | kaen | the game pluralizes it properly |
| 18:25:29 | kaen | it can also handle "radius" and "child" |
| 18:25:53 | raptor | basically if you die when idle (like killed after a certain amount of inactiviy, while in the menus, or while chatting) a spawn delay kicks in and you're suppose to press any key to continue |
| 18:25:56 | kaen | the pluralization code is some of the best comedy I've ever read in a source file |
| 18:26:13 | raptor | however, sometimes that 'press any key to continue' screen doesn't pop up... |
| 18:26:19 | bobdaduck | lol, how so? |
| 18:26:21 | raptor | hence black screen of doom |
| 18:27:15 | kaen | bobdaduck, they handle all of these crazy cases. it's kind of hard to explain... |
| 18:27:22 | kaen | indeed, I see no text |
| 18:27:27 | kaen | and pressing any key does nothing |
| 18:27:56 | raptor | do you die under one of those circumstances? |
| 18:28:06 | kaen | nope. |
| 18:28:13 | kaen | just regular ol' dead. |
| 18:28:54 | raptor | thent hat is something different... |
| 18:29:02 | kaen | okay no worries |
| 18:29:16 | kaen | I bet I'm missing an override |
| 18:33:39 | | Watusimoto has joined |
| 18:41:39 | raptor | i'm eating one of those oranges that seems to fight back: it doesn't open easily, the pieces don't come apart, and it spits at you constantly |
| 18:43:47 | | kodafk has joined |
| 18:47:00 | bobdaduck | So am I a super-nerd for enjoying "Dudley's dungeon"? |
| 18:53:22 | raptor | Watusimoto: I have decided to make a sub-class of MasterServerConnection, AnonymousMasterServerConnection |
| 18:53:27 | raptor | that handles the call back |
| 18:53:31 | raptor | it's cleaner |
| 18:53:46 | raptor | less complex.. |
| 18:55:15 | raptor | ooo, python notifier to test... |
| 18:57:49 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 18:59:00 | | amgine1234567890 has joined |
| 18:59:44 | amgine1234567890 | hi just checking in. |
| 19:01:56 | kaen | bobdaduck, you won't enjoy it for long |
| 19:02:01 | kaen | spoiler: newts |
| 19:02:06 | bobdaduck | lol |
| 19:02:19 | kaen | nao has a new DD |
| 19:02:26 | kaen | there's an original out there somewhere |
| 19:02:36 | kaen | (original is slightly better imo) |
| 19:03:20 | bobdaduck | Do they start just always being about newts then? |
| 19:03:45 | kaen | not always |
| 19:03:51 | kaen | but it's a recurring theme |
| 19:04:02 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 19:07:08 | kaen | holy crap |
| 19:07:16 | kaen | I just discovered hg diff -w |
| 19:07:40 | kaen | all of this time I've wasted trying to pick apart whitespace changes from not... |
| 19:08:34 | bobdaduck | lol |
| 19:11:30 | | amgine1234567890 has joined |
| 19:12:34 | raptor | yay kaen |
| 19:13:59 | amgine1234567890 | oddly enough the bf irc works (kinda) on the 3ds which uses the opera system. |
| 19:18:12 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 19:20:27 | raptor | sam686: your server is down i think |
| 19:36:49 | | Watusimoto has joined |
| 20:03:05 | Watusimoto | hi |
| 20:03:14 | raptor | hi |
| 20:03:42 | raptor | hey kaen, try this notifier: http://pastie.org/5656670 |
| 20:03:57 | raptor | a GCI student just made it, I am curious what it'll do on your system |
| 20:04:22 | | kodafk Quit (Read error: Connection reset by peer) |
| 20:06:43 | raptor | Watusimoto: i'm liking this notifier... it's pretty simple, but it supports loads of frameworks.. |
| 20:15:12 | Watusimoto | great |
| 20:15:28 | Watusimoto | I don't really understand what that means, exactly, but I get that you like it |
| 20:15:35 | Watusimoto | it really can be simple |
| 20:16:02 | Watusimoto | I have a bike question, since you are a bit of a mechanic |
| 20:16:17 | Watusimoto | have you ever worked with v-brakes? |
| 20:16:33 | raptor | yes |
| 20:16:36 | raptor | in fact i prefer them |
| 20:16:38 | Watusimoto | they seem a bit like cantelever brakes * 2 |
| 20:16:46 | raptor | u-brakes? |
| 20:17:05 | Watusimoto | they are used on mtn bikes alot |
| 20:17:08 | raptor | yes |
| 20:17:14 | raptor | they strong and simple |
| 20:17:18 | raptor | they're |
| 20:17:21 | Watusimoto | and ugly |
| 20:17:36 | Watusimoto | but I have one that will not return to the unbraked position |
| 20:17:42 | Watusimoto | one side returns, the other does not |
| 20:17:49 | Watusimoto | even when I unhook the cable |
| 20:17:54 | raptor | ok |
| 20:17:57 | raptor | there are two springs |
| 20:18:00 | Watusimoto | the spring is not sufficient to pop it out |
| 20:18:04 | raptor | one on each side |
| 20:18:10 | Watusimoto | only on one side |
| 20:18:13 | Watusimoto | nothing appears broken |
| 20:18:14 | raptor | there should be a screw that adjusts the spring tension |
| 20:18:28 | Watusimoto | there is a ton of friction in the system on that one side |
| 20:18:36 | raptor | you can take it apart and clean it |
| 20:19:08 | Watusimoto | I undid the big hex bold that holds the brake in place, and it appeared that the shaft it rotates on is lubricated |
| 20:19:27 | raptor | yes |
| 20:19:58 | Watusimoto | so I'm thinking it should rotate freely, but when the bolt gets tightened, it just gets really stiff |
| 20:20:33 | raptor | the bolt shouldn't be super tight, just tight enough |
| 20:20:39 | Watusimoto | ok |
| 20:21:00 | Watusimoto | it was hard to get out, but it might have had locktite on it. I thought it was in there snugly |
| 20:21:15 | raptor | huh |
| 20:21:24 | Watusimoto | ok, so the main bolt should not be super tight, just snug |
| 20:21:27 | raptor | v-brakes are engineered to be easily taken apart.. |
| 20:21:30 | raptor | correct |
| 20:21:33 | Watusimoto | they are easy |
| 20:22:06 | Watusimoto | so is it really as simple as it looks? brake arm rotating on a shaft, with a spring that pushes it away from the wheel? |
| 20:22:15 | raptor | yep |
| 20:22:16 | raptor | and |
| 20:22:28 | raptor | whent he spring tension wears out a little, just bend it with your hand |
| 20:22:33 | Watusimoto | if so, maybe I just need to clean the shaft and apply some new lube |
| 20:22:40 | Watusimoto | the spring feels strong enough |
| 20:23:12 | Watusimoto | I think this is a friction issue. |
| 20:23:14 | Watusimoto | ok |
| 20:23:29 | Watusimoto | so do you know any good substitutes for grease that one might have around the house? |
| 20:23:41 | Watusimoto | what do you think about cooking oil? |
| 20:23:49 | raptor | cooking oil sounds great! |
| 20:24:00 | Watusimoto | ok then, I'll give it a shot |
| 20:24:15 | raptor | also, wd-40 is a great degreaser AND lubricater |
| 20:24:32 | Watusimoto | yes |
| 20:24:39 | raptor | linseed oil is probably really good.. but the only person i know who has that is my wife for her spinning wheel |
| 20:25:02 | Watusimoto | I bought a can of that maybe 20 years ago, not sure I've ever even opened it |
| 20:25:08 | Watusimoto | but its back in the us |
| 20:26:02 | Watusimoto | ok, after I work on it again, I may ask you why my fix didn't work... |
| 20:26:17 | raptor | ok |
| 20:26:27 | Watusimoto | so what else needs to be done on the linux notifier? |
| 20:26:44 | raptor | you to test it |
| 20:26:59 | Watusimoto | ok, I can do that in the morning when I'm back at my linux machine |
| 20:27:05 | Watusimoto | would you use it? |
| 20:27:08 | raptor | but honestly, it looks like good code that supports a lot |
| 20:27:12 | raptor | i'm using it now :) |
| 20:27:28 | raptor | i'd even accept it as is, and probably make a few modifications.. |
| 20:27:28 | Watusimoto | well, he got help from his dad, who probably knows what he is doing |
| 20:28:03 | Watusimoto | I want to make some tweaks to the windows version, and include it with the next release |
| 20:29:31 | raptor | yeah, i think the python one is great! not sure i'd package it... maybe though |
| 20:30:09 | Watusimoto | will I be able to get it working ok? |
| 20:30:15 | raptor | probably... |
| 20:30:24 | raptor | just run it on command line |
| 20:30:33 | Watusimoto | the first thing my son asks when he walks in the door is how the voting is going |
| 20:30:41 | Watusimoto | before even "hi" |
| 20:30:44 | raptor | hehe |
| 20:30:50 | raptor | shhh... this is a public channel! |
| 20:32:30 | Watusimoto | let's just say this experience has pushed bitfigher up to the #2 best games of all times spot |
| 20:32:41 | raptor | haha |
| 20:32:46 | raptor | what's number 1? |
| 20:32:48 | Watusimoto | torchlight 2 |
| 20:33:03 | raptor | was that the one you got for christmas? |
| 20:33:08 | Watusimoto | yup |
| 20:33:15 | Watusimoto | so there's a novelty factor |
| 20:35:38 | | LordDVG has joined |
| 20:37:20 | Watusimoto | bitfighter is now #1 |
| 20:39:34 | raptor | i haven't checked yet... |
| 20:40:09 | | Santiago_ has joined |
| 20:40:39 | raptor | hi Santiago_: here is the notifier. note that it may change before next release: https://google-melange.appspot.com/gci/work/download/google/gci2012/8029210?id=22002 |
| 20:40:47 | Santiago_ | thanks |
| 20:41:34 | Watusimoto | Santiago_: you use linux? |
| 20:42:19 | raptor | he's on windows, but i kept seeing him join/leave/join/leave... .... ........ |
| 20:42:28 | raptor | so i'd thought i'd offer it to him |
| 20:42:36 | Santiago_ | I use windows |
| 20:42:40 | Watusimoto | but he can't use it |
| 20:42:49 | raptor | no? |
| 20:42:55 | Watusimoto | on windows? |
| 20:43:07 | raptor | i gave him the windows one |
| 20:43:14 | Watusimoto | ahhhhhhhhh |
| 20:43:22 | Watusimoto | yes of course |
| 20:43:25 | raptor | and technically, the linux one will work on windows too.. if you have qt4 and python installed :) |
| 20:43:32 | Watusimoto | ok! |
| 20:44:23 | Santiago_ | it wont open |
| 20:44:25 | Santiago_ | wait nvm |
| 20:45:08 | | Santiago_ Quit (Quit: Page closed) |
| 20:47:31 | kaen | I can't get logprint to actually print anything |
| 20:47:44 | kaen | in a levelgen or on the console |
| 20:47:51 | Watusimoto | no? |
| 20:48:06 | Watusimoto | let's give it a shot |
| 20:49:35 | raptor | bang! |
| 20:49:44 | raptor | Platinutonium |
| 20:49:49 | raptor | that's an interesting user name... |
| 20:49:56 | kaen | I like it a lot. |
| 20:50:06 | Watusimoto | woks for me! |
| 20:50:07 | raptor | is that you kaen? |
| 20:50:20 | kaen | nope |
| 20:50:21 | kaen | huh. |
| 20:50:24 | | LordDVG Quit (Quit: Leaving) |
| 20:50:25 | Watusimoto | logprint("hello") |
| 20:50:29 | kaen | is there like a loglevel switch? |
| 20:50:32 | | bobdaduck_ has joined |
| 20:50:34 | kaen | yeah that's what I'm doing |
| 20:50:38 | Watusimoto | I tried in the console in-game |
| 20:50:43 | kaen | me too |
| 20:50:50 | kaen | and in a levelgen, in and outside of main |
| 20:50:51 | Watusimoto | there is, but not that would affect his |
| 20:50:56 | kaen | logfile is blank |
| 20:51:00 | kaen | no console output |
| 20:51:01 | Watusimoto | you can set what logging happens in the INI file |
| 20:51:09 | Watusimoto | if logfile is blank, something else is up |
| 20:51:34 | Watusimoto | anything printed at the console? |
| 20:51:41 | kaen | nope |
| 20:51:45 | kaen | complete silence |
| 20:51:48 | Watusimoto | something is messed up |
| 20:52:01 | Watusimoto | it always prints "hello" (or someting) and "bye" |
| 20:52:09 | Watusimoto | do you have sound? |
| 20:52:22 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 20:52:25 | kaen | I don't have a soundcard. |
| 20:52:30 | Watusimoto | ok |
| 20:52:50 | Watusimoto | can you play the stock levels (by hosting)? |
| 20:53:18 | Watusimoto | or try this |
| 20:53:34 | Watusimoto | hit f7 a couple of times until you see the list of folder |
| 20:53:34 | Watusimoto | s |
| 20:54:05 | Watusimoto | actually, |
| 20:54:15 | Watusimoto | if you delete the logfile, does it get recreated? |
| 20:54:15 | kaen | folders look good |
| 20:55:14 | kaen | yes. |
| 20:55:43 | kaen | both get created, both are completely empty |
| 20:56:15 | kaen | I remember logprint (and logging in general) was working fine just a week or two ago |
| 20:56:28 | Watusimoto | ok, it happens here: |
| 20:56:29 | Watusimoto | void LogConsumer::logString(LogConsumer::MsgType msgType, std::string message) |
| 20:56:54 | Watusimoto | in that method, any registered loggers recieve the string |
| 20:57:17 | Watusimoto | there are usually a couple: a file, the terminal console, and the in-game console |
| 20:57:51 | Watusimoto | via prints or breakpoints, you could see if any loggers are being called |
| 20:58:38 | kaen | checking now |
| 20:58:50 | Watusimoto | (the way it works is you can create a subclass of logger (or something, forget the name), and in the constructor it registers as a log consumer, and then gets log messages) |
| 20:59:17 | Watusimoto | so you could easily create your own logging stream to, say, spam the irc channel |
| 20:59:28 | Watusimoto | or log to the fourms, or something |
| 20:59:33 | kaen | interesting. |
| 20:59:39 | Watusimoto | well that last one wounldn't be easy |
| 20:59:48 | kaen | I just want to debug lua scripts :< |
| 20:59:52 | Watusimoto | ha |
| 21:00:26 | kaen | yep, hits the loop three times. |
| 21:00:33 | Watusimoto | raptor: should we create a mecahsnim for streaming teh log files to an arbitrary irc channel? #bitfighter-log-<player name> |
| 21:01:01 | Watusimoto | ok, so your loggers are all properly registerd (as I would expect) |
| 21:01:27 | Watusimoto | does the walk->mMsgTypes & msgType return true for all those? |
| 21:01:38 | kaen | yes |
| 21:01:42 | Watusimoto | yes |
| 21:01:43 | Watusimoto | ok |
| 21:01:47 | kaen | call prepareandlog etc |
| 21:01:51 | kaen | I'll step in |
| 21:01:53 | Watusimoto | well, then try stepping into |
| 21:01:54 | Watusimoto | yes |
| 21:02:10 | kaen | oh whoa |
| 21:02:19 | kaen | on the next call all three failed that check |
| 21:02:35 | Watusimoto | well, that might be ok |
| 21:02:43 | Watusimoto | lots of stuff gets logged and then filtered out |
| 21:02:52 | kaen | okay got one |
| 21:03:04 | Watusimoto | the logfile only recieves a small amount of the total logging activity |
| 21:03:12 | kaen | uh |
| 21:03:15 | Watusimoto | there is tons of network related logging |
| 21:03:22 | Watusimoto | and that's all off by default |
| 21:03:27 | kaen | it's calling a do nothing function |
| 21:03:50 | kaen | tnl/log.cpp:145 |
| 21:03:52 | Watusimoto | what fn/class? |
| 21:04:00 | Watusimoto | you're always one step ahead! |
| 21:04:04 | kaen | TNL::LogConsumer::prepareAndLogString (this=0x882f108, message=...) |
| 21:04:25 | bobdaduck_ | Welp |
| 21:04:28 | bobdaduck_ | Time for luch |
| 21:04:31 | bobdaduck_ | Lunch |
| 21:04:38 | bobdaduck_ | Back in a bit. |
| 21:04:42 | bobdaduck_ | ...Hold all my calls. |
| 21:05:04 | Watusimoto | bye bobdaduck_ |
| 21:05:45 | kaen | rofl |
| 21:05:47 | kaen | lmao |
| 21:05:50 | Watusimoto | ah |
| 21:05:54 | kaen | sorry to waste your time Watusimoto |
| 21:05:55 | Watusimoto | is TNL_ENABLE_LOGGING by chance not set |
| 21:05:58 | kaen | right. |
| 21:06:10 | Watusimoto | well. set that |
| 21:06:13 | kaen | :) |
| 21:06:42 | Watusimoto | did you intentionally unset that at any point? |
| 21:06:56 | Watusimoto | or is that only enabled as a build option? |
| 21:07:12 | Watusimoto | looks like it isn;t set anywhere in code, so must be abuild option |
| 21:07:30 | Watusimoto | raptor: what do you think; should we setTNL_ENABLE_LOGGING in code? |
| 21:07:48 | kaen | Watusimoto, it was a fault in my cmake stuff |
| 21:08:05 | kaen | I'm using it in this clone, and the one I tested in I forgot also uses that patch |
| 21:08:09 | Watusimoto | yes, but it's a vulnerability that maybe shouldn't exist |
| 21:08:11 | kaen | the other one |
| 21:08:20 | kaen | vulnerability? |
| 21:08:25 | Watusimoto | since I can't see any sitations where we'd want to disable logging |
| 21:08:30 | kaen | to misconfiguration? |
| 21:08:52 | Watusimoto | well, vulnerability is the wrong word. we're vulnerable to build errors leading to undesired configurations |
| 21:09:04 | Watusimoto | not fault tolerant |
| 21:09:24 | Watusimoto | the default configuration should be the typical one |
| 21:09:37 | Watusimoto | in this case, you need to manually enable an option that is typical |
| 21:09:55 | Watusimoto | desired behavior is not default |
| 21:10:37 | Watusimoto | and maybe, if TNL_ENABLE_LOGGING is not defined, we should #define logprintf to do nothing |
| 21:11:17 | Watusimoto | though we never use it so maybe who cares |
| 21:16:04 | raptor | whoa, you've been talking... |
| 21:16:09 | | raptor catches up |
| 21:17:26 | raptor | channel protection forbids direct posting to log channels, you'd have to have a registered user do it, like BFLogBot |
| 21:18:27 | raptor | Watusimoto: TNL_ENABLE_LOGGING is enabled for release builds already on Linux |
| 21:19:21 | Watusimoto | do we ever want to compile without logging? |
| 21:19:28 | raptor | never! |
| 21:19:48 | Watusimoto | then we should just set TNL_ENABLE_LOGGING in the code! |
| 21:19:48 | raptor | not for an opensource game like us who want to grow up and hit version 1.0 some day... |
| 21:19:59 | Watusimoto | we're at version 18!!!! |
| 21:20:17 | raptor | :) |
| 21:20:38 | raptor | yes set it in code, OR, provide a TNL_DISABLE_LOGGING |
| 21:20:40 | Watusimoto | (it's not BitFighter, and there is no . in our version number!) |
| 21:21:11 | Watusimoto | though it was BitFighter for a version or two, then my wife told me it was lame |
| 21:21:19 | raptor | heh |
| 21:21:51 | Watusimoto | you mean: yes set it in code, AND, provide a TNL_DISABLE_LOGGING |
| 21:22:02 | raptor | yes |
| 21:22:04 | Watusimoto | or wait., for get that |
| 21:22:37 | raptor | set in code at the least, maybe provide TNL_DISABLE_LOGGING for kicks and giggles |
| 21:23:29 | Watusimoto | done |
| 21:24:19 | raptor | this python notifier also starts the game when you click the icon |
| 21:24:22 | Watusimoto | that was... trivial |
| 21:24:26 | Watusimoto | really? |
| 21:24:27 | | bobdaduck_ Quit (Ping timeout: 245 seconds) |
| 21:24:34 | Watusimoto | even my mint one doesn't do that |
| 21:24:37 | raptor | yeah, it's neat |
| 21:24:47 | raptor | although, it will open multiple instances.. |
| 21:24:47 | Watusimoto | super |
| 21:25:03 | Watusimoto | fixable? |
| 21:25:19 | raptor | maybe.. i'm not too familiar with the python libraries |
| 21:25:37 | raptor | i'm sure there's a way, i've seen it done before with python applets |
| 21:26:02 | | BFLogBot Commit: 0753111c9989 | Author: watusimoto | Message: Set context before running the function... otherwise, what's the point? |
| 21:26:04 | | BFLogBot Commit: 7838369386f5 | Author: watusimoto | Message: Better warning |
| 21:26:05 | | BFLogBot Commit: 512e10e520bb | Author: watusimoto | Message: Whitespace |
| 21:26:09 | | BFLogBot Commit: d52ff561638d | Author: watusimoto | Message: Never lose logging again! Logging enabled by default; set TNL_DISABLE_LOGGING to disable it. |
| 21:26:10 | | BFLogBot Commit: 0c06ad614ecb | Author: watusimoto | Message: Merge |
| 21:26:34 | raptor | it's neat, it will discover and use 3 different GUIs and 3 different system notification methods |
| 21:26:56 | Watusimoto | that's great |
| 21:27:14 | Watusimoto | Is his name in the code? |
| 21:27:29 | raptor | no |
| 21:27:39 | Watusimoto | I was thinking we should have a GCI students section in the credits |
| 21:27:58 | Watusimoto | that we could possibly retire when we have a new batch of names |
| 21:28:06 | raptor | sure |
| 21:28:10 | Watusimoto | listing everyone who contributed |
| 21:28:31 | Watusimoto | but not until I get my tshirt |
| 21:28:44 | Watusimoto | until I get that, no one gets cred |
| 21:29:04 | | bobdaduck has joined |
| 21:30:44 | bobdaduck | ahm back |
| 21:37:20 | Watusimoto | oh, thank god! |
| 21:37:58 | Watusimoto | so bobdaduck are you at work? |
| 21:38:15 | bobdaduck | Yeah |
| 21:38:24 | bobdaduck | What's up? |
| 21:38:40 | Watusimoto | just curious... what do you do? |
| 21:39:23 | Watusimoto | because I thought you were still in school |
| 21:39:27 | bobdaduck | Sort of... Miscellanious technical gruntwork for a company called "studies weekly" |
| 21:40:55 | bobdaduck | I did some college |
| 21:41:01 | bobdaduck | but I'm taking a break and just working right now. |
| 21:41:18 | Watusimoto | I see; I thought you were still a senior for some reason |
| 21:41:33 | Watusimoto | (in hs, not a senior citizen!) |
| 21:42:04 | bobdaduck | NOW DON'T YOU TALK TO ME THAT WAY, WHIPPERSNAPPER |
| 21:42:37 | Watusimoto | you ARE a senior citizen! |
| 21:42:40 | bobdaduck | Aye was coding when ye was still knee high to a grasshopper! |
| 21:43:08 | bobdaduck | Or something like that. |
| 21:43:51 | raptor | by dad coded in FORTRAN |
| 21:43:53 | raptor | *my |
| 21:44:09 | bobdaduck | My dad coded with ROCKS. |
| 21:44:30 | bobdaduck | ...That and punch cards. |
| 21:44:42 | raptor | i thought that was a woman's job at the time.. |
| 21:44:56 | bobdaduck | lol |
| 21:45:08 | Watusimoto | Watusimoto: just talking to myself |
| 21:45:48 | | raptor hands Watusimoto a straight-jacket |
| 21:46:07 | Watusimoto | thanks! fits! |
| 21:46:30 | bobdaduck | lol |
| 21:46:31 | raptor | err *strait |
| 22:02:27 | raptor | wow kaen, you should write a new levelgen tutorial! |
| 22:03:39 | kaen | I probably will |
| 22:03:49 | kaen | since I was going to ask, and now someone else has |
| 22:04:16 | kaen | there's a lot of stuff I still don't know though. |
| 22:04:34 | kaen | (e.g. where to look up event callback arguments) |
| 22:04:35 | bobdaduck | Can we modify ship attributes in the levelgen? |
| 22:04:54 | bobdaduck | make phasers do more damage or the ship move faster or even change the shape of the ship? |
| 22:04:59 | Watusimoto | bitfighter.org/luadocs/index.html |
| 22:05:25 | Watusimoto | this is my very rough auto generated lua docs |
| 22:05:29 | Watusimoto | needs LOTS of work |
| 22:05:36 | kaen | I baked my own |
| 22:05:44 | kaen | but I can't find info on e.g. onShipEnteredZone |
| 22:05:53 | Watusimoto | uh, but I see I haven't documented the events yet |
| 22:06:00 | kaen | I see :) |
| 22:06:20 | kaen | I looked it up in the source iirc |
| 22:06:33 | Watusimoto | yes, that was my suggestion |
| 22:06:38 | Watusimoto | ah, hold on |
| 22:06:53 | Watusimoto | let's look up the older hand made docs |
| 22:07:31 | Watusimoto | http://bitfighter.org/wiki/index.php/Programming_robots |
| 22:07:34 | Watusimoto | look for events |
| 22:07:39 | Watusimoto | events for levelgens are brand new |
| 22:07:47 | Watusimoto | they aer the same as for robots though |
| 22:07:57 | kaen | ah great |
| 22:08:08 | Watusimoto | it was only in 018 that you could have a levelgen that stuck around after the level was created |
| 22:08:24 | Watusimoto | not that many; I'm totally happy to add more if you want them |
| 22:08:55 | Watusimoto | also, at some point in the near future, you'll be able to define your own callback functions, that only get called under certain circumstances |
| 22:08:57 | Watusimoto | so |
| 22:09:07 | kaen | oh cool |
| 22:09:13 | kaen | also, I like the lua interface to Timer |
| 22:09:22 | Watusimoto | that's a great bit of code |
| 22:09:34 | kaen | it legitimately made me smile |
| 22:09:39 | Watusimoto | written by Haywood Slapp iirc |
| 22:09:55 | Watusimoto | I found that on the internet somewhere |
| 22:11:17 | kaen | this table isn't up to date |
| 22:11:27 | kaen | maybe I'll spend some time on the wiki doccing the lua stuff? |
| 22:11:47 | kaen | I've noticed k's tutorial, while detailed, is also somewhat outdated |
| 22:12:27 | Watusimoto | that would be great |
| 22:12:36 | Watusimoto | the table is not up do date; noticed that too |
| 22:12:59 | Watusimoto | what I'm trying to do is get doxygen to generate the docs, and get rid of the hand-written ones |
| 22:13:30 | Watusimoto | doxygen is not well suited to the task, so I've written a script that generates fodder for doxygen |
| 22:13:52 | Watusimoto | it would be better to work on the doxygen fodder than to add to the wiki at this point |
| 22:14:07 | Watusimoto | even though the result is not (yet) as pretty |
| 22:14:29 | Watusimoto | the wiki is nearly impossible to keep up to date |
| 22:21:13 | kaen | ideally the wiki could be copy/pasted or even generated |
| 22:21:32 | kaen | but I agree |
| 22:22:24 | Watusimoto | or linked |
| 22:22:27 | Watusimoto | or something |
| 22:22:32 | kaen | or linked |
| 22:22:41 | kaen | gotta love that no-build option :) |
| 22:22:50 | Watusimoto | I do |
| 22:23:20 | kaen | guaranteed to be the most efficient. |
| 22:23:58 | kaen | well, the least costly |
| 22:25:09 | Watusimoto | most of the preamble and general text about bot programming lives in luadoc_static_text.txt in the /doc folder |
| 22:25:38 | Watusimoto | it follows, more or less, standard doxygen markup, which is pretty straightforward |
| 22:26:12 | Watusimoto | right now its a disorganized mess as I think of things or want to remember how to build subsections or whatever |
| 22:26:29 | Watusimoto | but that;s where most of the general text from the wiki will go |
| 22:27:10 | Watusimoto | the function descriptions/inheritance diagrams will be generated from commands int he code, of course. Events need to be marked up somehow to get them into the generated docs |
| 22:28:50 | Watusimoto | and in the root project folder is a script called luadocs.pl, which rips through all the C++ code, pulls out all the @lua commands, parses certain standard code forms, and generates a set of fake c++ headers/.cpp files, which doxygen can then turn into docs |
| 22:32:19 | kaen | I haven't peeked inside luadocs.pl yet, and I also don't know perl |
| 22:32:33 | kaen | it's probably the only common interpreted language I've never used... |
| 22:32:51 | kaen | but that's never stopped me before :) |
| 22:35:32 | kaen | oh my goodness this syntax. |
| 22:36:55 | Watusimoto | It's very clean perl |
| 22:37:16 | kaen | yes, I meant perl's syntax. |
| 22:37:33 | Watusimoto | I know :-) |
| 22:37:43 | Watusimoto | what I'm saying is "you ain't seen nothing yet" |
| 22:37:46 | kaen | heh |
| 22:37:51 | Watusimoto | this isn't real perl |
| 22:38:07 | Watusimoto | but perl is AWESOME at parsing text files, which is exactly the task at hand here |
| 22:38:16 | kaen | so I've heard |
| 22:38:41 | Watusimoto | in any case, if you want a function added/whatever, I'm happy to do it |
| 22:38:54 | Watusimoto | I really like perl, but raptor won't let me recode the game in it |
| 22:39:00 | kaen | I think I understand its structure well enough |
| 22:39:01 | kaen | lol |
| 22:39:10 | kaen | I've seen a bit of OO perl |
| 22:39:22 | kaen | it was... mind-bending |
| 22:39:43 | kaen | languages that need OO libraries scare me... |
| 22:40:00 | Watusimoto | :=_ |
| 22:40:02 | Watusimoto | oops |
| 22:40:03 | Watusimoto | :-) |
| 22:40:05 | Watusimoto | better |
| 22:40:36 | kaen | javascript comes to mind... |
| 22:40:38 | | kaen shudders |
| 22:40:46 | Watusimoto | I work with that all day now |
| 22:40:53 | Watusimoto | ugh! |
| 22:41:04 | kaen | indeed |
| 22:41:21 | Watusimoto | what a horrid mess of a language, and yet its use continues to spread |
| 22:41:32 | Watusimoto | lua has some problems too, but most of them can be fixed |
| 22:41:38 | Watusimoto | no x++ for example |
| 22:41:47 | kaen | heh |
| 22:41:49 | Watusimoto | or cond ? a : b |
| 22:41:57 | Watusimoto | but that can be added later |
| 22:41:59 | kaen | okay, ternary operators are important |
| 22:42:05 | Watusimoto | yes |
| 22:42:13 | kaen | but post increments I'm not so sure of... |
| 22:42:23 | kaen | or, heaven forbid, preincrements. |
| 22:42:28 | Watusimoto | but one thing that can't be fixed is 1 based arrays |
| 22:42:36 | kaen | oh lord I know. |
| 22:42:43 | Watusimoto | I think I have 1 preincrement in Bitfighter |
| 22:42:57 | kaen | I'll make sure not to look directly at it. |
| 22:42:57 | Watusimoto | also the ~= for != bugs me |
| 22:43:03 | kaen | me too |
| 22:43:18 | kaen | trip me up for while. I like .. for concatenation though |
| 22:43:21 | Watusimoto | but it is in some ways very clean |
| 22:43:25 | Watusimoto | yes |
| 22:43:34 | Watusimoto | perl uses . |
| 22:43:50 | kaen | makes sense |
| 22:43:55 | kaen | perl seems very succint |
| 22:44:53 | Watusimoto | it is |
| 22:44:54 | Watusimoto | http://www.kichwa.com/quik_ref/spec_variables.html |
| 22:45:24 | Watusimoto | never use the succinct ones!! |
| 22:46:10 | Watusimoto | $', $", and $` are all special variables |
| 22:46:28 | Watusimoto | as are $. and $, |
| 22:46:41 | kaen | ooh wow |
| 22:46:44 | kaen | these are cool |
| 22:47:00 | Watusimoto | the only one I use is $! |
| 22:47:12 | Watusimoto | which contains an error message if something goes wrong |
| 22:47:17 | Watusimoto | this is very idiomatic: |
| 22:47:50 | Watusimoto | open(file) || die "Could not open file: $!"; |
| 22:47:57 | kaen | beautiful |
| 22:48:00 | Watusimoto | I think it really fits |
| 22:48:08 | Watusimoto | it looks like an error message! |
| 22:48:10 | kaen | that syntax is familiar to me |
| 22:48:18 | kaen | indeed |
| 22:48:25 | kaen | I was just appreciating the $ @ % syntax in variable names |
| 22:48:36 | kaen | so, it took you like 10 minutes to make me a perl fan |
| 22:48:38 | kaen | gratz |
| 22:48:46 | Watusimoto | :-) |
| 22:49:13 | kaen | even my one true love ruby took me a couple of hours |
| 22:49:30 | Watusimoto | if you use it to replace bash scripts, it's a win. if you use it to write a huge application, it's a lose |
| 22:49:41 | kaen | that's the vibe I got |
| 22:50:00 | Watusimoto | I don't like ruby much, at least not with the rails framework, I'm sorry to report |
| 22:50:05 | kaen | it's okay |
| 22:50:11 | Watusimoto | I also do a fair bit with that |
| 22:50:19 | Watusimoto | I liked it when I first started, everything just worked |
| 22:50:24 | Watusimoto | that was great |
| 22:50:27 | Watusimoto | until it didn't |
| 22:50:38 | kaen | yes, I definitely know what you mean |
| 22:50:50 | Watusimoto | and then the nightmare began |
| 22:51:27 | Watusimoto | I've concluded too much magic is a bad thing |
| 22:51:40 | kaen | oh the hours I've spent pinning down errors somewhere between rack and rails... |
| 22:52:28 | kaen | I'm not sold on rails yet, either |
| 22:52:48 | kaen | but the more I learn the more I appreciate its goals. |
| 22:52:52 | Watusimoto | yes |
| 22:53:05 | Watusimoto | it brings some coherency to web server development |
| 22:53:32 | kaen | I like doing euler project problems in ruby |
| 22:53:40 | Watusimoto | the larger design of the system is pretty good |
| 22:53:57 | kaen | definitely. |
| 22:53:57 | Watusimoto | but ruby suffers from the same thing perl does -- too many ways to do the same thing |
| 22:54:02 | kaen | exactly |
| 22:54:07 | Watusimoto | it makes code harder to understand |
| 22:54:15 | Watusimoto | lua is the opposite |
| 22:54:24 | Watusimoto | only one way to do something |
| 22:54:27 | Watusimoto | right or wrong |
| 22:54:30 | Watusimoto | love it or leave it |
| 22:56:44 | raptor | if Watusimoto gets re-code bitfighter in perl, then i get to do it in java (not because i like jave much better, but out of spite..) |
| 22:57:05 | Watusimoto | hey! |
| 22:57:15 | raptor | hi |
| 22:57:22 | raptor | that meeting took longer than expected... |
| 22:57:41 | Watusimoto | they usually do... it's the nature of meetings |
| 22:57:46 | Watusimoto | sadly |
| 22:59:07 | raptor | reading your conversation with kaen... i think i'm not as much a programmer at heart as you guys are |
| 22:59:23 | raptor | but i like to create and fix things |
| 22:59:27 | raptor | (and break things..) |
| 22:59:53 | kaen | sounds like a programmer at heart to me... |
| 23:00:05 | Watusimoto | that's what I thought too |
| 23:00:11 | | kodaws has joined |
| 23:00:48 | kaen | or I guess more generally a problem solver (which is the essential component of programming) |
| 23:00:51 | raptor | i think i'd like to do it with voltage or a hammer, instead, sometimes... |
| 23:01:01 | raptor | in fact, i'm a fan of a crowbar |
| 23:01:23 | kaen | I like carpentry and tinkering with electronics :) |
| 23:01:46 | kaen | I have a bread board that I mess around with and make amplifiers and synthesizers on |
| 23:01:56 | kaen | (I like to play music too) |
| 23:02:02 | raptor | cool! - i need to get into that again... |
| 23:03:51 | raptor | Watusimoto: i'm liking this python notifier... although I notice that lots of people come online stay for a minute or two, then leave |
| 23:03:51 | kaen | what really got me into it was how cheap components are after you invest in some gear |
| 23:04:02 | kaen | oh, I couldn't run the python notifier |
| 23:04:08 | raptor | really? |
| 23:04:12 | raptor | what was your error? |
| 23:04:13 | kaen | I believe it's because I don't have dbus running |
| 23:04:14 | Watusimoto | yes, that's what I noticed too |
| 23:04:59 | | kodaws is now known as kodafk |
| 23:05:09 | raptor | kaen: it checks for dbus, notify-send, or notify2 as 'engines' of sorts |
| 23:05:14 | raptor | you have none of those? |
| 23:05:28 | kaen | raptor http://pastie.org/5657840if |
| 23:05:44 | kaen | I have notify-send |
| 23:05:57 | kaen | and dbus is installed, but not running |
| 23:06:04 | kaen | afaik notify-send depends on dbus |
| 23:06:05 | raptor | huh... i wonder if there is a dbus-qt binding? |
| 23:06:13 | kaen | from a faint part of my memory |
| 23:06:48 | kaen | I think I also have python-gtk |
| 23:07:00 | raptor | notify-sent uses libnotify which is part of gnome, i think |
| 23:07:01 | kaen | which can do system tray stuff |
| 23:07:05 | kaen | oh alright |
| 23:07:24 | kaen | e.g. xchat works fine in my system tray right now. |
| 23:07:40 | raptor | so... try removing the code for qt and see what happens |
| 23:08:15 | raptor | like just the def checkQtGui() at the top |
| 23:08:21 | raptor | that whol function |
| 23:08:28 | kaen | lol works like a champ |
| 23:08:36 | raptor | really? |
| 23:08:42 | kaen | well, I did something else |
| 23:08:48 | kaen | I just made the function return false |
| 23:09:02 | raptor | ha |
| 23:09:02 | kaen | yep |
| 23:09:05 | kaen | got notified |
| 23:09:06 | raptor | did i pop up as online? |
| 23:09:07 | kaen | shows you on |
| 23:09:14 | raptor | what happen if you click on the icon? |
| 23:09:23 | kaen | wow |
| 23:09:29 | kaen | it launched bitfighter. |
| 23:09:36 | raptor | neat, huh? |
| 23:09:41 | kaen | okay dude |
| 23:09:43 | raptor | although it doesn't do instance protection |
| 23:09:45 | kaen | this is pretty cool... |
| 23:09:52 | kaen | oh well |
| 23:10:31 | kaen | the icon is blank though. |
| 23:10:47 | kaen | makes sense, no resources :P |
| 23:10:52 | raptor | Watusimoto: I'm almost thinking we just accept Dmitry's Linux notifier as it and just make modifications ourselves... |
| 23:11:21 | raptor | because it's pretty darn good as a first attempt.. |
| 23:11:37 | kaen | it's good python |
| 23:11:38 | Watusimoto | yes |
| 23:11:48 | Watusimoto | I'll try it tomorrow and then do just that |
| 23:12:10 | raptor | i bet we can add more GUIs to it, etc. and fix the instance issue |
| 23:12:20 | kaen | easy squeezy. |
| 23:12:22 | Watusimoto | now kaen got me adding to the docs instead of coding :-( |
| 23:12:28 | kaen | sorry :< |
| 23:12:34 | raptor | maybe add an INI entry to force a particular GUI.. |
| 23:12:38 | kaen | you got me reading perl instead of writing c++ |
| 23:12:40 | kaen | we're even |
| 23:12:44 | raptor | kaen: noooooooo |
| 23:12:53 | Watusimoto | well, I just decided that all bots/levelgens must have a main() function |
| 23:12:59 | raptor | Watusimoto: again?? |
| 23:13:05 | Watusimoto | so I figured we should document that |
| 23:13:08 | Watusimoto | again? |
| 23:13:16 | raptor | err, are you changing that requirement? |
| 23:13:27 | Watusimoto | I'm not sure |
| 23:13:28 | raptor | (i remember flip flopping on the issue a while back) |
| 23:13:35 | | bobdaduck Quit (Quit: Page closed) |
| 23:13:38 | Watusimoto | before if there was no main() it would print a warning |
| 23:13:50 | Watusimoto | but what happened after that was less clear |
| 23:14:01 | Watusimoto | it looks like, at least recently, it threw an error anyway |
| 23:14:27 | Watusimoto | I can make the code a fair bit cleaner if I can assume that if the function is missing, it is an error condition |
| 23:14:34 | raptor | well, since we've already broken all existing levelgens/bots in existence, i see no issue with changing it.. |
| 23:14:45 | Watusimoto | I don't think this will break anything |
| 23:14:48 | raptor | do it! |
| 23:15:04 | Watusimoto | It was deprecated for a while |
| 23:15:07 | Watusimoto | now it's going to be gone |
| 23:24:50 | | BFLogBot Commit: 8c131ffecefa | Author: watusimoto | Message: Whitespace |
| 23:24:51 | | BFLogBot Commit: 7057d7283aac | Author: watusimoto | Message: Bigger script cache |
| 23:24:53 | | BFLogBot Commit: a4fd4f66a8be | Author: watusimoto | Message: Comment |
| 23:24:54 | | BFLogBot Commit: ff74c8239fdd | Author: watusimoto | Message: Documentation |
| 23:24:56 | | BFLogBot Commit: 50c3c3e448c9 | Author: watusimoto | Message: Document requirement to have a main() function. There, it's official. |
| 23:34:27 | raptor | Watusimoto: what was that plugin functionality you added? (i'm reviewing changesets of the last 2 days...) |
| 23:34:36 | raptor | editor plugin stuff.. |
| 23:34:45 | Watusimoto | ah |
| 23:35:01 | Watusimoto | no new functionality |
| 23:35:08 | Watusimoto | just reducing dupe code |
| 23:35:41 | raptor | ok |
| 23:37:24 | raptor | templated tick timer... |
| 23:38:00 | Watusimoto | yes |
| 23:38:09 | Watusimoto | and added the nice stacktracer |
| 23:40:08 | raptor | that TNL_ENABLE_LOGGING flag is everywhere in our project files.. |
| 23:41:34 | Watusimoto | what? |
| 23:41:39 | Watusimoto | I only found 3 instances |
| 23:41:44 | kaen | wasn't in my cmake file ^^; |
| 23:41:47 | raptor | heh |
| 23:41:52 | Watusimoto | oh you mean in the build scripts |
| 23:41:59 | Watusimoto | well, its completely harmless |
| 23:42:03 | raptor | it's in the mac xcode, win32 vc++, makefiles.. |
| 23:42:15 | Watusimoto | I haven't removed it from my projects yet |
| 23:42:30 | raptor | do we need that code warrior header still? |
| 23:42:38 | raptor | cwPrefixWin32.h |
| 23:42:47 | Watusimoto | what's that? |
| 23:42:50 | Watusimoto | no idea! |
| 23:43:04 | raptor | code warrior was an IDO |
| 23:43:05 | raptor | IDE |
| 23:43:17 | raptor | there's a header for it in our codebase... i'll remove it |
| 23:46:56 | Watusimoto | kill it |
| 23:49:27 | | BFLogBot Commit: fef6e8f83551 | Author: buckyballreaction | Message: Remove TNL_ENABLE_LOGGING from Linux and Andriod Makefiles |
| 23:49:29 | | BFLogBot Commit: 04ebcdc8d6ea | Author: buckyballreaction | Message: Remove old code-warrior header that was lying around |
| 23:51:57 | Watusimoto | I'm watching a video then going to bed. will check back in an about 45 mins if you need anything |
| 23:52:32 | raptor | ko |