Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-07-22 00:00:00Z and 2022-07-23 00:00:00Z
[Not a duplicate of Structure padding and packing. That question is about how and when padding occurs. This one is about how to deal with it.]
I have just realized how much memory is wasted as a re...
15:19
the world sure is small
15:20
c++ not guaranting long to be 64 bit and stuff sure is hell
The Dark Arts of Advanced and Unsafe Rust Programming
15:30
never rly looked into it before
15:31
and i found a funny text there
15:31
Rust pretty blatantly just inherits the memory model for atomics from C++20. This is not due to this model being particularly excellent or easy to understand. Indeed, this model is quite complex and known to have several flaws. Rather, it is a pragmatic concession to the fact that everyone is pretty bad at modeling atomics. At very least, we can benefit from existing tooling and research around the C/C++ memory model. (You'll often see this model referred to as "C/C++11" or just "C11". C just copies the C++ memory model; and C++11 was the first version of the model but it has received some bugfixes since then.)
>
Trying to fully explain the model in this book is fairly hopeless. It's defined in terms of madness-inducing causality graphs that require a full book to properly understand in a practical way. If you want all the nitty-gritty details, you should check out the C++ specification. Still, we'll try to cover the basics and some of the problems Rust developers face.
From what I can see, this flag is used to tell the client not to send inputs while specinfo is active, and that it should not reset inputs while chat is opened.
I dont send this flag on my server to be able to use "click to spectate" feature from 0.7 because it's very helpful and intuitive.
Is there a way we could send inputs while specinfo is active without losing the ability to set inputs to "hold" when using chat or /pause? Maybe a separate set of input data, used for spectating?
I'm scared to ask if you should load mapres files before running
16:34
considering you can have hundreds of mbs worth of data
16:35
So any chance on improvement on localization? (Cuz like not all assets need to be preloaded before the game starts, but it still needs a category folder for all of the assets)(edited)
Cellegen
I'm scared to ask if you should load mapres files before running
So any chance on improvement on localization? (Cuz like not all assets need to be preloaded before the game starts, but it still needs a category folder for all of the assets) (edited)
every folder is alright, but if it needs some clear up, then from the home directory, the assets folder, maps and maps7 folder needs better clarification
Cellegen on discord asked to make the intention of these buttons for clear.
"Assets directory" -> "Open the directory to add custom assets"
Same for skins etc.
But dunno good phrases, maybe someone has an idea :D