Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-02-20 00:00:00Z and 2024-02-21 00:00:00Z
Avatar
chillerdragon BOT 2024-02-20 01:19:05Z
it does look like discord lol
01:19
doesn't look or feel as good as chat.zillyhuhn.com or weechat but for matrix its kinda okay
01:21
lets hope they also publish a useful ios client
01:21
test
01:21
woah codesnippets work
01:22
but you can not autocomplete @ pings gg useless
01:23
also idk how to reply here
01:24
01:24
uff
01:25
they are at 300 commits so they did not manage to add enough bugs yet xd
01:25
give them a bit more time to finish implementing all the base features and it will probably be ever buggier and slower than it is now
Avatar
ws-client BOT 2024-02-20 01:27:48Z
<ChillerDragon> yo @Scrumplex the proxy man. Do you use multiple git remotes for the same repo? I would like to just git push to one repo on my vps or something. And it should then propagate/backup that commit to repos on gitlab/github and whatever cloud service i might add.
01:27
<ChillerDragon> You got any clean solution for that?
Avatar
@Scrumplex
Avatar
ws-client BOT 2024-02-20 03:39:58Z
<ChillerDragon> ty
Avatar
ws-client BOT 2024-02-20 05:52:29Z
<ChillerDragon> I am having a hard time debugging my github ci. Its not ddnet code i am testing its ruby code and i am testing it with a ddnet client and ddnet server. It all works fine locally. But the server tests only run once in the CI.
05:52
<ChillerDragon> The first server test passes and then no server test passes after that. So the first one must bring the runner in a bad state but i have no idea what that bad state could be.
05:53
<ChillerDragon> The state is good enough that client tests still pass after that. But my ruby server fails to get any connections from a ddnet client.
05:54
<ChillerDragon> I tried debugging with tcpdump but even tcpdump gets so confused after the first run that it produces an empty pcap file. Which works just fine the first time its run.
Avatar
ws-client BOT 2024-02-20 06:04:10Z
<ChillerDragon> What is there in linux that can go bad? Blocked ports? Something in the filesystem?
Avatar
Avatar
Learath2
Yes? V8 is an insanely commonly used js engine written by google, with jit, outperforming it is actually impressive
The benchmarks don't back that up anyway
Avatar
Avatar
ws-client
<ChillerDragon> yo @Scrumplex the proxy man. Do you use multiple git remotes for the same repo? I would like to just git push to one repo on my vps or something. And it should then propagate/backup that commit to repos on gitlab/github and whatever cloud service i might add.
Forgejo can mirror your repos for you
07:03
ChillerDragon
Avatar
ws-client BOT 2024-02-20 08:39:04Z
<ChillerDragon> @Scrumplex but then i have to selfhost that and it only mirrors to it self? I would not cound "on my vps" a backup.
08:39
<ChillerDragon> count*
08:39
<ChillerDragon> or can it also auto distribute it to other destinations?
Avatar
ws-client BOT 2024-02-20 08:39:55Z
<ChillerDragon> ah nice
Avatar
ws-client BOT 2024-02-20 08:40:18Z
<ChillerDragon> hmkay but selfhosting that still sounds more complexity than selfhosting the 10 lines of bash to do it my self
Avatar
Looks like it failed recently lol
Avatar
ws-client BOT 2024-02-20 08:41:39Z
<ChillerDragon> F
Avatar
yup my GH Token just expired recently
08:41
I guess I just tactically ignored the email
Avatar
ws-client BOT 2024-02-20 08:42:09Z
<ChillerDragon> ye sounds realistic
Avatar
tbf i get a lot of emails from GitHub regarding token expirations so i get why xD
08:43
But I think Forgejo might work for you
08:43
It's very simple to host too
08:43
NixOS users when they services.forgejo.enable = true;
Avatar
ws-client BOT 2024-02-20 08:51:46Z
<ChillerDragon> axax nix mentioned
Avatar
Avatar
Scrumplex
NixOS users when they services.forgejo.enable = true;
gigachad
Avatar
efd35ee Add Lem0n as moderator - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@BaumWolle @Draggory i was so scared for a second
💀 5
Avatar
რილია 2024-02-20 17:01:21Z
i wish my vscode was as easy to navigate as this: https://ddnet.org/codebrowser/DDNet/game/server/entities/character.cpp.html
Avatar
Avatar
რილია
i wish my vscode was as easy to navigate as this: https://ddnet.org/codebrowser/DDNet/game/server/entities/character.cpp.html
what can this tool do, what vscode can't for you?
Avatar
Avatar
Jupstar ✪
what can this tool do, what vscode can't for you?
რილია 2024-02-20 17:24:25Z
i navigate around in vs code with ctrl+shift+f and search 😂
17:25
for some reasons i couldn't get it working with ctrl + right mouse click, and also autocompilation not working as good
Avatar
Avatar
რილია
i navigate around in vs code with ctrl+shift+f and search 😂
u can use ctrl + p to search for files
Avatar
რილია 2024-02-20 17:26:47Z
recommended extention for workspace is installed and all
Avatar
Avatar
Jupstar ✪
u can use ctrl + p to search for files
რილია 2024-02-20 17:27:00Z
i do
Avatar
Avatar
რილია
recommended extention for workspace is installed and all
mhh also clangd etc?
Avatar
Avatar
Jupstar ✪
mhh also clangd etc?
რილია 2024-02-20 17:27:14Z
everything
17:29
but i don't have problems tho, i even made my own mod so far (skyblock), just seeing extra things everytime i search for something 😂 (edited)
17:29
and even made me smarter at searching
17:41
UTF-16 or UCS-2 support anywhere outside windows API compatibility routines
not true anymore
Avatar
First time ever I have this error when opening file explorer lmao
Avatar
Abort
17:59
abort the failure
Avatar
Crazy
Avatar
hi, what is fifo and how can I use it for my ddnet server?
Avatar
well, i kinda agree on the first part, not sure about the second part with the full rewrite stuff
18:10
I guess it really depends on what you trying to achieve
Avatar
Avatar
TeeTrice
hi, what is fifo and how can I use it for my ddnet server?
Fifo is a way of sending input to the server console through a file. You can use it with sv_input_fifo server-input.fifo, and then you can write stuff to the file and it will be ran by the server, echo "broadcast test!" > server-input.fifo.
Avatar
oh nice, and where is it located?
18:23
data/ ?
Avatar
Avatar
TeeTrice
oh nice, and where is it located?
The server-input.fifo file? It will be in the same directory as where you started the server, but otherwise you can specify an absolute file path, e.g. /home/myuser/server-input.fifo instead.
Avatar
wrong chat
18:32
tobeydance
Avatar
Avatar
furo
The server-input.fifo file? It will be in the same directory as where you started the server, but otherwise you can specify an absolute file path, e.g. /home/myuser/server-input.fifo instead.
Assuming you are using Unix. On Windows, FIFO isn't a file but specifies the name of a named pipe.
👍 1
Avatar
Avatar
Robyt3
Assuming you are using Unix. On Windows, FIFO isn't a file but specifies the name of a named pipe.
as my teacher once said, everything is file pepew
18:52
but thaat was linux
Avatar
Add mandatory Boolean attribute has_finishes to every community info, which specifies whether finishes can be shown for the community, regardless of whether any finishes are currently available for the player. The community info must be adjusted when/before merging this, by adding the attribute has_finishes to every community object, with the value true for DDNet and false for all other communities. Closes #7957.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided ...
Avatar
wazzup ddnetz
Avatar
Avatar
furo
Fifo is a way of sending input to the server console through a file. You can use it with sv_input_fifo server-input.fifo, and then you can write stuff to the file and it will be ran by the server, echo "broadcast test!" > server-input.fifo.
After playing around with fifo Files (or rather pipes) i found Out how horrible IT IS to handle them on windows
Avatar
@meloƞ wazzup bro
Avatar
Wazzup jupstitititi
Avatar
Avatar
Jupstar ✪
abort the failure
- Bro, I can't call this function - Abort - Ok all nice (edited)
Avatar
Avatar
Mʎɹ シ
- Bro, I can't call this function - Abort - Ok all nice (edited)
that's what i call error handling
19:55
fight fire with fire
19:55
abort errors
Avatar
Avatar
meloƞ
Wazzup jupstitititi
20:11
386b00f Add has_finishes attribute to community info - Robyt3 9858d4e Merge pull request #8000 from Robyt3/Serverbrowser-Has-Finishes-Fix - heinrich5991
20:12
The function curl_easy_setopt expects a CURL *, but pHandle is a void *.

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 ...
Avatar
@Robyt3 u work on android port? 😏
Avatar
Avatar
Jupstar ✪
@Robyt3 u work on android port? 😏
What system do I even need to build Android? justatest
Avatar
The Steam Audio SDK and all included plugins are now available under an Apache-2.0 license. https://t.co/NQqWw6l9Cm
Avatar
Avatar
Robyt3
What system do I even need to build Android? justatest
most scripts are written for bash
Avatar
Steam Audio. Contribute to ValveSoftware/steam-audio development by creating an account on GitHub.
Avatar
but other than that maybe windows could work xd
Avatar
wen steam audio for ddnet
Avatar
what is steam audio?
20:18
ah, the last link answers it. some spatial audio
Avatar
audio library for vr i think
20:19
Immersive Audio Solutions For games and VR
20:19
ok for both
20:20
Avatar
totally unbiased Valve employee
20:20
I like it
Avatar
Not sure about calling it a "cooldown". !countdown closes #7982

