Timestamps are in GMT/BST.
| 00:00:04 | | Darrel Quit (Quit: IRC client killed.) |
| 00:01:50 | raptor | starting small |
| 00:01:53 | raptor | entering a new world |
| 00:01:56 | raptor | opening a new door |
| 00:02:05 | | BFLogBot Commit: 9a3f1f9fb98b | Author: buckyballreaction | Message: My first test! Starting Lua environment tests... |
| 00:20:46 | raptor | kaen: can you explain the use-case of TEST_F() ? |
| 00:21:12 | | sam686 has left #bitfighter |
| 00:21:24 | raptor | for instance, I want to do a test to set up the Lua environment, but wish to do so only once for alll of the tests - accoding to the doc, this seems like what I want (TEST_F), but not sure... |
| 00:24:17 | raptor | maybe its not what i want... |
| 00:24:23 | raptor | well i'm off, later! |
| 00:24:25 | | raptor Quit () |
| 01:20:55 | Nothing_Much | kaen: what's up? |
| 01:32:32 | | kaen Quit (Ping timeout: 244 seconds) |
| 01:34:59 | | kaen has joined |
| 01:34:59 | | kaen Quit (Changing host) |
| 01:34:59 | | kaen has joined |
| 02:29:15 | | Platskies has joined |
| 03:05:35 | | destroyerimo has joined |
| 04:13:34 | | raptor has joined |
| 04:13:34 | | ChanServ sets mode +o |
| 04:14:04 | raptor | oh man kaen - i just responded to the slipzone discussion about circle and at the same time you wrote its history! |
| 04:14:18 | kaen | hehe |
| 04:16:05 | raptor | wow, you did a good job at documenting |
| 04:16:14 | raptor | quite thorough actually... |
| 04:16:14 | kaen | lots of grep ... |
| 04:16:17 | raptor | haha |
| 04:17:51 | raptor | If you're open to suggestion - I may change the last paragraph a tiny bit |
| 04:18:43 | raptor | not sure to what.. but maybe to not poke people as much |
| 04:18:53 | kaen | yeah, you're right |
| 04:18:58 | kaen | it's pretty patronizing |
| 04:20:36 | kaen | I don't mind your resentment. I stand by my decision, and I would be happy to address your concerns. But I think it's fair to ask that you express your feelings in a civil manner, and remember that everyone here is a volunteer. |
| 04:20:42 | kaen | new edit ^ |
| 04:20:53 | raptor | seems much better to me |
| 04:23:02 | kaen | debian-security wants me to package poly2tri, clipper, and lua-vec |
| 04:23:12 | raptor | oh wow |
| 04:23:15 | raptor | uhh |
| 04:23:23 | kaen | on the fence about recast |
| 04:23:31 | raptor | poly2tri and clipper seem OK |
| 04:23:33 | kaen | because of the 3D -> 2D conversion |
| 04:23:48 | kaen | I think I have them convinced about TNL though |
| 04:23:51 | raptor | recast is effectively our own mutation |
| 04:24:03 | raptor | lua-vec is... umm |
| 04:24:11 | raptor | altered, somehow, I think |
| 04:24:46 | raptor | oh - I updated it to the newest Lua 5.1.5 and I think watusimoto made some weird logging changes |
| 04:25:10 | raptor | oh rats |
| 04:25:25 | raptor | lua-vec was 4D - 2D-ized by watusimoto, too |
| 04:25:42 | raptor | you should tell them debian folks that, as well |
| 04:26:08 | kaen | oh man |
| 04:26:09 | kaen | ok |
| 04:26:59 | raptor | if you don't mind, where are you having these discussions? are they public? |
| 04:33:08 | kaen | #debian-mentors on irc.debian.org |
| 04:33:22 | raptor | ha! invite-only |
| 04:33:29 | raptor | that's OK, I was just curious |
| 04:33:53 | raptor | that's cool that you're getting into packaging |
| 04:33:53 | kaen | whoa I didn't realize I was invited |
| 04:34:08 | kaen | probably got sick of me spamming #debian with packaging questions :) |
| 04:34:14 | raptor | haha |
| 04:34:18 | kaen | I've almost got poly2tri wrapped up |
| 04:34:27 | kaen | I ended up writing a CMakeLists.txt for it |
| 04:34:33 | raptor | cool! |
| 04:34:49 | raptor | doesn't it feel good to contribute to the wider community? I've always really like that |
| 04:34:55 | kaen | by the way, cmake is the preferred build system for debian packages after autotools :) |
| 04:35:01 | raptor | hooray! |
| 04:35:11 | kaen | oh, yeah, I love that feeling |
| 04:35:33 | kaen | not only did I scratch my own itch, but the itch of others before they even knew they were itchy :) |
| 04:35:42 | raptor | hahaha |
| 04:37:07 | raptor | back in a little bit... |
| 04:54:20 | | destroyerimo Quit (Read error: Connection reset by peer) |
| 05:14:10 | | Platskies Quit (Read error: Connection reset by peer) |
| 05:28:29 | | fordcars_xp has joined |
| 05:29:20 | fordcars_xp | kaen? |
| 05:29:31 | kaen | hi |
| 05:29:44 | fordcars_xp | Bitfighter is telling me a variable is not declared, when it is declared as a global in main() |
| 05:29:54 | fordcars_xp | mapHeight = 24 -- Map Height |
| 05:30:05 | fordcars_xp | raycasting.levelgen:154: Variable 'mapHeight' cannot be used if it is not first declared. |
| 05:30:19 | fordcars_xp | in fuunction |
| 05:30:28 | kaen | pastie the whole script |
| 05:30:43 | fordcars_xp | uh sure, if you have time |
| 05:31:11 | fordcars_xp | http://pastie.org/8473740 |
| 05:32:38 | kaen | hmm, is this in 019? |
| 05:32:44 | fordcars_xp | in 018a |
| 05:33:01 | kaen | weird. anyway, try adding `local mapHeight` as the first line of the script |
| 05:33:13 | fordcars_xp | sure |
| 05:34:12 | fordcars_xp | seems to have worked |
| 05:34:36 | fordcars_xp | maybe it's and invisible character or something |
| 05:35:33 | kaen | that's possible, if you copied and pasted |
| 05:35:39 | fordcars_xp | yeha |
| 05:35:57 | raptor | attack of the phantom control characters! |
| 05:36:08 | kaen | oh, actually lua doesn't allow anything but alphanumerics and underscores in identifier names |
| 05:36:23 | kaen | so it would spit out an error about that if you tried, I think |
| 05:36:29 | kaen | or else just work :) |
| 05:44:48 | fordcars_xp | wow levelgen made Bitfighter crash |
| 05:45:00 | fordcars_xp | yay no logs!!!! |
| 05:45:50 | kaen | my guess is a zone without geometry |
| 05:45:58 | fordcars_xp | ahh maybe |
| 05:46:22 | fordcars_xp | http://pastie.org/8473764 |
| 05:46:46 | fordcars_xp | oh yeah, getGeom, does it return a table? |
| 05:47:29 | fordcars_xp | If it is the problem, well this means it did the whole code, which is good news |
| 05:47:54 | kaen | getGeom returns a table for polygon objects, a single point for point objects |
| 05:48:27 | kaen | try passing those points in a table, btw |
| 05:48:39 | fordcars_xp | http://pastie.org/8473767 |
| 05:48:49 | fordcars_xp | uh |
| 05:48:54 | kaen | setGeom({pA, pB, pC, pD}) |
| 05:49:07 | fordcars_xp | ooohh, is that necessairy? |
| 05:49:12 | kaen | I believe so |
| 05:49:21 | kaen | not positive though |
| 05:49:29 | fordcars_xp | weird, it doesn't crash the first time it does it |
| 05:53:22 | fordcars_xp | man crashes |
| 05:53:32 | raptor | manpage not found |
| 05:59:36 | | Flynnn has joined |
| 06:03:23 | fordcars_xp | argh crashes |
| 06:03:31 | fordcars_xp | anyway to debug Bitfighter? |
| 06:19:53 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 06:21:23 | | Flynnn has joined |
| 06:33:42 | | fordcars_xp Quit (Quit: Page closed) |
| 06:37:26 | | kaen Quit (Ping timeout: 240 seconds) |
| 06:55:50 | | kumul Quit (Quit: Leaving) |
| 07:01:59 | | raptor Quit () |
| 07:04:04 | | HylianSavior Quit (Read error: Connection reset by peer) |
| 07:43:57 | | Platskies has joined |
| 08:07:55 | | Invisible has joined |
| 08:10:53 | | watusimoto has joined |
| 08:10:53 | | ChanServ sets mode +o |
| 08:12:41 | | Darrel has joined |
| 08:26:06 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 08:40:11 | | Invisible Quit (Ping timeout: 260 seconds) |
| 08:54:28 | | Flynnn has joined |
| 09:00:02 | | sam686 has joined |
| 09:00:02 | | ChanServ sets mode +v |
| 09:23:51 | | watusimoto Quit (Ping timeout: 246 seconds) |
| 09:35:13 | | Skybax_ has joined |
| 09:37:09 | | Skybax Quit (Ping timeout: 246 seconds) |
| 09:45:45 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 10:00:28 | | Flynnn has joined |
| 10:02:25 | | Flynnn Quit (Client Quit) |
| 10:19:11 | | destroyerimo has joined |
| 10:31:01 | | Invisible has joined |
| 10:49:39 | | destroyerimo Quit (Read error: Connection reset by peer) |
| 11:28:50 | | Invisible Quit (Ping timeout: 240 seconds) |
| 11:48:55 | | Skybax_ Quit (Ping timeout: 244 seconds) |
| 12:33:07 | | Watusimoto has joined |
| 12:33:12 | | Invisible has joined |
| 13:28:49 | | Invisible Quit (Ping timeout: 272 seconds) |
| 13:29:09 | | LordDVG has joined |
| 13:30:13 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 14:16:50 | | Platskies__ has joined |
| 14:18:19 | | Nothing_Much Quit (Remote host closed the connection) |
| 14:18:45 | | kaen has joined |
| 14:18:45 | | kaen Quit (Changing host) |
| 14:18:45 | | kaen has joined |
| 14:19:46 | | Platskies Quit (Ping timeout: 244 seconds) |
| 14:20:15 | | Nothing_Much has joined |
| 14:47:41 | | LordDVG Quit (Remote host closed the connection) |
| 14:50:10 | | watusimoto has joined |
| 14:50:11 | | ChanServ sets mode +o |
| 14:50:20 | | Invisible has joined |
| 14:55:08 | | Platskies__ Quit (Quit: Leaving) |
| 14:55:20 | | YoshiSmb has joined |
| 14:55:52 | | watusimoto Quit (Ping timeout: 246 seconds) |
| 15:20:39 | | YoshiSmb Quit (Ping timeout: 250 seconds) |
| 15:23:26 | | Invisible Quit (Ping timeout: 240 seconds) |
| 15:37:32 | | HylianSavior has joined |
| 16:36:43 | | Invisible has joined |
| 16:37:30 | | Invisible Quit (Client Quit) |
| 17:04:37 | | Canseco has joined |
| 17:23:31 | | raptor has joined |
| 17:23:32 | | ChanServ sets mode +o |
| 17:23:35 | raptor | good day! |
| 17:29:31 | kaen | morning! |
| 17:30:01 | raptor | ok goodie - you're here |
| 17:30:04 | raptor | TEST_F |
| 17:30:12 | raptor | how is that different than TEST() ? |
| 17:30:25 | raptor | with our gtests (if you have a moment..) |
| 17:30:40 | raptor | I read all the doc, and I'm not understanding something |
| 17:40:01 | kaen | oh yeah |
| 17:40:27 | kaen | TEST will auto-generate a Test subclass, and run your tests of methods of the class |
| 17:40:49 | kaen | TEST_F lets *you* define teh Test subclass, and then you can put startup/teardown in that class's constructor |
| 17:40:58 | raptor | ohhhh |
| 17:41:09 | kaen | there's an example of TEST_F usage in HttpRequestTest, I believe |
| 17:41:32 | raptor | OK, thanks |
| 17:41:42 | kaen | you bet! |
| 17:41:53 | kaen | welcome to the wonderful world of C++ testing, btw |
| 17:42:49 | kaen | and when I say wonderful, I mean terrifying |
| 17:43:25 | raptor | ha |
| 17:43:31 | raptor | it doesn't seem so bad... yet |
| 17:43:41 | kaen | gtest really really helps |
| 17:43:49 | raptor | but I think you and watusimoto did a lot of the hard stuff already (like getting GamePair to work) |
| 17:43:53 | kaen | but testing in an interpretted language is just SO much better |
| 17:44:42 | kaen | what really did all the groundwork for GamePair, I just wrapped them up into something reusable |
| 17:44:45 | kaen | wat* |
| 17:45:27 | kaen | I'm honestly still amazed that he got it to function. There was so much global state before we started down this road. |
| 17:45:58 | kaen | I never expected full-on integration testing |
| 17:46:27 | kaen | he even wrote a test that uses the master server! |
| 17:47:04 | kaen | now if I could just get him to break his test suites into separate files ... |
| 17:47:31 | | Skybax has joined |
| 17:53:13 | raptor | haha |
| 17:53:19 | raptor | I found teh main_test |
| 17:53:25 | raptor | it has loads of TEST_F... |
| 17:53:37 | raptor | so actually |
| 17:53:58 | raptor | with TEST_F, can I do an EXPECT statement in the startup/teardown ? |
| 18:07:10 | | LordDVG has joined |
| 18:10:49 | kaen | I believe so |
| 18:36:24 | | Flynnn has joined |
| 18:37:08 | | Flynnn Quit (Client Quit) |
| 18:38:06 | kaen | hey guys its spicey here |
| 18:38:15 | raptor | hi spikey! |
| 18:38:24 | kaen | lolol |
| 18:38:54 | kaen | Hi raptor |
| 18:41:03 | | Flynnn has joined |
| 18:41:16 | | Flynnn Quit (Remote host closed the connection) |
| 18:42:00 | | Flynnn has joined |
| 18:45:36 | kaen | this always happens when I forget to lock my computer -.- |
| 18:45:50 | raptor | welcome back! |
| 18:54:21 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 19:06:30 | | Skybax_ has joined |
| 19:08:04 | | Skybax Quit (Ping timeout: 244 seconds) |
| 19:13:22 | raptor | question of the day - to operator overload or to not operator overload |
| 19:14:19 | kaen | not! |
| 19:14:32 | kaen | unless it's semantically appropriate |
| 19:14:41 | kaen | in which case, then definitely yes. |
| 19:15:18 | raptor | I can think of only one use-case that would not create a maintenance nightmare - and that's with simple geometrical objecst like our Point object |
| 19:15:29 | kaen | yep |
| 19:16:15 | raptor | a coworker was just telling about one time he had to debug software that had overloaded teh '=' operator to perform binary encryption |
| 19:16:25 | kaen | :C |
| 19:16:54 | kaen | boost's serialization libs use & for the bidirectional serialization |
| 19:17:16 | | Canseco Quit (Quit: Leaving) |
| 19:17:27 | raptor | what |
| 19:29:19 | kaen | http://www.boost.org/doc/libs/1_55_0/libs/serialization/doc/index.html |
| 19:31:07 | raptor | ha! |
| 19:31:09 | raptor | wow |
| 19:31:38 | raptor | actually that might make sense to do for code simplification... as long as you knew you were in boost::serialization territory |
| 19:38:53 | kaen | yeah, in that context is makes sense |
| 19:39:08 | kaen | it actually lets you use the same code for serialization as unserialization |
| 19:39:25 | kaen | but if didn't know what you're looking at, it would be pretty puzzling |
| 19:39:48 | raptor | like a new language, but still (somehow) uses the c++ compiler... |
| 19:56:48 | raptor | wow - i'm just reading about this now: http://nakedsecurity.sophos.com/2013/11/04/anatomy-of-a-password-disaster-adobes-giant-sized-cryptographic-blunder/ |
| 19:56:55 | raptor | it's fascinating, and hilarious! |
| 20:08:31 | | LordDVG Quit (Remote host closed the connection) |
| 20:09:59 | | Flynnn has joined |
| 20:12:09 | | kaen Quit (Ping timeout: 244 seconds) |
| 20:14:11 | | Flynnn Quit (Client Quit) |
| 20:17:19 | | Flynnn has joined |
| 20:24:21 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 20:25:00 | | raptor Quit () |
| 20:26:46 | | Watusimoto has joined |
| 20:36:20 | | Flynnn has joined |
| 21:32:05 | Nothing_Much | wow that is hysterical |
| 21:35:25 | | Skybax_ Quit (Ping timeout: 245 seconds) |
| 21:53:50 | | raptor has joined |
| 21:53:50 | | ChanServ sets mode +o |
| 21:57:44 | raptor | hello again! |
| 21:59:01 | Nothing_Much | hey raptor |
| 21:59:52 | Nothing_Much | quick question, did you have to compile Android from source or did you have an Android device handy with ya when you compiled bitfighter? |
| 22:00:13 | raptor | I used the Android NDK |
| 22:00:19 | raptor | it has emulated android systems in it |
| 22:00:37 | raptor | err... the SDK does, but the NDK is needed to compile non-Java stuff |
| 22:01:07 | Nothing_Much | Ahh, how did you get the source code? Did you have to use the repo init command and stuff? |
| 22:01:18 | raptor | source code for what? |
| 22:01:41 | raptor | this is a developer's kit - https://developer.android.com/tools/sdk/ndk/index.html |
| 22:01:46 | Nothing_Much | Android headers |
| 22:01:47 | Nothing_Much | oh |
| 22:01:50 | raptor | yes |
| 22:01:52 | raptor | ah ok |
| 22:02:02 | raptor | yes, the headers are all in the SDK+NDK |
| 22:02:16 | raptor | it took a while to get set up, but that was a while ago... |
| 22:02:33 | Nothing_Much | hmm.. |
| 22:03:20 | Nothing_Much | apparently that's not what I need.. it's the entirety of android headers is what I need |
| 22:03:42 | raptor | probably this, then: https://developer.android.com/sdk/index.html |
| 22:04:01 | raptor | inside is a utility to download all the APIs for the various versions |
| 22:04:39 | Nothing_Much | alright, that should include Jelly Bean |
| 22:54:10 | raptor | Watusimoto: are we supposed to do something for GCI ? |
| 22:54:24 | raptor | I'm looking on this page and I don't see us: https://www.google-melange.com/gci/org/google/gci2013/copyleftgames |
| 22:54:57 | raptor | actually, I don't see some of the others either - maybe it's no big deal |
| 23:01:06 | | amgine123 has joined |
| 23:01:15 | | kaen has joined |
| 23:01:18 | | kaen Quit (Changing host) |
| 23:01:18 | | kaen has joined |
| 23:01:47 | amgine123 | sup |
| 23:02:20 | amgine123 | sorry i was gone yesterday I was at my grandpas grave for vetrens day |
| 23:06:51 | amgine123 | anythng new |
| 23:10:16 | raptor | hi |
| 23:10:42 | raptor | nope, nothing new really, we haven't committed too much since the build I got you |
| 23:11:47 | amgine123 | ok |
| 23:12:02 | amgine123 | did you fix the 2 assert crashes i found |
| 23:12:56 | amgine123 | the object snaping to its previous locaton bug is annoying.... |
| 23:13:28 | Nothing_Much | amgine123: :( |
| 23:17:58 | sam686 | There some kind of memory corruption on TestRobot.cpp near line 57. if levelgen.runString doesn't run, then no memory corruption. |
| 23:18:49 | amgine123 | is it a fatal crash? |
| 23:19:28 | amgine123 | is kaen afk i want to ask him somthing |
| 23:20:19 | sam686 | memory corruption can crash in a middle, or when it is exiting, though that is in the test, not actually running regularly.. |
| 23:20:23 | | kaen awakens from his slumber |
| 23:20:32 | amgine123 | hi kaen |
| 23:20:45 | kaen | hi |
| 23:21:03 | amgine123 | kaen question regarding my new plugin im working on |
| 23:21:16 | sam686 | I could spam "_CrtCheckMemory();" and it detects memory corruption sooner |
| 23:21:20 | kaen | fire away |
| 23:21:42 | amgine123 | i want a object to duplicate itself X times as inpute buu the user what would i use. |
| 23:22:08 | kaen | doesn't work yet amgine123 :< |
| 23:22:15 | amgine123 | cant be done |
| 23:22:16 | kaen | there's a clone method but it's unimplemented |
| 23:22:17 | amgine123 | ?? |
| 23:22:18 | raptor | sam686: I may have introduced that... |
| 23:22:21 | kaen | not reasonably |
| 23:22:31 | raptor | let me check something... |
| 23:22:42 | amgine123 | ah ok i was goingto make a plugin were you can duliplicate a objec as many times as yu need |
| 23:22:43 | Nothing_Much | kaen: you sleep 'till 3? |
| 23:23:02 | amgine123 | guess ill hold onto the menu part of the plugin |
| 23:23:30 | amgine123 | my other plugin still crashes kaen |
| 23:23:52 | kaen | Nothing_Much: no, but I take naps |
| 23:23:57 | amgine123 | btw samgave me a interesting lne somthing about objects in pairs hats that do? |
| 23:24:14 | amgine123 | for my plugin |
| 23:24:17 | Nothing_Much | Ah |
| 23:24:25 | kaen | same thing as for i=1,#objects do |
| 23:24:34 | sam686 | just updated to latest hg, now I get TNLAssert("L should not have been created yet!" test.exe!Zap::RobotTest_addBot_Test::TestBody() Line 21 |
| 23:24:39 | kaen | you can say for i,obj in ipairs(objects) do |
| 23:24:58 | amgine123 | ah so its kind of a a different loop type |
| 23:25:03 | kaen | yes |
| 23:25:25 | kaen | well, not really |
| 23:25:33 | sam686 | Now I get "Only one ServerGame at a time, please! If this trips while testing, " (ServerGame.cpp)... |
| 23:25:33 | kaen | same type of loop, different way of writing it |
| 23:25:58 | kaen | it lets you skip the obj=objects[i] part by automatically getting obj from the list |
| 23:26:11 | amgine123 | oh |
| 23:29:37 | kaen | amgine123: pastie your crashing plugin code |
| 23:30:28 | sam686 | TestLuaEnvironment.cpp missing delete serverGame;? |
| 23:30:32 | raptor | yes |
| 23:30:34 | raptor | i'm getting to it |
| 23:30:43 | raptor | since that's the one i'm in the middle of writing |
| 23:42:39 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 23:49:02 | | Flynnn has joined |
| 23:50:11 | raptor | ok sam686, try the next revision |
| 23:50:21 | | BFLogBot Commit: 0abf6b8391b1 | Author: buckyballreaction | Message: Clean-up my LuaEnvironmentTest and prepare for more tests |
| 23:51:31 | raptor | and thanks kaen for explaining the TEST_F better |
| 23:51:50 | kaen | glad to help :) |
| 23:52:17 | kaen | sweet, lua tests! with a string evaluator! |
| 23:52:31 | raptor | well... |
| 23:52:33 | raptor | not really |
| 23:52:41 | kaen | oh? |
| 23:52:52 | raptor | the only way it throws false is if you make it throw an exception in the lua script |
| 23:53:04 | raptor | soo... not *quite* there |
| 23:54:32 | amgine123 | wait a lua bug tester? |
| 23:56:09 | raptor | not yet |