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-01-31 00:00 and 2025-02-01 00:00
Avatar
you’re not supposed to be reading that
00:01
the glyph atlas shat onto my screen in such a weird way
00:02
apparently this is another, different gamescope bug https://github.com/ValveSoftware/gamescope/issues/1593
Avatar
Avatar
Ewan
the glyph atlas shat onto my screen in such a weird way
this looks sick af tho WHAT
Avatar
yeah i don’t like that you can pick out parts of my inbox in that screenshot tho
00:08
the other screenshot
00:08
ima delete
Avatar
aw (edited)
00:10
epilepsy warning
00:11
i think it might just be wrong color format
Avatar
Avatar
Ewan
as long as devs continue to accommodate windows bugs, it gives windows devs an excuse to not fix it
ofc microsoft will hop on fixing their shitboat after getting 7 angry messages from russian kids that can't even use english properly
Avatar
i don’t think that’s really gonna happen
Avatar
ppl will just stick to windowed mode after this xd
Avatar
many do
00:15
this problem has existed a long time
Avatar
none of ppl i know uses windowed mode, except those who use weird big screens
Avatar
Avatar
GitHub
Click to see attachment 🖼️
is this in nightly now?
Avatar
I guess it is, my version is 19.0-20250130
01:54
I experienced weird behavior with antiping on. Sometimes when I hook others, the other tee stuck midair and don't move at all
01:55
Not happening with antiping off tho
01:55
Haven't seen this behavior in previous versions so I assume it's caused by this antiping update
Avatar
Avatar
Pioooooo
is this in nightly now?
this is patch for behaviour youre describing
02:15
maybe nightly didnt update with this yet
Avatar
oh that's good to know
Avatar
good morning sdl3 enjoyers and others
🫡 1
gigachad 1
07:03
i think ubuntu and debian dont have sdl3 either
07:03
maybe its a bit too early
07:05
on ubuntu its on the unreleased plucky
Avatar
GitHub BOT 2025-01-31 07:22
e6f822f Fix gradle wrapper version mismatch, validate wrapper version - Robyt3 282ea70 Merge pull request #9612 from Robyt3/Gradle-Wrapper-Fix - def-
Avatar
got my sdl3 package
07:29
ls /usr/lib64/libSDL3* /usr/lib64/libSDL3.so /usr/lib64/libSDL3.so.0 /usr/lib64/libSDL3.so.0.2.0 /usr/lib64/libSDL3_test.a
😃 1
Avatar
trying zed editor
07:38
the ai features seem unobtrusive
Avatar
Avatar
Ewan
the ai features seem unobtrusive
I recommend just turning it off - keeps your brain sane
07:52
How is it working on nix? Given their LSP servers shouldn't work without some ld magic
Avatar
rust lsp worked fine out of the box on mac
Avatar
PRO_Gaming1921 2025-01-31 07:55
I am learning to code right now any my brain feels more empty after each dayjustatest (edited)
Avatar
Ah, I meant nixos not the pkg-manager monkalaugh
Avatar
Original message was deleted or could not be loaded.
That stuff huge, pls keep it to emojis for stuff like this
👍 1
07:55
NOOOO see? Such smol much easier
Avatar
Avatar
meloƞ
NOOOO see? Such smol much easier
MilkeeyCat 2025-01-31 07:56
gimme nitro
Avatar
/nitro MilkeeyCat 6Mo
07:56
Doesn't work monkaStop
😡 2
Avatar
Avatar
meloƞ
NOOOO see? Such smol much easier
PRO_Gaming1921 2025-01-31 07:56
How isnt it nitro man. Dont flex
Avatar
MilkeeyCat 2025-01-31 08:02
is there a way to see the current checkpoint?
Avatar
Avatar
meloƞ
Ah, I meant nixos not the pkg-manager monkalaugh
seemed laggy on linux
08:03
nixos* my guess is gpu related
08:03
typical issue on my setup
08:03
nvidia + wayland + nixos is a very nasty combo (edited)
Avatar
SDL_AVX512F
08:16
nice sdl has avx5 routines
Avatar
SDL_vulkan.h SDL_Vulkan_GetInstanceExtensions() no longer takes a window parameter, and no longer makes the app allocate query/allocate space for the result, instead returning a static const internal string. SDL_Vulkan_GetVkGetInstanceProcAddr() now returns SDL_FunctionPointer instead of void *, and should be cast to PFN_vkGetInstanceProcAddr. SDL_Vulkan_CreateSurface() now takes a VkAllocationCallbacks pointer as its third parameter. If you don't have an allocator to supply, pass a NULL here to use the system default allocator (SDL2 always used the system default allocator here). SDL_Vulkan_GetDrawableSize() has been removed. SDL_GetWindowSizeInPixels() can be used in its place. SDL_vulkanInstance and SDL_vulkanSurface have been removed. They were for compatibility with Tizen, who had built their own Vulkan interface into SDL2, but these apps will need changes for the SDL3 API if they are upgraded anyhow.
08:39
@Jupstar ✪
08:39
nice stuff iguess
Avatar
Thats kinda hot! How is getting sdl3 to work going so far?
08:54
Getwindowsizeinpixels is a weird replacement for getdrawablesize
Avatar
ws-client BOT 2025-01-31 09:08
<ChillerDragon> wtf is going on here
09:08
<ChillerDragon> i feel like having lags/prediction bugs on localhost
09:08
<ChillerDragon> its a tiny ass map i am on latest ddnet master server and client
09:09
<ChillerDragon> the debug graphs show nothing im at a stable 666 frames
09:09
<ChillerDragon> but sometimes i teleport like 2 tiles wtf
09:09
<ChillerDragon> no idea how to debug this, time to buy a new pc
09:10
<ChillerDragon> maybe its the SDL3? xd
09:11
<ChillerDragon> omg i have big regrets updating my system
Avatar
Jupstar ✪ 2025-01-31 09:42
@JSaurusRex ^ maybe still not fixed with anti ping? (false positive from chill) (edited)
👍 1
Avatar
@Jupstar ✪ sdl3 now manages audio samples internally
09:44
SDL3 now manages the removed samples field; apps that want more control over device latency and throughput can force a newly-opened device's sample count with the SDL_HINT_AUDIO_DEVICE_SAMPLE_FRAMES hint, but most apps should not risk messing with the defaults. The other SDL2 SDL_AudioSpec fields aren't relevant anymore.
09:44
m_MaxFrames = FormatOut.samples * 2;
09:45
idk what to put here xd
09:45
samples doesnt exist
Avatar
Avatar
Ryozuki
@Jupstar ✪ sdl3 now manages audio samples internally
Jupstar ✪ 2025-01-31 09:45
That sounds like a problem
Avatar
Jupstar ✪ 2025-01-31 09:45
Since we use a custom mixer
Avatar
do we need the custom mixer
Avatar
Jupstar ✪ 2025-01-31 09:45
Yes
09:46
But I also dunno what exactly they mean with managing internally
Avatar
the callback has this additional field tho
09:47
, int TotalAmount
09:47
could this be the samples
09:47
idk much audio
Avatar
Jupstar ✪ 2025-01-31 09:47
So they just changed the buffer size or smth
Avatar
ChillerDragon BOT 2025-01-31 09:48
anyone else on arch can reproduce ddnet client having stutters?
09:48
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
09:49
Please set them or make sure they are set and tested correctly in the CMake files:
09:49
/home/chiller/Desktop/git/ddnet/AVCODEC_INCLUDEDIR
Avatar
Jupstar ✪ 2025-01-31 09:49
Turn off anti ping
Avatar
ChillerDragon BOT 2025-01-31 09:49
used as include directory in directory /home/chiller/Desktop/git/ddnet
09:49
never seen that before
09:49
i never turned anti pin gon
Avatar
antiping should not affect your own camera
09:49
it's not possible
Avatar
ChillerDragon BOT 2025-01-31 09:50
omg i cant see ryos image
09:50
i had to uninstall firefox trying to downgrade sdl
09:50
and uninstall half of gnome
Avatar
why do we mix ourselves?
09:50
xd
Avatar
ChillerDragon BOT 2025-01-31 09:50
but now ddnet wont fakin compile anymore omg i hate shit like this
Avatar
why not let sdl do it
Avatar
Jupstar ✪ 2025-01-31 09:51
Bcs there is no library that can mix like tw wants it
Avatar
ChillerDragon BOT 2025-01-31 09:51
the error was coming from ffmpeg not being installed hmm i assumed our cmake throws a nicer error in that case
09:51
something like "please install ffmpeg"
Avatar
Jupstar ✪ 2025-01-31 09:52
The most useful mess ffmpeg xd
Avatar
ChillerDragon BOT 2025-01-31 09:53
dood yes
09:53
sdl depends on ffmpeg
09:53
ffmpeg depends on sdl
Avatar
Jupstar ✪ 2025-01-31 09:53
Chiller just use website built
Avatar
ChillerDragon BOT 2025-01-31 09:53
firefox depends on ffmpeg
09:53
sdl depends on firefox
09:53
i managed to compile!
09:53
i actually think its fixed
09:53
but my arch is in a super cursed state xd
Avatar
Avatar
ChillerDragon
ffmpeg depends on sdl
Jupstar ✪ 2025-01-31 09:53
Wtf xdd
Avatar
ChillerDragon BOT 2025-01-31 09:53
oh thats fucked
09:54
sdl2-compat rly seems to be the issue
09:54
gotta upgrade to sdl3 asap xd
Avatar
Jupstar ✪ 2025-01-31 09:54
OK. You vs ryo
Avatar
ChillerDragon BOT 2025-01-31 09:54
ok maybe sdl3 is the issue not the compat layer
Avatar
Jupstar ✪ 2025-01-31 09:55
Gl dealing with the backward gang
Avatar
ChillerDragon BOT 2025-01-31 09:55
apparently its used in CS2 so it should have a trillion users already battle testing it
Avatar
Jupstar ✪ 2025-01-31 09:55
No
Avatar
ChillerDragon BOT 2025-01-31 09:55
it isnt?
Avatar
Jupstar ✪ 2025-01-31 09:55
Probably only on Linux
Avatar
ChillerDragon BOT 2025-01-31 09:56
4min fng gaming without a single stutter
09:56
vs every few seconds
09:56
test results are final
09:56
sdl2-compat breaks ddnet on my machine :c
Avatar
Jupstar ✪ 2025-01-31 09:56
Just install the real sdl2
09:56
Why do you want the compat version
Avatar
ChillerDragon BOT 2025-01-31 09:57
i did install aur/sdl2 now
09:57
arch replaced sdl2 with sdl2-compat
Avatar
Jupstar ✪ 2025-01-31 09:57
That's evil xd
Avatar
ChillerDragon BOT 2025-01-31 09:57
well its arch
09:57
they wanna serve useres with the latest and greatest sdl3 gaming xp
Avatar
Jupstar ✪ 2025-01-31 09:58
Yeah but I want to see the apps already upgraded
09:58
But one q. Did the lags happen directly
09:59
Or after time
Avatar
ChillerDragon BOT 2025-01-31 09:59
i upgraded yesterday night
Avatar
Jupstar ✪ 2025-01-31 09:59
No
09:59
In game
Avatar
ChillerDragon BOT 2025-01-31 09:59
today this morning i was testing a server thing
09:59
i wasnt even playing
09:59
and i could notice instantly that something was off
Avatar
Jupstar ✪ 2025-01-31 09:59
But directly after game started
09:59
Ok
Avatar
ChillerDragon BOT 2025-01-31 09:59
define directly?
09:59
less than a minute for sure
Avatar
Jupstar ✪ 2025-01-31 09:59
Okok
10:00
All I needed to know. Bye
Avatar
ws-client BOT 2025-01-31 10:00
<ChillerDragon> gm sdl3 enjoyers (sent from my firefox)
Avatar
GitHub BOT 2025-01-31 10:02
Work in progress, still doesnt compile, some stuff i dont know how it works like IME thats why im opening a draft pr if anyone wants to contribute further.

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
  • [ ] ...