Checklist

  • [x] Tested the change ingame
  • [x] 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
  • [...
Avatar
Apparently people really liked this clip from my latest video where I compared LLVM and React. So I'm posting it here too. Enjoy!
20:22
lmao
20:22
"llvm is the react of compilers minus the toxic community"
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
I wonder what kind of hack they employ
20:29
The way sound travels around is very similar to light, that's expensive
Avatar
i present u unholyness
20:37
Avatar
I had to look at that twice to see what's wrong
Avatar
I didn't see it until @Peter0x44's comment
Avatar
nice bio
20:41
just need to add agpl
Avatar
aa7a614 Fix incorrect variable used in Android-specific code - Robyt3 87f3740 Merge pull request #8001 from Robyt3/Http-Android-Fix - heinrich5991
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Haha sounds like windows xp media player
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Delete this
20:54
Tf where is the src?
Avatar
twitter
Avatar
Something feels a little off 😂👇🏻
20:55
lmao
Avatar
@Teero #off-topic if at all
Avatar
Avatar
Ryozuki
just need to add agpl
Not enough characters lol
21:02
Anyway the gcc developers are nice people so I don't mind repping
Avatar
@heinrich5991 @Learath2 what u think of this quote
21:12
great minds discuss semantics, average minds discuss syntax and small minds discuss syntax of comments
Avatar
I agree that focusing on syntax is not very useful, maybe even superficial
Avatar
Avatar
Ryozuki
@heinrich5991 @Learath2 what u think of this quote
No, pyson syntax is from hell
Avatar
oh my fucking god
22:10
i just finalized my NixOS + hyprland setup and built ddnet for the first time
22:11
my GPU gets pretty loud and i wonder what it is ... - cl_showfps 1 displays it to me
22:11
17K fps
Avatar
Avatar
Ryozuki
great minds discuss semantics, average minds discuss syntax and small minds discuss syntax of comments
It's comparing apples to oranges. Each discussion has a time and place. Though their importance is I guess in the right order
22:13
If you and I were making a programming language discussion of syntax would be a fairly important one
Avatar
@Ryozuki did you use sqlx for runtime insert/update queries with structs that have optional fields? i don't see the way without writing good ol derive macro with use of QueryBuilder<...>
22:18
(im trying to avoid boilerplate if let Some(...)...)
Avatar
it was so worth it spending a kidney for my pc
💀 3
22:23
the entire compiled in ~6 seconds with cmake .. -GNinja && ninja
pepeW 2
Avatar
send config
Avatar
Reported by Peter0x44 on Discord:
/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector::reference std::vector::operator[](size_type) [with _Tp = CMenus::CGhostItem; _Alloc = std::allocator; reference = CMenus::CGhostItem&; size_type = long unsigned int]: Assertion '__n size()' failed.
Aborted (core dumped)
just crashed the INSTANT I finished a map
Avatar
Avatar
Nouaa
send config
peepoShy
Avatar
steamaudio is not just for vr
23:32
it's for winning too
Avatar
Avatar
meloƞ
the entire compiled in ~6 seconds with cmake .. -GNinja && ninja
ppl still using the nonportable cmake command syntax 😴
Avatar
what syntax do you like better?
Avatar
cmake . [-B build -G Ninja] && cmake --build [build] --parallel
Avatar
justatest i disagree
Avatar
doesn't make a lot of sense to go that way when cmake is capable of doing it itself imo
23:35
especially when you can use the same syntax across any generator
23:35
using a generator-specific build command defeats a lot of the purpose of having a unified tool like the cmake command
Avatar
sounds okay to me. you're unlikely to use something differnet than ninja on linux
Avatar
but why would you prefer it over the portable syntax
23:36
i guess in a super closed environment it’s fine
23:37
but still seems goofy
Avatar
because you know ninja and don't know cmake very well, for example?
23:37
or because you want to pass ninja-specific options sometimes
Avatar
you should not be relying on generator specific behavior when using cmake
Avatar
Avatar
Ewan
i guess in a super closed environment it’s fine
i dont know if i would describe a shell environment a "super closed environment"
Avatar
Avatar
Ewan
you should not be relying on generator specific behavior when using cmake
why not? 😮
Avatar
but i explicity compile and build my projects using direnv paired with nix-shell's
Avatar
because it's intended to abstract the core parts of the compilation pipeline
23:38
anything else is a hack
23:39
you shouldn't ever be in a situation where you have to pass a ninja-specific build command when using it with cmake
Avatar
Avatar
meloƞ
i dont know if i would describe a shell environment a "super closed environment"
no i mean a system where you only ever use one build tool like ninja
Avatar
Avatar
Ewan
you shouldn't ever be in a situation where you have to pass a ninja-specific build command when using it with cmake
how do you print the dependency tree of the ddnet source code using cmake? ^^
Avatar
sometimes you want to cross compile and you can set CMAKE_MAKE_PROGRAM and use unix makefiles
Avatar
I don't think your argument makes a lot of sense
Avatar
Avatar
heinrich5991
how do you print the dependency tree of the ddnet source code using cmake? ^^
that's not really cmake's intended use
23:40
but you can do it using a cmake file
23:40
most ppl would use git or tree or find or smth
23:40
not the build tool
Avatar
if you want to use a specific feature of a cmake compilation target ("generator"), then it makes sense to use it
23:41
why would you artificially restrict yourself to the lowest common denominator available through cmake?
Avatar
because it reinforces good practices when you're using cmake elsewhere
Avatar
if you personally don't want to learn anything but cmake, that's fine
23:41
but maybe other people want to learn more than cmake
23:41
I, for example
Avatar
then why would you use cmake if you're just gonna get raw with the build tool anyway
Avatar
because I can also use it to compile on windows
Avatar
so then you should use the portable cmake command
23:42
to use the same command to compile on both windows and wherever you're using ninja
Avatar
I don't agree with your viewpoint at all
23:43
I also compiled ddnet using MSVC natively
23:43
without even touching the cmake command line
Avatar
sounds like a pain
Avatar
I like typing ninja when I just want to compile my project really quick without needing to think about whether it's cmake or meson :p
Avatar
maybe that's fine if you only use ninja
23:44
obviously you can't use ninja to compile a cmake project generated using anything but ninja
Avatar
I only see @Ewan telling others that they should use the tools the same way that @Ewan does
Avatar
it's just the way that makes sense
Avatar
not for me, as I laid out
Avatar
Avatar
Ewan
obviously you can't use ninja to compile a cmake project generated using anything but ninja
well thats not the point of using ninja anyway
Avatar
good night 🙂
Avatar
it's just a newer way of doing things that's not as well known
23:44
it's what the authors would advocate for
Avatar
you're specifing ninja to explicity use ninja, it defaults to make
23:45
which is a good thing?
Avatar
i don't think i should feel bad for turning people on to a potentially cleaner way to do something
Avatar
its not about making you feel bad, you have the general tendency to sound very "do it my way or i dont accept anything you say" anytime you disagree with or have another way of doing something :P (edited)
Avatar
Avatar
Ewan
anything else is a hack
not all of cmake's features are even supported by all generators
23:47
so sometimes you have to use a hack
Avatar
it really is not important
Avatar
Avatar
meloƞ
its not about making you feel bad, you have the general tendency to sound very "do it my way or i dont accept anything you say" anytime you disagree with or have another way of doing something :P (edited)
i don't see this tbh
23:50
i did say it was my opinion
Avatar
chillerdragon BOT 2024-02-20 23:57:46Z
Jopsti new fps record?
Replying to @meloƞ screenshot_2024-02-20_23-21-50.png
Exported 213 message(s)