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 2025-02-04 00:00 and 2025-02-05 00:00
Avatar
@Learath2 me dodging C code like a pro cooldoge
00:02
00:13
c
Avatar
Avatar
Cellegen
c
C best
Avatar
yeah... in only one way
00:31
sacrifice your soul, eyes and brain and hands... and C is good
Avatar
Lol I like zig as a language, easy to write
Avatar
Avatar
meloƞ
Lol I like zig as a language, easy to write
I should do something semi-serious with it to test it. It took working with Go to truly appreciate it
Avatar
Avatar
Learath2
I should do something semi-serious with it to test it. It took working with Go to truly appreciate it
If their build system was a little easier to write from scratch I'd prefer it over make anytime. Good thing most people are nice enough to just add the needed syntax in their GitHub repo to copy paste xd
07:12
I like zigs ecosystem, and some things are just neat to have, using stuff like defer makes cleanup a breeze for example. Tho I disagree with a few syntax choices.. cries in const b = @Vector(4, i32){ 5, 6, 7, 8 };
07:13
And ofc being able to use c libraries with ease
Avatar
Avatar
meloƞ
I like zigs ecosystem, and some things are just neat to have, using stuff like defer makes cleanup a breeze for example. Tho I disagree with a few syntax choices.. cries in const b = @Vector(4, i32){ 5, 6, 7, 8 };
Koll Potato 2025-02-04 07:48
you can do it like this too: const b: @Vector(4, f32) = .{ 5, 6, 7, 8 }:
07:48
looks more readable
Avatar
Avatar
meloƞ
I like zigs ecosystem, and some things are just neat to have, using stuff like defer makes cleanup a breeze for example. Tho I disagree with a few syntax choices.. cries in const b = @Vector(4, i32){ 5, 6, 7, 8 };
A macro shortcut would have been nice like
Avatar
@TsPiggy we are still having some issues with getting a nice full screenshot without hooks that are cut off, any ideas?
Avatar
Avatar
Hecta
I'm trying my luck on making an automapper handler in Scratch/TurboWarp. As an artist, my main goal is to have a sleek, easy to use and quick to learn way to visualize and edit automappers. It's going to be a long process, but I think becoming this passionate about automappers would really help people realize how much potential this has!
I got the first draft to work! When I get to the next steps, it should be making automappers using a visual interface a lot easier for me!
justatest 4
Avatar
Avatar
Hecta
I got the first draft to work! When I get to the next steps, it should be making automappers using a visual interface a lot easier for me!
What are you making exactly? A visualisation for automapper rules?
08:16
Or like compiling scratch into automapper rules? 😄 either very cool
Avatar
Both, in a way. I have a plan for how I want to make a visual automapper editor, and honestly Scratch is my most comfortable "programming language", since I've been using it for a decade now.
08:33
Occurred in official builds for Linux: CMake Error at CMakeLists.txt:2816 (add_executable): Error evaluating generator expression: $ Objects of target "server-without-main" referenced but is not an OBJECT library. CMake Error at CMakeLists.txt:2816 (add_executable): No SOURCES given to target: game-server Caused by https://github.com/ddnet/ddnet/pull/9638
08:34
This reverts commit fbdebd24640cfefde299dff486ed3c6f233e57d2. Fixes: https://github.com/ddnet/ddnet/issues/9645 Will use this for the official build for now.

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...
08:36

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-ad...
Avatar
I saw this video which appears to have some tuning bug in the demo, on the kog map "Fly to the mix" I don't think kog does anything special with the tunes so this might be worth investigating? https://youtu.be/JHxRvXLsclQ?si=EBgSMsTIyRjdB0z1&t=610
Avatar
ws-client BOT 2025-02-04 08:50
<ChillerDragon> @Robyt3 could you run the unit tests with a debugger on windows for me in #9643 so I know where the error is coming from
Avatar
Avatar
Learath2
I should do something semi-serious with it to test it. It took working with Go to truly appreciate it
Grab sdl3 and create ddnet-zig greenthing
Avatar
GitHub BOT 2025-02-04 09:30
74b2df6 Alternative fix for #9645 - def- 75354b6 Merge pull request #9647 from def-/pr-fix-alt - def-
Avatar
have you tried reducing sv_poses_show_dist_x/y to maybe 400?
10:17
then use a very small screenshot offset in the client, then set the crop in the merge script to cut out the empty spaces before merging.
Avatar
Avatar
Learath2
@TsPiggy we are still having some issues with getting a nice full screenshot without hooks that are cut off, any ideas?
^
Avatar
Avatar
TsPiggy
^
Seems like Louis figured it out :P
Avatar
MilkeeyCat 2025-02-04 10:58
@Ryozuki did you see my bug report? santatrollet
Avatar
ye troll
10:58
we dont have a check yet
Avatar
MilkeeyCat 2025-02-04 10:59
I was looking how you do name resolution
Avatar
Jupstar ✪ 2025-02-04 11:13
who made the photoshot pic now?
11:13
@louis did you miss to add some skins?
11:13
e.g. dreamless should be a toast
Avatar
bad day to be louis (edited)
Avatar
Koll Potato 2025-02-04 11:18
rewrite the photoshoot in rust
Avatar
Jupstar ✪ 2025-02-04 11:18
how so
Avatar
Avatar
Koll Potato
rewrite the photoshoot in rust
Jupstar ✪ 2025-02-04 11:18
that's the spirit
Avatar
Avatar
always
bad day to be louis (edited)
Jupstar ✪ 2025-02-04 11:19
i dont blame louis. maybe old client cant load the skin or whatever xD
Avatar
blame time
Avatar
Behold, a Linux maintainer openly admitting to attempting to sabotage the entire Rust for Linux project: https://lwn.net/ml/all/20250131075751.GA16720@lst.de/ **Edit for the Reddit peanut gallery: The reason this is sabotaging the entire R4L project is that DMA abstractions are critical for 99% of drivers, and without them, the R4L project is ...
Avatar
Jupstar ✪ 2025-02-04 11:30
Finally some Linux kernel drama
Avatar
I mean he has a point, having to maintain a " new " language which is now being sprinkled in a multiple decade old codebase is not everyone's cup of tee baked (edited)
Avatar
Jupstar ✪ 2025-02-04 13:16
True, but I sometimes wonder how Linux should survive in the long run. Do they expect new c devs to come in?
Avatar
@meloƞ he has no point because the discussion was already had
13:16
and they decided to adopt it
Avatar
Avatar
meloƞ
I mean he has a point, having to maintain a " new " language which is now being sprinkled in a multiple decade old codebase is not everyone's cup of tee baked (edited)
Koll Potato 2025-02-04 13:16
cup of tee??
13:16
hehe
Avatar
Avatar
Ryozuki
@meloƞ he has no point because the discussion was already had
Jupstar ✪ 2025-02-04 13:17
But I assume every component in the kernel kinda has their own maintainers and maybe they simply can't deal with it xd
Avatar
they can
13:17
they offered to maintain it themselves
13:17
and those are skilled kernel ppl
Avatar
Jupstar ✪ 2025-02-04 13:17
I mean like skill issue xdd
Avatar
the guy is just a old beared man
Avatar
Jupstar ✪ 2025-02-04 13:17
Yeah but esp old ppl are sometimes slow to adapt
Avatar
he doesnt need to do anything at all
Avatar
Jupstar ✪ 2025-02-04 13:18
I dunno, maybe they simply need to replace him
Avatar
definitly
13:18
the bus factor on DMA is 1 person
13:18
thats a issue
Avatar
Jupstar ✪ 2025-02-04 13:18
sadly nowadays only webdevs are searched for 😬
Avatar
Where is the channel for this game ‘Find the Hidden Tee’? 😁
13:32
Sad that it's just screenshots, we could add a game of Where's Wally? find the ‘TeeName’ in the picture
13:38
Although it is probably technically possible, since we have the coordinates of all players we can match them with the coordinates of the image and cut out the mini part only where the player is
Avatar
Avatar
Faulty
Where is the channel for this game ‘Find the Hidden Tee’? 😁
Zerol Acqua 2025-02-04 14:22
i found me, but it's in default skin oop
Avatar
@MilkeeyCat fixed
14:24
previously i only checked if it existed on lhs not rhs xd
14:24
iirc
Avatar
MilkeeyCat 2025-02-04 14:25
oh, I thought it was because you processed all locals and then checked if names existed
Avatar
if u tried b = 2; without a let b before it didnt work
14:27
thats the thing i checked before
Avatar
Avatar
Ryozuki
@meloƞ he has no point because the discussion was already had
baked
Avatar
MilkeeyCat 2025-02-04 14:34
@Ryozuki is it not possible to make variables inside if statements yet, or I have skill issues? justatest
Avatar
hmm idk xd
14:38
i havent tested that
Avatar
MilkeeyCat 2025-02-04 14:38
i get an error where it unwraps None
Avatar
yeah i guess vars inside if are bugged xd
14:39
ill check it when i can
Avatar
Avatar
meloƞ
Seems like Louis figured it out :P
cammo 1
tear 1
14:39
poor louis
Avatar
Avatar
TsPiggy
Click to see attachment 🖼️
nice gif saved
Avatar
i only have 4 gifs saved and 3 are stepfunn dancing
Avatar
japan is cool tho
Avatar
Avatar
Jupstar ✪
@louis did you miss to add some skins?
i downloaded the entire skin db
14:52
and loaded it in locally
Avatar
Avatar
TsPiggy
have you tried reducing sv_poses_show_dist_x/y to maybe 400?
i did but didn't really seem to help
14:53
i can try again
Avatar
next year i'll just add a momentcap client specific protocol to render all tees (edited)
Avatar
Avatar
louis
and loaded it in locally
there mightve been errors loading in srgb or some weird thing i recall
Avatar
!remindme 250 days
14:56
justatest
Avatar
Avatar
Faulty
Where is the channel for this game ‘Find the Hidden Tee’? 😁
i can manually edit that guy in
Avatar
@louis can you send me the poses just in case i still want to redo a renderer when i get back
14:59
motivation might be low right after traveling but just in case
Avatar
yeah ill send it when i get out of bed 🛌
Avatar
thx
Avatar
Avatar
Ryozuki
nice gif saved
kek 3
Avatar
Honestly kinda based. Let it all be pure and beautiful C! (yeah I know there's nothing pure about C)
16:24
If you like your Rust so much go write your own damn kernel! Oh wait, they kinda did.
kek 2
Avatar
linux-kernel-haskell when?
Avatar
arch1t3cht 2025-02-04 16:27
wasm in the linux kernel
justatest 1
Avatar
Avatar
arch1t3cht
wasm in the linux kernel
Avatar
Avatar
arch1t3cht
wasm in the linux kernel
Avatar
Kind of a weird comment since in a way WASM has nothing to do with JS except that they both run primarily in browsers
Avatar
watch the talk
Avatar
asm.js is the predescessor of wasm
Avatar
GitHub BOT 2025-02-04 20:16
The translation credits were not supposed to be shown in the first launch language popup as this information is not relevant on first launch and the popup is also not large enough.

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 integration test
  • [ ] Considered possible null pointers and out of boun...
Avatar
GitHub BOT 2025-02-04 22:07
94f43ca Do not show translation credits in first launch language popup - Robyt3 b24161d Merge pull request #9648 from Robyt3/Client-Localization-Credits-First-Launch - def-
Avatar
chillerdragon BOT 2025-02-04 23:18
@Robyt3: I don’t have any windows near by ._.
23:18
I need your help here
23:19
Or can I run a debugger in the CI so it prints a trace there? Isnt windows all gui? Or does it support gdb?
Avatar
Jupstar ✪ 2025-02-04 23:20
Troll
Avatar
chillerdragon BOT 2025-02-04 23:20
Indeed
23:21
I asked robyte twice to run the debugger on his machine and he replied with run the exe in a debugger
23:21
wine?
Avatar
Jupstar ✪ 2025-02-04 23:22
Wine has a debugger too yes
23:22
I think our vscode workspace even has run targets for it
Avatar
chillerdragon BOT 2025-02-04 23:23
I don’t even have the exe to begin with
Exported 130 message(s)
Timezone: UTC+0