Time |
Nick |
Message |
03:36 |
|
olliy joined #minetest-dev |
03:54 |
|
YuGiOhJCJ joined #minetest-dev |
04:00 |
|
MTDiscord joined #minetest-dev |
04:15 |
|
YuGiOhJCJ joined #minetest-dev |
05:03 |
|
calcul0n joined #minetest-dev |
05:35 |
|
YuGiOhJCJ joined #minetest-dev |
06:45 |
|
appguru joined #minetest-dev |
06:52 |
|
appguru joined #minetest-dev |
08:10 |
|
imi joined #minetest-dev |
08:23 |
|
olliy joined #minetest-dev |
08:45 |
|
tekakutli joined #minetest-dev |
09:10 |
|
appguru joined #minetest-dev |
11:23 |
|
appguru joined #minetest-dev |
11:25 |
|
appguru joined #minetest-dev |
11:40 |
|
behalebabo joined #minetest-dev |
12:57 |
schwarzwald[m] |
Minetest binds the ipv6 socket on my docker image and then crashes with errno set to a bind() error code on my docker image. |
12:59 |
schwarzwald[m] |
https://stackoverflow.com/questions/61002905/linux-c-ipv6-udp-multicast-sendto-fails-with-errno-eaddrnotavail-99-cannot-a |
13:00 |
schwarzwald[m] |
This is the only reference I can find to sendto() failing with that error code. |
13:04 |
schwarzwald[m] |
https://github.com/minetest/minetest/pull/13573 is ready for review. I think it's appropriate to address the test failure in a separate issue/PR. |
13:14 |
sfan5 |
note that docker can intercepts syscalls for sandboxing purposes so it's possible to see errors that nobody would expect and/or that aren't documented |
14:50 |
|
appguru joined #minetest-dev |
16:08 |
schwarzwald[m] |
Do we have a utility for formatting a std::string? Creating a stringstream to build the string and then extract it is messy and probably inefficient. |
16:21 |
schwarzwald[m] |
I'm noticing that test failure on my host VM now as well. Not sure why I didn't see it before. |
16:25 |
Krock |
there's a porting::mt_snprintf (or similar) implementation |
16:26 |
Krock |
if you're using a buffer variable on stack there's no allocation overhead and you're left with a single std::string copy at the end |
16:26 |
Krock |
(or reserve std::string first and then write to it) |
16:27 |
schwarzwald[m] |
Nevermind the test failure thing. I had hardcoded a failure lol. |
16:27 |
schwarzwald[m] |
Thanks Krock, I'll take a look at it! |
16:31 |
schwarzwald[m] |
It looks like this is for c-strings, and is probably superceded by the standard library snprintf. |
16:41 |
schwarzwald[m] |
I think maybe string::append will be suitable, despite not being perfect. |
16:53 |
|
Guest26 joined #minetest-dev |
16:54 |
Guest26 |
are guests able to talk in -dev? |
16:54 |
Guest26 |
looks like they can, sorry for the disturbance |
16:55 |
|
Guest26 left #minetest-dev |
19:05 |
|
v-rob joined #minetest-dev |
19:21 |
|
diceLibrarian joined #minetest-dev |
19:25 |
|
appguru joined #minetest-dev |
19:51 |
|
proller joined #minetest-dev |
20:56 |
schwarzwald[m] |
Desour, I'm making a number of changes to the active object manager to kill the code duplication. |
20:56 |
schwarzwald[m] |
I can wait until your PR is merged and then rebase, or if you think you would appreciate those changes going in first, I can try to do that as well. |
20:56 |
schwarzwald[m] |
Please let me know what you would prefer. |
21:12 |
|
tekakutli joined #minetest-dev |
21:46 |
|
diceLibrarian joined #minetest-dev |
22:32 |
|
panwolfram joined #minetest-dev |
23:08 |
|
imi joined #minetest-dev |