Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2019-01-19 00:00:00Z and 2019-01-20 00:00:00Z
Avatar
[quakenet] <Teeworlds> [teeworlds] Dune-jr opened pull request #1990: Fix automapper randomization (master...fix-automap-random) https://git.io/fhE1j
Avatar
[quakenet] <Oy> Dune: u know what "value" supposed to be? smaller number leads to more doodads or is it supposed to be the opposite?
Avatar
[quakenet] <Teeworlds> [teeworlds] oy pushed 1 new commit to master: https://git.io/fhEyN
…to connect (econ, server). otherwise silently ignore the attempt
10:29
[quakenet] <Teeworlds> teeworlds/master f469fb4 oy: added a 5 second cooldown for responding to a banned user that wants to connect (econ, server). otherwise silently ignore the attempt
Avatar
[quakenet] <Dune> Oy: random=50 => chance 1/50th
10:39
[quakenet] <Dune> @LordSk 🦋
10:41
[quakenet] <Oy> ah ok
10:42
[quakenet] <Dune> hmm, getting trouble with the download script
10:42
[quakenet] <Teeworlds> [teeworlds] oy closed pull request #1990: Fix automapper randomization (master...fix-automap-random) https://git.io/fhE1j
10:42
[quakenet] <Dune> bam: error: 'other/freetype/windows/lib64/freetype.dll' does not exist and no way to generate it
10:43
[quakenet] <Oy> hm
10:43
[quakenet] <Dune> and sometimes 'unable to create already existing file' for sdl/include
10:43
[quakenet] <Dune> haven't investigated yet
10:43
[quakenet] <Oy> does the download fail?
10:44
[quakenet] <Dune> it does not seem to start
10:45
[quakenet] <Oy> oh
10:45
[quakenet] <Oy> always?
10:45
[quakenet] <Dune> i fixed it manually by moving other\freetype\win64
10:45
[quakenet] <Oy> which python version do u have?
10:45
[quakenet] <Oy> 2 or 3
10:45
[quakenet] <Dune> 3
Avatar
[quakenet] <heinrich5991> reviewed the sorting pr. I think it would be best if we didn't roll our own sorting
11:20
[quakenet] <Oy> what else do you wanna use?
11:21
[quakenet] <heinrich5991> std::sort
11:21
[quakenet] <heinrich5991> as is used in the server browser
11:21
[quakenet] <heinrich5991> or std::stable_sort for stable sort
11:24
[quakenet] <Oy> using stable_sort there yeah
11:25
[quakenet] <Oy> could do that
Avatar
[quakenet] <Oy> my concern is that we introcude some bug with our implementation, which might occur very rare and/or does not seem as it's linked to the sorting
11:40
[quakenet] <heinrich5991> yep, mine too... that's why I'd prefer to use the sort from the standard library
11:42
[quakenet] <Dune> is sorting critical anywhere anyway?
11:43
[quakenet] <Dune> I'm concerned the standard library is awful in terms of performance
11:45
[quakenet] <Oy> heinrich left a comment where we use sorting in tw
11:48
[quakenet] <Oy> dunno if the standard library one provides the same result on every platform, but it seems it's not needed
Avatar
[quakenet] <heinrich5991> std::stable_sort must produce the same result on all platforms by specification, std::sort might result in different orderings of elements with the same key
12:24
[quakenet] <heinrich5991> generally, I'd assume that standard library functions are reasonably optimized
Avatar
[quakenet] <Oy> vote for std:stable_sort then
12:43
[quakenet] <Teeworlds> [teeworlds] oy pushed 1 new commit to master: https://git.io/fhEQV
12:43
[quakenet] <Teeworlds> teeworlds/master 6ec984b oy: let the download script remove the extraction folder in case it exists
12:43
[quakenet] <Oy> Dune: ^ that should fix that FileExistsError you get
12:43
[quakenet] <Dune> ah, I'll check later, I'm taking a train
12:45
[quakenet] <Oy> ok
Avatar
Haha <Dune> bam: error: 'other/freetype/windows/lib64/freetype.dll' does not exist and no way to generate it
13:37
I think that is because I compiled the wrong target. Will check when home
13:38
I think that is because I compiled the wrong target. Will check when home
Avatar
[quakenet] <Oy> try a forced recompile with -f
Avatar
[quakenet] <Dune> @heinrich5991, what's UB?
21:12
[quakenet] <minus> undefined behavior?
21:13
[quakenet] <Dune> thanks
Avatar
[quakenet] <heinrich5991> Dune: in particular, creating null references and pointers more than one past the end of the array is not permitted in C++
21:39
[quakenet] <Dune> I wrongly assumed what last() did
Avatar
[quakenet] <Dune> the votekick sometimes seems to bug out, and require one less vote than it should
23:16
[quakenet] <Dune> can't see why
Exported 54 message(s)