IRC logs of Freenode #BZFlag for Saturday, 2020-04-25

blast007it*00:00
short_circuitIs this 'master' branch?00:04
short_circuitn/m00:05
blast0072.400:06
short_circuitjust update after clean. gonna make just out of curiousity.00:08
allejoBZFlag 2.4.20 "Do You See What I See?"00:10
macsformenow it seems to honor vsync if there's just another window blocking it, but it still runs unthrottled when switching it to a different space, for example00:10
macsformeso I guess it's less likely to be encountered, but maybe worth leaving the workaround in anyway00:15
macsformeI probably shouldn't have hard-coded 65 FPS, though00:20
blast007short_circuit is getting two warnings in src/bzfs/RecordReplay.cxx, lines 2068 and 2069, about "specified bound 32 equals destination size [-Wstringop-truncation]" (and 128 for the second line)00:31
blast007how do we fix that?00:31
short_circuitsquee00:33
blast007for some reason it didn't do it here for me - rebuilding to make sure it wasn't a wonky old build00:33
blast007short_circuit: was that with --enable-debug passed to configure?00:33
blast007(I'm assuming not since you ran the game afterwards, but it could have been an old binary)00:34
short_circuitno enable debugging00:35
short_circuitsry. had to... refresh myself XD00:36
BZNotify2.4 @ bzflag: macsforme pushed 1 commit (https://git.io/JfLFs):00:37
BZNotify2.4 @ bzflag: macsforme 8bca92: Removed the workaround for SDL bug #3146 which has been fixed (unclear when), where toggling fullscreen would mess up the windowed resolution. (https://git.io/JfLFG)00:37
short_circuitI haven't done debug in quite a while. I'm at your service for a while. Guys and gals. Debian 10 up to date but i assume that's not so important.00:38
blast007doing a non-debug build here as it worked fine in debug00:39
BZNotifybzflag: macsforme edited issue #246 "Aggregated issues related to SDL 2 window creation" (https://git.io/JvMNY)00:39
blast007hmm, yeah, I do see those warnings now when I build in non-debug00:43
short_circuitSounds odd to this neophyte.00:44
macsformeanyone else think the whole main menu could be shifted down a bit now that one or two options were moved elsewhere?00:47
blast007I'm scared of touching this file because last time I did, I broke replays :)00:47
short_circuit8)00:48
blast007I almost want to remove the resizable attribute from Linux windows as it's so very broken..00:50
blast007macsforme: including the title image at the top?00:55
blast007changing line 173 to this seems to work okay in a quick test: float y = (float)_height - titleFontSize * 1.75f;00:56
short_circuitquick test build :)00:57
short_circuitn/m... :)00:57
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLFA):00:58
BZNotify2.4 @ bzflag: blast007 121f3d: Update the ChangeLog (https://git.io/JfLFx)00:58
short_circuitnow quick test build XD00:58
BZNotify2.4 @ bzflag-dependencies: blast007 pushed 2 commits (https://git.io/JfLFj):00:58
BZNotify2.4 @ bzflag-dependencies: blast007 1681d8: Update dependencies: (https://git.io/JfLbe)00:58
BZNotify2.4 @ bzflag-dependencies: blast007 8888b4: According to the PDCurses wincon/README.md, the UTF8 option alone does nothing without the WIDE option, so add the WIDE option. (https://git.io/JfLbv)00:58
short_circuitquick test build, no clean, no warnings00:59
short_circuitshould I try a make clean then start over?00:59
blast007short_circuit: no, the warning you have is real01:01
blast007but since non-debug builds don't treat warnings as errors, it just lets it build successfully01:02
short_circuitOki doki. Then no more colored letters in the scrolling foreign language ;)01:02
blast007:)01:05
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLbZ):01:10
BZNotify2.4 @ bzflag: blast007 dc196b: Remove a couple files from the Xcode project that no longer exist. (https://git.io/JfLbn)01:10
macsformeblast007: https://imgur.com/a/QjdGZ15 ?01:16
blast007ah, so just the menu items01:18
blast007kinda looks weird with the gap01:20
macsformethe title and instructions were spaced out a bit more too01:22
macsformenot a big deal either way... I just thought it looked odd the current way01:24
BZNotifybzflag: allejo opened pull request #250 "Bump banner to 2.4.20" (https://git.io/JfLbH)01:27
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLbQ):01:28
BZNotify2.4 @ bzflag: blast007 37d97d: Space the main menu items out a bit more (https://git.io/JfLb7)01:28
blast007allejo: hehe, I actually had Photoshop today so I had a modified title here :)01:28
allejooh nice :D01:28
allejoworks for me!01:29
blast007is it just Arial font, right?01:32
allejoArial Black01:35
ZehraQuick question with regards to permissions.... If the "poll" permission is not granted, but the "poll kick" permission is, what should occur?01:37
ZehraOr poll permission is denied.01:37
allejoi think poll is required01:38
ZehraAh okay, was wondering if that was expected as it seemed partially counter-intuitive.01:39
allejonope. for whatever reason, that's very granular compared to other stuff01:40
blast007just checked my photoshop - and it is using Arial Black.  I was concerned because I knew I only saw the word "Arial" on that line, but the "Black" is in the second dropdown.  :)01:43
*** short_circuit is now known as Foo_man_choo01:46
allejoah it shows up as its own font for me *shrug*01:47
allejoas long as it's black and not bold, it works01:47
blast007maybe it's a newer Photoshop version?  this is also on Windows, if that matters.01:48
*** Foo_man_choo <Foo_man_choo!~spldart@2601:2c5:c680:87a0:36e8:94ff:fed6:c206> has quit IRC (Remote host closed the connection)01:54
*** short_circuit <short_circuit!~spldart@2601:2c5:c680:87a0:36e8:94ff:fed6:c206> has joined #bzflag01:54
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLNn):01:58
BZNotify2.4 @ bzflag: blast007 da385d: Show the language name for Czech and Português. (https://git.io/JfLNc)01:58
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLNz):02:04
BZNotify2.4 @ bzflag: blast007 1964d1: Fix a few loss of precision warnings from Visual C++. (https://git.io/JfLNg)02:04
blast007Anyone know what should be done to fix that GCC8 warning in RecordReplay.cxx?  otherwise I'm just gonna wrap it in some #pragma to ignore it for now02:06
macsformeis it an issue with the two being the same size and it thinks there needs to be room for the terminating null byte?02:10
macsformeso maybe the combination of strncpy() and sizeof() is not the right02:11
blast007yeah, that is the problem02:12
macsformemaybe strlen() instead?02:12
blast007hmm02:12
blast007well, that compiled without warnings now02:13
macsformeI wonder if that doesn't copy the terminating null, though02:15
*** short_circuit <short_circuit!~spldart@2601:2c5:c680:87a0:36e8:94ff:fed6:c206> has quit IRC (Quit: Leaving)02:18
blast007what about this afterwards?        hdr.callSign[sizeof(hdr.callSign)-1] = '\0';02:20
blast007(and the same for motto)02:20
macsformeyeah, to be safe02:20
blast007I'm gonna test this quick :)02:20
*** spldart is now known as short_circuit02:22
macsformeit looks like others are fixing it via sizeof(source) - 102:22
*** ChanServ sets mode: -v short_circuit02:22
blast007I'm just real scared to do much in this file cuz I broke it last time ;)02:26
blast007okay, yeah, that does not work02:48
blast007(I just get a blank author instead of the callsign)02:49
blast007with 'sizeof(...) - 1' it works, though02:52
*** short_circuit <short_circuit!~spldart@bzflag/contributor/spldart> has quit IRC (Ping timeout: 240 seconds)02:54
*** short_circuit <short_circuit!~spldart@2601:2c5:c680:87a0:3210:b3ff:fef0:93af> has joined #bzflag02:55
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLAh):03:14
BZNotify2.4 @ bzflag: blast007 93b3f7: rrlog needs to link to libcurl because of TextUtils's URL functions (https://git.io/JfLAj)03:14
ZehraPerhaps some insights into https://github.com/BZFlag-Dev/bzflag/issues/248 - Rewrite BZDB to be a smarter structure #24803:30
macsformeif we pass sizeof(source) - 1 as the size parameter to strncpy, it sounds like the terminating null byte does not get copied if the string is the maximum length03:30
ZehraWhat if the line of thinking is reversed to an extent with regards to the implementation.03:32
ZehraRather than seeing if it is, instead if it is "logically" possible.03:33
blast007macsforme: dunno.. it is working when I max out the callsign and motto length03:33
blast007(at least, with what the client's UI allows for)03:33
macsformethe last byte might be null by chance, unless it's being cleared manually beforehand03:34
macsformemight still be worth it to manually zero them out, or at least the last byte of each03:35
blast007okay, I'll try with zeroing out the last byte03:37
blast007hmm, does this zero out everything?       memset(&hdr, 0, sizeof(hdr));03:46
blast007Zehra: what?03:48
Zehrablast007: From what it seems, most of the issues regarding BZDB seem related to the way the data is sorted and searched...03:52
ZehraSo what if the data is searched by a type of probability, moving on to lesser ones, minimizing the amount of calculations needed.03:53
blast007sorted?03:53
blast007the problem is that BZDB is slow because it's parsing strings repeatedly03:53
ZehraThat's why it could be sorted out differently, for instance, let's use "_drawClouds" or any of the boolean variables...03:55
ZehraEven if I put in "random" it will still be searched...03:55
blast007wut03:55
ZehraTry in any server variable and add in non-sensical input.03:55
CaptainRoberts[mDouble whut?03:56
ZehraMost of the time, it will be "set" to it, despite not doing anything or even being "valid" as a variable.03:57
ZehraSo what if we use the variables to determine if something should be "searched", moving on from most likely to least likely.03:57
blast007I have absolutely no idea what you are talking about03:58
blast007I'm gonna go back to working on releating 2.4.20 now03:58
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLpf):03:59
BZNotify2.4 @ bzflag: blast007 82fd45: Fix a GCC8 warning (specified bound X equals destination size [-Wstringop-truncation]) (https://git.io/JfLpJ)03:59
The_Noahwhen someone steals a flag to me the first callsign should not be repeated in the actual message, so it would be - blast: stole The Noah's flag - instead of - blast: blast stole The Noah's flag - https://imagebin.ca/v/5KIeLaIvX4ho04:03
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLpW):04:09
BZNotify2.4 @ bzflag: blast007 138183: Remove duplicated callsign from the flag stolen message. (https://git.io/JfLpl)04:09
The_Noahyay :D04:09
blast007looking into one last thing and then I'll be testing builds and then pushing the version bump04:10
The_Noahsweet04:10
The_Noahis there a plan on moving to VS2019?04:10
blast007going with the release name that allejo mentioned "Do You See What I See?"04:11
blast007for this release? nope04:11
The_NoahNo not for this release, but sometime in the "near" future.04:12
blast007I only have 2017 at the moment and I try to avoid having multiple versions installed at once04:12
blast007for master, probably04:12
blast007does 2019 still work on Windows 7? ;)04:13
The_Noahidk, I haven't used Window 7 in years :D04:13
* blast007 still has it on his dev workstation04:13
blast007I had 8.1 and now 10 on my gaming machine04:14
The_NoahI only used Windows 8 once, it was on my sister's laptop and it was very interesting.04:15
blast007I don't really use the Windows 7 system for anything except development now04:15
blast007my main systems are all Debian04:15
allejowooo my release name was picked :D04:15
The_Noah:)04:15
the_mapthat's the name you choose, after 2.4.12 "Silence is Golden"? :p04:18
the_mapwait nvm it's 2.4.18 that's relevant04:19
allejo:p04:19
blast007allejo: okay, the reason some options get reset (such as blending) when going from 2.4.19 to an older version is because there didn't use to be defaults for those options04:19
blast007it use to be set during the performance test04:20
blast007because there are defaults now, the value isn't stored if it matches the default04:20
blast007think I should change that, or is it fine?04:20
blast007to be fair, downgrading the config file isn't a "supported" thing so I'm inclined to just leave it as is04:21
allejodo we forsee players needing to downgrade from 2.4.20?04:21
allejoright, we don't need to support going backwards04:21
blast007I feel it's a minor issue04:22
allejowas just bothersome whenever i was testing a dev build but we're not breaking backward-compat so i think it's fine to leave as is04:22
blast007k04:23
BZNotify2.4 @ bzflag: blast007 pushed 1 commit (https://git.io/JfLpX):04:34
BZNotify2.4 @ bzflag: blast007 2567e5: Bump version to 2.4.20. (https://git.io/JfLp1)04:34
BZNotifybzflag: allejo closed pull request #250 "Bump banner to 2.4.20" (https://git.io/JfLbH)04:42
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has quit IRC (Quit: Gone for now.)04:46
BZNotifybzflag: blast007 tagged  * 2567e5 (Bump version to 2.4.20.) as v2.4.20 (https://git.io/JfLpp)04:55
blast007working on the site update and forum post04:55
allejoyayyyy04:55
* allejo claps04:55
* allejo cheers04:56
* The_Noah keep pushing refresh on the website04:56
blast007The_Noah: you'll see the commit get pushed here first ;)05:00
The_NoahAh sweet.05:00
blast007(and then the update cron job has to run)05:00
The_Noah:D05:01
blast007my internet went down right as I was pushing the commit :P05:10
The_Noah:p05:11
BZNotifymaster @ bzflag.org: blast007 pushed 1 commit (https://git.io/JfLhq):05:12
BZNotifymaster @ bzflag.org: blast007 ee778b: Add the 2.4.20 release. (https://git.io/JfLhm)05:12
The_NoahDone installing :D05:17
The_Noahquick question what is remote sounds?05:21
The_NoahAlso the MOTD needs to be updated :)05:23
blast007oh yeah05:24
blast007looks like Remote Sounds controls if you hear the burrow, jump, wings flap, or bounce sounds of remote players05:27
blast007or the 'land' sound05:27
The_Noahhuh, interesting.05:30
* blast007 will deal with the flatpak tomorrow...06:02
BZNotifymaster @ bzflag.org: blast007 pushed 2 commits (https://git.io/JfLhi):06:06
BZNotifymaster @ bzflag.org: blast007 bab46c: Clarify the release description. (https://git.io/JfLhP)06:06
BZNotifymaster @ bzflag.org: blast007 35a508: Update the MOTD. (https://git.io/JfLhX)06:06
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag07:28
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Ping timeout: 256 seconds)07:31
tuponeI see in github the tar but "Latest release" is still 2.4.18. Is the 2.4.20 ready to be deployed ?08:33
*** infobot <infobot!ibot@c-174-52-60-165.hsd1.ut.comcast.net> has quit IRC (Ping timeout: 256 seconds)11:16
blast007tupone: yeah, I'll update that too.  I was sleepy. :)11:51
BZNotifymaster @ bzflag.org: blast007 pushed 1 commit (https://git.io/JftT7):12:04
BZNotifymaster @ bzflag.org: blast007 271875: Mention the improved default options. (https://git.io/JftT5)12:04
tuponeblast007: can we publish it? it is still draft there12:32
blast007I was thinking of waiting until the macOS build is posted12:47
tuponeok. I published the ebuild for gentoo14:21
*** Swant <Swant!swant@freenode/staff/ikea> has quit IRC (*.net *.split)15:00
*** Swant <Swant!swant@freenode/staff/ikea> has joined #bzflag15:01
macsformeblast007: ah, I didn't see the line above where it was already zeroed out15:46
macsformehow hard would it be to add a note to the website about how to bypass gatekeeper on macOS?15:50
macsformeI don't have a signing key anymore, and even if I did, Apple requires notarization in later versions of Mojave and all versions of Catalina, which I think requires a current developer subscription anytime you want to distribute a new build, and I don't feel like dealing with that15:52
macsformeunless they'll give us a free membership, as in https://developer.apple.com/support/membership-fee-waiver/15:53
CaptainRoberts[mare you going to port bzflag to metal or vulkan?15:54
*** Flash <Flash!~flash@2601:280:c200:4e39:cd30:3d77:4133:8fa6> has quit IRC (Read error: No route to host)16:08
*** Flash <Flash!~flash@2601:280:c200:4e39:191a:f510:d40a:4b48> has joined #bzflag16:09
*** ChanServ sets mode: +v Flash16:09
blast007CaptainRoberts[m: my thought is to gradually migrate to GLSL shaders, and then we could look at something like bgfx which uses a GLSL-like shader language to target a bunch of different graphics APIs (various versions of Direct3D, Vulkan, OpenGL, and Metal)16:45
blast007or if we did manage to port to Vulkan, there's MoltenVK to translate Vulkan to Metal16:46
CaptainRoberts[myes, you will have to do something like that in order to continue to support the mac platform. I highly doubt future ARM macs will include legacy GL support.16:55
macsformemacOS build is posted... again, we could use some kind of note about how to bypass gatekeeper17:03
blast007is the trick to right/control click and click open?  or do you have to go into the System Preferences > Security & Privacy and click "Open Anyway"?17:12
macsformeright-click or two-finger click on touchpads, then click open in the override dialog17:13
macsformecontrol-click also seems to do the same thing17:14
blast007macsforme: on the Download page, we do have some OS specific instructions.  I could expand it to this:18:09
blast007If you use Homebrew on macOS, you may download BZFlag via the brew command. Alternatively, you may download our binary below and drag the .app into your Applications directory. Then right/control click (or two finger tap) on the application and choose Open.18:09
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag18:43
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Ping timeout: 260 seconds)18:46
*** Sgeo__ <Sgeo__!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag18:49
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Ping timeout: 244 seconds)18:52
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has joined #bzflag19:29
BZNotifymaster @ bzflag.org: allejo pushed 1 commit (https://git.io/JftCB):20:05
BZNotifymaster @ bzflag.org: allejo 64c0a6: Add --no-quarantine flag to brew command (https://git.io/JftCR)20:05
allejoshould README.linux be updated to use SDL2?20:27
blast007yeah.. I thought about that after the fact..20:28
blast0072.4.22 "SDL2 too"20:29
ZehraThe "20" release in the year 2020. (A nice little coincidence. Or perhaps it was preplanned, hehe.)20:35
blast0072.4.20 released on 4.24.20 ("four twenty four tenty")20:38
blast007which, I think mainly works in the US cuz elsewhere, better date formats are used.20:40
ZehraTrue, the irony is the occasional confusion it causes with schedules.20:42
Zehra"was it the fifth month or the fifth day?"20:43
allejois there a libsdl-sound2-dev? or does that version not match libsdl1.2-dev?21:00
blast007I think sound is just part of the base SDL221:03
blast007at least basic audio21:04
blast007we do our own mixing AFAIK, so we don't need sdl2-mixer21:04
BZNotifymaster @ bzflag.org: blast007 pushed 2 commits (https://git.io/Jft4T):22:12
BZNotifymaster @ bzflag.org: blast007 58492e: Add macOS 2.4.20 release. (https://git.io/Jft4k)22:12
BZNotifymaster @ bzflag.org: blast007 2b2279: Add note about how to bypass the Gatekeeper restriction. (https://git.io/Jft4I)22:12
BZNotifymaster @ bzflag.org: allejo pushed 1 commit (https://git.io/Jft4c):22:17
BZNotifymaster @ bzflag.org: allejo 9d0656: 2.4.20 is now published on snapcraft and flatpak (https://git.io/Jft4C)22:17
BZNotifymaster @ bzflag.org: allejo pushed 1 commit (https://git.io/Jft48):22:18
BZNotifymaster @ bzflag.org: allejo 7e7e09: Fix the release day in the downloads include (https://git.io/Jft44)22:18
blast007hah.. funny we never noticed that..22:20
blast007also, the flatpak is still pulling .18 at the moment22:21
blast007does flathub have to manually approve new builds?22:21
blast007For the snapcraft, should we use a different base?  https://snapcraft.io/docs/base-snaps   I was going to try core18, but I couldn't test the build because I was running Ubuntu in a VM, and the snapcraft builds it a VM itself.22:24
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag22:26
allejoi don't really understand snapcraft. what'd be the difference other than getting the new base?22:27
allejoand i'm looking for flatpak. it says it'll be auto deployed in 24 hours or done manually. but i can't find where to do it manually22:28
blast007maybe it's hooked up to a clapper22:28
* blast007 claps22:28
blast007did it work?22:28
allejoi think you need to clap near the buildbot :p22:29
allejohttps://github.com/flathub/flathub/wiki/App-Maintenance#buildbot22:29
*** Sgeo__ <Sgeo__!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Ping timeout: 260 seconds)22:29
blast007https://snapcraft.io/docs/release-notes-snapcraft-3-0   "The following are new when using base:"22:30
allejobtw are you *sure* you don't want access to flathub and snapcraft? i'm the only one with access right now22:30
blast007I can't tell if that's an empty list, or if the stuff like "license" is the new stuff you can use.  :P22:31
allejooh wow, snapcraft supports mac now?22:31
allejoah found the publish button22:32
allejofor flathub i.e. i think22:33
blast007I'd be fine having access to flathub and snapcraft.  What's involved for flathub?  For snapcraft I assume I need a Ubuntu One account.22:40
allejocorrect for snapcraft. for flathub, i think you just need your github account. added to the repo and i *think* that should give you to their dashboard? that's how I authed and had access to publish22:41
blast007bleh, snapcraft won't work with the snapd that's in Debian 10...22:44
blast007they're really making it difficult :P22:44
allejowait what? why won't it?22:45
blast007says it needs snapd 2.39 or newer, and Debian 10 has 2.3722:45
allejopfft22:47
blast007I'll probably just end up installing Ubuntu on something here22:48
allejoyea, i have an old laptop that has ubuntu on it and it's what I use22:49

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