IRC logs of Libera.Chat #BZFlag for Wednesday, 2024-07-03

*** 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 #bzflag00:42
*** FastLizard4 is back04:12
*** FastLizard4 is now away: AWAY from keyboard04: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 #bzflag05:19
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)05:30
*** FastLizard4 is back05:42
*** FastLizard4 is now away: AWAY from keyboard05:56
*** FastLizard4 is back06:24
*** FastLizard4 is now away: AWAY from keyboard06: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: offline08:27
*** Cobra_Fast_ is back08:27
*** yuitimothy is back08:29
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.08:33
*** yuitimothy is back08:33
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.08:34
*** yuitimothy is back08:37
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.08:41
*** yuitimothy is back08:43
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.08:44
*** yuitimothy is back08:44
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.09:07
*** yuitimothy is back09:08
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.09:16
*** yuitimothy is back09:17
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.09:18
*** yuitimothy is back09:18
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.09:19
*** yuitimothy is back09:19
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag11:31
*** Lantizia_ <Lantizia_!~Lantizia@user/lantizia> has quit IRC (Remote host closed the connection)12:00
*** Lantizia_ <Lantizia_!~Lantizia@user/lantizia> has joined #bzflag12:03
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.12:41
Juesttupone: 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
Jueststuff that you've been fixing i mean13:58
blast007Juest: I'll merge changes from 2.4 when I have a chance14:03
blast007not super important right now though14:04
Juestblast007: oh okay, thanks for letting me know. yeah im not trying to stress it14:04
Juestdoing some qa on those changes before releasing is more important than worrying about master, right?14:04
tuponeJuest: most affect master15:40
Juestoh, thanks!15:40
tuponeI guess all of them15:41
Juestdo you have any fix that is too big of a change/breaking change?15:41
Juestas in, i wonder if you probably can find something that applies only to master or that you cant apply in 2.4 due to downsides15:42
*** Cobra_Fast_ is now away: offline15:43
*** Cobra_Fast_ is back15:43
Juesttupone: i appreciate your work :D15:43
tuponeI didn't play asan with master15:43
Juestoh?15:44
Juestasan?15:44
tuponeasan (Address Sanitizer) and ubsan (Undefined Behaiviour Sanitizer)15:52
Juestoh i see, thank you15:54
Juestare those like tools that inspect the sources?15:54
Juestsorry for dumbly asking15:55
tuponeThey are compiler switches that add code instrumentation, while not disturbing to much playing (playing like at half speed)15:56
tuponewith valgrind you go 1 tenth or less15:57
Juestoh16:13
Juestnice16:13
*** _I_Died_Once <_I_Died_Once!~I_Died_On@45-26-11-55.lightspeed.tukrga.sbcglobal.net> has joined #bzflag17: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 #bzflag17: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-overflow18: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 #bzflag18:34
Agathavalgrind 900 fps -> 90 fps big ouch19:09
*** yuitimothy is back19:23
tuponeI got several div by 0 when projecting. e.g. when roaming and drawing tanks labels. Maybe we are drawing our own label :(19:44
tuponewhat happens when I project the eye ? How to avoid it ?19:45
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag19:53
tuponefiltering with distance does not work. Should be something else. the result of proj * model * pos gives the w component 019:58
BZNotify2.4 @ bzflag: atupone pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/3eb6bdb6c268...73fc8bae5458):20:14
BZNotify2.4 @ bzflag: atupone 73fc8b: Another normalize that can div by zero (https://github.com/BZFlag-Dev/bzflag/commit/73fc8bae545851d0efceb1c1d8b8ff8def97ac40)20:14
BZNotify2.4 @ bzflag: atupone pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/73fc8bae5458...f24148601e2d):20:19
BZNotify2.4 @ bzflag: atupone f24148: Better var name (https://github.com/BZFlag-Dev/bzflag/commit/f24148601e2d34a23c16b54637b1230cc0161b57)20:19
Juestwhat20:58
tuponeanother div by zero :)21:09
tuponeStill some problem with project. Maybe the matrixes are not yet initialized ? 21:09
Juesthmm, have you considered making unit tests? considering all those changes it sounds like it can be useful21:14
Juesti recall we had this conversation but still21:15
blast007I feel like it would be an absolute pain to add unit tests to BZFlag, because we don't generally have nice self-contained units21:20
blast007I 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/tests21:22
Juestwhy?21:52
Juesthmm, 2.99 lived in master for a while until it was no longer feasible?21:57
Juestoh blast007 -echo and -echoAnsi do not really seem to do anything in windows, at least not in a user facing way 21:58
Juestthe stdout/stderr stuff on windows is usually found in the debugger output21:59
blast007Juest: it writes out to a file on Windows22:57
blast007I think at c:\Users\UsernameHere\AppData\Local\BZFlag\stdout.txt22:58
blast007https://github.com/BZFlag-Dev/bzflag/blob/2.4/src/bzflag/bzflag.cxx#L860-L87322:58
Juestoh thanks blast007, i didnt notice nor bother to look23:00
blast007it's probably not documented, and it's a rarely used feature23:00
Juestyeah that's indeed the case23:00
Juesti've used it at times without knowledge lol23:00
blast007It may make sense to just add a proper logging feature akin to logging found in IRC clients23:01
Juestyeah honestly just do that23:02
Juestcomplete with log rotation23:02
Juestwill be out for 2.5?23:02
Juestthere are probably efficient logging libraries that are optimized for size and speed23:02
blast007I had found this one a while ago: https://github.com/gabime/spdlog23:03
Juestinteresting23:04
blast007(could work for bzfs as well)23:05
Juesthttps://www.reddit.com/r/cpp/comments/10v7yx0/quill_v270_released_asynchronous_low_latency_c/23:05
Juestcertainly23:05
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.23:06
Juestmoving from stdout/stderr to proper logging sounds like the right move23:06
Juestbzflag is still primitive in many technologies, really?23:06
blast007quill sounds interesting too, so I'll add that to my bookmarks for BZFlag stuff23:09
Juest:P23:10
Juesti'd only use quill when the application is sensitive to latency23:10
blast007I mean, do *would* be writing to a file in the main game loop, so it might be useful there23:11
blast007s/do/we/23:11
Juestinteresting23:12
Juesti wonder if the lib is small enough to check in and not be a burden23:12
blast007The 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
Juestah hmm23:15
Juestwell, logging gotta be async and multithreaded, right?23:16
Juestwhats the control panel stuff exactly?23:16
blast007control panel being the chat panel23:16
Juestahh i see23:16
blast007(it's a weird name, but that's how it's referred in the code and the UI, usually)23:17
Juestso the game console/chat/control panel can have stderr/stdout when various levels of debug and echo is passed?23:17
Juestthere's a commit that disables that because its redundant or something?23:18
blast007which 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 #bzflag23:20
Juestuhhh not sure, i might have hallucinated that23: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
Juestalso blast007 it should be possible to spawn a console window while being a gui23:25
Juestrocket league does this and source engine has -textmode23:26
Juestoh hmmm23:28
Juest2.99 existed as a branch?23:28
Juestthose times when it existed are a blur23:29
Juestbut i do remember compiling it and pestering the chat about it23:30
*** yuitimothy is back23:31
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag23: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
blast0072.99 exists as a tag23:54
blast007I think the stdout shows up if you run BZFlag from a command prompt23:55
blast007been a while since I tried though.. maybe I was running a bash shell instead23:55

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!