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-04-17 00:00:00Z and 2023-04-18 00:00:00Z
Avatar
Avatar
deen
@Robyt3 has this been fixed? https://github.com/ddnet/ddnet/issues/4537
Was this an issue at all? I read this like 5 times a day xd. We should defs check out if the latest 2.x version works
Avatar
I remember this being an actual issue we verified with a profiler
Avatar
To me it doesn't even sound input related
09:55
More like some weird vsync stuff again xd
09:56
Anyway. Maybe windows fixed it. Or SDL in the meantime
09:56
We should at least try it out
Avatar
@Jupstar ✪ https://github.com/libsdl-org/SDL/pull/4683 doesn't apply anymore, do we still need it?
Description Automatically deactivates relative mouse when keyboard focus is lost. No idea if this is a good idea at the keyboard event. But I guess it kinda is related to it in a relative mode Or s...
Avatar
Yep with new SDL we have to remove it
Avatar
We also should do a minor patch in our input handling. Somewhere in input.cpp i made some comments about it
Avatar
ChillerDragon BOT 2023-04-17 10:40:51Z
!help
Avatar
chillerbot BOT 2023-04-17 10:40:51Z
https://github.com/ChillerDragon/ddnet-bot-irc eth0=192.168.178.22 commands: !mods, !ping
irc bot for ddnet#developer. Contribute to ChillerDragon/ddnet-bot-irc development by creating an account on GitHub.
Avatar
ChillerDragon BOT 2023-04-17 10:41:04Z
sorry too lazy to lookup nmap command (will find a fix for the future)
Avatar
!ping
Avatar
chillerbot BOT 2023-04-17 10:41:45Z
pong
Avatar
@Jupstar ✪ apparently webgpu in chrome doesn't have support for linux yet
Avatar
really
11:28
web browsers still do stuff like that?
Avatar
Avatar
Patiga
@Jupstar ✪ apparently webgpu in chrome doesn't have support for linux yet
Sad.
Avatar
Avatar
heinrich5991
web browsers still do stuff like that?
Sadly even for css stuff. Linux Firefox still hasn't backdrop filter default on. On windows since a few months it is iirc
Avatar
backdrop filter?
11:33
https://caniuse.com/?search=webgpu says that it can be enabled in older chrome versions for linux, windows, macos
11:33
so perhaps you can enable it on linux on the newest version as well?
Avatar
Avatar
heinrich5991
backdrop filter?
Css attribute
Avatar
Avatar
heinrich5991
so perhaps you can enable it on linux on the newest version as well?
Manually maybe
Avatar
ye, manually
Avatar
Avatar
Patiga
@Jupstar ✪ apparently webgpu in chrome doesn't have support for linux yet
In Firefox Dev i couldn't run the wgpu thing. Worth a try in nightly chromium
11:35
Or it's indeed a wgpu stable issue
11:36
Maybe current gh repo works better ^^
Avatar
Sad to know that MacOS will take another 100 years before implementing it
12:02
Or more iOS
12:03
Which doesn't allow a custom browser to run
Avatar
Avatar
Jupstar ✪
Was this an issue at all? I read this like 5 times a day xd. We should defs check out if the latest 2.x version works
We can only use SDL 2.0.18 or 2.0.20 for IME though, because later version introduce another bug
Avatar
Lmao
12:42
The only thing that is more broken than ddnet editor is sdl
Avatar
Avatar
Robyt3
We can only use SDL 2.0.18 or 2.0.20 for IME though, because later version introduce another bug
eh, maybe ping me when that new issue is fixed? 😄
Avatar
Do they fix it before 3.0 release?
Avatar
Elias γ {\displaystyle \gamma } code or Elias gamma code is a universal code encoding positive integers developed by Peter Elias.: 197, 199  It is used most commonly when coding integers whose upper-bound cannot be determined beforehand.
Avatar
ChillerDragon BOT 2023-04-17 13:57:34Z
ryo lets refactor tw pack int with elias coding just to break protocol for kicks
Avatar
that coding seems super inefficient
Avatar
its made to be space efficient
14:09
for low values
14:10
found it hereww
14:10
xd
Avatar
I think I prefer something like twint, seems more space-efficient to me
14:14
only the numbers 1-15 are more space efficient in elias than in twint, and everything else is much worse
Avatar
(do note that i never said i wanted this for tw xD i just found it interesting)
Avatar
I see
14:15
it seems to be invented for clarity, not for practical use
Avatar
there is also the alternative of huffman
14:15
that had some license limit or smth
Avatar
arithmetic coding?
Avatar
the patent expired by now I think
Avatar
zstd uses something in between arithmetic coding and huffman IIRC
Avatar
@Patiga not working either, either the twgpu implementation isn't correct for webgpu, or i am stupid (changed the ::GL to ::WebGPU), or its wgpu
Avatar
tips of the day: when you look for files deleted more than 3 months ago, you can still grep for string on /dev/sda
Avatar
and then?
17:19
text files u mean?
Avatar
yeah, only works for text file
Avatar
and only if u didnt overwrite the bytes xD
Avatar
you grep with grep -b for byte offset and then extract the file you want with dd 😄
Avatar
but yeah
17:21
still useful
Avatar
i don't get it, it's way less efficient?
17:28
In data compression, a universal code for integers is a prefix code that maps the positive integers onto binary codewords, with the additional property that whatever the true probability distribution on integers, as long as the distribution is monotonic (i.e., p(i) ≥ p(i + 1) for all positive i), the expected lengths of the codewords are within...
18:41
@Learath2 @heinrich5991 lol
18:41
The species was named after Factorio, a video game created by the son of one of the researchers who described the species.[1][2]
Avatar
the world is so small xd
19:05
Do spanish and italian people really use qwerty keyboard?
Avatar
kataloneons like ryozuki do
Avatar
Avatar
Chairn
Do spanish and italian people really use qwerty keyboard?
Uh, italian is qwerty with some extras
Avatar
kinda weird for latin language
19:07
letter placement is probably suboptimal
Avatar
Qwerty is suboptimal even for english iirc. I think colemak is supposed to be the efficient one for english
Avatar
Avatar
Chairn
Do spanish and italian people really use qwerty keyboard?
yeah
19:33
qwerty with ñ and ç
19:33
·
19:34
l·l
19:34
azerty are the weirdos
19:34
im to used to qwerty
19:34
cant switch
Avatar
Avatar
Jupstar ✪
@Patiga not working either, either the twgpu implementation isn't correct for webgpu, or i am stupid (changed the ::GL to ::WebGPU), or its wgpu
have you used the compiler options that the wiki tells you to use?
Avatar
have u a webgpu version hosted?
20:04
i mean u probs already tried, didnt ya
20:04
yes, only once and it didnt work
20:05
otherwise maybe another version of wgpu might work, in particular there is a gecko branch which was supposed to work with the unstable firefox implementation (can be enabled as a unstable feature in firefox), didnt work the last time I tried
Avatar
Avatar
Patiga
have you used the compiler options that the wiki tells you to use?
did you do this?
Avatar
nah
20:06
if it compiles it must work xdd
Avatar
Avatar
Jupstar ✪
@Patiga not working either, either the twgpu implementation isn't correct for webgpu, or i am stupid (changed the ::GL to ::WebGPU), or its wgpu
I don't see hoe twgpu could have anything to do with it. wgpu might be not compatible currently somehow, maybe the js calls changed or smth
Avatar
darn phone keyboard :p
Avatar
Avatar
Patiga
have you used the compiler options that the wiki tells you to use?
did now, didnt work
20:17
wgpu 0.15.1 sadly doesnt compile
Avatar
ah I think you can find recent (maybe 5 days ago) reddit post on game_dev talking about exactly that (I'm on phone and can't search). they said that wgpu 0.14.0 should work iirc. there was a bit of version breakage, but I think you can just go back a few commits for a working 0.14
Avatar
Avatar
Jupstar ✪
wgpu 0.15.1 sadly doesnt compile
huh? you mean with the options?
Avatar
Avatar
Patiga
huh? you mean with the options?
i just tried newest version in cargo.toml
20:19
but probs the deps are out of sync then
Avatar
wdym? with the version going a few commits back should still be guaranteed to compile (at least for native)
20:21
ah, the most recent version o.o
20:21
is it a compile error in the crate thiserror talkong abt smth unstable?
20:21
or some version mismatch?
Avatar
error[E0412]: cannot find type `GpuUncapturedErrorEvent` in crate `web_sys` --> /home/jupeyy/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.13.1/src/backend/web.rs:1758:62 | 1758 | let f = Closure::wrap(Box::new(move |event: web_sys::GpuUncapturedErrorEvent| { | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` I am not sure tbh
20:22
actually i thought they can have their own web_sys deps
20:22
and it should™️ just compile
20:22
ah lol it also uses 0.13.1 now
20:22
i c
20:23
i have to change in all cargo.toml
20:23
since they all have wgpu dep
Avatar
yea I updated to 0.14 and the right after 0.15 came out, so I went there
Avatar
--> twgpu/src/map/envelopes.rs:128:46 | 128 | let texture = device.create_texture(&TextureDescriptor { | ^^^^^^^^^^^^^^^^^ missing view_formats they still added some stuff, but not too much
20:24
hopüefully
Avatar
I really dislike assisting debuggin from mobile, with limited internet
20:25
wait you do 0.13->0.14? I thought that switch should also be in the git history
20:26
or what version did you just change to break it
20:28
there should be a commit 0.13->0.14 and 0.14->0.15 right after
Avatar
Avatar
Patiga
there should be a commit 0.13->0.14 and 0.14->0.15 right after
from u?
Avatar
yes, for twgpu
Avatar
ah i am in matrix-optimization branch lel
20:29
how did i end up there
Avatar
yea that one is long forgotten ^^
20:30
if those changes arent on the main branch, then they gotta be in dev
Avatar
sadly i still get no suitable adapter found
Avatar
also on 0.14.x? then unlucky. people on that reddit post had success iirc, so if you want to continue your tour that might be a suitable next stop
Avatar
Avatar
Patiga
if those changes arent on the main branch, then they gotta be in dev
mhh seems like neither master nor dev are up to date with wgpu
Avatar
neither is at 0.15.x?
Avatar
both on 0.13.1
20:39
tee-rendering is
Avatar
ow, the go on the tee-rendering branch
20:39
ye
20:40
and go back to those version bum commits I'd suggest ^^
20:40
*bump
Avatar
Caused by: failed to read /home/jupeyy/Dokumente/dev/libtw2/gamenet/ddnet/Cargo.toml
20:43
lol it reads from other dir rn
Avatar
yeye go back to those commits
Avatar
which commits?
Avatar
Avatar
Patiga
and go back to those version bum commits I'd suggest ^^
bump?
Avatar
bump wgpu to ...
Avatar
dokumente
Avatar
yeah bro i installed KDE in german
20:49
bcs i am gansta
20:49
af
20:50
@Patiga how can i see which backend is used? or should i simply force WEBGPU again
20:51
ah terhe is a version string in console
20:51
still didnt work xD
20:52
this lib is harder to use than c++
Avatar
2742778 Add 10 € donation by Schnuffelpuff - def-
Avatar
https://wgpu.rs/examples-gpu/?example=boids those examples also dont work for me
Avatar
i THINK i did the final update for #6437. Can anyone review to see if it's any good or not?
Avatar
For those who still have the killfeed on, I wanted to modernize it, by having team kills become one line instead of a bunch! Checklist Tested the change ingame Provided screenshots if it is a v...
Avatar
Avatar
deen
eh, maybe ping me when that new issue is fixed? 😄
I'll probably just make the PR when I'm finished. I don't want to wait forever for SDL to get fixed. Without the SDL update, we just don't get the candidate window yet, but all the text input improvements and IME text composition are already good enough for now.
heartw 1
23:18
^ @TsFreddie soon
Exported 162 message(s)