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-12-10 00:00 and 2024-12-11 00:00
Avatar
ws-client BOT 2024-12-10 02:21
<ChillerDragon> @ninekeem cmake .. -DPREFER_BUNDLED_LIBS=ON && make works on debian 12 for me too
Avatar
ChillerDragon
02:30
And how did the gui appear in ddnet? Which framework is used for this
Avatar
ws-client BOT 2024-12-10 05:07
<ChillerDragon> @Evelyn SDL
05:07
<ChillerDragon> plus opengl / vulkan
05:08
<ChillerDragon> @Robyt3 where do i get the /home/runner/DDNet.jks from?
Avatar
ws-client BOT 2024-12-10 05:17
<ChillerDragon> does it need java 21 specifically or does any java work?
Avatar
GitHub BOT 2024-12-10 05:31
Makes the CI more readable and the local android development more convenient
Avatar
ws-client BOT 2024-12-10 05:58
<ChillerDragon> ah i get it i dont have to set a key for the apk build to pass
05:59
<ChillerDragon> is mold not supported or did i do something wrong? ``mold: error: duplicate symbol: /home/chiller/Android/Sdk/ndk/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/lib/linux/libclang_rt.builtins-arm-android.a(fixunssfdi.c.o): armv7-linux-androide abi/release/libddnet_engine_shared.a(compiler_builtins-2b3adccf2cb36c39.compiler_builtins.60e6619f2c82ce6e-cgu.029.rcgu.o): __fixunssfdi
05:59
clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. ``
05:59
<ChillerDragon> i fail at [253/253] Linking CXX shared library libDDNet.so when running scripts/android/cmake_android.sh all DDNet org.ddnet.client Release build-android
Avatar
Avatar
ws-client
<ChillerDragon> is mold not supported or did i do something wrong? ``mold: error: duplicate symbol: /home/chiller/Android/Sdk/ndk/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/lib/linux/libclang_rt.builtins-arm-android.a(fixunssfdi.c.o): armv7-linux-androide abi/release/libddnet_engine_shared.a(compiler_builtins-2b3adccf2cb36c39.compiler_builtins.60e6619f2c82ce6e-cgu.029.rcgu.o): __fixunssfdi
one symbol is coming from the rust component and the other from the actual game’s target lib
Avatar
ws-client BOT 2024-12-10 07:13
<ChillerDragon> @Sedonya checkout https://github.com/teesports-tw/S-DDRace/pull/2 and wire pls
👌 1
Avatar
Avatar
ws-client
<ChillerDragon> @ninekeem cmake .. -DPREFER_BUNDLED_LIBS=ON && make works on debian 12 for me too
it's all good but I can't. Can you show me all deps you use to build? MB I missed something…
10:11
eb0112d Add logger for android cmake script - ChillerDragon 8b4075e Merge pull request #9373 from ChillerDragon/pr_android_logger - def-
Avatar
ws-client BOT 2024-12-10 10:18
<ChillerDragon> @ninekeem the ddnet deps from the readme should be enough https://github.com/ddnet/ddnet?tab=readme-ov-file#dependencies-on-linux--macos
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
10:18
<ChillerDragon> you use alpine right? thats always a potential pain in the ass
10:18
<ChillerDragon> back when i tried to build a Docker image for the old ddnet++ i rage quitted on alpine because of some musl bugs and switched to ubuntu https://github.com/BanBansNet/ddnet-docker/blob/e44c32ae0784762fe6692d333299e0d3b210c7ae/ddnetpp/Dockerfile
Containerized ddnet/teeworlds clients and servers. Ready to run with podman and docker. - BanBansNet/ddnet-docker
Avatar
GitHub BOT 2024-12-10 10:19
2024-12-09 21:23:12 I server: ClientId=53 authed with key=Fussel (moderator) 2024-12-09 21:23:12 I CGameContext: Vote aborted by authorized login. 2024-12-09 21:23:12 I server: ClientId=53 rcon='ban 16 5 Funvotes are forbidden' 2024-12-09 21:23:12 I server: ClientId=53 rcon='logout' Then gdb: ``` Program terminated with signal SIGILL, Illegal instruction. #0 dbg_break () at /home/teeworlds/src/master/src/base/system.cpp:153 --Type for more, q to quit, c to continue without...
Avatar
ws-client BOT 2024-12-10 10:19
<ChillerDragon> i did make ddnet with mysql work on alpine tho and iirc i even tested that in kubernetes and the db was working https://github.com/BanBansNet/ddnet-docker/blob/e44c32ae0784762fe6692d333299e0d3b210c7ae/ddnet-mysql/Dockerfile
Containerized ddnet/teeworlds clients and servers. Ready to run with podman and docker. - BanBansNet/ddnet-docker
Avatar
GitHub BOT 2024-12-10 10:27
Fixes: https://github.com/ddnet/ddnet/issues/9374

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...
Avatar
I wonder that this docker repo doesn't spin up a db for records or download all maps from ddnet-maps, but at least it's a nice and easy container
10:29
but I guess it's overkill anyways 😄
Avatar
Avatar
ws-client
<ChillerDragon> is mold not supported or did i do something wrong? ``mold: error: duplicate symbol: /home/chiller/Android/Sdk/ndk/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/lib/linux/libclang_rt.builtins-arm-android.a(fixunssfdi.c.o): armv7-linux-androide abi/release/libddnet_engine_shared.a(compiler_builtins-2b3adccf2cb36c39.compiler_builtins.60e6619f2c82ce6e-cgu.029.rcgu.o): __fixunssfdi
ChillerDragon: I don't think you can just change the linker for the Android build, it specifically uses lld from Android NDK toolchain. Also make sure you don't use rust nightly, I think that also leads to linking errors.
11:52
Use keytool to create a signing key, though you can also use the default debug key for testing
Avatar
Avatar
GitHub
Click to see attachment 🖼️
"when fussel aborts a vote"
12:29
2024-12-09 21:23:12 I server: ClientId=53 authed with key=Fussel (moderator) 2024-12-09 21:23:12 I CGameContext: Vote aborted by authorized login. 2024-12-09 21:23:12 I server: ClientId=53 rcon='ban 16 5 Funvotes are forbidden' 2024-12-09 21:23:12 I server: ClientId=53 rcon='logout'
12:29
mmm yes
Avatar
I'm getting back to AoC after a two day break and I'm yet again finding new ways to compose functions
Avatar
One operator. Trivial semantics. Turing complete. Intensional.
Avatar
GitHub BOT 2024-12-10 13:22
The flag should tell me whether the current mouse position was reached via absolute positioning (like touchscreen) or via relative positioning (like mouse). This info would be useful for the antibot. I'd suggest including a flag indicating whether the last input was done via an absolute position input.
Avatar
We have gone too far!
13:41
You're all familiar with (.) . (.), but how do you like (.) (flip .) $ (.) . flip?
13:42
I originally wrote it as fmap (fmap flip) $ (.) . flip but I rewrote it like that because I thought it looked funny
13:45
Hmm, (flip .) . ((.) . flip) is even funnier, but I think it's getting a bit too obfuscated at this point
Avatar
as a non developer all i see is shit like (flip . ( ) . ( ( flip . ) flip flip ) . . . (
Avatar
Avatar
GitHub
Click to see attachment 🖼️
feels like something i have experienced in implementing kekw
Avatar
Avatar
Voxel
as a non developer all i see is shit like (flip . ( ) . ( ( flip . ) flip flip ) . . . (
don't worry, it's gibberish to most programmers too; I only understand it because I just wrote it and I'd struggle to understand it later
13:55
though then again, typing :t (flip .) . ((.) . flip) into ghci would instantly explain to me the meaning of that code (edited)
Avatar
Avatar
risu
You're all familiar with (.) . (.), but how do you like (.) (flip .) $ (.) . flip?
as a mod i should warn you to stop posting inappropriate messages (edited)
Avatar
It turns out that the type of the function explains its meaning much better than the actual code in this case
Avatar
ok day 8 done, and I feel happy about how elegant my change from the first to the second part was
14:14
very functional
Avatar
It's all trees?
Avatar
is @Zwelf == @Welf ? I guess I pinged the wrong person
what 1
14:21
Zwelf != Welf
Avatar
Zwelf is indeed not Welf
Avatar
Avatar
Learath2
It's all trees?
Always has been.
Avatar
show tree of f(x) + f''(x) = f'(x) where f(x) = 42x^2 - 5 (edited)
14:26
(I think I don't make sense)
Avatar
was it previously like this?
15:42
when copy move is on, spec will cause dummy look at different direction
Avatar
while spectating you look at different direction
15:49
its a weird bug
Avatar
GitHub BOT 2024-12-10 15:59
The code is confusing, as the sum and counter are not used. Establishing a different dilate algorithm would be a hassle. The difference is minor and probably not noticeable.

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 bound...
Avatar
For the first time in 50 years of computer science, a metaphor of programming has been proposed that most people can relate to—objects have true identity, and objects are conserved. As in the real world, an object cannot be copied or destroyed without first filling out a lot of forms, but on the other hand, the transmission of objects is relatively painless. An object is localized in space, and can move from place to place. (Only computer-literate people must be told that the transmission of these objects does not create copies.) Linear logic finally makes precise the high school notion that a function is like a box into which one puts argument values and receives result values, and that a truly “functional” box does not remember its previous arguments or results. — Henry G. Baker, “Linear Logic and Permutation Stacks—The Forth Shall Be First”
16:00
quote of the day
16:01
Austral is a systems programming language designed for simplicity, maintability and security.
Avatar
linear reference
Avatar
GitHub BOT 2024-12-10 17:31
d5f2972 Nameplate rework - SollyBunny f16cc2e Merge pull request #9284 from SollyBunny/nameplate_fixes - Robyt3
Avatar
Avatar
GitHub
Click to see attachment 🖼️
id rather have a hook icon that is present when my dummy is holding hook in freeze
f3 1
18:21
than the new one that always is on localplayer and always means 0 (edited)
Avatar
is the heart icon left justified or is it part of the centered nameplate?
Avatar
Avatar
louis
is the heart icon left justified or is it part of the centered nameplate?
appended to the nameplate so both are centered
18:38
Avatar
new nameplate doesnt even show arrwos when dummy is in freeze
Avatar
ill push a fix for that
Avatar
GitHub BOT 2024-12-10 19:32
68c39c6 Implementation note for dilate: Unused sum&counter - Patiga 0abb325 Merge pull request #9378 from Patiga/dilate-note - Jupeyy
19:33
New nameplates didn't display held direction for frozen dummy

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 bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valg...
Avatar
Is it normal, that the ddnet wiki is so slow? I have really trouble creating a new page
Avatar
MilkeeyCat 2024-12-10 20:54
@Learath2 it's time to a add stupid simple type inference in the language santatrollet
Avatar
chillerdragon, pr opened on github
21:08
gitlab*
Avatar
Does anyone know what the automapper rule "NoLayerCopy" does?
Avatar
The automapper is so badly documented, it's amazing. I bet I'll find a way to crash it
Avatar
GitHub BOT 2024-12-10 21:49
bdc97e7 Fix dummy directions nameplate when frozen - KebsCS 31742d7 Merge pull request #9379 from KebsCS/pr-fix-nameplate-dummy - Robyt3
Avatar
Avatar
Assa
The automapper is so badly documented, it's amazing. I bet I'll find a way to crash it
doesn't crash but takes a while fully using it's cpu core 😄
22:13
Also I am sure the automapper is turing complete
Avatar
Looked at this and not a huge fan, the reduction rules are a bit much...
Avatar
Avatar
kebs
appended to the nameplate so both are centered
ah i feel like it should be put on the left after centering
Avatar
Avatar
louis
ah i feel like it should be put on the left after centering
The skin is maybe not the best for showing this xdd (edited)
Exported 95 message(s)
Timezone: UTC+0