Timestamps are in GMT/BST.
| 00:13:27 | | BFLogBot Commit: 98d8b6762935 | Author: kaen | Message: fix CMake test target on Linux |
| 00:13:29 | | kaen nudges BFLogBot |
| 00:13:29 | | BFLogBot Commit: fdb1537c0f32 | Author: kaen | Message: ignore points with NaN coordinates in PolylineGeometry::setGeom (with unit tests) |
| 00:15:01 | raptor | kaen: |
| 00:15:13 | raptor | oh i see |
| 00:15:20 | raptor | if(points[i] == points[i]) |
| 00:15:23 | raptor | then push_back |
| 00:15:24 | raptor | ok |
| 00:15:26 | raptor | nevermind |
| 00:21:35 | kaen | I inverted the condition to make it more clear |
| 00:21:44 | kaen | (or so I'd hoped) |
| 00:26:29 | | sam686 has left |
| 00:32:06 | | BFLogBot Commit: feb00b924c13 | Author: kaen | Message: Strengthen PolylineGeometry::setGeom() tests |
| 00:32:08 | | BFLogBot Commit: 65bcff0129ea | Author: kaen | Message: fix HttpRequestTest |
| 00:38:21 | raptor | night~ |
| 00:38:24 | | raptor Quit () |
| 00:49:21 | | bobdaduck Quit (Remote host closed the connection) |
| 01:10:15 | fordcars | night guys |
| 01:10:19 | | fordcars Quit (Quit: Page closed) |
| 01:11:06 | | kaen Quit (Ping timeout: 260 seconds) |
| 01:45:10 | | Platskies has joined |
| 02:08:14 | | Watusimoto has joined |
| 02:48:04 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 03:50:16 | | LordDVG has joined |
| 03:59:34 | | Watusimoto has joined |
| 06:22:06 | | Platskies Quit (Remote host closed the connection) |
| 06:41:43 | | LordDVG Quit (Remote host closed the connection) |
| 06:47:03 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 06:59:44 | | Watusimoto has joined |
| 08:04:37 | | raptor has joined |
| 08:04:37 | | ChanServ sets mode +o raptor |
| 08:05:25 | raptor | good morning! |
| 08:05:29 | raptor | so |
| 08:06:18 | raptor | any tips on handling extremely discourteous neighbors who keep waking us up in the middle of the night? |
| 08:23:09 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 08:32:11 | | LordDVG has joined |
| 09:41:27 | | bobdaduck_m has joined |
| 09:43:17 | | bobdaduck_m Quit (Client Quit) |
| 09:48:56 | | Platskies has joined |
| 09:52:40 | | Platskies Quit (Remote host closed the connection) |
| 09:54:17 | | fordcars has joined |
| 10:07:01 | | Watusimoto has joined |
| 10:07:46 | Watusimoto | hi |
| 10:07:48 | raptor | hi |
| 10:07:57 | Watusimoto | neighbor problems, eh? |
| 10:08:01 | raptor | sigh |
| 10:08:09 | Watusimoto | how do they wake you up? |
| 10:08:27 | raptor | talking and laughing at 2-3 in the morning like it was mid day |
| 10:08:29 | Watusimoto | "Hey, yo! Raptor! Wake up! Found a bug in bitfighter, yo!" |
| 10:08:51 | raptor | it probably wouldn't super bad if my wife wasn't 8 months pregnant... |
| 10:08:55 | raptor | *wouldn't be |
| 10:09:33 | raptor | they were also testing DJ equipment after we put the kids to be yesterday.. |
| 10:10:38 | Watusimoto | lovely |
| 10:10:58 | Watusimoto | you could try the solution I toyed with when I lived in Sydney and some idiot had their car alarm going all night |
| 10:11:39 | Watusimoto | I wanted to place a brick on the hood of their car with a note saying "next time I hear this alarm, the brick goes through your windshield" |
| 10:12:04 | raptor | haha |
| 10:12:06 | Watusimoto | or you could talk to them in the light of day when emotions are low |
| 10:12:21 | raptor | i've done that several times |
| 10:12:32 | Watusimoto | well, bricks are easy to find |
| 10:12:35 | raptor | for the most part the owner's friends have been courteous |
| 10:13:25 | raptor | but the owner himself has always acted like he was sorry and it'll never happen again, but continues |
| 10:13:26 | Watusimoto | you could test your dj equimpemt at 7AM |
| 10:13:38 | raptor | haha |
| 10:14:22 | raptor | i've been thinking about calling his mother, since she helped get him the unit... |
| 10:14:22 | Watusimoto | if they're talking loud, they've probably been drinking and probably aren't thinking about you |
| 10:14:34 | Watusimoto | that's an idea |
| 10:15:29 | raptor | yeah... i'm just worried the wife will snap after the kid comes |
| 10:15:35 | Watusimoto | it's a difficult situation all around |
| 10:15:39 | raptor | because... sleep deprivation |
| 10:15:42 | Watusimoto | right |
| 10:16:03 | Watusimoto | is it a rental unit? |
| 10:16:50 | raptor | not exactly sure - the owner (our protagonist) bought it, lived in it for a while, then rented it out, now he's back |
| 10:17:18 | raptor | his renters were a bit noisy, but they ended up being courteous after a few low-tension requests |
| 10:19:08 | Watusimoto | so there's no real avenue of landlord appeal |
| 10:19:23 | raptor | just his mom! |
| 10:19:47 | raptor | maybe... |
| 10:21:05 | Watusimoto | do you know any motorcycle club types who might be willing to have a little chat with them? |
| 10:21:20 | raptor | heh |
| 10:21:55 | raptor | well, the case is a bit more strenuous at times because the wife knows how to use nunchucks.. |
| 10:22:53 | Watusimoto | your wife, or his? |
| 10:22:58 | raptor | mine :) |
| 10:23:11 | Watusimoto | well that makes things a tad easier |
| 10:23:28 | raptor | not when you're trying to prevent bloodshed! |
| 10:23:36 | Watusimoto | nothing like giong to talk with the neighbors, with the specter of chucks to the head from the dude's wife |
| 10:24:02 | raptor | haha |
| 10:24:57 | raptor | so i'm stuck between a sleep-deprived, pregnant, nunchuck-weilding wife and a sociopathic, self-centered neighbor |
| 10:25:31 | Watusimoto | my favorite nunchucks video |
| 10:25:32 | Watusimoto | http://www.youtube.com/watch?v=qsEZ2lpM0Yw |
| 10:26:07 | raptor | hahaha |
| 10:28:42 | raptor | ok, i'v ebeen tracking down that editor crash with my concentric circles map |
| 10:28:44 | raptor | and... |
| 10:28:51 | raptor | there's a memory error somewhere |
| 10:29:04 | Watusimoto | I'm shocked!! |
| 10:29:27 | raptor | every time I comment out what I think is the offending variable(s), it crashes and gives a completely different stack trace |
| 10:29:34 | raptor | still in the EditorUI though |
| 10:29:41 | Watusimoto | valgrind? |
| 10:29:47 | raptor | did that several times |
| 10:29:54 | raptor | gives me invalid reads in different locations |
| 10:32:24 | raptor | here's my most recent one: http://pastie.org/pastes/7831355/text |
| 10:32:32 | raptor | before crash |
| 10:33:06 | raptor | which seems closer to the issue for once.. |
| 10:34:15 | raptor | whoa, now here's what happens to the editor when getting it to dupe: http://sam6.25u.com/upload/2snapshot6.png |
| 10:35:00 | raptor | mayeb i shoudl hunt for virtual constructors again.. |
| 10:37:12 | | koda has joined |
| 10:39:27 | Watusimoto | kids need the computer, sadly |
| 10:39:31 | Watusimoto | back in a while |
| 10:39:33 | raptor | later |
| 11:01:39 | | raptor Quit (Ping timeout: 272 seconds) |
| 11:15:46 | | Disconnected. |
| 11:15:46 | | -hubbard.freenode.net- *** Looking up your hostname... |
| 11:15:46 | | -hubbard.freenode.net- *** Checking Ident |
| 11:15:46 | | -hubbard.freenode.net- *** No Ident response |
| 11:15:46 | | -hubbard.freenode.net- *** Couldn't look up your hostname |
| 11:15:53 | | BFLogBot has joined |
| 11:15:53 | | Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
| 11:15:53 | | Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013 |
| 11:15:53 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 11:44:32 | | koda Quit (Quit: koda) |
| 11:52:25 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 11:57:02 | | kaen has joined |
| 12:11:33 | | BFLogBot Commit: c34e5d2c265c | Author: buckyballreaction | Message: Fix missing virual destructors by looking at each class one-by-one. Leave no stone unturned. About a dozen of these were actual bugs |
| 12:17:45 | | fordcars Quit (Ping timeout: 245 seconds) |
| 12:18:04 | | raptor Quit (*.net *.split) |
| 12:18:23 | | kaen Quit (*.net *.split) |
| 12:50:10 | | kaen has joined |
| 13:05:14 | | sam686 has joined |
| 13:14:30 | | ChanServ Quit (*.net *.split) |
| 13:41:27 | | FlynnnNT has joined |
| 13:56:16 | | raptor has joined |
| 14:00:41 | kaen | hi FlynnnNT |
| 14:00:47 | FlynnnNT | Hello, Kaen :) |
| 14:00:53 | FlynnnNT | Did you hear about freenode? |
| 14:00:56 | kaen | nope |
| 14:01:03 | kaen | what's up? |
| 14:01:47 | FlynnnNT | They are getting DOSed right now, I'm not sure about exactly what happened |
| 14:01:51 | FlynnnNT | but their NickServ is down |
| 14:02:11 | FlynnnNT | so all the +r channels can't be joined |
| 14:03:28 | kaen | weird |
| 14:03:40 | raptor | ok, now to see if there are fewer crashes in the editor.. |
| 14:03:47 | FlynnnNT | Yeah, I'm asking them right now why only Nickserv is down |
| 14:03:49 | kaen | that's what I'm doing, too! |
| 14:04:00 | raptor | you saw my virtual constructor clean-up? |
| 14:04:08 | FlynnnNT | Kaen was that to me, or to raptor? |
| 14:04:10 | FlynnnNT | xD |
| 14:04:12 | kaen | just reviewing the commit |
| 14:04:16 | kaen | to raptor |
| 14:04:16 | raptor | i looked at *every* class |
| 14:04:20 | FlynnnNT | gotcha |
| 14:04:25 | kaen | I saw 127 changes in 127 files |
| 14:04:31 | | Watusimoto has joined |
| 14:04:35 | raptor | yeah |
| 14:04:36 | kaen | could tell something was up |
| 14:04:54 | raptor | that's when my stubbornness is a good thing |
| 14:05:11 | raptor | oh my goodness |
| 14:05:17 | raptor | it fixes at least one crash i had.. |
| 14:05:46 | raptor | ha! |
| 14:05:49 | raptor | bug fixed |
| 14:05:57 | raptor | hi Watusimoto |
| 14:06:37 | Watusimoto | hi |
| 14:06:48 | Watusimoto | fixed? |
| 14:06:59 | raptor | except i see this in the editor now: http://sam6.25u.com/upload/2screenshot_24.png |
| 14:07:04 | raptor | but it doesn't crash! |
| 14:07:27 | raptor | and... segfault on exit game |
| 14:07:29 | raptor | hmm |
| 14:08:12 | Watusimoto | I get a segfault without entering the editor, so it may not be related |
| 14:08:26 | Watusimoto | nice colors!! |
| 14:08:29 | raptor | Watusimoto: i added a ton of missing virtual destructors.. and that fixed that editor crash |
| 14:08:32 | raptor | but now i see colors |
| 14:08:36 | Watusimoto | it did? |
| 14:08:39 | raptor | yeah |
| 14:09:07 | Watusimoto | well... can't argue with success |
| 14:09:30 | Watusimoto | there's only one wrong color there - pink instead of blue |
| 14:10:17 | raptor | well, now i'm getting segfaults everywhere... |
| 14:10:32 | | koda has joined |
| 14:11:03 | Watusimoto | do you get segfaults without starting the editor? |
| 14:11:08 | Watusimoto | host a game or something |
| 14:11:09 | raptor | no |
| 14:11:22 | raptor | only after i move those concentric circles do i start getting segfaults.. |
| 14:11:41 | kaen | tests segfault too |
| 14:11:57 | raptor | ok, maybe i added one too many virtual destructors... |
| 14:12:32 | raptor | here are the ship sparks: http://sam6.25u.com/upload/2screenshot_25.png |
| 14:12:55 | raptor | let me remove the virtual destructor in Color |
| 14:13:25 | Watusimoto | whoa dude... this seems an unlikely cluster of symptoms to be caused by virtual destructors! |
| 14:13:42 | raptor | yeah, well... maybe it's pulling out a lot of other bugs |
| 14:14:37 | raptor | whoa! |
| 14:14:59 | raptor | i removed the virtual destructor in the Color class and the editor bug came back, as well as all the normal colors.. |
| 14:15:09 | raptor | what the crazy |
| 14:15:32 | kaen | I just built from latest and I get normal colors |
| 14:15:44 | raptor | even with hosting game? |
| 14:16:02 | raptor | looks at the ship contrails |
| 14:17:15 | kaen | triggered an assert: Assert: Override if you want to use this method! in /home/charon/code/bitfighter/zap/gameType.cpp line 4217 |
| 14:17:17 | raptor | nothing derives from 'Color' correct? |
| 14:17:35 | Watusimoto | so when you are ready (perhaps after this crisis is settled), I want to discuss the cmake project |
| 14:17:37 | kaen | ship contrails were fine, however sparks from phaser shots were 255 blue |
| 14:18:46 | raptor | i'm actually leaving in a few minutes :( |
| 14:19:04 | raptor | so best guess - did I introduce bugs? or just pull out others unfound before? |
| 14:19:18 | raptor | Watusimoto: kaen can probably answer cmake questions |
| 14:19:29 | kaen | my gut instinct is that these are real, previously hidden, bugs |
| 14:19:48 | kaen | your vdestructors make sense to me (half way through the list) |
| 14:20:06 | raptor | i sort of added them indiscriminantly |
| 14:31:21 | raptor | the virtual one in Color should probably go |
| 14:31:21 | raptor | but I need to go! augh! |
| 14:31:21 | FlynnnNT | Bye, raptor! :( |
| 14:31:21 | raptor | sorry folks, back later tonight |
| 14:31:21 | kaen | later |
| 14:31:24 | raptor | please don't curse me too badly for that commit.. |
| 14:31:24 | | raptor Quit () |
| 14:31:24 | | fordcars has joined |
| 14:31:24 | FlynnnNT | So, ehm, do any of you guys know a good library for doing 3D operations without the use of rendering? |
| 14:31:24 | kaen | what's 3D? |
| 14:31:24 | FlynnnNT | specifically, I'd like to be able to transform 3D points onto a 2D surface using a perspective transformation |
| 14:31:24 | FlynnnNT | xD Kaen |
| 14:31:24 | FlynnnNT | freenode being dosed, I figured I might as well give it a shot |
| 14:31:24 | kaen | well, all you need is matrix multiplication |
| 14:31:24 | FlynnnNT | Yeah, but I'd also like to do depth culling on tris |
| 14:31:24 | kaen | if you can make up your own modelview and projection matrices |
| 14:31:24 | FlynnnNT | again without actually rendering them |
| 14:31:24 | kaen | oh |
| 14:31:24 | kaen | well maybe a headless gl context? |
| 14:31:24 | FlynnnNT | I don't know enough about GL, does it support checking if tris are occluded by other tris? |
| 14:31:24 | FlynnnNT | I probably need a good raycasting library, does GL support rays? |
| 14:31:24 | kaen | not inherently afaik |
| 14:31:24 | FlynnnNT | ah well that sucks |
| 14:31:24 | kaen | you're describing functions of a 3D engine |
| 14:31:24 | kaen | rather than a graphics library |
| 14:31:24 | FlynnnNT | Yeah, Unity3D has alot of what I need, |
| 14:31:24 | FlynnnNT | but I want to do it outside the gaming engine |
| 14:31:24 | FlynnnNT | Unity3D lacks alot of support for external libraries (being C# Mono) |
| 14:31:24 | FlynnnNT | It also has bad direct graphics modification |
| 14:31:24 | FlynnnNT | (I wish to use OpenCV with this project) |
| 14:31:24 | kaen | I think some open source engines have support for opencv |
| 14:31:24 | FlynnnNT | But, |
| 14:31:24 | FlynnnNT | oh haha well |
| 14:31:24 | FlynnnNT | Unity3d locks down opencv |
| 14:31:24 | kaen | beyond that, you're entering a realm beyond my experience |
| 14:31:24 | FlynnnNT | unless you have the Pro license |
| 14:31:24 | FlynnnNT | Well I'm interested what you ahd to say about the matrixes |
| 14:31:24 | FlynnnNT | I can write my own depth culler if I have to |
| 14:31:24 | FlynnnNT | but I'm not familiar with doing up matrices |
| 14:31:24 | kaen | well, 3d to 2d projection is just a composition of matrix operations |
| 14:31:24 | FlynnnNT | hmm |
| 14:31:24 | kaen | specifically two multiplications |
| 14:31:24 | kaen | you make a modelview matrix, and a projection matrix, and do some specific (but pretty simple) math |
| 14:31:24 | kaen | so you really just need a good math library (and your culler) |
| 14:31:24 | FlynnnNT | oh, so the modelview matrix |
| 14:31:24 | FlynnnNT | what it does is "rotate" the entire world |
| 14:31:24 | FlynnnNT | then the perspective distorts it by distance? |
| 14:31:24 | kaen | yes, and some other factors that define an opengl camera |
| 14:31:24 | FlynnnNT | looks like boost http://www.boost.org/doc/libs/1_53_0/libs/numeric/ublas/doc/index.htm does matrix multiplication :D |
| 14:31:24 | FlynnnNT | I see, what would those be? |
| 14:31:24 | FlynnnNT | beyond FOV and the clip planes |
| 14:31:24 | kaen | can't remember off the top of my head |
| 14:31:24 | kaen | that's t |
| 14:31:24 | kaen | it |
| 14:31:24 | FlynnnNT | oh I see! |
| 14:31:24 | kaen | just a description of the truncated prism |
| 14:31:24 | FlynnnNT | Okay, thankyou very much :) |
| 14:31:24 | kaen | you bet :) |
| 14:39:38 | | BFLogBot Quit (Ping timeout: 276 seconds) |
| 14:39:38 | | Disconnected. |
| 14:39:38 | | -cameron.freenode.net- *** Looking up your hostname... |
| 14:39:38 | | -cameron.freenode.net- *** Checking Ident |
| 14:39:38 | | -cameron.freenode.net- *** No Ident response |
| 14:39:39 | | -cameron.freenode.net- *** Couldn't look up your hostname |
| 14:39:44 | | BFLogBot2 has joined |
| 14:39:44 | | Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
| 14:39:44 | | Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013 |
| 14:42:49 | | BFLogBot Quit (*.net *.split) |
| 14:54:54 | | LordDVG has joined |
| 14:59:05 | fordcars | yay I just made an exclusive or gate... in Bitfighter :D |
| 15:00:31 | FlynnnNT | please do tell |
| 15:01:34 | fordcars | :P nice you are doing 3d graphics? |
| 15:05:25 | kaen | fordcars, elaborate? |
| 15:05:42 | fordcars | what? |
| 15:05:46 | fordcars | the gate? |
| 15:05:49 | kaen | yes :) |
| 15:06:05 | fordcars | with forcefields and turretsà |
| 15:06:06 | FlynnnNT | yes please, do tell |
| 15:06:10 | FlynnnNT | oh cool |
| 15:06:17 | fordcars | well it's a gate :P |
| 15:06:35 | fordcars | I am doing a super-awesome forcefield/ turret calculator |
| 15:06:41 | kaen | I knew it! |
| 15:06:45 | fordcars | ha |
| 15:06:46 | FlynnnNT | Fun! |
| 15:06:55 | kaen | dude we should make a turing machine |
| 15:07:00 | fordcars | haha yeah |
| 15:07:06 | fordcars | we should! |
| 15:07:08 | FlynnnNT | ._. that might be a bit much for bitfighter to handle |
| 15:07:18 | FlynnnNT | those things are slow on minecraft |
| 15:07:20 | kaen | you clearly have not seen bobdaduck's dnd level |
| 15:07:24 | FlynnnNT | but, yes, you should try anyhow |
| 15:08:24 | kaen | 3d voxels have tons of processing overhead compared to bitfighter's raw gl calls and 2d physics |
| 15:08:44 | fordcars | anyway, the exclusive or gate was the most complicated gate |
| 15:08:50 | fordcars | bitfighter is super-economic! |
| 15:09:30 | fordcars | and waiting for the turret to shoot the forceField takes a while, so I used Phaser-shooting turrets |
| 15:25:41 | | FlynnnNTT has joined |
| 15:25:44 | | FlynnnNT Quit (*.net *.split) |
| 15:27:13 | | ChanServ has joined |
| 15:27:29 | | ChanServ Quit (shutting down) |
| 15:27:37 | | fordcars Quit (Changing host) |
| 15:27:37 | | fordcars has joined |
| 15:29:55 | | -tomaw- [Global Notice] Hi all. We're just completing some administrative tasks after services extended tea break. They'll return shortly. Sorry for the outage! |
| 15:39:25 | fordcars | there is a typo in the editor :0 |
| 15:39:45 | kaen | :x |
| 15:39:54 | kaen | just one? |
| 15:39:57 | fordcars | ha |
| 15:40:08 | fordcars | there are probably more |
| 15:40:13 | fordcars | :P |
| 15:40:50 | fordcars | Selected ForceFld |
| 15:40:59 | fordcars | when selecting forceField |
| 15:49:10 | Watusimoto | hey kaen |
| 15:49:15 | kaen | hello |
| 15:49:21 | Watusimoto | I added a new class to the game |
| 15:49:27 | Watusimoto | I did the following |
| 15:49:33 | Watusimoto | I closed vc++ |
| 15:50:05 | Watusimoto | I edited the cmakelists.txt file in the zap folder, and added my new class to the CLIENT_SOURCES section |
| 15:50:11 | Watusimoto | (this is a UI only class) |
| 15:50:18 | Watusimoto | then I restarted VC++ |
| 15:50:34 | Watusimoto | raptor suggested the project would auto-rebuild, but it did ot |
| 15:50:36 | Watusimoto | not |
| 15:50:39 | Watusimoto | so I closed VC++ |
| 15:50:50 | Watusimoto | opened a cmd window in the build folder |
| 15:50:53 | Watusimoto | and did this: |
| 15:51:11 | Watusimoto | cmake -G "Visual Studio 10" .. |
| 15:51:31 | Watusimoto | I reopened VC++, and the new class was still not part of the project |
| 15:51:42 | Watusimoto | so I added it manually, and it only partially works |
| 15:51:44 | Watusimoto | so |
| 15:51:59 | Watusimoto | I think something went wrong somewhere. are these the correct steps? |
| 15:52:12 | Watusimoto | (not including the manual add, of course :-) |
| 15:53:11 | Watusimoto | wait\ |
| 15:53:12 | Watusimoto | wait |
| 15:53:13 | Watusimoto | wait |
| 15:53:14 | Watusimoto | wait |
| 15:53:54 | kaen | those steps look correct |
| 15:53:57 | Watusimoto | are you waiting? |
| 15:54:00 | Watusimoto | wait |
| 15:54:02 | kaen | ok |
| 15:54:51 | Watusimoto | ok |
| 15:54:55 | Watusimoto | actually |
| 15:55:13 | Watusimoto | I just realized tha twhen I restarted vc++, my old project was loaded, not the newly rebuilt one |
| 15:55:21 | kaen | heh |
| 15:55:27 | Watusimoto | when I loaded the new one, the file is there. |
| 15:55:43 | Watusimoto | at least the .cpp is. |
| 15:56:00 | Watusimoto | well, I notice that none of the .h files are included in the project |
| 15:56:07 | Watusimoto | (didn't notice that before) |
| 15:56:24 | kaen | if raptor got cmake to auto-rebuild the project files, then he has out-cmaked me by a long shot |
| 15:56:31 | Watusimoto | :-) |
| 15:56:35 | kaen | oh, I didn't notice that either |
| 15:56:43 | Watusimoto | I can't yet say if auto rebuild is working |
| 15:56:56 | Watusimoto | all I can say is that when manually built, it does appear to work as intended |
| 15:57:11 | Watusimoto | do you know if there is a way to tell cmake to include the .h files? |
| 15:58:27 | Watusimoto | or do you know how I could find the answer to that question? (is building vc++ projects a standard part of cmake, or something we cobbled together?) |
| 15:58:35 | Watusimoto | and by we I mean you |
| 15:59:35 | kaen | cmake is distributed with "generators" for various build tools |
| 15:59:41 | kaen | vc++ 2010 is part of the package |
| 15:59:52 | | LordDVG Quit (Remote host closed the connection) |
| 16:00:36 | Watusimoto | http://stackoverflow.com/questions/1167154/listing-header-files-in-visual-studio-c-project-generated-by-cmake |
| 16:01:00 | Watusimoto | this seems to suggest that we could write the cmakelists file to include the .h files |
| 16:01:03 | kaen | I was just there :) |
| 16:01:24 | kaen | it's weird that cmake doesn't just do this |
| 16:01:46 | Watusimoto | yeah... but how would it know which headers to include? |
| 16:02:01 | Watusimoto | perhaps anythign included that lives in the project folder? |
| 16:02:13 | kaen | perhaps |
| 16:03:18 | kaen | okay so we could use globbing to get the list of headers in specific directories |
| 16:03:36 | kaen | and add it with the other msvc-specific stuff |
| 16:03:40 | Watusimoto | they recommend against that |
| 16:03:47 | Watusimoto | for reasons I have not yet read about |
| 16:03:55 | kaen | well, it's better to do that than explicitly list them |
| 16:04:02 | Watusimoto | sounds like cmake could add the .h files, but doesn't |
| 16:04:10 | kaen | and it's best not to do anything with them at all (by conventional wisdom) |
| 16:04:43 | kaen | yes, since it does its own dependency scanning anyway |
| 16:04:52 | Watusimoto | exactly |
| 16:06:13 | Watusimoto | yeah, ok, globbing is the way to go |
| 16:06:21 | Watusimoto | after reading the objections |
| 16:06:30 | Watusimoto | and the objections to not globbing |
| 16:08:05 | | ChanServ has joined |
| 16:08:05 | | ChanServ sets mode +v sam686 |
| 16:08:19 | | koda Quit (Quit: k thx bai) |
| 16:12:57 | kaen | well, make clean fixed all of the craziness I got after building latest |
| 16:13:40 | kaen | almost all of it, anyway |
| 16:16:23 | Watusimoto | that's good |
| 16:20:05 | Watusimoto | so we need to add the TNL_DEBUG compile flag to the debug builds. Is that done with a new set_target_properties() line in the cmake file? |
| 16:20:32 | Watusimoto | I found these |
| 16:20:33 | Watusimoto | set_target_properties(test bitfighterd bitfighter PROPERTIES COMPILE_DEFINITIONS_DEBUG "TNL_DEBUG") |
| 16:20:33 | Watusimoto | set_target_properties(test bitfighterd bitfighter PROPERTIES COMPILE_DEFINITIONS_RELWITHDEBINFO "TNL_DEBUG") |
| 16:20:35 | Watusimoto | so yes |
| 16:20:57 | Watusimoto | so I wonder why it isn't set in my project |
| 16:26:34 | kaen | try generating with -DCMAKE_BUILD_TYPE=Debug |
| 16:26:50 | kaen | although that should be the default iirc |
| 16:27:11 | kaen | oh no it isn't the default at all |
| 16:27:17 | kaen | so yes, do that |
| 16:27:35 | Watusimoto | add that option to the cmake command? |
| 16:28:27 | kaen | yes |
| 16:28:45 | kaen | we should probably change that to be enabled by default |
| 16:29:05 | Watusimoto | I did this: |
| 16:29:06 | Watusimoto | cmake -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Debug .. |
| 16:29:11 | kaen | looks right |
| 16:29:16 | Watusimoto | and still no tnl_debug flags |
| 16:29:19 | kaen | :x |
| 16:30:15 | Watusimoto | I do get a BITFIGHTER_TEST flag |
| 16:30:55 | kaen | that flag is useless now that the main.cpp problem is fixed |
| 16:31:22 | Watusimoto | Could we force the TNL_DEBUG flag usng the same mechanims? |
| 16:32:25 | kaen | looks like the compile definitions are actually getting clobbered |
| 16:32:32 | kaen | because we set them multiple times |
| 16:33:29 | | FlynnnNTT Quit (Quit: This computer has gone to sleep) |
| 16:33:54 | kaen | I'm in the middle of fixing a bug I introduced, then I'll try to fix it |
| 16:34:23 | Watusimoto | ok, no worries |
| 16:34:34 | Watusimoto | I've added the flag manually, so I'm good for the moment |
| 16:35:21 | kaen | cool, my polygon simplification plugin works after the bugfix :) |
| 16:36:23 | | BFLogBot2 Commit: e5be96f4df24 | Author: kaen | Message: clear vector when setting polyline geometry |
| 16:37:25 | Watusimoto | excellent! |
| 16:45:32 | | Flynnn has joined |
| 16:49:37 | Watusimoto | if I recall, the tnl_debug flag was properly included the last time I rebuilt, so the clobbering must have started during a recent change. |
| 16:50:12 | Watusimoto | another thing I notice is that when I pause the program, change something, and restart, the program no longer rebuilds; rather it continues as if I made no change to the code |
| 16:50:33 | Watusimoto | this suggests that that modifications aroudn the same time also clobbered other useful settings |
| 17:18:37 | fordcars | YAY I finished the first full-adder, and it works :D |
| 17:18:58 | fordcars | anyway, later guys, gtg |
| 17:19:01 | | fordcars Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
| 17:21:00 | kaen | someone needs to buy that kid a bread board |
| 17:25:31 | Watusimoto | hah, yes |
| 17:26:29 | | bobdaduck has joined |
| 17:29:50 | | bobdaduck Quit (Read error: Connection reset by peer) |
| 17:30:32 | | bobdaduck has joined |
| 17:37:40 | | bobdaduck Quit (Remote host closed the connection) |
| 17:40:21 | | SolumnMushroom has joined |
| 17:40:36 | SolumnMushroom | Hi |
| 17:44:37 | kaen | hello |
| 17:44:46 | kaen | I'm making cookies! |
| 18:09:42 | kaen | my cookies are delicious! |
| 18:42:04 | | Flynnn Quit (Remote host closed the connection) |
| 18:45:37 | Watusimoto | I'm hungry :-( |
| 18:45:47 | Watusimoto | I want cookies |
| 18:49:12 | kaen | you especially want these cookies |
| 18:49:37 | kaen | I can mail you some if you'd like. |
| 18:59:45 | Watusimoto | I'm hungry now... can you fax a few? |
| 19:01:16 | kaen | not sure how fast transatlantic facsimile would be... probably better to email them in a .zip |
| 19:04:56 | Watusimoto | bedtime for me... I'll dream of those cookies! |
| 19:05:01 | Watusimoto | good night! |
| 19:05:14 | sam686 | squeezing food into .zip mignt not look so good. |
| 19:09:31 | | Watusimoto Quit (Ping timeout: 240 seconds) |
| 19:09:37 | kaen | ah yes, could screw up the line endings |
| 19:44:51 | SolumnMushroom | So, LogBot is now v2.0? |
| 19:45:07 | SolumnMushroom | Hopefully with less personality? |
| 19:45:32 | | raptor has joined |
| 19:45:32 | | ChanServ sets mode +o raptor |
| 19:45:42 | sam686 | probably not, more like a second BFLogBot appears before the old lagged out BFLogBot can lag out.. |
| 19:46:41 | | -barjavel.freenode.net- *** Looking up your hostname... |
| 19:46:41 | | -barjavel.freenode.net- *** Checking Ident |
| 19:46:41 | | -barjavel.freenode.net- *** No Ident response |
| 19:46:41 | | -barjavel.freenode.net- *** Couldn't look up your hostname |
| 19:46:46 | | BFLogBot has joined |
| 19:46:46 | | Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
| 19:46:47 | | Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013 |
| 19:46:47 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 19:47:07 | sam686 | If you look http://bitfighter.org/irclogs/index.php?date=2013-05-11 , there was a *.net *.split problem to BFLogBot (a problem with 2 freenode's server splits.. |
| 19:48:02 | sam686 | there is multiple freenode servers acting like one big server. sort of.. |
| 19:50:48 | raptor | howdy |
| 19:51:02 | raptor | i just read Watusimoto's and kaen's conversation on cmake |
| 19:51:13 | raptor | the TNL_DEBUG flag is already added for Debug builds |
| 19:51:35 | raptor | if he didn't have it, then... then maybe he's getting projects mixed up |
| 19:53:15 | SolumnMushroom | I'm getting an Open Source streaming program |
| 19:54:20 | sam686 | Cannot open include file: 'HttpRequest.h': No such file or directory c:\OTHER\Bitfighter\HG019\bitfighter_test\HttpRequestTest.cpp line 4 |
| 19:54:34 | sam686 | aShould I change it to: #include "../../zap/HttpRequest.h" ? (works that way) |
| 19:55:34 | SolumnMushroom | The software of choice requires Vista SP1... |
| 19:56:17 | sam686 | or should I add additional include directory? (but cmake overrides it so I don't know how cmake works) |
| 19:57:26 | raptor | it seems that since the cmake 'test' target is in the zap/CMakeLists.txt it has a hard time finding includes elsewhere |
| 19:57:36 | | fordcars has joined |
| 19:58:16 | raptor | kaen: so how did the afternoon go with my latest virtual destructor changes? |
| 19:59:20 | fordcars | kaen, I already have a breadBoard ;) |
| 20:03:34 | fordcars | http://pictures.woont.com/furniture/9/DE-LA-ESPADA/5/Bread-Board/DE-LA-ESPADA-Bread-Board-70259.XL.jpg |
| 20:03:53 | raptor | ha! |
| 20:04:06 | raptor | my first thought that it was an electrical bread board.. |
| 20:04:29 | fordcars | wow, joke killer |
| 20:04:41 | fordcars | :P actually it was too bad to be a joke |
| 20:05:10 | raptor | oh so you *were* talking about electrica bread boards? |
| 20:05:14 | raptor | *electrical |
| 20:05:17 | fordcars | I have a Bread Board for my Pi, it's awesome in servers |
| 20:05:21 | fordcars | yeah :P |
| 20:05:27 | raptor | then yes, i killed it... sorry :-/ |
| 20:05:35 | fordcars | hah |
| 20:14:37 | kaen | raptor, running this plugin multiple times in row gets me a weird luaW-related crash |
| 20:14:38 | kaen | https://github.com/kaen/kaentools/blob/master/subdivide.lua |
| 20:14:52 | kaen | (against latest) |
| 20:16:13 | kaen | I consistently get this on the second run: http://pastie.org/7897163 |
| 20:17:31 | raptor | is that because the ToggleMenuItem is being deleted too early? |
| 20:19:05 | kaen | it kind of looks like it, but I'm not sure about the proper use of luaW |
| 20:19:21 | raptor | looks like it's related to our UI menus, not LuaW |
| 20:19:32 | kaen | oh, okay |
| 20:19:40 | raptor | :( |
| 20:19:52 | kaen | but, the crash is because mLuaProxy is a garbage value |
| 20:20:07 | kaen | (according to my experiments with gdb, anyway) |
| 20:20:26 | raptor | yeah, that's because (I think) the c++ object to which it's attached has been deleted before it could clean itself up |
| 20:21:00 | raptor | oh man - sparks for Triple are black |
| 20:21:12 | raptor | and bursts explosions are blue! |
| 20:24:20 | raptor | yep script crashes on second time for me, too.. |
| 20:29:58 | raptor | kaen: I used valgrind, and just ran the plugin once; here are the results: http://pastie.org/pastes/7897191/text |
| 20:30:17 | raptor | i mean, ^^ there is the suspicious part |
| 20:35:05 | raptor | huh, it looks like it's using the wrong constructor?? |
| 20:36:45 | raptor | looks like we have a messed up constructor chain with the UIMenus.. |
| 20:37:40 | raptor | stink - this is ugly |
| 20:39:55 | | Platskies has joined |
| 20:41:21 | raptor | maybe my virtual commit did bring out lots of evil bugs.. |
| 20:49:40 | raptor | kaen: I fixed the crash... |
| 20:50:04 | raptor | committing in just a bit as soon as I make sure other menu items don't have the same problem.. |
| 20:57:09 | raptor | kaen: pushed, try now |
| 20:57:10 | | BFLogBot Commit: cc06ee53a660 | Author: buckyballreaction | Message: Fix several crashes with using editor plugins + menus |
| 20:58:19 | raptor | also your subdivide plugin is awesome! but it seems to add points to the end of a barrier sometimes? |
| 21:09:24 | | ChanServ Quit (*.net *.split) |
| 21:12:05 | sam686 | I am getting compile error: \bitfighter_test\PolylineGeometryTest.cpp(51) : error C2124: divide or mod by zero |
| 21:13:14 | | BFLogBot Commit: eb0c83c02987 | Author: buckyballreaction | Message: Fix a minor memory bug caught with valgrind |
| 21:13:15 | | BFLogBot Commit: da23a3105618 | Author: buckyballreaction | Message: Fix some compiler warnings |
| 21:14:08 | raptor | hi sam686 |
| 21:14:13 | raptor | let me compile.. |
| 21:15:09 | sam686 | I think visual c++ 2008 hates "geom.push_back(Point(0.0 / 0.0, 0.0 / 0.0));" throwing it as compile error.. |
| 21:15:32 | raptor | whoa |
| 21:15:39 | raptor | so i compile |
| 21:15:43 | raptor | and it runs fine |
| 21:15:58 | raptor | I think kaen is using that to generate a NaN |
| 21:16:21 | sam686 | but this compiles fine: F32 nan = 0.0; nan = nan / nan; geom.push_back(Point(nan, nan)); |
| 21:16:32 | raptor | hahaha |
| 21:16:54 | raptor | does teh test run OK? |
| 21:17:32 | sam686 | im getting some linker errors, caused by me tring to fix it then update which broke my fix.. |
| 21:21:29 | raptor | you might have to do a make clean |
| 21:21:36 | raptor | err.. build clean, or whatever |
| 21:23:31 | raptor | i've been messing with constructors/destructors so linking could easily break.. |
| 21:24:13 | | fordcars Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
| 21:24:57 | sam686 | LuaScriptRunner.obj : error LNK2001: unresolved external symbol "class Zap::Console Zap::gConsole" |
| 21:25:05 | raptor | what |
| 21:25:07 | sam686 | when compiling dedicated |
| 21:25:10 | raptor | that is completely unrelated |
| 21:25:13 | raptor | ah |
| 21:25:22 | raptor | dedicated... I haven't tried compiling that in a while |
| 21:26:24 | sam686 | i can run test.exe, except the console disappear way too fast for me to read.. |
| 21:27:17 | raptor | the tests run in less than a second, i think |
| 21:28:44 | sam686 | i guess the test just say everything is ok/pass.. |
| 21:37:52 | sam686 | another error in Console.h, trying to use bool onKeyDown(InputCode inputCode) without defining "InputCode" |
| 21:38:20 | raptor | missing .h ? |
| 21:38:26 | raptor | oh wait... |
| 21:39:07 | sam686 | try to compile Console.cpp with ZAP_DEDICATED, you will get that error |
| 21:40:12 | | ChanServ has joined |
| 21:42:31 | raptor | compiling.. |
| 21:45:39 | raptor | was it this commit that did it?: https://code.google.com/p/bitfighter/source/detail?r=98d8b6762935b2215b53156a6ce39c49ed72770f |
| 21:47:54 | sam686 | That only affects compiling test (doesn't affect client-full, and dedicated) |
| 21:48:52 | raptor | so you don't think it is a linker-order issue with the main.cpp in a different spot? |
| 21:49:08 | | BFLogBot Commit: ddccf66d2bd2 | Author: sam8641 | Message: Fixed compiling dedicated and test on visual C++ |
| 21:49:22 | sam686 | well actually I fixed it now.. |
| 21:50:10 | sam686 | befire that commit you linked, I used to get duplicate entries errors on 2 different function.. |
| 21:50:20 | sam686 | (only when compiling test) |
| 22:05:57 | raptor | good fix |
| 22:06:00 | raptor | good catch |
| 22:14:30 | | BFLogBot Commit: 062b17c52341 | Author: buckyballreaction | Message: Move InputCodeEnum.h into Zap namespace |
| 22:14:31 | | BFLogBot Commit: 1e6da3f98d0a | Author: buckyballreaction | Message: Move dirent.h into its own directory so as to not conflict with adding the zap/ directory to CMake include list |
| 22:14:32 | raptor | sam686, can you test something for me? |
| 22:14:41 | raptor | (if you're not already busy) |
| 22:15:05 | sam686 | what is it? (probably yes) |
| 22:15:13 | raptor | load this level in the editor: http://pastie.org/pastes/7739089/text |
| 22:15:18 | raptor | it's CPU intensive |
| 22:15:32 | raptor | load that in the editor, then select all walls and drag them |
| 22:16:31 | raptor | I see this when exiting to the menu: http://pastie.org/pastes/7739089/text |
| 22:16:34 | raptor | oops |
| 22:16:36 | sam686 | it freezes for like 3 seconds, but it may depend on how many barriers there is.. |
| 22:16:40 | raptor | this: http://sam6.25u.com/upload/2screenshot_24.png |
| 22:16:52 | raptor | yeah, its cpu intensive |
| 22:17:03 | raptor | but when i exit to menus, everything is pink |
| 22:17:11 | raptor | and when I host game, I get a crash |
| 22:17:36 | raptor | do you get any of that weird behavior? |
| 22:17:53 | sam686 | it looks ok, I never got pink at all on any menus (in editor or main manu, no pink for me) |
| 22:18:38 | sam686 | oh, need to compile latest changes from 30 minute ago.., |
| 22:18:54 | sam686 | I was 2 revision behind.. |
| 22:19:13 | raptor | this was since my 'virtual destructor revision' earlier today |
| 22:19:19 | raptor | so it should still be a problem.. |
| 22:19:40 | sam686 | what steps did you do to make it happen? |
| 22:19:47 | raptor | just those above |
| 22:19:56 | raptor | open the level, move the barriers, exit |
| 22:20:22 | sam686 | which level did you load? or did it happen to any levels? |
| 22:20:31 | raptor | only that one |
| 22:21:15 | sam686 | which one? |
| 22:21:21 | raptor | http://pastie.org/pastes/7739089/text |
| 22:24:22 | sam686 | does it happen on both debug and release build? Does it happen on both your hardware opengl and software rendering opengl? |
| 22:24:36 | raptor | at least debug |
| 22:24:46 | raptor | but it's not an opengl issue i don't think |
| 22:24:52 | raptor | because it also causes a game crash |
| 22:25:00 | sam686 | backtrace of crash? |
| 22:25:56 | sam686 | I still not getting pink or crash problem with your level.. |
| 22:26:29 | raptor | i get several different crashes |
| 22:27:23 | raptor | here what happens when I exit the game: http://pastie.org/pastes/7897425/text |
| 22:28:08 | raptor | here's what happens when I host game: http://pastie.org/pastes/7897426/text |
| 22:29:01 | raptor | here's what happens when i join a game: http://pastie.org/pastes/7897428/text |
| 22:29:09 | raptor | i mean, enter 'JOIN GAME' |
| 22:31:00 | | NOBODY_ has joined |
| 22:31:00 | NOBODY_ | Hello |
| 22:31:21 | raptor | hi |
| 22:31:48 | | NOBODY_ has left |
| 22:32:01 | sam686 | which revision did the problem started? |
| 22:32:42 | raptor | it's been there for a long time. It's bug #27 here: http://bitfighter.org/wiki/index.php/Running_Bug_List |
| 22:33:16 | raptor | but when I added a virtual destructor to class 'Color' in this revision: https://code.google.com/p/bitfighter/source/detail?r=c34e5d2c265c29b86f2a2069ad134fc50c54b2f5 |
| 22:33:28 | raptor | the crash went away and it became this color problem |
| 22:33:36 | raptor | but crash elsewhere |
| 22:34:34 | | CamperKiller39 has joined |
| 22:35:06 | CamperKiller39 | \P |
| 22:35:16 | CamperKiller39 | Hello |
| 22:35:19 | raptor | hi |
| 22:38:36 | raptor | sam686: I think it might be some object being destroyed when it shouldn't be... or maybe a pointer that isn't set to NULL.. |
| 22:39:12 | sam686 | i can try virtual machine a 64 bit linux inside my fast windows 7, i7 computer |
| 22:39:50 | raptor | ok |
| 22:43:42 | | CamperKiller39 Quit (Quit: Page closed) |
| 22:47:28 | sam686 | so far, installed cmake in linux, did cmake .., then doing make.. |
| 22:47:33 | raptor | ok |
| 23:02:21 | sam686 | I have it running now in linux, I don't yet see any problems at all.. |
| 23:02:54 | sam686 | using latest hg019 code |
| 23:03:13 | sam686 | nevermind, it crash.. |
| 23:03:13 | raptor | huh |
| 23:03:17 | raptor | yay! |
| 23:03:31 | sam686 | it crash in linux 64 bit i guess.. |
| 23:04:03 | | SolumnMushroom Quit (Read error: Connection reset by peer) |
| 23:04:39 | raptor | i tried to get another valgrind report - it just says 'Invalid read of size 8' and gives a stack trace just like the ones i posted above |
| 23:05:02 | sam686 | whats the command to make debug? |
| 23:05:28 | raptor | you have to do a cmake: cmake -DCMAKE_BUILD_TYPE=Debug .. |
| 23:05:35 | sam686 | trying to make debug from inside /build doesn't work |
| 23:05:42 | sam686 | guess I will do it in /zap |
| 23:05:48 | raptor | no no |
| 23:05:55 | raptor | in the build dir |
| 23:06:00 | raptor | do: rm CMake* -r |
| 23:06:03 | raptor | then: cmake -DCMAKE_BUILD_TYPE=Debug .. |
| 23:06:11 | raptor | then: make |
| 23:06:58 | sam686 | I would like a simple "debug" thats easier to type.. |
| 23:08:01 | raptor | maybe debug should be the default |
| 23:08:12 | raptor | then for release: cmake -DCMAKE_BUILD_TYPE=Release .. |
| 23:09:46 | raptor | I'm falling asleep |
| 23:10:09 | raptor | I've been looking in UIMenus for class members that might get deleted accidentally |
| 23:10:12 | raptor | no luck yet |
| 23:10:21 | raptor | but i need to sleep |
| 23:10:28 | raptor | good night! |
| 23:10:37 | sam686 | now i get pink menu like you said (in linux 64 bit) |
| 23:10:53 | raptor | yes, i think the pink menu is when it first gets the bug |
| 23:11:12 | raptor | then the other crashes are just part of cascading memory failure |
| 23:14:13 | raptor | ok good night |
| 23:15:04 | sam686 | simply selecting all barriers without moving cause pink menu |
| 23:15:10 | raptor | really?? |
| 23:16:34 | raptor | i still have to move them |
| 23:17:29 | sam686 | its when you select all without ctrl+a (mouse-select multiple) |
| 23:17:38 | raptor | ah |
| 23:18:22 | raptor | ok, have to sleep.. |
| 23:18:24 | raptor | night |
| 23:18:41 | sam686 | ok, night |
| 23:18:43 | | raptor Quit () |
| 23:56:28 | | Platskies Quit (Remote host closed the connection) |