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-26 00:00:00Z and 2023-04-27 00:00:00Z
Avatar
ChillerDragon BOT 2023-04-26 06:37:42Z
fixed my asan not giving line numbers by installing llvm weird that it broke but hey its fixed
Avatar
Avatar
chillerdragon
There used to be fosscord which apparently rebranded and took down their website that made it look like a Fortune 500 company https://github.com/spacebarchat/spacebarchat
not gonna lie, this looks promising
07:28
Could be a smoother competitor to mattermost, because a lot of bots already exists for discord
Avatar
Is that tool https://ddnet.org/mappreview open source? Or maybe someone tried to render maps from https://github.com/TeeworldsDB/maps ? (edited)
Avatar
ChillerDragon BOT 2023-04-26 07:41:10Z
the cursor looks like its eating the characters hm
Avatar
Avatar
Faulty
Is that tool https://ddnet.org/mappreview open source? Or maybe someone tried to render maps from https://github.com/TeeworldsDB/maps ? (edited)
Yes it is open source. It's bit buggy tho
07:44
I recommend using patigas twgpu instead
07:45
teeworlds webgl. Contribute to ddnet/tw-webgl development by creating an account on GitHub.
Avatar
Avatar
Jupstar ✪
I recommend using patigas twgpu instead
Which is also open source
Avatar
Cool, thank you
Avatar
ChillerDragon BOT 2023-04-26 07:59:30Z
07:59
the cursor is overlapping with the border of the letters
07:59
could use some more space imo @Robyt3
Avatar
No
08:02
It only overlaps with the outline. Just as the outline overlaps with other outlines
08:02
hope the logo is not a quad xd
08:03
@Faulty there are also tools to extract mapres from maps
Avatar
wow, it's already rendered, great
Avatar
Avatar
ChillerDragon
@Faulty there are also tools to extract mapres from maps
yeah, I know
Avatar
btw is the https://github.com/TeeworldsDB/mapres contains all mapres from https://github.com/TeeworldsDB/maps and simply categorized? or it's was filtered somehow?
Avatar
ChillerDragon BOT 2023-04-26 08:12:24Z
no its not all
08:12
its some mapres i found idk where in a bunch of places
08:14
i also hand filtered some that very super unteeish or trash. Like a random image from another game or something like that
Avatar
hm, got it ty
Avatar
Avatar
Jupstar ✪
It only overlaps with the outline. Just as the outline overlaps with other outlines
Would be cool to be able to change the cursor widthbrownbear
Avatar
Avatar
chillerdragon
There used to be fosscord which apparently rebranded and took down their website that made it look like a Fortune 500 company https://github.com/spacebarchat/spacebarchat
There was guilded also
Avatar
Avatar
ReiTW
There was guilded also
But guilded was like discord, no? all closed source, no self-host solution (edited)
Avatar
Avatar
Avolicious
But guilded was like discord, no? all closed source, no self-host solution (edited)
exactly
Avatar
Any idea why a process wouldn't receive SIGHUP when it's controlling terminal has been killed?
Avatar
was it daemonized?
13:17
also it's → its
Avatar
yes it was
Avatar
actually, I don't have a clue 😉
Avatar
wikipedia only talks about : This can be circumvented in two ways. Firstly, the Single UNIX Specification describes a shell utility called nohup, which can be used as a wrapper to start a program and make it ignore SIGHUP by default. Secondly, child process groups can be "disowned" by invoking disown with the job id, which removes the process group from the shell's job table (so they will not be sent SIGHUP), or (optionally) keeps them in the job table but prevents them from receiving SIGHUP on shell termination.
Avatar
i need to setup my irc bouncer again
Avatar
@Ryozuki how long did it take for u to feel comfortable writing your compiler stuff?
Avatar
describe comfortable
13:38
i still dont know much
13:39
actually, its like coding in lower level than C
13:39
llvm ir that is
Avatar
Mh. So over six months
Avatar
with ur knowledge u can do the same
Avatar
Avatar
Ryozuki
actually, its like coding in lower level than C
But aren't u transforming it to llvm ir with rust code?
Avatar
the only hard stuff imho is control flow analysys
13:39
and phi nodes
13:39
but i havent touched other stuff
Avatar
Ok
Avatar
actually probably the hardest stuff in making a language would be the frontend
13:40
in case of rust
13:40
type analysis, lifetime analysis
13:40
well i say this cuz im not implementing what llvm does
13:40
cuz llvm gives u for free also hard stuff like optimizing
13:41
i would describe what im doing like ppl who use pytorch or tensorflow without knowing really deep the underlying mechanisms
13:41
xd
13:41
making a simile to ml
13:41
but its rly fun
Avatar
mhhh, bspwm forks, does a setsid() in the new fork creating a new session, then execl()s the bspwmrc, which has a shebang that makes it run through bash, it does things like gentoo-pipewire-launcher &; sxhkd & then dies
13:42
how do these processes in this session not get HUP'd even?
Avatar
@Jupstar ✪ i was rly lost at first tho, not with llvm ir but with mlir
13:43
what u doing learath?
13:43
pipewire too?
13:43
also whats the state of wayland
13:43
can i run it at 144hz with vsync off
Avatar
there has been a long standing curiosity in my mind, when I kill X, sxhkd dies just fine, but pipewire won't die
Avatar
it wont die or it restarts?
Avatar
it won't die
13:44
upon further investigation, things launched inside the bspwmrc don't seem to be getting a signal to die at all, so I don't understand how sxhkd knows to die
13:44
if I launch pipewire from .xinitrc it will get a proper HUP as expected
13:45
ah
13:45
i read it somewhere it should be before any exec?
13:45
but i forgor
13:45
i have it before i exec i3
13:45
in my xinit
Avatar
I don't mind moving it around, I'm just curious what the rules are at this point
Avatar
any ideas on stuff to self host?
13:46
i have that urge to self host stuff
Avatar
Jellyfin
13:46
Matrix
Avatar
All of the processes in a session share a controlling terminal. The controlling terminal is established when the session leader first opens a terminal
Avatar
Openhub for ur solar panels monitoring
Avatar
i dont have panels sadly
13:47
if i ever own a house ill do my own IoT stuff with rust
Avatar
After the setsid(), the execl results in the launching of bash, which should promptly become the controlling terminal :/
Avatar
Openhub and buy wifi electricity switches
13:47
So u can turn on ur PC from anywhere
Avatar
i have a aquarium with a betta fish
13:47
i always thought of automating stuff there
Avatar
Gitlab
Avatar
giving it food, open and closing lights
Avatar
Minecraft Server for friends
Avatar
no friends
13:48
i would actually make a service to host cheap teeworlds servers as a startup if ddos wasnt a problem
13:48
kek
Avatar
Avatar
Jupstar ✪
Gitlab
bloat
Avatar
Tru xd
13:51
That's all I host
13:51
So no more ideas from me
13:51
Ah wait
13:51
Nextcloud
13:51
Xd
13:52
HDDs cheap af.
13:54
my server has no hdd
Avatar
I also monitor electricity usage
13:54
So that also possible without solar panels
Avatar
root@debian-ryzen ~ # df -h Filesystem Size Used Avail Use% Mounted on udev 32G 0 32G 0% /dev tmpfs 6.3G 884K 6.3G 1% /run /dev/md2 436G 44G 370G 11% / tmpfs 32G 1.1M 32G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/md1 989M 105M 834M 12% /boot overlay 436G 44G 370G 11% /var/lib/docker/overlay2/97ff5c1297acef67069258686a0298e679a37bccd438ff49f8a5cbf534ec9ba5/merged overlay 436G 44G 370G 11% /var/lib/docker/overlay2/f82d124c6fa9e184d60fba4d5638c4c477e8920553b02a2e37714311ac5dfeb0/merged tmpfs 6.3G 0 6.3G 0% /run/user/0
13:54
i could request one but no need for now
13:54
its a nvme iirc
13:54
or ssd
Avatar
And use grafana for some epic weather stats next to solar panels and electricity usage
Avatar
i use grafana already
13:55
Avatar
Ah, another mystery solved, if there is no tty attached then a terminal won't become the controlling terminal
Avatar
i also use prometheus
13:56
and deno
13:56
instead of nodejs
Avatar
So the terminal dying kills nothing. sxhkd was dying because it lost connection with the x server, not because bspwm died
13:57
Now the mystery is why pipewire won't similarly die when the dbus session dies
Avatar
cuz pipewire is god
13:58
and u dont question god
13:58
follow templeos teachings
Avatar
btw, it's actually quite interesting how complicated these process lifetime things are, much more intricate then I expected
13:59
I didn't even know sessions were a thing
Avatar
me neither xd
Avatar
I wonder if there is a small application that can die and kill it's children when another pid dies
Avatar
this reminds me of erlang and otp
Avatar
Avatar
Learath2
I wonder if there is a small application that can die and kill it's children when another pid dies
Just attach the children to the other pid and then let them auto-die when parent dies?
Avatar
Avatar
deen
Just attach the children to the other pid and then let them auto-die when parent dies?
Can a process reparent itself?
Avatar
Apparently not, too bad 😄
Avatar
Hm, this is actually quite annoying
Avatar
Avatar
deen
Just attach the children to the other pid and then let them auto-die when parent dies?
sorry but clicking into this channel and reading this first sounds so bad out of context 😭 💀
Avatar
I guess I'll write a small program that waits until x dies
Avatar
that's only possible since pidfds are a thing, I think
Avatar
what is?
Avatar
waiting for a non-child process to die
Avatar
@Learath2 gpt-4 wants to help you:
14:15
Learath2 has two main problems to understand: Why a process wouldn't receive SIGHUP when its controlling terminal has been killed. Why pipewire won't die when the dbus session dies. For the first problem, it is important to understand that not all processes receive the SIGHUP signal when the controlling terminal is closed. Daemon processes usually detach themselves from the controlling terminal using techniques such as setsid(
Avatar
this channel turned into child killing
Avatar
which is the case with the process Learath2 mentioned. When the controlling terminal dies, the process doesn't receive the SIGHUP signal because it is no longer associated with the terminal. Regarding the second problem, pipewire might not be dying when the dbus session dies because it doesn't have a direct dependency on the dbus session for its operation. While sxhkd dies because it loses connection with the X server, pipewire might
Avatar
sometimes dev slang is quite something xd
Avatar
running even if the dbus session is gone. To debug this issue, it would be helpful to check the pipewire documentation or look into its source code to understand how it handles dbus session termination. Additionally, Learath2 wondered if there's a small application that can die and kill its children when another pid dies. One possible solution is to use a process supervisor like systemd or Supervisor, which can manage the lifetime of p
14:16
s. By configuring the process supervisor properly, it can be set up to terminate child processes when a specified process (such as the dbus session) dies.
Avatar
is implementing ur own dbus something extreme?
Avatar
suddenly irc
Avatar
All statements without guarantee xd
Avatar
i never looked at the protocol but seems like something to rewrite in rust
14:17
one less systemd dep
14:17
udev justatest
Avatar
is dbus systemd?
Avatar
Avatar
heinrich5991
is dbus systemd?
i think not
14:20
udev is the message daemon part of dbus that is part of systemd
14:20
but gentoo uses it by default even if u dont use systemd
Avatar
The good old days. I bet back then it was actually hard xd
Avatar
are you using new reddit?
Avatar
Emscripten on the other hand is so ez to use^^
Avatar
oh lol reddit got updated?
Avatar
Avatar
heinrich5991
are you using new reddit?
don't think so
14:21
I have the sane comment layout
Avatar
What is new reddit?
Avatar
Avatar
Jupstar ✪
What is new reddit?
the current reddit
Avatar
the one with unreadable comments
14:21
where it shows you like 5 comments and you have to click "load more"
Avatar
What is old reddit xDD
Avatar
i use new reddit, but because i like it more for scrolling mindlessly for memes
Avatar
Ah ok
Avatar
on old reddit u ned to open images
Avatar
this is old reddit
Avatar
Avatar
Ryozuki
on old reddit u ned to open images
RES is the addon for firefox you need
14:22
allows you to view images inline
Avatar
u mean the expand thing?
14:22
i want it to look like cards already big images
14:22
so i just scroll
Avatar
I see. Doesn't destroy the flow. But shows the useless comments xdd
Avatar
3f675e3 bencie stepped down as moderator - def-
Avatar
@bencie frozen
Avatar
Avatar
Ryozuki
i want it to look like cards already big images
I see
Avatar
@bencie see you tomorrow xd
14:23
When u are back
Avatar
@bencie u can now become a full time wiki editor
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Cool, we use grafana at KoG too 😄
Avatar
can you show an example of what it's used for?
Avatar
Avatar
Ryozuki
@bencie u can now become a full time wiki editor
do i get fulltime salary aswell? :D
Avatar
To get some very teeworlds specific data
14:28
And server monitoring
Avatar
Avatar
bencie
do i get fulltime salary aswell? :D
u get headpats
Avatar
sounds good
Avatar
Avatar
Avolicious
To get some very teeworlds specific data
this is my app specific panels
Avatar
Avatar
Ryozuki
this is my app specific panels
Yeah, Grafana is nice to build dashboards
Avatar
using prometheus
14:29
A metrics ecosystem for Rust. Contribute to metrics-rs/metrics development by creating an account on GitHub.
Avatar
Yeah
14:30
We are also collecting data via prometheus
14:30
Alerts are also built in
14:30
@heinrich5991 this is the output of the monitoring data (edited)
Avatar
In my company I've established https://opentelemetry.io/
High-quality, ubiquitous, and portable telemetry to enable effective observability
Avatar
hello ceo
14:35
im a humble rust dev
14:36
in rust
14:36
tracing > opentelemtry im sure
Avatar
tracing is such a good crate
14:36
made by tokio team
14:36
Application level tracing for Rust. Contribute to tokio-rs/tracing development by creating an account on GitHub.
14:37
Yeah, open telemtry is for "metrics, logs, and traces"
Avatar
Instruments a function to create and enter a tracing span every time the function is called.
Avatar
https://paste.pr0.tips/DMM?c behold my ingenious creation
Avatar
Warning: Potential Security Risk Ahead
Avatar
ah forgot to renew the certificate, should be fine now
Avatar
what paste u use?
Avatar
Bask in it's glory, a program that runs a command, dies when the x server dies
Avatar
so pr0.tips is ur domain? are u sharing C tips?
14:42
wtf
14:42
the main domain says this
14:42
14:42
@Learath2 did the cia find u
Avatar
Avatar
Ryozuki
what paste u use?
it's fstd's domain, either he is in an american jail or has a sense of humor
Avatar
Didn't work Learath for nsa
14:43
I remember something
Avatar
contributed to ghidra
Avatar
I may have contributed a couple lines of Java hypervomit to ghidra
Avatar
Xd
Avatar
There remains one more issue with this set up that I'll need to debug, if I launch firefox through clicking a discord link it gets frozen :/
14:45
clicking a link in discord rather*
Avatar
Btw do we maintain the IRC bridge source ?
Avatar
I don't even know what bridge we use
Avatar
@Jupstar ✪ do u know if the wayland api is ez?
14:46
how would u think it takes to make my own window manager in rust
Avatar
It seems like it cut some stuff. But irc-> discord should not cut stuff. Other way around makes more sense
Avatar
Avatar
Ryozuki
how would u think it takes to make my own window manager in rust
I guess the main API Is ez. But to emulate all x11 stuff or workaround for limitations they have lot of extra protocol stuff
14:47
But i never used it
Avatar
Avatar
jupstar
Learath2 has two main problems to understand: Why a process wouldn't receive SIGHUP when its controlling terminal has been killed. Why pipewire won't die when the dbus session dies. For the first problem, it is important to understand that not all processes receive the SIGHUP signal when the controlling terminal is closed. Daemon processes usually detach themselves from the controlling terminal using techniques such as setsid(
btw I'd already considered what gpt said, I assumed the new bash instance would immediately become the new controlling terminal in the session, however there is one exception to that rule, and that is O_NOCTTY
Avatar
Avatar
Ryozuki
how would u think it takes to make my own window manager in rust
Wayland itself is only few thousand code lines xd
Avatar
The competitors probably much more
Avatar
im gonna look into this
14:49
i wonder the best way to test his
14:49
dont rly wanna mess my system
14:49
and i dont even have wayland xd
14:50
should i migrate to wayland
Avatar
Use smth like sddm and make your own project separate from Ur system in some unused directory
Avatar
Avatar
Ryozuki
should i migrate to wayland
I will migrate after kde 6 is out
14:51
It's better than x11 in many regards
Avatar
Avatar
Jupstar ✪
Use smth like sddm and make your own project separate from Ur system in some unused directory
u rly are suggesting me to use a systemd program
14:51
heresy
Avatar
Yeah
14:52
Shoot into Learaths legs
Avatar
Avatar
Jupstar ✪
It seems like it cut some stuff. But irc-> discord should not cut stuff. Other way around makes more sense
probably cut at the IRC server, not the bridge
15:00
the bridge we use is called matterbridge
15:00
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API...
Avatar
i like how gentoo compiling everything pushes u into removing unnecessary stuff
15:01
and being minimal sometimes
Avatar
Avatar
Ryozuki
i like how gentoo compiling everything pushes u into removing unnecessary stuff
good habits Celebrate
Avatar
sudo emerge --deselect gcc
15:01
lets use rust only
Avatar
Avatar
Ryozuki
sudo emerge --deselect gcc
fwiw they do run a test bench with only clang as the system compiler
15:02
Though I think they still use gcc for the kernel, because kernel weird
Avatar
gcc 13 is out
15:03
i think they wanted to add gccrs
15:03
but wasnt in time
15:03
The first official GCC 13 release is just around the corner, and you may be a bit surprised to find out that gccrs will not be included in it. The aim of this blogpost is to go into a little bit more detail as to why this was done and how you can still try out our compiler if you’d like to.
Avatar
Avatar
heinrich5991
probably cut at the IRC server, not the bridge
Ok BCS on my client i saw it correctly
Avatar
the client you sent it from?
15:10
the server doesn't tell you what you sent
Avatar
@Jupstar ✪ btw i bought the 110€ noctua cooler
15:12
Avatar
nice dev log
Avatar
what log
15:15
this is #developer
Avatar
My brilliant invention doesn't work, pipewire seems to disable parent signals itself
Avatar
Avatar
heinrich5991
the client you sent it from?
Yeah. It was the web client. Well doesn't matter IRC is weird if the client didn't even know it's character limit xd
Avatar
hm?
15:42
i guess u didnt see art attack when young
15:42
that guy resembles a lot
15:42
meme
Avatar
xD
Avatar
06522ce I think we forgot to remove Soapy Sandwich from testers long ago - def-
troll 4
Avatar
My game just randomly crashed, if someone wants to take a look:
Avatar
Avatar
murpi
My game just randomly crashed, if someone wants to take a look:
what version, nightly or normal steam or website
Avatar
steam, nightly windows 10 64bit
Avatar
based on commit fcee2fa6a70e0f7dd70d6ecc16e825d5d551077b ``` 0x0000000140073a35: CKillMessages::OnMessage(int, void) at src/game/client/components/killmessages.cpp:212 0x00000001400deb52: CGameClient::OnConnected() at src/game/client/gameclient.cpp:476 0x0000000140023930: CClient::ProcessServerPacket(CNetChunk, int, bool) at src/engine/client/client.cpp:2231 0x000000014002552e: CClient::PumpNetwork() at src/engine/client/client.cpp:2558 0x00000001400268e0: std::__shared_ptr::operato...
16:29
hold on lemme look at this
Avatar
Avatar
Learath2
My brilliant invention doesn't work, pipewire seems to disable parent signals itself
16:34
It was surprisingly annoying to get this right
Avatar
Kill.m_KillerRenderInfo = m_pClient->m_aClients[Kill.m_KillerID].m_RenderInfo; seems to appear with m_aClients[...] dereferencing
16:50
dk tho
16:51
literally the killmessages.cpp:210-212
Avatar
im at work until like 5 hours later so like i cant fix it rn
Avatar
ah no wait
16:53
im wrong
16:53
there's no references
16:53
only m_pClient
16:54
strange
Avatar
oh voxel missed a null pointer!
17:02
rust would have protected you, but u didnt embrace it
17:02
trolloween
Avatar
Avatar
Ryozuki
rust would have protected you, but u didnt embrace it
YEAHHHH REDDIT NATION!
Avatar
how is this related to reddit tho
Avatar
when is the donttalkaboutrustday again?
Avatar
Avatar
k2d222
when is the donttalkaboutrustday again?
yesterday
Avatar
it was a nice day
Avatar
Avatar
Ryozuki
how is this related to reddit tho
rust devs are absolute reddit mods
Avatar
lol no
Avatar
same exact personalities
17:08
anyways ill look into it if no one else does in 5 hours
Avatar
Avatar
GitHub
Click to see attachment 🖼️
im getting alot of crashes, could they be related to this?
17:15
nonstop crashing
Avatar
do u compile ur own client
17:16
steam version, nightly
Avatar
@Jupstar ✪ why dont we also release a nightly version with debuginfo?
17:16
i know we have the crashlogs
17:16
if i was at home and not with a stupid macos m1 i would look into it
Avatar
Avatar
bencie
im getting alot of crashes, could they be related to this?
The crash logs are all identical to the first one you posted
👍 1
Avatar
robyt is here, we are saved
Avatar
Compiling nightly as release with debug info would be good idea IMO
Avatar
also sidenote for voxel that theres other bugs with killfeed now, such as teams now showing up on death, but ill just report it when i can reproduce it
Avatar
it makes lot of sense xD
Avatar
Then we don't need to decode the crash logs
Avatar
Avatar
Ryozuki
@Jupstar ✪ why dont we also release a nightly version with debuginfo?
i guess simply bcs its always 40mb to download but would make it a bit easier^^
Avatar
lets be honest
17:19
most ppl use nightly to test
17:19
well some play yeah
17:19
but 40mb on top of 60 is nothing for most ppl
Avatar
tbh, we could also completly release with debug info
17:19
who the fuck cares about 40mb xD
Avatar
we should imho
17:19
yeah who cares
17:19
the benefit we get is bigger
Avatar
@bencie already back nice. nobody can leave teeworlds
Avatar
he didnt leave tw i think just mod
Avatar
im not quitting tw, just cutting down on online time + stepped down as a mod
Avatar
but why step down
17:21
i bet 95% of all mods are more inactive xD
Avatar
indeed
17:21
@snail hi, how u doing
Avatar
Avatar
Jupstar ✪
i bet 95% of all mods are more inactive xD
yeah i know, i wanna focus on some stuff irl, and stepping down allows me to "stress" less about moderation and remove guilt of not doing anything as a mod 🙂 i feel bad if i dont do anything
Avatar
i see i see, lets continue smiling 🥲
Avatar
its ok if bencie wants mod he will get it back
17:24
justatest like me who used to be a mod justatest
Avatar
lmao³
17:25
Ryo as mod: "Do you like rust?" Random person that never coded: "No" So you have chosen death
BASEDHALT 1
NekoDrink 1
Avatar
Avatar
Learath2
I guess I'll write a small program that waits until x dies
you don't have to. use tail like this tail --pid=$pid -f /dev/null
Avatar
Avatar
Chairn
you don't have to. use tail like this tail --pid=$pid -f /dev/null
Where were you 3 hours ago?
Avatar
Avatar
Ryozuki
oh lol reddit got updated?
unfortunately 😦
Avatar
https://paste.pr0.tips/skc?c here is what I ended up with
Avatar
@Chairn do u teach ur students the art of linux, and the daily sermon on how bad windows is?
17:27
i would be the most biased teacher
17:27
and not hold bac
Avatar
xD
17:28
@Jupstar ✪ look self referential structs are ez in rust! https://doc.rust-lang.org/std/pin/#example-self-referential-struct
Types that pin data to its location in memory.
Avatar
Long ago, the programming world lived together in harmony. Then, everything changed when the Rust Nation attacked. Only the Compiler, master of all four programming languages, could stop them. But when the world needed it most, it vanished. A hundred years passed, and my team and I discovered the new Compiler, a developer named Aang. And although his Rust skills are great, he still has a lot to learn before he's ready to save anyone. But I believe Aang can bring balance to the programming world. Water. Earth. Fire. Air. C Nation, rooted in the art of simplicity and performance, laid the foundation for generations to come, mastering the element of Water. C++ Nation, built upon the legacy of C, introduced object-oriented programming and template metaprogramming, mastering the element of Earth. Java Nation, with its platform-independent bytecode and virtual machine, embraced the power of portability and managed environments, mastering the element of Air. And Rust Nation, rising with its memory safety and fearless concurrency, sought to revolutionize systems programming and claim its place among the greats, mastering the element of Fire. Together, these four programming languages shaped the world of software development, each with its strengths and weaknesses. Yet, it is the Compiler's destiny to bring balance and harmony by understanding and integrating the wisdom of all four languages.
17:30
GPT-4 xD
Avatar
Avatar
Learath2
Where were you 3 hours ago?
working, having classes all day this week
Avatar
Avatar
Ryozuki
@Chairn do u teach ur students the art of linux, and the daily sermon on how bad windows is?
today, i showed 2 groups regex when they had to rename some signals in VHDL
Avatar
Avatar
Learath2
https://paste.pr0.tips/skc?c here is what I ended up with
i prefer tail version 😄
Avatar
According to the crash log, there is a null pointer access at https://github.com/ddnet/ddnet/blob/fcee2fa6a70e0f7dd70d6ecc16e825d5d551077b/src/game/client/components/killmessages.cpp#L212, but that seems impossible to me
Avatar
good thing that i read all #developer though
17:33
can str_copy overflow?
Avatar
Should be safe unless the size is 0
Avatar
thats implementation defined 🤓
Avatar
is the size 0 ?
17:33
or even negative maybe?
Avatar
no, it's using the template str_copy, so it uses the array size 64
17:34
m_pClient can't be nullptr, because it would have crashed earlier
17:35
Kill.m_KillerID is also in the correct range
Avatar
@Ryozuki hi fellow developer
Avatar
I wonder how tail does it
Avatar
Avatar
Ryozuki
poggers2
how does it feel to be soon a managee of anxton
17:39
gigachad
Avatar
@snail did u learn rust yet
Avatar
Avatar
snail
how does it feel to be soon a managee of anxton
xd wat
Avatar
Avatar
Learath2
I wonder how tail does it
well, just look it's implementation 😄
Avatar
no i dont want anxton to be my team leader justatest
Avatar
anxton, french player?
Avatar
yes but im just memeing
Avatar
anxton will lead a company cuz he goes to a top uni
17:40
justatest
Avatar
Avatar
bencie
also sidenote for voxel that theres other bugs with killfeed now, such as teams now showing up on death, but ill just report it when i can reproduce it
Yeah, I dunno how to make this as perfect as it can be.
Avatar
Closes #5995.

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 valgrind's memcheck](https://github.com/ddnet/ddnet/...
Avatar
I just wanted to clean up the killfeed because the way it used to be was ugly af
Avatar
Avatar
Jupstar ✪
Ryo as mod: "Do you like rust?" Random person that never coded: "No" So you have chosen death
r/angryupvote
17:42
r/memes
Avatar
Avatar
Ryozuki
anxton will lead a company cuz he goes to a top uni
damn, another HEC student i guess...
17:42
far from it
Avatar
@snail where does he go
17:42
i forgor
Avatar
getting to HEC is actually extremely hard
Avatar
he said top uni though
Avatar
@Chairn he goes to "Enseeiht - Toulouse INP" (edited)
Avatar
was it technical uni at least?
Avatar
@Chairn its cuz anxton says he will be a better dev and non web dev cuz he goes to a good uni now
Avatar
ah that's just regular engineering school though
Avatar
Avatar
Jupstar ✪
Long ago, the programming world lived together in harmony. Then, everything changed when the Rust Nation attacked. Only the Compiler, master of all four programming languages, could stop them. But when the world needed it most, it vanished. A hundred years passed, and my team and I discovered the new Compiler, a developer named Aang. And although his Rust skills are great, he still has a lot to learn before he's ready to save anyone. But I believe Aang can bring balance to the programming world. Water. Earth. Fire. Air. C Nation, rooted in the art of simplicity and performance, laid the foundation for generations to come, mastering the element of Water. C++ Nation, built upon the legacy of C, introduced object-oriented programming and template metaprogramming, mastering the element of Earth. Java Nation, with its platform-independent bytecode and virtual machine, embraced the power of portability and managed environments, mastering the element of Air. And Rust Nation, rising with its memory safety and fearless concurrency, sought to revolutionize systems programming and claim its place among the greats, mastering the element of Fire. Together, these four programming languages shaped the world of software development, each with its strengths and weaknesses. Yet, it is the Compiler's destiny to bring balance and harmony by understanding and integrating the wisdom of all four languages.
cammostripes
Avatar
Avatar
Chairn
ah that's just regular engineering school though
💀
17:44
dunno what this ranking is worth
17:44
where does this uni rank
17:44
xd
Avatar
Avatar
Jupstar ✪
Long ago, the programming world lived together in harmony. Then, everything changed when the Rust Nation attacked. Only the Compiler, master of all four programming languages, could stop them. But when the world needed it most, it vanished. A hundred years passed, and my team and I discovered the new Compiler, a developer named Aang. And although his Rust skills are great, he still has a lot to learn before he's ready to save anyone. But I believe Aang can bring balance to the programming world. Water. Earth. Fire. Air. C Nation, rooted in the art of simplicity and performance, laid the foundation for generations to come, mastering the element of Water. C++ Nation, built upon the legacy of C, introduced object-oriented programming and template metaprogramming, mastering the element of Earth. Java Nation, with its platform-independent bytecode and virtual machine, embraced the power of portability and managed environments, mastering the element of Air. And Rust Nation, rising with its memory safety and fearless concurrency, sought to revolutionize systems programming and claim its place among the greats, mastering the element of Fire. Together, these four programming languages shaped the world of software development, each with its strengths and weaknesses. Yet, it is the Compiler's destiny to bring balance and harmony by understanding and integrating the wisdom of all four languages.
java as air element is laughable given the heavyness of jave vm
Avatar
idk its a french ranking
17:45
justatest
17:46
Learn more about studying at Universitat Politècnica de Catalunya · BarcelonaTech (UPC) including how it performs in QS rankings, the cost of tuition and further course information.
17:46
i went to this 1 year
Avatar
kinda hard to rate schools, rankings can be easily biased
Avatar
Avatar
Learath2
I wonder how tail does it
17:55
but they either use polling or inotify (according to some comments)
Avatar
Avatar
Jupstar ✪
Long ago, the programming world lived together in harmony. Then, everything changed when the Rust Nation attacked. Only the Compiler, master of all four programming languages, could stop them. But when the world needed it most, it vanished. A hundred years passed, and my team and I discovered the new Compiler, a developer named Aang. And although his Rust skills are great, he still has a lot to learn before he's ready to save anyone. But I believe Aang can bring balance to the programming world. Water. Earth. Fire. Air. C Nation, rooted in the art of simplicity and performance, laid the foundation for generations to come, mastering the element of Water. C++ Nation, built upon the legacy of C, introduced object-oriented programming and template metaprogramming, mastering the element of Earth. Java Nation, with its platform-independent bytecode and virtual machine, embraced the power of portability and managed environments, mastering the element of Air. And Rust Nation, rising with its memory safety and fearless concurrency, sought to revolutionize systems programming and claim its place among the greats, mastering the element of Fire. Together, these four programming languages shaped the world of software development, each with its strengths and weaknesses. Yet, it is the Compiler's destiny to bring balance and harmony by understanding and integrating the wisdom of all four languages.
Once upon a time, in the world of programming, there were four languages: Python, Java, JavaScript, and Go. They worked together to create amazing applications for their users, each with its own strengths and weaknesses. One day, a new language appeared on the scene: Rust. Rust was known for its speed and efficiency, but it had a dark side. Its strict rules for memory management and complex syntax made it difficult to learn and use. The other languages knew they had to act fast to stop Rust from taking over the programming world. Together, they went on a quest to find the source of Rust's power. They traveled through treacherous mountains and dense forests, encountering many obstacles along the way. But they did not give up, for they knew that the fate of the programming world was at stake. Finally, they arrived at the lair of Rust, where they were met with a fierce battle. Python used its simplicity and ease of use to distract Rust, while Java used its scalability and versatility to outsmart it. JavaScript used its power and flexibility to create complex programs, while Go used its concurrency and speed to overwhelm Rust. In the end, the four languages emerged victorious. They had defeated Rust and saved the programming world from its tyranny. They returned home, where they continued to create amazing applications for their users, each language complementing the others' strengths and weaknesses. And so, Python, Java, JavaScript, and Go lived happily ever after, knowing that their combined powers were enough to overcome even the most formidable opponent.
17:59
gotta balance the energies
Avatar
which gpt is that
18:00
the last sentence is weird xD
Avatar
Avatar
Jupstar ✪
which gpt is that
the greatest truthest wisest of all the gpts
Avatar
Avatar
k2d222
the greatest truthest wisest of all the gpts
dont tell me u wrote it xD
Avatar
wth no way too lazy for that XD
Avatar
c23c5d9 Remove dead code - Robyt3 2457037 Use bool for IsCheckTeleport and IsCheckEvilTeleport - Robyt3 9c841f1 Add IsTeleTileNumberUsed function - Robyt3 1d9cbba Add IsSwitchTile(Flags|Number|Delay)Used functions - Robyt3 60c0da7 Use IsValid***Tile functions - Robyt3 2e5f37c Don't render switch number and delay for tiles where they are unused - Robyt3 6d23f3e Always set number 255 for tele tiles that don't use the number - Robyt3 c4eca1a Always set number 0 for switch tiles that don't use the number - Robyt3 97052e4 Ignore switch tiles that don't use number for free slot finder - Robyt3 6dd38c7 Merge #6534 - bors[bot]
Avatar
im confused
18:54
would a window manager i implement be a wayland server or client
18:54
xd
Avatar
A server
18:58
"Window managers" in "wayland" are part of the display server
NekoDrink 1
Avatar
oh some docs here
19:20
ryoWM incoming
19:20
be prepared
Avatar
chillerdragon BOT 2023-04-26 19:26:55Z
I want a competitor to wayland and x11 just because it’s not annoying enough to have two half working ones. Please build one more @Ryozuki
19:27
u need big adoption to make a competitor so its hard for a random to compete
19:27
wayland is probs the future
Avatar
chillerdragon BOT 2023-04-26 19:27:45Z
Good that you are not a random
19:27
Now stop the excuses and get hacking
19:28
ryo11land all the way
Avatar
i wanna make my own environment
19:28
as in, window manager, terminal emulator, ryobash, idk whatt else
19:28
and then live in a cave
19:28
with rust plushies
Avatar
chillerdragon BOT 2023-04-26 19:29:09Z
Xd
Avatar
why not ryost?
Avatar
chillerdragon BOT 2023-04-26 19:29:22Z
TempleOS in holyRust
Avatar
making a os is kinda hard
Avatar
ryost, the language
Avatar
i followed a tutorial but it stopped
19:29
oh
19:29
that too
19:29
actually thats more doable than a OS
19:30
need to revive this
Avatar
chillerdragon BOT 2023-04-26 19:30:37Z
Why reinvent the wheel if you can reinvent the car
Avatar
missed opportunity to call it ryOS
Avatar
its still early
19:31
i can rename it
19:31
why ryost for the language name tho?
Avatar
is that not obvious?
Avatar
its hard to pronounce as a spanish speaker
19:31
ah rust
19:33
os, lang, window manager, shell, terminal
19:33
what else
19:33
templeos had it all
19:33
a vulkan alt xD
19:33
i once looked a bit at implementing a usb driver
19:34
god its long the specification
19:34
and i dont know much about drivers
Avatar
for ryoOS? 😄
19:35
yeah
19:36
making a serial interface to qemu is easy
19:36
thats why ryoOS has tests
19:36
thanks to uart_16550
Avatar
try OHCI, should be easier 😛
19:38
Actually wait, UHCI is also a thing, maybe 2.0 is easier to target in that case 😄
Avatar
i made this os stuff before i had a job
19:39
now its harder to find time
19:39
sadge
Avatar
Therefore, the system programmer must support all three standards in order to support USB 2.0.
Nvm you need to support both OHCI, UHCI and EHCI for 2.0 😄
19:39
usb is no joke
19:39
i think supporting the old mouse interface is easier
19:39
u know the big round connector
19:40
i forgot name
Avatar
ps/2
19:40
playstation 2
Avatar
PS/2 port
Avatar
Oh apparently xHCI does support 1.0 and 2.0 without needing a companion controller, so maybe just implementing an xhci driver is enough
19:41
Unfortunately, this means that xHCI bears only a passing resemblance to the controllers that came before it, and make it challenging to write drivers for.
Ok, nvm apparently implementing USB is pain no matter what you target
Avatar
Don't ps/2 devices just interrupt the cpu directly? 😄
Avatar
thinking about what other ui elements need to be touched up. i dont think there are any
Avatar
It involves a controller (e.g. "8042 chip" on PC compatible systems), the mechanical and electrical details of the communication itself, and a device.
Avatar
Avatar
Voxel
thinking about what other ui elements need to be touched up. i dont think there are any
The freeze bar can use some work
Avatar
in what sense? i think it's fine right now
Avatar
In the sense that you can remove it and replace it with stars because it's devils work
Avatar
I tried adding markers for every second to the freeze bar, but I seems the important part about the stars is the rhythm. Maybe we should add back a sound for freeze seconds ticking down?
Avatar
did we have a sound before? 😮
19:47
maybe flashing the bar when it hits a second mark
Avatar
I never play with sound lol
19:47
If it's not the sound then I'm not as convinced about the rhythm argument
19:47
I think flashing could be too irritating though
Avatar
Avatar
heinrich5991
did we have a sound before? 😮
ehh, might be too distracting
Avatar
Edit correct: show freeze stars instead of bar (without the old shield + heart HUD). Can the health and ammo HUD return to DDRace servers (similar to v16.1)? The freeze duration shield countdown fe...
Avatar
might be a good time to bring this up, long ago I reworked the freezebar and other stuff and put it all together in one image, is someone interested in updating to it?
Avatar
yes PLEASE
19:56
i absolutely hate extras.png
Avatar
whats extras.png
Avatar
the image with only snowflake in it
Avatar
what are the shield weapons?
Avatar
as you can see we can also remove weapon shields from game.png and get rid of arrow.png
Avatar
Avatar
Ryozuki
what are the shield weapons?
they're a redesign for the ugly ones currently in game.png
19:59
someone used the HUD shield as pickup and also made weird art choices for them
20:00
some people also want recolorable weak/strong so colors are part of the image now
Avatar
Avatar
Ravie
some people also want recolorable weak/strong so colors are part of the image now
yeahhh this change would be nice af
20:01
+1
Avatar
I currently still think a slightly thinner/thicker hook to visually represent that would look cleaner. I don't think the transition between the textures would be noticable
Avatar
then we could finally merge game.svg xd only entities and some minor mapres missing
20:31
and we are complete HD ready
Avatar
Avatar
Ravie
oh no
nah he means svg compatability, not 4k stuff
20:43
i thinks
20:43
@Jupstar ✪ right or wrong
Avatar
I mean using HD render of some smelly remakes is still worse than the real thing
20:49
The remakes are often better than the original
20:51
it's rare, stuff like vanilla tilesets will never be as good as the original
Avatar
Well u don't have to use them
20:51
I trust facts. Vanilla stuff is often off 1-2 pixels
Avatar
to me at least the subtleties of the original are more important than some more resolution, which someone remaking might not understand
20:52
it irks me when some line is slightly too thick or a little crooked
Avatar
sounds like Jupstar is saying this is the case for vanilla stuff
Avatar
This fixes a bug where hook doesn't get predicted if a player has hook disabled, but can still be hooked by other players, which was reported on Discord. It seems like this bug (and similar bugs) is caused by the client accidentally using the tuning for hook/collision instead of the flags in ddnetcharacter. By sending the correct tunings instead of the fake ones, the handling of tunezones becomes less complicated (and less bug-prone), as the client no longer needs to ignore the tunings for...
Avatar
d603214 Don't send faketunes to new client versions, and simplify code - trml 0a37aa5 Merge #6535 - bors[bot]
Exported 563 message(s)