Avatar
its a draft
10:02
xd
Avatar
ws-client BOT 2025-01-31 10:04
<ChillerDragon> i wonder if i should report something to the sdl2-compat repo but sounds like work
Avatar
Avatar
Ryozuki
nice sdl has avx5 routines
don't use AV512, you'll kill performance due to DVFS
Avatar
wat is DVFS
10:13
i have a cpu with avx512
10:13
AMD Ryzen 9 7900X3D
Avatar
it consumes too much power, so they had to lower the frequency for several milliseconds after each avx512 instruction
10:14
so unless you have a million of them in a row, it's not worth it
Avatar
While I've only had a few days to look at the AVX-512 performance with Zen 4 on the desktop, the results have been looking well so far from this comparison with software able to make use of AVX-512. For a variety of different workloads like JSON parsing, CPU mining, 3D rendering with OSPRay Studio, AI workloads like OpenVINO, and various other ...
Avatar
Avatar
Chairn
it consumes too much power, so they had to lower the frequency for several milliseconds after each avx512 instruction
well the avx512 is a sdl3 option
10:15
there are some assembly routines in sdl and i guess this enabled them to use that
Avatar
erf, wikichip is offline, but they had a nice graph that shows cpu frequency depending on executed SIMD instruction
10:16
i mean, if you only have few avx512 instruction, it will slow down the rest of the program. It's interesting only if you're doing blas or ai thingie with huge dataset
Avatar
or av1
Avatar
avx and avx2 also reduces cpu frequency, but way less
10:19
if wikichip comes back online, i'll send you the table they had
Avatar
ChillerDragon BOT 2025-01-31 10:19
interesting self compiled sdl2-compat is smooth
10:19
so annoying to test that shit
10:19
gotta uninstall firefox then ffmpeg then reinstall ffmpeg then build ddnet xd
Avatar
chiller
10:19
switch to gentoo
Avatar
ChillerDragon BOT 2025-01-31 10:19
ryoqwo
10:20
im sure its worse
Avatar
nah
10:20
in gentoo they test stuff
Avatar
ChillerDragon BOT 2025-01-31 10:20
sdl2-compat with ddnet lag spikes?
10:20
yea im sure they test that
Avatar
we got no sdl2 compat
10:20
we got sdl2
Avatar
ChillerDragon BOT 2025-01-31 10:20
oldschool
Avatar
i wonder why they removed sdl2
10:20
i have sdl2 and sdl3
10:20
in my system
Avatar
ChillerDragon BOT 2025-01-31 10:21
i have SDL1 SDL2 sdl2-compat and SDL3
10:22
gentoo so outdated for using SDL2
10:22
it hasnt been updated since yesterday
10:22
dead software
10:22
Simple Directmedia Layer. Contribute to libsdl-org/SDL development by creating an account on GitHub.
10:22
bleeding edge sdl2-compat has been updated 7 hours ago
10:22
An SDL2 compatibility layer that uses SDL3 behind the scenes. - libsdl-org/sdl2-compat
10:23
well i really hope arch team fixes that shit
10:23
i will just not update my hand massages system for a while so i can do proper gaming
Avatar
Jupstar ✪ 2025-01-31 10:29
I didn't have ryo on my who adds SDL3 support bingo card, ngl
10:32
@Jupstar ✪ tbh i probs cant finish it all myself
10:33
1: idk how ime works 2: i barely know how audio mixing works, but i think i got it working the problem is i cant test until i got it to compile and that requires either removing some features i dont know like ime or idk
10:33
SDL_SysWMmsg got entirely removed
Avatar
Avatar
PRO_Gaming1921
is it good?
Jupstar ✪ 2025-01-31 11:16
better than without xd
Avatar
Avatar
Jupstar ✪
better than without xd
PRO_Gaming1921 2025-01-31 11:16
have an ryzen 7 9800x3d
Avatar
Jupstar ✪ 2025-01-31 11:17
whaaat
🫡 1
11:17
give to me
Avatar
Avatar
Jupstar ✪
whaaat
PRO_Gaming1921 2025-01-31 11:19
react to my pull request then hehe
Avatar
Avatar
PRO_Gaming1921
react to my pull request then hehe
Jupstar ✪ 2025-01-31 11:20
I don't see any pull request from you
Avatar
PRO_Gaming1921 2025-01-31 11:20
I have played this game for a really long time and the thing i think this game needs is an show ping and fps button in settings. Now you can do it in f1 but many new players that maybe have a bad p...
11:20
doesnt it show?
Avatar
That's a issue
Avatar
Avatar
Teero
That's a issue
PRO_Gaming1921 2025-01-31 11:21
crap :D
11:21
good I checked then justatest
Avatar
Avatar
Teero
That's a issue
PRO_Gaming1921 2025-01-31 11:21
or you mean I created it at the wrong place?
Avatar
Avatar
PRO_Gaming1921
or you mean I created it at the wrong place?
Nope you did right in creating an issue
Avatar
Avatar
meloƞ
Nope you did right in creating an issue
PRO_Gaming1921 2025-01-31 11:25
alr :D
11:26
I would want it to be asigned to me if its possible bdw :D
Avatar
Jupstar ✪ 2025-01-31 11:27
ok now give 9800x3d
11:27
jkjk
Avatar
Avatar
Jupstar ✪
ok now give 9800x3d
PRO_Gaming1921 2025-01-31 11:27
bet
Avatar
please let's ban for kik just like that
11:38
I'm just being kicked from the server
Avatar
Avatar
Roman
I'm just being kicked from the server
MilkeeyCat 2025-01-31 11:41
$kog
Avatar
Avatar
Roman
I'm just being kicked from the server
KoG affiliation
First and foremost: DDNet and KoG aren't affiliated. If you need help on a server related to KoG, join their Discord server by clicking on the link below.
Avatar
Avatar
Roman
I'm just being kicked from the server
PRO_Gaming1921 2025-01-31 11:49
ddrace have nothing to do with KoG :D
Avatar
GitHub BOT 2025-01-31 12:15
this falls under #7777 and can be rejected because it does not bring any benefit to ddnet. This would reduce git conflicts in my downstream so I try it anyways since it is a small change.
Avatar
MilkeeyCat 2025-01-31 13:44
chillerdragon: you got more permissions in ddnet repo? 0_o
Avatar
Jupstar ✪ 2025-01-31 13:49
promotion
Avatar
MilkeeyCat 2025-01-31 13:50
it's time to merge more 0.7 prs lol
Avatar
We decided to just let him turn ddnet into 0.7
13:51
Resistance is futile
Avatar
ws-client BOT 2025-01-31 13:52
<ChillerDragon> @MilkeeyCat i can cose issues and assign labels^^
13:53
<ChillerDragon> road to #666 again #wontfix
Avatar
Avatar
ws-client
<ChillerDragon> @MilkeeyCat i can cose issues and assign labels^^
MilkeeyCat 2025-01-31 13:53
huuge
13:53
pro
Avatar
Jupstar ✪ 2025-01-31 13:54
I think he deserves being a real ddnet member
Avatar
MilkeeyCat 2025-01-31 13:54
^
Avatar
Jupstar ✪ 2025-01-31 13:54
Which does not imply i like his prs
13:54
😂
Avatar
MilkeeyCat 2025-01-31 13:55
Honestly I was surprised when opened org members first time and didn't find chiller there xd
Avatar
Jupstar ✪ 2025-01-31 13:57
most are private to you anyway
Avatar
ws-client BOT 2025-01-31 13:57
<ChillerDragon> yes default is private
Avatar
Jupstar ✪ 2025-01-31 13:57
and most are pretty inactive tbh
Avatar
ws-client BOT 2025-01-31 13:58
<ChillerDragon> i had to click a shit ton of buttons to flex org memberships
Avatar
MilkeeyCat 2025-01-31 13:58
just make a bash script for it
Avatar
ws-client BOT 2025-01-31 13:58
<ChillerDragon> imo they should be public by default nobody knows they are private and then people just dont know who to contact
14:00
<ChillerDragon> @Jupstar ✪ i think i disagree with heinrich too much to get merge rights
Avatar
Jupstar ✪ 2025-01-31 14:00
you can guess who is public by looking who merged in past
Avatar
Avatar
ws-client
<ChillerDragon> @Jupstar ✪ i think i disagree with heinrich too much to get merge rights
Jupstar ✪ 2025-01-31 14:00
i disagree with everyone
Avatar
ws-client BOT 2025-01-31 14:00
<ChillerDragon> so convienient
Avatar
Avatar
ws-client
<ChillerDragon> @Jupstar ✪ i think i disagree with heinrich too much to get merge rights
Tbf we don't ever merge our own prs really
Avatar
ws-client BOT 2025-01-31 14:01
<ChillerDragon> but other prs
14:01
<ChillerDragon> the merger always has merge rights
Avatar
Jupstar ✪ 2025-01-31 14:01
chillerdragon2 wants to merge a pull request
Avatar
But you also have very different goals. You'd have to be brainwashed first
Avatar
ws-client BOT 2025-01-31 14:02
ChillerDragon2 has one repository available. Follow their code on GitHub.
14:02
<ChillerDragon> its a thing
Avatar
Jupstar ✪ 2025-01-31 14:02
lol
Avatar
ws-client BOT 2025-01-31 14:03
<ChillerDragon> jupstar i would never do such shenanigans
Avatar
Avatar
ws-client
MilkeeyCat 2025-01-31 14:04
The most chillerdragon thing I've seen in 2025
Avatar
Jupstar ✪ 2025-01-31 14:04
i use a fake account to merge to upstream projects quite often. bcs then i can act like i am some russian guy that barely speaks english and they don't ask so many questions
Avatar
JSaurusRex 2025-01-31 14:04
._.
Avatar
Avatar
ws-client
Jupstar ✪ 2025-01-31 14:05
that is some advanced schizophrenia
Avatar
ws-client BOT 2025-01-31 14:05
<ChillerDragon> interesting technique jupstar
14:05
<ChillerDragon> i should try opening prs with my heinrich9551 account and see if they get merged faster
Avatar
Jupstar ✪ 2025-01-31 14:05
Could work
14:06
RoB1t
Avatar
ws-client BOT 2025-01-31 14:06
<ChillerDragon> good one
Avatar
Avatar
Jupstar ✪
RoB1t
Temu robyte
Avatar
Avatar
Jupstar ✪
that is some advanced schizophrenia
XD
14:23
i think most devs are more lenient to new devs
14:23
bad opsec
14:28
look, 2 rust developers
Avatar
@MilkeeyCat i made a meme
Avatar
MilkeeyCat 2025-01-31 14:41
real
Avatar
@MilkeeyCat i had a idea involving IRs
14:49
since the llvm C api in c is a bit meh to build around and use in rust my idea is to make a custom IR that looks like llvm IR completly in rust and make a builder api in rust that feels good to use
14:49
and provide a translation to llvm ir (edited)
14:50
RustIR
14:52
struct Drop0; impl Drop for Drop0 { fn drop(&mut self) { print!("0"); } } fn main() { { let _ = &Drop0; print!("1"); } { _ = &Drop0; print!("1"); } } @Jupstar ✪ what does this print
14:52
no running localy
Avatar
Avatar
Ryozuki
struct Drop0; impl Drop for Drop0 { fn drop(&mut self) { print!("0"); } } fn main() { { let _ = &Drop0; print!("1"); } { _ = &Drop0; print!("1"); } } @Jupstar ✪ what does this print
Jupstar ✪ 2025-01-31 14:55
does that compile? xddd then probs 1001
14:56
is the second a pattern match or smth
14:57
or the lifetime of Drop0 is simply static or smth
Avatar
Shouldn't it be 1010 or 1100 ?
14:59
I mean 1 is printed, then the block ends and it calls self, thus printing 0
Avatar
its 1001
14:59
nice
Avatar
Damn
Avatar
let is dropped at end, the _ without let is a assignemt, its dropped at end of thestatement
Avatar
I suck at rust confirmed
Avatar
nah this is obscure
14:59
xd
Avatar
Avatar
Ryozuki
let is dropped at end, the _ without let is a assignemt, its dropped at end of thestatement
Jupstar ✪ 2025-01-31 15:00
honestly didn't even know you could use _ even for that xd
Avatar
second is a destructiruing assignment
15:00
so yeah pattern match
15:00
i knew xd
Avatar
Jupstar ✪ 2025-01-31 15:00
so all my let _ = result; could simply be _ = result? (edited)
15:01
but with second its instantly dropped
15:01
best placeholder
Avatar
with first u get temporary lifetime extension
Avatar
i do that w tuples all the time
Avatar
to end of scope
15:01
so with the _ = result u may get some borrow checking errors maybe
15:01
or not
15:01
depends on context
15:02
In both cases, since we don't assign the Drop0 instance to a variable, it is a temporary. In let statements, temporary lifetime extension takes place and extends the temporary's lifetime until the end of the block, there it is dropped. So 1 is printed first, and then the Drop0 is dropped and 0 is printed. In assignments, however (_ = is a destructuring assignment expression), there is no temporary lifetime extension, and temporaries are dropped at the end of the statement. So, 0 is printed first then 1. This behavior also means that if we would try to use the value after the assignment, the compiler will disallow this with a borrow checker error, as the value was already dropped.
Avatar
Avatar
Ewan
i do that w tuples all the time
Jupstar ✪ 2025-01-31 15:02
without the let?
Avatar
bruv
15:02
@Ewan we talkign about _ without let
Avatar
I see that
Avatar
Jupstar ✪ 2025-01-31 15:03
iksde
Avatar
i don’t often need to create smth and never assign it
Avatar
Jupstar ✪ 2025-01-31 15:03
that is usually also better 😄
Avatar
i just make a method that doesn’t take self in that case lol
15:03
for one-offs
15:03
i mean everyone does so idk why im even talking about this
15:04
procrastinating work
15:04
grg
Avatar
ForgottenCat 2025-01-31 15:18
what does the Stroke mean in function ExecuteLineStroked ? Is it something related to button press&release
Avatar
Avatar
Ryozuki
let is dropped at end, the _ without let is a assignemt, its dropped at end of thestatement
wdym assignment if there's no mutable variable with such ident in the scope
15:19
how does it work wtf
Avatar
@zhn its a pattern match
15:22
(_ = is a destructuring assignment expression)
15:22
idk but u can doit
Avatar
Avatar
ForgottenCat
what does the Stroke mean in function ExecuteLineStroked ? Is it something related to button press&release
Jupstar ✪ 2025-01-31 15:22
Isn't that the delayed execution thing
15:22
I could swear I saw that from you a while ago xd
🤯 1
Avatar
Avatar
ForgottenCat
what does the Stroke mean in function ExecuteLineStroked ? Is it something related to button press&release
The Stroke refers to whether the action is being pressed or released, see ExecuteLine which just presses and releases immediately. This is so commands that don't start with + are repeated while the action is being pressed.
Avatar
gg new bot client troll
Avatar
ForgottenCat 2025-01-31 15:28
thx
15:30
moderator botting gg
Avatar
ForgottenCat 2025-01-31 15:30
🤯
15:31
15:31
@Jupstar ✪ ur ethos
Avatar
ForgottenCat 2025-01-31 15:31
in fact i want to make a button similar to that bind wheel, but instead of selecting, sliding to different directions for commands
Avatar
Avatar
ForgottenCat
in fact i want to make a button similar to that bind wheel, but instead of selecting, sliding to different directions for commands
You mean a touch button?
Avatar
Fix ICE 132920 in duplicate-crate diagnostics. Fix errors for overlapping impls in incremental rebuilds. Fix slow compilation related to the next-generation trait solver. Fix debuginfo when LLVM's location discriminator value limit is exceeded.
Avatar
ForgottenCat 2025-01-31 15:32
yes
15:33
The switch weapon button in early version, which can slide to switch next & prev weapon is kinda cool
Avatar
Should be relatively easy with the current button code, in OnUpdate the m_AccumulatedDelta variable will be the change in touch position (should be set to zero after using) (edited)
15:35
You just need to check if a sufficiently large movement in the same direction was made, then check which direction would correspond to that
Avatar
ForgottenCat 2025-01-31 15:35
ok
Avatar
Avatar
Ryozuki
@Jupstar ✪ ur ethos
Jupstar ✪ 2025-01-31 15:40
humans are also animals 🤓 (edited)
Avatar
Avatar
zhn
gg new bot client troll
I’m ready to see the first mobile cheat client
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Some saas company my project depends on has invalidated our auth 3 times now by doing this
15:41
they fixed it this morning though and they did make a dev instance
Avatar
Avatar
Ewan
I’m ready to see the first mobile cheat client
vdm client can be compiled for android so
Avatar
what client
Avatar
voldemort client
16:05
i thought it was a real thing
16:05
that’s funny
Avatar
GitHub BOT 2025-01-31 17:17

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
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
17:20

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
  • [ ] 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
