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-05-05 00:00:00Z and 2019-05-06 00:00:00Z
Avatar
[quakenet] Dune BOT 2019-05-05 12:01:36Z
hey Assa
12:01
why are you printing the dots and the line itself differently?
12:01
just print them all together?
Avatar
[quakenet] Assa BOT 2019-05-05 14:22:04Z
because the first TextEx has a width limited cursor and the string i input is actually longer
14:22
and in the second i just append the dots
Avatar
[quakenet] Dune BOT 2019-05-05 14:25:29Z
I see :)
Avatar
ChillerDragon 2019-05-05 17:29:24Z
meh why does gdb ./teeworlds_srv "logfile foo.log" not work? :c
17:29
it doesnt create a logfile
17:29
without gdb it works tho
Avatar
[quakenet] Oy BOT 2019-05-05 17:35:31Z
This should allow Teeworlds to start in high-dpi mode if available. Unfortunately I don't own a high-dpi monitor so I can't test it myself. @oy there is also a small fix in there, w...
Avatar
ChillerDragon 2019-05-05 17:35:51Z
nvm fixed the logthing
17:35
didnt know gdb needs --args flag
17:36
Oy manifest solved windows
17:36
the pr from LordSk optimized macOS
17:37
macos is not perfect yet but with lordsks pr its at least better
Avatar
[quakenet] Oy BOT 2019-05-05 17:37:15Z
ok
Avatar
@ChillerDragon you can also pass commands to the program by giving them to the run command inside gdb. thanks for the --args thing, didn't know that and it doesn't even appear on the man page
Avatar
ChillerDragon 2019-05-05 17:48:09Z
gdb --help > man gdb
17:48
ya the run command is convient for manual testing
17:49
but not for half production half debugging scripts with timestamps etc
Avatar
gsd
18:37
gdb and valgrind is important for tw!!!
Avatar
[quakenet] Assa BOT 2019-05-05 18:44:42Z
valgrind is one of the most important tools in general
18:45
in my last company smartpointers where the solution to every valgrind error ...
18:45
free/delete? never heard of that
Avatar
[quakenet] Dune BOT 2019-05-05 18:47:26Z
uhhh
18:47
smart pointers avoid a lot of small bugs but can create some very big bugs :D
Avatar
more so than normal pointers?
Avatar
[quakenet] Dune BOT 2019-05-05 18:48:16Z
when you have a double free on a smart pointer, more than normal pointers in my experience
Avatar
how can you have a double free on a unique_ptr or shared_ptr?
Avatar
[quakenet] Dune BOT 2019-05-05 18:48:49Z
good question
18:49
I am not sure if I have ever figured
18:49
I think I fixed it without knowing why it fixed it
Avatar
[quakenet] Ryozuki BOT 2019-05-05 19:10:59Z
if you use smart pointers correctly you cant get a double free, using make_shader and make_unique should avoid these, and also u shouldnt use .get on the smart pointer and then delete it
19:11
thats what i think
19:11
make_shared*
Avatar
[quakenet] Dune BOT 2019-05-05 19:11:49Z
the problem is I rarely see an application that uses only smart pointers
Avatar
[quakenet] Ryozuki BOT 2019-05-05 19:12:13Z
cuz most apps are settled on old code
19:12
smart pointers are the recommended way to go
Avatar
[quakenet] Dune BOT 2019-05-05 19:13:44Z
are c++17 features also the "recommended" way to go? :P
Avatar
[quakenet] Ryozuki BOT 2019-05-05 19:13:59Z
yea
Avatar
[quakenet] Oy BOT 2019-05-05 19:39:20Z
don't get that second post
Avatar
[quakenet] Oy BOT 2019-05-05 19:48:35Z
Dune: maybe add a settings use_joystick and disable it by default?
Avatar
[quakenet] Dune BOT 2019-05-05 20:03:03Z
Oy, that's an option, ideally there should be a popup at start
Exported 47 message(s)