*** the_map <the_map!~the_map@user/the-map/x-5158391> has quit IRC (Ping timeout: 260 seconds) | 00:42 | |
*** the_map <the_map!~the_map@user/the-map/x-5158391> has joined #bzflag | 00:42 | |
*** FastLizard4 is back | 04:12 | |
*** FastLizard4 is now away: AWAY from keyboard | 04:13 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 246 seconds) | 04:25 | |
*** dngor <dngor!abuse@syn-104-136-128-209.biz.spectrum.com> has quit IRC (Ping timeout: 246 seconds) | 05:12 | |
*** dngor <dngor!abuse@syn-104-136-128-209.biz.spectrum.com> has joined #bzflag | 05:19 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 05:30 | |
*** FastLizard4 is back | 05:42 | |
*** FastLizard4 is now away: AWAY from keyboard | 05:56 | |
*** FastLizard4 is back | 06:24 | |
*** FastLizard4 is now away: AWAY from keyboard | 06:46 | |
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life) | 07:09 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 08:00 | |
*** Cobra_Fast_ is now away: offline | 08:27 | |
*** Cobra_Fast_ is back | 08:27 | |
*** yuitimothy is back | 08:29 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 08:33 | |
*** yuitimothy is back | 08:33 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 08:34 | |
*** yuitimothy is back | 08:37 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 08:41 | |
*** yuitimothy is back | 08:43 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 08:44 | |
*** yuitimothy is back | 08:44 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 09:07 | |
*** yuitimothy is back | 09:08 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 09:16 | |
*** yuitimothy is back | 09:17 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 09:18 | |
*** yuitimothy is back | 09:18 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 09:19 | |
*** yuitimothy is back | 09:19 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 11:31 | |
*** Lantizia_ <Lantizia_!~Lantizia@user/lantizia> has quit IRC (Remote host closed the connection) | 12:00 | |
*** Lantizia_ <Lantizia_!~Lantizia@user/lantizia> has joined #bzflag | 12:03 | |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 12:41 | |
Juest | tupone: hey, would you think that master is not affected by those mathematical issues and whatever other sort of bugs that are in 2.4? | 13:58 |
---|---|---|
Juest | stuff that you've been fixing i mean | 13:58 |
blast007 | Juest: I'll merge changes from 2.4 when I have a chance | 14:03 |
blast007 | not super important right now though | 14:04 |
Juest | blast007: oh okay, thanks for letting me know. yeah im not trying to stress it | 14:04 |
Juest | doing some qa on those changes before releasing is more important than worrying about master, right? | 14:04 |
tupone | Juest: most affect master | 15:40 |
Juest | oh, thanks! | 15:40 |
tupone | I guess all of them | 15:41 |
Juest | do you have any fix that is too big of a change/breaking change? | 15:41 |
Juest | as in, i wonder if you probably can find something that applies only to master or that you cant apply in 2.4 due to downsides | 15:42 |
*** Cobra_Fast_ is now away: offline | 15:43 | |
*** Cobra_Fast_ is back | 15:43 | |
Juest | tupone: i appreciate your work :D | 15:43 |
tupone | I didn't play asan with master | 15:43 |
Juest | oh? | 15:44 |
Juest | asan? | 15:44 |
tupone | asan (Address Sanitizer) and ubsan (Undefined Behaiviour Sanitizer) | 15:52 |
Juest | oh i see, thank you | 15:54 |
Juest | are those like tools that inspect the sources? | 15:54 |
Juest | sorry for dumbly asking | 15:55 |
tupone | They are compiler switches that add code instrumentation, while not disturbing to much playing (playing like at half speed) | 15:56 |
tupone | with valgrind you go 1 tenth or less | 15:57 |
Juest | oh | 16:13 |
Juest | nice | 16:13 |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@45-26-11-55.lightspeed.tukrga.sbcglobal.net> has joined #bzflag | 17:53 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 268 seconds) | 17:57 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 17:57 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@45-26-11-55.lightspeed.tukrga.sbcglobal.net> has quit IRC (Ping timeout: 256 seconds) | 17:58 | |
tupone | -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow | 18:16 |
*** SpringTank <SpringTank!~quassel@99.65.58.146> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 18:33 | |
*** SpringTank <SpringTank!~quassel@99.65.58.146> has joined #bzflag | 18:34 | |
Agatha | valgrind 900 fps -> 90 fps big ouch | 19:09 |
*** yuitimothy is back | 19:23 | |
tupone | I got several div by 0 when projecting. e.g. when roaming and drawing tanks labels. Maybe we are drawing our own label :( | 19:44 |
tupone | what happens when I project the eye ? How to avoid it ? | 19:45 |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 19:53 | |
tupone | filtering with distance does not work. Should be something else. the result of proj * model * pos gives the w component 0 | 19:58 |
BZNotify | 2.4 @ bzflag: atupone pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/3eb6bdb6c268...73fc8bae5458): | 20:14 |
BZNotify | 2.4 @ bzflag: atupone 73fc8b: Another normalize that can div by zero (https://github.com/BZFlag-Dev/bzflag/commit/73fc8bae545851d0efceb1c1d8b8ff8def97ac40) | 20:14 |
BZNotify | 2.4 @ bzflag: atupone pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/73fc8bae5458...f24148601e2d): | 20:19 |
BZNotify | 2.4 @ bzflag: atupone f24148: Better var name (https://github.com/BZFlag-Dev/bzflag/commit/f24148601e2d34a23c16b54637b1230cc0161b57) | 20:19 |
Juest | what | 20:58 |
tupone | another div by zero :) | 21:09 |
tupone | Still some problem with project. Maybe the matrixes are not yet initialized ? | 21:09 |
Juest | hmm, have you considered making unit tests? considering all those changes it sounds like it can be useful | 21:14 |
Juest | i recall we had this conversation but still | 21:15 |
blast007 | I feel like it would be an absolute pain to add unit tests to BZFlag, because we don't generally have nice self-contained units | 21:20 |
blast007 | I had the start of some of them in 2.4.4, but removed them later. https://github.com/BZFlag-Dev/bzflag/tree/v2.4.4/tests | 21:22 |
Juest | why? | 21:52 |
Juest | hmm, 2.99 lived in master for a while until it was no longer feasible? | 21:57 |
Juest | oh blast007 -echo and -echoAnsi do not really seem to do anything in windows, at least not in a user facing way | 21:58 |
Juest | the stdout/stderr stuff on windows is usually found in the debugger output | 21:59 |
blast007 | Juest: it writes out to a file on Windows | 22:57 |
blast007 | I think at c:\Users\UsernameHere\AppData\Local\BZFlag\stdout.txt | 22:58 |
blast007 | https://github.com/BZFlag-Dev/bzflag/blob/2.4/src/bzflag/bzflag.cxx#L860-L873 | 22:58 |
Juest | oh thanks blast007, i didnt notice nor bother to look | 23:00 |
blast007 | it's probably not documented, and it's a rarely used feature | 23:00 |
Juest | yeah that's indeed the case | 23:00 |
Juest | i've used it at times without knowledge lol | 23:00 |
blast007 | It may make sense to just add a proper logging feature akin to logging found in IRC clients | 23:01 |
Juest | yeah honestly just do that | 23:02 |
Juest | complete with log rotation | 23:02 |
Juest | will be out for 2.5? | 23:02 |
Juest | there are probably efficient logging libraries that are optimized for size and speed | 23:02 |
blast007 | I had found this one a while ago: https://github.com/gabime/spdlog | 23:03 |
Juest | interesting | 23:04 |
blast007 | (could work for bzfs as well) | 23:05 |
Juest | https://www.reddit.com/r/cpp/comments/10v7yx0/quill_v270_released_asynchronous_low_latency_c/ | 23:05 |
Juest | certainly | 23:05 |
*** yuitimothy is now away: I've done some soul-searching and I still can't find it. | 23:06 | |
Juest | moving from stdout/stderr to proper logging sounds like the right move | 23:06 |
Juest | bzflag is still primitive in many technologies, really? | 23:06 |
blast007 | quill sounds interesting too, so I'll add that to my bookmarks for BZFlag stuff | 23:09 |
Juest | :P | 23:10 |
Juest | i'd only use quill when the application is sensitive to latency | 23:10 |
blast007 | I mean, do *would* be writing to a file in the main game loop, so it might be useful there | 23:11 |
blast007 | s/do/we/ | 23:11 |
Juest | interesting | 23:12 |
Juest | i wonder if the lib is small enough to check in and not be a burden | 23:12 |
blast007 | The game client is mostly single-threaded. Exceptions to that would be DNS resolution (via c-ares), audio, and screenshots (with some extra stuff related to that in the control panel for adding the message about the screenshot location). | 23:15 |
Juest | ah hmm | 23:15 |
Juest | well, logging gotta be async and multithreaded, right? | 23:16 |
Juest | whats the control panel stuff exactly? | 23:16 |
blast007 | control panel being the chat panel | 23:16 |
Juest | ahh i see | 23:16 |
blast007 | (it's a weird name, but that's how it's referred in the code and the UI, usually) | 23:17 |
Juest | so the game console/chat/control panel can have stderr/stdout when various levels of debug and echo is passed? | 23:17 |
Juest | there's a commit that disables that because its redundant or something? | 23:18 |
blast007 | which commit are you referring to? | 23:19 |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 23:20 | |
Juest | uhhh not sure, i might have hallucinated that | 23:22 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 264 seconds) | 23:23 | |
Juest | also blast007 it should be possible to spawn a console window while being a gui | 23:25 |
Juest | rocket league does this and source engine has -textmode | 23:26 |
Juest | oh hmmm | 23:28 |
Juest | 2.99 existed as a branch? | 23:28 |
Juest | those times when it existed are a blur | 23:29 |
Juest | but i do remember compiling it and pestering the chat about it | 23:30 |
*** yuitimothy is back | 23:31 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 23:33 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 264 seconds) | 23:37 | |
blast007 | 2.99 exists as a tag | 23:54 |
blast007 | I think the stdout shows up if you run BZFlag from a command prompt | 23:55 |
blast007 | been a while since I tried though.. maybe I was running a bash shell instead | 23:55 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!