Avatar
ForgottenCat
what does the Stroke mean in function ExecuteLineStroked ? Is it something related to button press&release
This definition of stroke, there is a down stroke and an up stroke to a key moving, the press and the release
❤️ 1
Avatar
Nagi01 {LAN} 2025-01-31 18:07
@ChillerDragon yo ! are you there ?
Avatar
μscope 🔬. Contribute to jcalabro/uscope development by creating an account on GitHub.
Avatar
zig moment Celebrate
Avatar
MilkeeyCat 2025-01-31 18:32
something written not in rust pepeH
Avatar
Avatar
Ryozuki
since the llvm C api in c is a bit meh to build around and use in rust my idea is to make a custom IR that looks like llvm IR completly in rust and make a builder api in rust that feels good to use
MilkeeyCat 2025-01-31 18:40
I'm trying to make llvm ir like ir xd
Avatar
if you can't read this, i have two words for you: skill issue
Avatar
! 🅰🆃🆂🆄🅺🅾 ! 2025-01-31 20:19
good bug !
Avatar
Avatar
! 🅰🆃🆂🆄🅺🅾 !
good bug !
#bugs
Avatar
! 🅰🆃🆂🆄🅺🅾 ! 2025-01-31 20:26
its useless need to be in PRACTICE and on TESTSERVER on "Death" map
20:29
correction : barrier gets broken if there is a kt layer overriding it
Avatar
ws-client BOT 2025-01-31 21:39
<ChillerDragon> yes nagi im on ctf right now
Avatar
Avatar
! 🅰🆃🆂🆄🅺🅾 !
good bug !
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 add...
Avatar
dude i just realized #8959 is merged this is one step closer to tune lock 🤑
Avatar
On the client side the per-character tuning as-is works acceptable as long as AntiPing is off (infclass uses per-player tuning for many years). Turning on the AntiPing ruins the UX in some cases. (...
Avatar
does this mean we can close #7288?
Avatar
In various games different characters has different velocity parameters depending on various conditions, such as the player class (e.g. Team Fortress) or active weapon (e.g. Counter-Strike). Some m...
Avatar
GitHub BOT 2025-01-31 22:18
b572002 Revert "Fix spike kills instead of freezes in force-solo servers in team 0" - def-
Avatar
GitHub BOT 2025-01-31 22:29
61d26e9 Implement the auto mapper & creator. - Jupeyy 709f594 Merge pull request #90 from Jupeyy/pr_editor_improvements4 - Jupeyy
Avatar
ChillerDragon BOT 2025-01-31 22:53
#7777
Avatar
chillerbot BOT 2025-01-31 22:53
How much do we want to support moddability in the DDNet codebase? Note that this doesn't talk about the network protocol but about the actual code.
Avatar
ChillerDragon BOT 2025-01-31 22:53
!bing
22:53
!ping
Avatar
chillerbot BOT 2025-01-31 22:53
pong
22:53
! is deprecated moved to $
Avatar
ChillerDragon BOT 2025-01-31 22:53
he bakk
22:53
learath please dont delete its hard drive
22:54
$add_ping_pong bing bong
22:54
$bing
Avatar
chillerbot BOT 2025-01-31 22:54
bong
Avatar
ChillerDragon BOT 2025-01-31 22:54
$add_ping_pong pig pog
Avatar
Jupstar ✪ 2025-01-31 22:54
is ok chiller
Avatar
ChillerDragon BOT 2025-01-31 22:54
sry
22:54
im done
Avatar
Jupstar ✪ 2025-01-31 22:54
u drunk boi
Avatar
ChillerDragon BOT 2025-01-31 22:55
bing bong and pig pog are classics
22:55
i will connect one in #off-topic and have fun there
Avatar
GitHub BOT 2025-01-31 23:17
05c6183 Fix duplicate 0.7 LAN server entries in browser - KebsCS ec5cb79 Merge pull request #9592 from KebsCS/pr-07-lan-duplicate - heinrich5991
Exported 412 message(s)
Timezone: UTC+0