Guild icon
DDraceNetwork
Development / developer
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 2023-02-20 00:00:00Z and 2023-02-21 00:00:00Z
Avatar
chillerdragon BOT 2023-02-20 07:25:22Z
C++ trash we should rewrite in Java for better performance
08:42
@ReiTW there is a BPF change
Avatar
c0b3962 Update menus_browser.cpp - Sedonya d347bfc Merge #6339 - bors[bot]
Avatar
Avatar
chillerdragon
C++ trash we should rewrite in Java for better performance
☹
Avatar
Avatar
Ryozuki
@ReiTW there is a BPF change
They should implement eBPF stuff in rust
11:24
But damn this is sick af, love it
Avatar
i made a bar
Avatar
cool bar!
Avatar
ah nice, maybe you should reserve some space to avoid speed x,y to move around when stopping/starting
13:07
i guess same for position (maybe 4 digits before comma)
Avatar
ChillerDragon BOT 2023-02-20 14:00:26Z
hax
Avatar
just the y pos would move. the width calculations are sized for 6 digits w/ negative sign (-9999.99)
14:01
it uses a string expression thing to order them & since they’re drawn and calculated from left to right i made their width not change ever
14:01
is a thing
Avatar
Avatar
chillerdragon
C++ trash we should rewrite in Java for better performance
the main thing is that without support 07 🥺
Avatar
can someone explain what it is used for?
Avatar
@heinrich5991 🙂
Avatar
A universally unique identifier (UUID) is a 128-bit label used for information in computer systems. The term globally unique identifier (GUID) is also used.When generated according to the standard methods, UUIDs are, for practical purposes, unique. Their uniqueness does not depend on a central registration authority or coordination between the p...
Avatar
Avatar
Matodor
can someone explain what it is used for?
Result.m_aData[6] &= 0x0f; /* clear version */ Result.m_aData[6] |= 0x40; /* set to version 4 */ Result.m_aData[8] &= 0x3f; /* clear variant */ Result.m_aData[8] |= 0x80; /* set to IETF variant */
Avatar
versions 3 and 5 produce deterministic UUIDs generated by hashing a namespace identifier and name; and version-4 UUIDs are generated using a random or pseudo-random number.
18:10
great, now I understand why the third version is in the bottom block
Avatar
^ @ChillerDragon time for some codedoc PR
Avatar
ChillerDragon BOT 2023-02-20 18:25:02Z
hm?
18:27
sometimes im not sure if im stupid or just not getting things because i dont see images,replys and the github bot msgs
18:27
its usually me being stupid :D
18:28
idk stuff about uuids i am just network code pro now
Avatar
ChillerDragon BOT 2023-02-20 18:38:47Z
yea idk stuff about it :D why ping me? cuz im the docs guy now? :D
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
heartw 2
Avatar
ChillerDragon BOT 2023-02-20 19:16:53Z
wat about the new map format pr? how is it progressin?
19:17
ryo cant wait to download 0.7 maps he told me in dms
Avatar
Lies, ryo can't wait to nuke 0.7 altogether 😛
Avatar
ChillerDragon BOT 2023-02-20 19:26:17Z
ryo usin mac kek
19:26
or even better using brew on linux axaxax
19:27
but ye i need to use mac for work
Avatar
Avatar
ChillerDragon
wat about the new map format pr? how is it progressin?
slowly, I only did some thinking, but I'll try to work on it next
Avatar
12e8f19 Add comments explaining UUID generation - Robyt3 d4e2c2f Merge #6348 - bors[bot]
Avatar
4284f78 Various refactoring and cleanup of text render - Robyt3 f386eff Remove unused argument of Text/TextWidth/TextLineCount - Robyt3 0f37591 Merge #6340 - bors[bot]
Avatar
ChillerDragon: there is matricks right now in the ddnet discord general chat
Avatar
The RecreateTextContainer function calls DeleteTextContainer and then CreateTextContainer. The arguments of RecreateTextContainer and RecreateTextContainerSoft are reordered so all functions take the text container as their first argument.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to i...
Avatar
@Robyt3 You're missing the action in #general btw 😄
poggers2 1
Avatar
8286105 Use RecreateTextContainer, reorder parameters - Robyt3 6813c80 Merge #6349 - bors[bot]
Exported 58 message(s)