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-05-27 00:00:00Z and 2024-05-28 00:00:00Z
Avatar
Avatar
Peter0x44
It can't be worse than sysvinit
I would just out of pure ideology use sysvinit and spend an extra minute booting
Avatar
I'm using systemd-boot and systemd for DHCP and I think DNS And it has "just worked" as much as it can But I'm not defending it on some experienced level
Avatar
i don't think systemd does dns
00:01
network-manager or dhcpcd
Avatar
What's even more disgusting is how systemd slowly absorbed other projects into it. Such as udev, they promised it wouldn't become dependant on systemd. It was dependant immediately the next version. Gentoo had to maintain eudev for a decade
Avatar
Avatar
Ewan
network-manager or dhcpcd
I think it does
00:02
This thing
Avatar
systemd does everything worry not
Avatar
it's a nasty tumor that just has it's hand in every pie so that it becomes undissectable
Avatar
i guess it's more, like
00:03
backdoor prone
Avatar
Avatar
Learath2
What's even more disgusting is how systemd slowly absorbed other projects into it. Such as udev, they promised it wouldn't become dependant on systemd. It was dependant immediately the next version. Gentoo had to maintain eudev for a decade
"had to maintain" are they still maintaining it?
Avatar
they ate consolekit, they ate polkit, they even ate cgroups support from the kernel
Avatar
Avatar
Ewan
backdoor prone
Wasn't the xz thing related to systemd in some way?
Avatar
Avatar
Peter0x44
"had to maintain" are they still maintaining it?
A few volunteers are still keeping it kinda up to date, but systemd gracefully allowed us to have udev back so we can use systemd-udev without systemd too
00:06
Why on gods green earth does my init system need to be connected to my dns resolver in any way? Why is my dns resolver going over dbus? Why is my init system involved in spawning containers? Why is my init system booting my computer? Why is my init system doing ntp?
Avatar
Avatar
Ewan
backdoor prone
ofcourse it is, just imagine the attack surface
00:07
good luck backdooring sysvinit, it's not connected to anything, it won't interpret anything itself
Avatar
I think for DHCP I'm actually using whatever thing iwd has built in for it
Avatar
Anyway, I don't really need any of these logical reasons to not like systemd. It completely goes against everything I believe fundamentally. It's like saying "autocracy is good because a good dictator can make better decisions faster than a democracy"
00:09
I still wouldn't want to live in a dictatorship
Avatar
Avatar
Learath2
I still wouldn't want to live in a dictatorship
You already do
☝️ 1
🤓 1
00:10
But... lets keep it technical I guess
Avatar
It's a hypothetical
00:13
and systemd kept me up for an extra hour, so I'll never forgive it for that either
Avatar
anybody wanna play? (edited)
Avatar
https://bugs.freedesktop.org/show_bug.cgi?id=76935 There was this incident also that managed to annoy Linus
Avatar
ws-client BOT 2024-05-27 00:15:36Z
<ChillerDragon> ddnet 9 finds no ger servers? @heinrich5991 did we drop support for 10 yr old ddnet versions? xd
00:17
<ChillerDragon> @Ryzen I sent you the exact code. I sent you two projects that implemented dummies and are ready to use. And the command you can use to get ddnet up and running with dummies. If you have trouble with any of those let me know some details.
00:17
<ChillerDragon> but if you keep asking for a func name you won't progress here.
00:19
<ChillerDragon> @David i don't remember seening a svg template but maybe this helps https://github.com/TeeworldsDB/graphictemplates/blob/master/grids/grid_skins_07.png
Templates for teeworlds graphic creators. Contribute to TeeworldsDB/graphictemplates development by creating an account on GitHub.
Avatar
Avatar
Peter0x44
https://bugs.freedesktop.org/show_bug.cgi?id=76935 There was this incident also that managed to annoy Linus
Yeah, see these people there is something wrong with them. Added Kay Sievers to my list of prayers
Avatar
ws-client BOT 2024-05-27 00:21:51Z
<ChillerDragon> @David here is greensward as svg maybe that helps you too :) https://github.com/teeworlds/teeworlds/files/3294053/greensward.zip
Avatar
Avatar
Learath2
Yeah, see these people there is something wrong with them. Added Kay Sievers to my list of prayers
I don't remember if the fix was done on the kernel side or not
00:23
But just... Not prefixing your own configuration seems ridiculous
Avatar
Avatar
Peter0x44
But just... Not prefixing your own configuration seems ridiculous
I'll tell you my opinion on it, they are entitled. This is the behaviour I've observed from these people ever since that first blog post about "Reimagining PID 1". They would eat the kernel whole if they had the development capacity
👍 1
Avatar
Avatar
Learath2
I'll tell you my opinion on it, they are entitled. This is the behaviour I've observed from these people ever since that first blog post about "Reimagining PID 1". They would eat the kernel whole if they had the development capacity
And regarding the init systems, is openrc or runit better? Any opinions there?
00:29
Regarding systemd-boot I think it might be the only part of systemd that can kind of be described as "minimal"
Avatar
Avatar
Peter0x44
And regarding the init systems, is openrc or runit better? Any opinions there?
I've been using openrc, on everything, for a decade, it works, it's fast, it doesn't overreach
Avatar
It's basically just a menu that lets you pick a boot entry, nothing more
00:30
Way better than grub ime
00:30
But of course grub sucking doesn't excuse systemd
Avatar
Avatar
Peter0x44
Regarding systemd-boot I think it might be the only part of systemd that can kind of be described as "minimal"
I've used it before and it is surprisingly well isolated, but I've moved back to refind nowadays
Avatar
Avatar
Peter0x44
Way better than grub ime
Grub is absolutely terrible and I hate how it's pushed on new users
Avatar
ws-client BOT 2024-05-27 00:31:36Z
<ChillerDragon> lmao lerato and the big systemd conspiracy
Avatar
It's the source of one of my 3 full arch breakages so far
Avatar
Avatar
Learath2
I've used it before and it is surprisingly well isolated, but I've moved back to refind nowadays
Mostly because again, I find the way systemd and it's main developers conduct themselves abhorrent. Don't want anything conjured up by them anywhere near me
Avatar
ws-client BOT 2024-05-27 00:32:38Z
<ChillerDragon> @Learath2 yea the ddnet prs were indeed piling up. It almost hit the magic number 69 which would match the stale prs in teeworlds o.O
Avatar
Avatar
Peter0x44
It's the source of one of my 3 full arch breakages so far
yeah, grub has grown very troublesome, I think it's all the legacy and advanced configuration that's making it so prone to breakage
00:33
refind just works, it's a single efi binary, no configuration required
Avatar
I think I updated it and had to regenerate the config to make my system boot again
Avatar
I even patched a couple things in refind, that's how nice the codebase is
Avatar
Avatar
Peter0x44
I think for DHCP I'm actually using whatever thing iwd has built in for it
what distro are u using?
Avatar
ws-client BOT 2024-05-27 00:34:00Z
<ChillerDragon> gentoo
Avatar
honestly network-manager worked for all of my network needs
Avatar
ewan was asking peter
00:34
😄
Avatar
ws-client BOT 2024-05-27 00:34:19Z
<ChillerDragon> omg xd
00:34
<ChillerDragon> reply moment
00:34
u don't get those
Avatar
ws-client BOT 2024-05-27 00:34:30Z
<ChillerDragon> i wanted to flex that i am lerato fan 1
Avatar
chiller i think matrix bridge supports replies
Avatar
ws-client BOT 2024-05-27 00:34:45Z
<ChillerDragon> yes but i dont support matrix
Avatar
gentoo user would never give up a moment to mention gentoo
Avatar
gn big boys
Avatar
ws-client BOT 2024-05-27 00:35:15Z
<ChillerDragon> do a grep for ChillerDragon.heinrich.matrix in ddnet/teeworlds irc and u know why
Avatar
I've been using network-manager on my laptops, it's quite a nice piece of software aswell. Surprising that it came out of Red Hat
troll 1
Avatar
ws-client BOT 2024-05-27 00:35:27Z
<ChillerDragon> ye good morning time to make some coffee
Avatar
whats bad with red hat
00:36
i thought they were the messiahs of the nerd world.
Avatar
stallman is
Avatar
Avatar
louis
whats bad with red hat
Coporatization of linux gives me the heebie jeebies
Avatar
and gnu community
Avatar
Avatar
Learath2
I've been using network-manager on my laptops, it's quite a nice piece of software aswell. Surprising that it came out of Red Hat
Nm has given me nothing but problems I avoid it as much as I can
Avatar
i have a hard time listening to a guy who eats goo from his foot
pepeW 2
Avatar
ws-client BOT 2024-05-27 00:36:49Z
<ChillerDragon> xxxxxxxxxxxxxxxxxD
Avatar
Avatar
Ewan
i have a hard time listening to a guy who eats goo from his foot
wha
Avatar
Avatar
Peter0x44
Nm has given me nothing but problems I avoid it as much as I can
iwd does everything for me, except bluetooth But I don't care for it anyway
Avatar
ws-client BOT 2024-05-27 00:37:13Z
<ChillerDragon> you don't know the clip?
Avatar
PulseAudio is another one of Red Hats messes
Avatar
why is that age restrictedl mao
Avatar
the way he takes off his sock and just goes in
00:37
LOL
Avatar
Avatar
Peter0x44
iwd does everything for me, except bluetooth But I don't care for it anyway
iwd shouldn't even try to do something with bluetooth, i think
Avatar
Honestly whenever I see freedesktop.org I get chills down my spine
Avatar
bluez exists xd
Avatar
Avatar
zhn
iwd shouldn't even try to do something with bluetooth, i think
It doesn't
00:38
Can I just say another one of my hates is gitlab instances
Avatar
Including now freedesktop and arch
Avatar
ws-client BOT 2024-05-27 00:38:33Z
<ChillerDragon> > Taste of freedom.
Avatar
Avatar
Peter0x44
Including now freedesktop and arch
gnome
Avatar
Avatar
Peter0x44
Including now freedesktop and arch
justatest
Avatar
anything these ppl can do to rebel from microsoft tho
00:39
they will do
Avatar
Gitlab is the worst for reporting bugs Bugzilla and flyspray are both better, Arch's new thing is just crazy
Avatar
bugzillas are pretty straightforward
Avatar
When you open an issue on a package it just assigns this random dude instead of the package maintainer
Avatar
I wonder who wrote bluez. Yet another banger stack of software
Avatar
And he's so obnoxious
Avatar
One of the few times I have felt that everything justworked
Avatar
Avatar
Learath2
I wonder who wrote bluez. Yet another banger stack of software
I've seen people say bluez is really bad codebase wise
Avatar
i actually had a lot of issues with bluez
00:40
devices would connect but not be remembered
00:41
and audio was a complete shitshow
Avatar
Avatar
Peter0x44
I've seen people say bluez is really bad codebase wise
The kernel half is awful
00:41
The userland is quite nice
Avatar
"stallman only obtains food from free and open sores"
Avatar
it's true
Avatar
I don't use bluetooth so I don't really care though
Avatar
Avatar
Ewan
and audio was a complete shitshow
Huh, maybe I got lucky with my headphones, both my sony headphones and my samsung ones worked great
Avatar
i use bluetooth mouse, keyboard, headset
00:42
it was mainly the pulseaudio integration i had issues with
Avatar
Avatar
Peter0x44
When you open an issue on a package it just assigns this random dude instead of the package maintainer
Why not the maintainer? I have no idea If you agree to maintain a package you should agree to respond to bugs on it
Avatar
Avatar
Ewan
and audio was a complete shitshow
idk worked for me with all my zoo of blueshit
Avatar
Avatar
Ewan
yea
I have been enjoying pipewire a lot. It is so flexible and works so well
00:42
And designed by sane people this time
Avatar
it seemed overhyped to me
00:43
bad memory footprint
00:43
but that's when it first came out
Avatar
PA never caused big issues for me but I figure it's obsolete now, so I switched to PW anyway
Avatar
polymorphism via overloading global function fires 🔥
Avatar
like imagine you have one exactly indirection in your vector of objects with no vtable lookup
00:45
nah with vector it will be always +1
00:45
\
Avatar
vtable lookup isn't particularly expensive though
Avatar
Avatar
Ewan
vtable lookup isn't particularly expensive though
depends
00:51
but anyway its kinda neat that you have that way of doing things
00:51
template <typename T> void draw(const T &x, std::ostream &out, size_t position) { out << std::string(position, ' ') << x << std::endl; } class myclass_t {}; void draw(const myclass_t &, std::ostream &out, size_t position) { out << std::string(position, ' ') << "myclass_t" << std::endl; } class object_t; using document_t = std::vector<obje...
Avatar
this is the C way
00:52
essentially
00:52
it is nice that it offloads the "lookup" to compile time (edited)
00:54
but then u have to lookup every method access
Avatar
wait does c have function overloading
00:55
the typical way of doing this in C is method_for_a/method_for_b but there have been C additions to add overload behavior
Avatar
Avatar
zhn
like imagine you have one exactly indirection in your vector of objects with no vtable lookup
I don't get it, this is exactly how a vtable is implemented
Avatar
check the link
00:55
as ewan said it moves all lookup to compile time
Avatar
yea it moves that one
00:55
but all the rest in ur codebase, no
00:56
may be more expensive in the long run
Avatar
(Compilers can also do that btw, devirtualisation has gotten better over time)
00:56
I'll have to take a look tomorrow, I'm on a phone 😛
Avatar
watafak chat updates every minute, not second
Avatar
discord updates the chat in a very strange way
00:59
for me*
Avatar
can someone tell me why gores players use 5:4
01:00
i can't fathom a benefit
01:00
if it's about FOV just zoom out 1 or 2
Avatar
Avatar
Learath2
(Compilers can also do that btw, devirtualisation has gotten better over time)
the cool thing there is that operator << in ostream overloaded for most standard types so you don't have to overload your function for them by hands
Avatar
Ahhh, this thing. I have posted this here before, from the talk
poggers2 1
Avatar
neat idea but it only seems viable if you're working in a codebase with no C++ dependencies
Avatar
Avatar
Ewan
can someone tell me why gores players use 5:4
everyone i've asked just says "it feels nicer"
01:09
i just don't get it
01:09
maybe it's just cuz they're pushing less pixels
Avatar
Avatar
Ewan
everyone i've asked just says "it feels nicer"
5:4 covers ~same amount of tiles in all directions from the center of screen
01:11
really helps on vanilla
01:11
dk/dc about gores
Avatar
Avatar
Ewan
can someone tell me why gores players use 5:4
cause they think it has benefits
01:12
i mean it can have benefits in games like cs but a lot of it is pseudo feeling
Avatar
more questionable why they stretch it over the screen
01:12
like
01:12
play in window mode wth
Avatar
bad delay
01:12
tho on most ppl's monitors non-native resolution will also introduce delay
Avatar
Avatar
zhn
more questionable why they stretch it over the screen
cuz they want the stretch
Avatar
the stretch is so bizarre
01:13
i don't want to aim in an oval
Avatar
that's why cs players play with stretch, it makes hitboxes look bigger
Avatar
Avatar
Ewan
tho on most ppl's monitors non-native resolution will also introduce delay
opposite for mine builds then :/
01:13
my*
Avatar
there's probably some similar placebo effect with gores
Avatar
Avatar
Ewan
neat idea but it only seems viable if you're working in a codebase with no C++ dependencies
wdym
01:13
it exactly uses all benefits of raii doesn it
Avatar
raii unrelated
01:14
u need some abstract class to call methods on a type representing any of its children
Avatar
perhaps it scales better with the human aspect ratio 🤓 i'd say the area of peripheral focus is more like 5:4 than 16:9
Avatar
Avatar
Ewan
u need some abstract class to call methods on a type representing any of its children
which doesn't exist in this 'paradigm'
01:14
so u will need to implement ::draw manually for each type
01:15
maybe not
Avatar
you will have to implement every draw function anyway
01:15
i don't see any problem idk
Avatar
ah i forgot about the template example
01:16
no that actually fixes the issue i had with it
justatest 1
01:16
i was thinking if u have a method that only makes use of shared behavior then you'll require that base class to exist in order to not reimplement it for every child class u have
01:16
but template
01:16
👍
01:17
this can make some crazy errors though. because you have no base class to constrain with using the template
Avatar
bad thing that you will have to declare every function after global templated one
01:18
and before object_t class definition
Avatar
i wonder if they really use it in adobe products
01:22
i kinda only see it as an alternative
01:22
no real benefit either way
01:23
maybe just friendlier for less object orientation minded folks (edited)
01:23
and a guaranteed lookup time
01:23
but where would that rly be useful?
Avatar
5:4 gang 💪
Avatar
Avatar
louis
that's why cs players play with stretch, it makes hitboxes look bigger
Not related but when I was playing dead by daylight people would play in 4:3 because it would put your camera higher in the air or something
01:41
Let you see over higher walls
01:42
Stretching is just ridiculous though
Avatar
ws-client BOT 2024-05-27 01:43:39Z
<ChillerDragon> the amount of typos i fat finger i am this close to aliasing male to make xd
01:46
<ChillerDragon> If I want a pointer to CGameContexts m_apPlayers thats how to do it right? CPlayer **m_papPlayers[MAX_CLIENTS];
Avatar
p denotes that it's a pointer already
01:47
why u want double pointer
Avatar
ws-client BOT 2024-05-27 01:47:42Z
<ChillerDragon> oh so i can use the same type?
Avatar
just pas m_apPlayers
Avatar
ws-client BOT 2024-05-27 01:47:57Z
<ChillerDragon> and then m_apPlayersMine = GameContext()->m_apPlayers;
Avatar
ws-client BOT 2024-05-27 01:48:12Z
<ChillerDragon> good i asked here xd
01:48
<ChillerDragon> yea that seems to make sense xd
01:48
<ChillerDragon> wait but its an array of pointer to players?
01:48
<ChillerDragon> and i want a pointer to the array?
01:48
<ChillerDragon> but arrays are pointers
01:48
<ChillerDragon> idk man it breaks my brain
Avatar
toxic thinking
01:48
arrays are arrays
01:48
pointers are pointers
Avatar
Avatar
Ewan
but where would that rly be useful?
sounds useful in embedded
Avatar
ws-client BOT 2024-05-27 01:49:22Z
<ChillerDragon> never this works xd
Avatar
Avatar
Ewan
toxic thinking
there's some similarity in how they're used but generally different ideas
Avatar
implementation is not embedded friendly though (or not xd)
01:50
ye you need double pointer only if you have something to put in pointer under this one
Avatar
chiller i dont remember exactly how it's defined but i think u have a pointer to an array
Avatar
i don't think you want to swap game context's players pool
Avatar
ap would reflect that
01:51
<ChillerDragon> this is no good xd
01:51
euhhh
01:51
give me a sec
Avatar
ws-client BOT 2024-05-27 01:51:46Z
<ChillerDragon> but then i lose length
Avatar
goresing rn
Avatar
u have MAX_CLIENTS
Avatar
ws-client BOT 2024-05-27 01:52:11Z
<ChillerDragon> but i want for(auto player : apPlayers)
Avatar
no can do
Avatar
ws-client BOT 2024-05-27 01:52:27Z
<ChillerDragon> bru
Avatar
ws-client BOT 2024-05-27 01:52:57Z
<ChillerDragon> m_apPlayers is a regular array of pointers
Avatar
ws-client BOT 2024-05-27 01:53:15Z
<ChillerDragon> how can i point into that xd
Avatar
do you really want one more indirection just for syntax sugar
Avatar
ws-client BOT 2024-05-27 01:53:50Z
<ChillerDragon> seems worth it xd
01:55
<ChillerDragon> lgtm
01:55
<ChillerDragon> but how to call it now following the ddnet naming convention?
01:55
<ChillerDragon> ppapppPlayers?
Avatar
Avatar
ws-client
wait why do you even need this
Avatar
ws-client BOT 2024-05-27 01:58:50Z
<ChillerDragon> i dont feel comfortable saying it xd
01:58
<ChillerDragon> it might be too edgy
Avatar
using papPlayers is not comfortable by its meaning xd
Avatar
ppapPlayers
Avatar
ws-client BOT 2024-05-27 02:01:03Z
<ChillerDragon> pap
Avatar
pen pineapple apple pen…
Avatar
ws-client BOT 2024-05-27 02:01:13Z
<ChillerDragon> ikr xd
02:01
<ChillerDragon> Segmentation fault
02:01
<ChillerDragon> i dont feel so good
02:01
not surprised
Avatar
anyway ya
02:12
struct CPlayer { int lol; }; #define MAX_CLIENTS 3 CPlayer a{1}; CPlayer b{2}; CPlayer c{3}; CPlayer *m_apPlayers[MAX_CLIENTS] {&a, &b, &c}; int main() { CPlayer **m_ppPlayers = m_apPlayers; for(int i = 0; i < MAX_CLIENTS; i++) { std::cout << m_ppPlayers[i]->lol << std::endl; } }
02:12
do like this
02:12
double pointer
02:13
your CPlayer **m_papPlayers[MAX_CLIENTS]; had the right idea but you can only declare things this way
02:13
if u had an array containing an array of pointers to players you could define it that way (edited)
02:13
assuming you don't wanna know the size of the second level arrays
Avatar
ws-client BOT 2024-05-27 02:14:24Z
<ChillerDragon> omagawd i found a low impact security flaw in github. i wonder if it is worth the effort to report it
Avatar
lol what is it
Avatar
ws-client BOT 2024-05-27 02:15:03Z
<ChillerDragon> im not gonna spill it xd eventho its boring xd
Avatar
i found a github bug
02:15
like a yr ago
Avatar
ws-client BOT 2024-05-27 02:15:21Z
<ChillerDragon> well i can tell what it does
Avatar
when they added the ctrl+k thing
02:15
it was just bad string formatting lol
Avatar
ws-client BOT 2024-05-27 02:15:53Z
<ChillerDragon> you know how private repos are 404 right? so you cant figure out which repos exist. I found a way to figure out if private repos exits or not even if you have no access
02:16
tell me how
Avatar
ws-client BOT 2024-05-27 02:16:07Z
<ChillerDragon> pretty boring but they kinda try to hide that so..
02:16
<ChillerDragon> no ._.
Avatar
you're fired
Avatar
ws-client BOT 2024-05-27 02:16:29Z
<ChillerDragon> i wanna get rich of microsoft
02:16
can u go like /private-repo/settings or smth
02:16
and it'll show u you dont have access
Avatar
ws-client BOT 2024-05-27 02:16:45Z
<ChillerDragon> woah its gone
Avatar
ws-client BOT 2024-05-27 02:16:54Z
<ChillerDragon> ye something like that
02:17
<ChillerDragon> it back!
02:18
<ChillerDragon> do you think theyll pay for that?
Avatar
they probably know
02:20
but ehh maybe
Avatar
ws-client BOT 2024-05-27 02:23:38Z
<ChillerDragon> why didnt they fix then
Avatar
ws-client BOT 2024-05-27 02:32:49Z
<ChillerDragon> > Rewards range from $555 up to $20,000
02:41
try it
02:41
gimme 20k
02:41
or i release this to china
Avatar
what? money? i want it
Avatar
better hurry up chiller
02:51
Avatar
i don't want any works, i just want MONAY
Avatar
fuck I think i missed lerato
02:57
was gonna ask if he ever had any package-related qualms on artix
Avatar
ws-client BOT 2024-05-27 02:59:06Z
<ChillerDragon> i can not consitently reproduce wtf
03:04
<ChillerDragon> can someone create a private repo and link it pls xd
Avatar
Avatar
Ewan
fuck I think i missed lerato
wdym, did he left
Avatar
ws-client BOT 2024-05-27 03:05:45Z
<ChillerDragon> sleep probably
Avatar
Avatar
ws-client
<ChillerDragon> i can not consitently reproduce wtf
fertility issue
Avatar
ws-client BOT 2024-05-27 03:06:07Z
<ChillerDragon> wtf its new @Ewan ?
03:06
<ChillerDragon> i cant reproduce
Avatar
ws-client BOT 2024-05-27 03:06:16Z
<ChillerDragon> do new
Avatar
ws-client BOT 2024-05-27 03:13:05Z
<ChillerDragon> interesting
Avatar
does it work
Avatar
ws-client BOT 2024-05-27 03:13:11Z
<ChillerDragon> i think it is a feature tbh
03:13
<ChillerDragon> no
03:13
if it's a feature u can spill the beans then
03:13
right
Avatar
ws-client BOT 2024-05-27 03:13:41Z
<ChillerDragon> the one that worked was created from the same ip maybe they do some smart checking of who should know
03:13
<ChillerDragon> yea i guess ._.
03:14
<ChillerDragon> i rly wanted those 555$
Avatar
ws-client BOT 2024-05-27 03:14:42Z
<ChillerDragon> i mean the text even shows its a feature
03:14
<ChillerDragon> "Sorry, we couldn't find that repository invitation. It is possible that the invitation was revoked or that you are not logged into the invited account."
03:15
<ChillerDragon> but i saw that before the invite was sent to me
03:15
<ChillerDragon> so i thought i shouldnt be able to see it
03:16
what would u expect it to say instead
Avatar
ws-client BOT 2024-05-27 03:16:15Z
<ChillerDragon> 404
03:16
<ChillerDragon> like you see here on my totally legit teeworlds client
Avatar
yea it's 404
Avatar
ws-client BOT 2024-05-27 03:17:21Z
<ChillerDragon> i assume its a feature of github if ppl in a company sharing an ip create repos and forget to invite each other
03:18
<ChillerDragon> but i cant reproduce
03:18
<ChillerDragon> i created a new repo on my laptop and used a different account to access invitations but get a 404
03:18
<ChillerDragon> watfak
03:19
<ChillerDragon> yea holy shit idk
03:22
<ChillerDragon> back to this beautiy CPlayer *pPlayer = (*apPlayers)[0]; i wonder if i can make my pointer feel like the original m_apPlayers
Avatar
i sent u a compiler explorer link
03:24
u have no reason to define ur pointer as having an array
Avatar
ws-client BOT 2024-05-27 03:24:21Z
<ChillerDragon> i dont like max clients
03:24
<ChillerDragon> i wanna use the : loop
03:25
<ChillerDragon> error: 'begin' was not declared in this scope
Avatar
i rly don't think u can
03:25
also yeah
03:25
that's iterator shorthand
Avatar
ws-client BOT 2024-05-27 03:25:37Z
<ChillerDragon> i need that to pass clang tidy
03:26
<ChillerDragon> or maybe i dont
03:26
<ChillerDragon> idk but i would like to use it xd
Avatar
i feel u but ur basically trying to use stl-oriented shorthand with a C language feature
03:28
a pretty drop-in solution is to just change the CPlayers definition to use std::array
03:29
in that case you specify the size in the template instantiation
03:31
i think I have all my important files copied over...
Avatar
ws-client BOT 2024-05-27 03:34:08Z
<ChillerDragon> distro hopping
03:38
still on win rn
03:38
undecided
Avatar
ws-client BOT 2024-05-27 03:38:55Z
<ChillerDragon> go with debian its beast
03:39
<ChillerDragon> and gnome
Avatar
but then debian or devuan troll
Avatar
ws-client BOT 2024-05-27 03:39:28Z
<ChillerDragon> watafk is devuan
Avatar
debian without systemd
Avatar
ws-client BOT 2024-05-27 03:39:45Z
<ChillerDragon> nono systemd poggers
03:39
<ChillerDragon> go with debian
03:40
<ChillerDragon> i hope lerato does not read this
03:40
<ChillerDragon> but he asleep so all good
Avatar
the only issue i foresee using artix over arch is GNOME might just be a pain
Avatar
ws-client BOT 2024-05-27 03:41:37Z
<ChillerDragon> wats artix
Avatar
when i was doing it on gentoo i think i was having issues with remote desktop
03:41
artix is arch without systemd
Avatar
ws-client BOT 2024-05-27 03:41:52Z
<ChillerDragon> omagawd you and your systemd hate xd
03:41
lerato
03:42
<ChillerDragon> works wonderfully
03:46
i like systemd
03:47
but i gotta try new things
Avatar
ws-client BOT 2024-05-27 03:53:07Z
<ChillerDragon> try installing systemd on windows
03:53
honestly i think i just want arch
03:54
i dont wanna daily drive something i'm always gonna have to fuck around with
03:54
and arch was very good for me for the time that i used it
03:56
oh and i still don't know what to do about my drives
Avatar
go windows + wsl troll
05:31
me - wsl enjoyer
Avatar
it’s fine i just have a hard time finding a real use case
Avatar
I wish UI could adapt to strings
06:13
Also, I think that reused "Spectate" string at the right bottom should be it's own "Spectating" string instead - it would just make more sense!
Avatar
morning
Avatar
Avatar
EGYT
Also, I think that reused "Spectate" string at the right bottom should be it's own "Spectating" string instead - it would just make more sense!
But for now, I'll do with what I have...
Avatar
submit a pull request
Avatar
Can't submit a pull request, can only make an issue
Avatar
Avatar
Ewan
the only issue i foresee using artix over arch is GNOME might just be a pain
If you are going to use gnome, you almost have to use systemd. Gnome developers are the worst at isolating themselves. They link to everything and make it a dependency, including the tumor that is systemd
Avatar
Avatar
Ewan
Why
Can't code :^(
Avatar
There isn't that much coding involved, try searching the code base for "Spectate" which should lead you to a line in hud.cpp that you can change.
Replying to @EGYT Can't code :^(
Avatar
ChillerDragon: we only have ger10 servers in germany currently, and they don't support the SERVERBROWSE_GETINFO protocol
Avatar
I don't really think it is what I need. The button text should stay the same ("Spectate"), while the thing I want is to change the right bottom text. I tried searching for "Spectate", and there is only one mention in hud.cpp, and I think it changes both the button text and the text in right bottom corner.
Replying to furo There isn't that much coding involved, try searching the code base for `…
Avatar
Those two are different, so changing the line in hud.cpp is fine. The button you are talking about can be found in menus_ingame.cpp.
Replying to egyt I don't really think it is what I need. The button text should stay the …
Avatar
Okay... then I need to also add this string into l10n files, right?
Avatar
No need to, those files are automatically generated by a script.
Replying to egyt Okay... then I need to also add this string into l10n files, right?
Avatar
Avatar
Learath2
If you are going to use gnome, you almost have to use systemd. Gnome developers are the worst at isolating themselves. They link to everything and make it a dependency, including the tumor that is systemd
I had decent success on gentoo. Just one thing that I can’t remember was busted
Avatar
Ooh, cool, that means I can do this for other annoying things too, like when "Name" string is used for both server name and player name, right? (edited)
Avatar
Now we have SearXNG (and it's kinda good) (edited)
Replying to @Ryozuki GOinOZjXcAA3Trj.jpg
Avatar
You could, but what's wrong with name?
Replying to egyt Ooh, cool, that means I can do this for other annoying things too, like …
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
I think so
Avatar
In Ukrainian (and other Slavic languages too), we have two words: "ім'я" (first/given name) and "назва" (proper noun)
Replying to furo You could, but what's wrong with name?
08:25
For example, "Andrew" is ім'я, and "DDNet" is назва
Avatar
Avatar
heinrich5991
I think so
just stack green guy on top of itself so a 4m tall block will make 6m of shadow, 6+6=12 no
08:27
then 12 * 2/3 = 8
Avatar
yup
Avatar
@Ryozuki do u know who did aur pkg for ddnet
08:32
cargo and discord game sdk are hard deps even tho u should be able to use rustup & entirely disable the discord integration
Avatar
Hm, I guess changing the "name" string in server browser to "server name" should be fine?
Replying to egyt In Ukrainian (and other Slavic languages too), we have two words: "ім'…
Avatar
furo: have you checked the widths of the text fields?
08:40
(you also don't need to change the original strings to have two different strings in a translation)
Avatar
Yeah, it's gonna be fine. Thanks for help!
Avatar
Avatar
Ewan
@Ryozuki do u know who did aur pkg for ddnet
rafaelff
08:42
maybe i will work on it later
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
if the light rays were not shot perfectly orthogonal, then it's probably very hard to say how big red is
08:48
😬
Avatar
Avatar
Jupstar ✪
if the light rays were not shot perfectly orthogonal, then it's probably very hard to say how big red is
We live in a perfect world (edited)
Avatar
Avatar
Jupstar ✪
if the light rays were not shot perfectly orthogonal, then it's probably very hard to say how big red is
hmm no u can know the ratio from green
Avatar
Avatar
Jupstar ✪
if the light rays were not shot perfectly orthogonal, then it's probably very hard to say how big red is
true, we could measure if the shadow outlines are parallel to figure that out
Avatar
there could be material in the air that makes it look like it is perfect just for the camera
09:04
and if u'd move it 1cm it would look completely different
09:04
similar to how water bends stuff visually
09:04
i'd give such an answer in a math test and probably fail xD
09:05
who even says that green and red are lighted by the same light source at all
09:06
lit
Avatar
anyone know the state of the nvidia-open driver?
Avatar
Avatar
Ewan
anyone know the state of the nvidia-open driver?
u mean nouveuououooum
09:20
?
09:20
i mean the official nvidia oss driver
Avatar
ah, the kernel module?
Avatar
remember when that hacker threatened to leak
09:20
and nvidia was like okay okay we will open source
Avatar
Avatar
Ewan
remember when that hacker threatened to leak
yeah there was smth
Avatar
but someone still has to write the integration for it into mesa i guess
09:21
i think i will try them
Avatar
if nvidia drivers ever get as good as amd would be epyc
Avatar
competition in the graphics card market for linux
09:23
😬
Avatar
properietary performance is fine but integration is terrible
09:23
seems to make my gnome shit bricks
Avatar
Avatar
Ewan
I had decent success on gentoo. Just one thing that I can’t remember was busted
Thanks to the valiant efforts of the gentoo team to keep it all working
09:24
wonder if i can make the wm use my integrated graphics
Avatar
Avatar
Ewan
i think i will try them
I don't think it's in a usable state
Avatar
Ah, I need to compile it... oh well.
Replying to egyt Yeah, it's gonna be fine. Thanks for help!
Avatar
afaict i am using them rn but i think the modules are called the same thing
09:29
seems to be working just as well
09:29
still shitty in gnome
09:30
man i really wanted this thing to mature https://github.com/jpochyla/psst/graphs/code-frequency
Fast and multi-platform Spotify client with native GUI - Code frequency · jpochyla/psst
09:34
wtf, i did not expect teamspeak3 to be in the extra repo
Avatar
Im Home in Like 4 1/2 hours @EGYT, If you struggle with doing a PR I can do that for you
Avatar
Avatar
Ewan
man i really wanted this thing to mature https://github.com/jpochyla/psst/graphs/code-frequency
"written in Rust, without Electron' I love it already
Avatar
For now not, but still thanks!
Replying to @meloƞ Im Home in Like 4 1/2 hours EGYT, If you struggle with doing a PR I can …
Avatar
Avatar
Learath2
"written in Rust, without Electron' I love it already
technically feature complete but it’s missing stuff like discovery that makes it rly viable for using instead of the official app
Avatar
Avatar
Ewan
technically feature complete but it’s missing stuff like discovery that makes it rly viable for using instead of the official app
It seems to have a lot of unimplmented features that are low hanging fruit, maybe I might go in and help them a bit
Avatar
would be awesome
Avatar
I compiled it and, well, no changes that I made 0_0
Replying to egyt For now not, but still thanks!
Avatar
ewan@machine ~ [127]> DDNet 2024-05-27 04:15:22 I engine: running on unix-linux-amd64 2024-05-27 04:15:22 I engine: arch is little endian 2024-05-27 04:15:22 I engine: operating system version: Linux 6.9.2-arch1-1 (x86_64, #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000); "Arch Linux" 2024-05-27 04:15:22 I storage: couldn't open storage.cfg 2024-05-27 04:15:22 I storage: using standard paths 2024-05-27 04:15:22 I storage: added path '$USERDIR' ('/home/ewan/.local/share/ddnet') 2024-05-27 04:15:22 I storage: added path '$DATADIR' ('/usr/share/ddnet/data') 2024-05-27 04:15:22 I storage: added path '$CURRENTDIR' ('/home/ewan') 2024-05-27 04:15:22 I console: executing 'settings_ddnet.cfg' 2024-05-27 04:15:22 I client: adding 72.204.22.162:6629 to favorites 2024-05-27 04:15:22 I sdl: SDL version 2.30.3 (compiled = 2.30.3) 2024-05-27 04:15:22 I gfx: Created Vulkan 1.1 context. 2024-05-27 04:15:22 I gfx: GPU vendor: NVIDIA 2024-05-27 04:15:22 I gfx: GPU renderer: NVIDIA GeForce RTX 3060 2024-05-27 04:15:22 I gfx: GPU version: Vulkan 1.3.277 (driver: 550.78.0.0) /usr/include/c++/14.1.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem>; _Alloc = std::allocator<std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem> >; reference = std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. fish: Job 1, 'DDNet' terminated by signal SIGABRT (Abort) ☹
Avatar
bt
Avatar
index out of range? maybe a problem of our code?
Avatar
CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem sounds like ddnet graphics code
Avatar
I hope running grep ~/ddnet won't ruin my system...
Replying to egyt I compiled it and, well, no changes that I made 0\_0
Avatar
Avatar
Ewan
CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem sounds like ddnet graphics code
Vulkan mentioned, @Jupstar ✪ pinged
10:18
kek
Avatar
Avatar
Ewan
ewan@machine ~ [127]> DDNet 2024-05-27 04:15:22 I engine: running on unix-linux-amd64 2024-05-27 04:15:22 I engine: arch is little endian 2024-05-27 04:15:22 I engine: operating system version: Linux 6.9.2-arch1-1 (x86_64, #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000); "Arch Linux" 2024-05-27 04:15:22 I storage: couldn't open storage.cfg 2024-05-27 04:15:22 I storage: using standard paths 2024-05-27 04:15:22 I storage: added path '$USERDIR' ('/home/ewan/.local/share/ddnet') 2024-05-27 04:15:22 I storage: added path '$DATADIR' ('/usr/share/ddnet/data') 2024-05-27 04:15:22 I storage: added path '$CURRENTDIR' ('/home/ewan') 2024-05-27 04:15:22 I console: executing 'settings_ddnet.cfg' 2024-05-27 04:15:22 I client: adding 72.204.22.162:6629 to favorites 2024-05-27 04:15:22 I sdl: SDL version 2.30.3 (compiled = 2.30.3) 2024-05-27 04:15:22 I gfx: Created Vulkan 1.1 context. 2024-05-27 04:15:22 I gfx: GPU vendor: NVIDIA 2024-05-27 04:15:22 I gfx: GPU renderer: NVIDIA GeForce RTX 3060 2024-05-27 04:15:22 I gfx: GPU version: Vulkan 1.3.277 (driver: 550.78.0.0) /usr/include/c++/14.1.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem>; _Alloc = std::allocator<std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem> >; reference = std::vector<CCommandProcessorFragment_Vulkan::SDelayedBufferCleanupItem>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. fish: Job 1, 'DDNet' terminated by signal SIGABRT (Abort) ☹
is that latest ddnet code?
Avatar
from aur which builds from upstream
Avatar
upstream latest?
10:19
or upstream latest version
Avatar
by default latest release
Avatar
so not master branch
Avatar
try ddnet-git
Avatar
arch dist flags are also known to screw things up
Avatar
no
Avatar
fortify source and whatnot
10:20
yes
Avatar
it looks like the thing melon already reported
10:20
but it should be fixed
Avatar
Ewan are you using X11 or wayland ? It happened on my hyprland setup, worked on cinnamon x11
10:21
im building from ddnet-git rn
10:21
ah much better
Avatar
Avatar
Ewan
fortify source and whatnot
we fortify source in ddnet as well. also, if that breaks anything, it's usually a bug in the project
10:22
it can expose bugs that devs didnt know about
Avatar
fortify source means adding more bounds checks, so less unnoticed out of bounds writes
Avatar
Avatar
Ewan
ah much better
ah yeah LTO
10:23
i've seen them before when enabling LTO
10:23
actually they exist since like 3 years xd
Avatar
Avatar
Jupstar ✪
actually they exist since like 3 years xd
gg
Avatar
built it myself now having issues with scaling and not being able to switch monitor
Avatar
i guess we'd need to disable that warning, because we use localize way too often
10:26
and refactoring doesn't sound worth it
10:26
i'd bet i already linked to this issue
10:26
like 10 months ago
10:26
in this chat
Avatar
tja
Avatar
this close to going back to xorg
Avatar
wayland still beta after 20 years
Avatar
Avatar
Jupstar ✪
i guess we'd need to disable that warning, because we use localize way too often
you can tell the compiler that Localize passes through the string as-is
Avatar
also doesn't help it makes all my xorg apps blurry n shit
Avatar
lmao
10:28
soon kde6 releases, with wayland on default
10:28
already super hyped to have a broken wm
10:28
😬
10:29
i seriously wonder why they struggle so much with wayland
Avatar
it has already released
Replying to @Jupstar ✪ soon kde6 releases, with wayland on default
Avatar
Avatar
egyt
it has already released
thanks for beta testing
Avatar
all of this stuff is just so fucking close to working properly
10:38
but the tiny bugs go the furthest
10:38
and make things completely unusable
10:38
maybe middleware devs can’t handle wayland’s low level nature
10:38
so much more room for error
Avatar
🤣
Replying to @Jupstar ✪ thanks for beta testing
Avatar
@heinrich5991 how did you end up sending the messages back into C++?
Avatar
I expose a C API
11:25
modelled a bit after curl's
Avatar
Avatar
heinrich5991
Yeah, thought so
11:26
thanks
Avatar
Avatar
heinrich5991
I expose a C API
On which side?
Avatar
on rust's side
11:28
it's basically a rust library with an optional C API
11:29
(https://github.com/ddnet/ddnet/pull/6961 for an older version of it)
Avatar
Did you make it asynchronous somehow? We can't really block waiting on two network stacks one after the other, so I'm guessing you did find a way 🙃
Avatar
I'll have a couple of design questions in the end
Avatar
Avatar
Learath2
Did you make it asynchronous somehow? We can't really block waiting on two network stacks one after the other, so I'm guessing you did find a way 🙃
I'm only blocking on the socket, feeding the stuff to the right network protocol once it comes from the socket
Avatar
Avatar
heinrich5991
you can tell the compiler that Localize passes through the string as-is
We already do that I think: extern const char *Localize(const char *pStr, const char *pContext = "") GNUC_ATTRIBUTE((format_arg(1))); The build failure seems related to the str_format template
Avatar
Avatar
heinrich5991
I'm only blocking on the socket, feeding the stuff to the right network protocol once it comes from the socket
But are you even allowed to block on that? The game code needs to keep going even if there are no packets coming in, no matter how unlikely that is
Avatar
Avatar
Robyt3
We already do that I think: extern const char *Localize(const char *pStr, const char *pContext = "") GNUC_ATTRIBUTE((format_arg(1))); The build failure seems related to the str_format template
ah. we might need to tell the compiler to disable the warning for the release build, I guess
Avatar
Avatar
Learath2
But are you even allowed to block on that? The game code needs to keep going even if there are no packets coming in, no matter how unlikely that is
I'm doing the same thing as before. blocking with a timeout that the game code dictates
Avatar
Oh wait is it one socket for both udp and quic?
Avatar
yes
Avatar
Ah that's a cool way to do it
Avatar
(otherwise, you could select (or more modern alternatives) on two sockets)
Avatar
I would have probably moved quic to 9304 and used two sockets with select/epoll
11:33
8304* 😄
Avatar
the tricky stuff is all the edge cases
11:33
e.g. local serverbrowser. how's that supposed to work
Avatar
No broadcast in quic?
Avatar
no connection-less messages in quic
11:34
broadcast is probably not impossible, but currently not possible with the quic library I'm using
Avatar
Well if we keep the udp thing forever. I guess just using it for discoverability wouldn't be the worst
Avatar
you talking about ddnet quic pr?
Avatar
ye
Avatar
Avatar
Learath2
Well if we keep the udp thing forever. I guess just using it for discoverability wouldn't be the worst
meh, I'd like to move away from that ^^
11:35
i.e. support turning off the teeworlds net protocol entirely
Avatar
Well if quic doesn't support it, quic doesn't support it. Can't do any better than that
Avatar
getting the server info could be a thign you do with a connection
Avatar
If broadcasts are somehow possible maybe you could make something work
11:37
Or abuse something like bonjour. Don't most OSs run some daemon for it?
Avatar
broadcasts are possible in any network protocol, as you can just broadcast the first network message and treat each answer individually
11:38
btw. design questions:
  • review protocol for segmenting messages, is there some sort of standard maybe?
  • review protocol for disconnects, could we maybe get a two-way disconnect?
Avatar
Avatar
Learath2
Or abuse something like bonjour. Don't most OSs run some daemon for it?
Not on windows unless explicitly installed (or by iTunes)
Avatar
we get a byte stream from quic. how do we segment messages?
11:39
on disconnects: I'm currently tending towards two-way disconnects to make them reliable
11:40
and then I'd limit the amount of connections in pre-connect and disconnecting state to like 1 or 2 per IP address
11:41
oh, and then there's getting server info from favorites not listed on the masterservers. also an interesting question. might get the same treatment as the local server
Avatar
Avatar
heinrich5991
btw. design questions:
  • review protocol for segmenting messages, is there some sort of standard maybe?
  • review protocol for disconnects, could we maybe get a two-way disconnect?
Isn't segmenting already handled by CNetChunk and whatever we bundle chunks in?
Avatar
the problem is that we get more features in QUIC
11:43
we get unreliable messages (used for unreliable ddnet CNetChunks)
11:43
and we get byte streams (used for reliable ddnet CNetChunks)
11:44
but we need to segment these byte streams again. using the old structure would work, but it's kinda unnecessary because they contain an ID and some flags we don't need
Avatar
Ah, so you can root out all the reliabile delivery we have to implement over udp
Avatar
yes!
Avatar
I would just send bare CNetChunks, don't they contain enough information in the header to know when one is complete?
Avatar
they contain unnecessary IDs though, and unnecessary flags (edited)
Avatar
Heh, true nothing in there is needed anymore flagwise tbh. So I guess might aswell google around to learn if there is a segmentation standard somewhere
11:48
I would just use length prefixed messages, but doesn't hurt to check around
Avatar
yea, that's what I'm currently using
Avatar
What is the benefit of a two way disconnect btw?
Avatar
reliable disconnects. means that the message sent by the server will actually arrive at the client
11:50
11:50
not sure if it's fast, e.g.
Avatar
Eeeh I wouldn't do byte stuffing
Avatar
is that a term you knew beforehand? ^^ I didn't know what "byte stuffing" was
Avatar
Avatar
heinrich5991
is that a term you knew beforehand? ^^ I didn't know what "byte stuffing" was
I learned it in my computer networks course while talking about how one could have control bytes without constraining the content of the message
Avatar
interesting ^^
Avatar
We could though totally check it out see how it performs
11:56
Oh this form of it I hadn't really seen before though. It is a pretty cool idea
11:57
I was thinking of HDLC framing
11:58
Which doubles the size of every nul you have
Avatar
Avatar
ws-client
<ChillerDragon> @Ryzen I sent you the exact code. I sent you two projects that implemented dummies and are ready to use. And the command you can use to get ddnet up and running with dummies. If you have trouble with any of those let me know some details.
iam on windows
14:26
thank you for your understanding and patience
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
isnt it just 8
Avatar
Avatar
meloƞ
isnt it just 8
yes
Avatar
im such a gamer
Avatar
10th grade math, maybe even 9th
15:07
and no, I compiled from my fork, I'm not that dumb
Replying to egyt I compiled it and, well, no changes that I made 0\_0
Avatar
is it really?
Avatar
I don't think we learn tangent in 8th grade
Replying to @meloƞ is it really?
Avatar
its just a / b = a2 / b2 resolve for a2 (edited)
Avatar
then I overcomplicated it
Avatar
every number is the correct answer
Avatar
6.66m if you measure the pixels in the image monkaS
monkaStop 1
Avatar
Avatar
Robyt3
6.66m if you measure the pixels in the image monkaS
how so?
15:28
did u respect the perspective of the camera?
Avatar
2 / 3 = x / 10 (2 / 3) * 10 = x x = 6.66
Avatar
left is 500 pixels high, right is 150 pixels high
Avatar
math checks out
Avatar
no
15:28
perspective matters
15:29
if the right bar is thicker then the camera is closer to it (assuming normal conditions)
15:29
but anyway, i am team every number is correct
catxplosion 1
15:29
😬
15:29
shit questions require shit answers
Avatar
an apprentice of mine almost started crying because he used circle interpolation wrong and made the machine draw cute eyes into my machine bed
15:30
thats some fun math for you
Avatar
math is no fun, math is the truth
15:31
the truth always hurts
Avatar
math is fun when you reach the point of understanding it, i hated math in school because i didnt understand it :D
Avatar
chat: *** Do you know someone who uses a bot? Please report them to the moderators. Where does this message come from? Is this hardcoded?
Avatar
Avatar
murpi
chat: *** Do you know someone who uses a bot? Please report them to the moderators. Where does this message come from? Is this hardcoded?
Yeah, it's hard-coded really old bot protection. The bad answer to the shibboleth is xd sure chillerbot.png is lyfe, which makes the current run not eligible for finish. It was always a bug that players could see this message though, see also #8276
Avatar
HUH can i ask what the message was actually for?
16:06
i forgot whether i've asked about it before
Avatar
Avatar
TsFreddie
HUH can i ask what the message was actually for?
It automatically makes some old chillerbot version auth itself as a bot and disables the finish (edited)
16:07
I suppose because the client just answers this message to any message containing the word "bot" or something like that
16:08
Should probably be removed since nobody uses it anymore and it also causes normal runs to not count anymore if the player write the message in the first 10 seconds after joining
tear 2
Avatar
so was it suppose to send it to a invalid player as a message so the normal client doesn't actually shows them?
Avatar
yes, but I guess if a player joins in the right moment it will show up anyway
Avatar
vibe that make sense. the sending message part not the showing up part.
16:11
i mean if the server is full there is no way for the message to be from or to a invalid player i think?
Avatar
yeah, I suppose that's where it has to come from, unless it picks client ID -1 at least
16:13
looks like it uses -1 if no empty slot is found, so that's when you should see the message as a server message
16:13
it could still show up as the message of another client though
Avatar
probably just some order of packet / race condition thing when multiple players is connecting
16:17
does server choose client id from 0 to max_clients? maybe reverse this loop could help, it is less likely to choose a client id that might get connected soon because another player joined. https://github.com/ddnet/ddnet/pull/7968/files#diff-aba621fd6688d4086ab40e58808cc12fdf591fdedf0d6c58cde2312b68cea5e0L1522
Avatar
yeah, could help. I would vote for removing it though
Avatar
but now that you've said it here, isn't it possible for someone to find out there is a older bot they could use.
16:21
justatest
Avatar
I think that would have to be more than 10 years old already
Avatar
fair enough
16:23
and version check already covers that I imagine?
Avatar
not sure if it also sends a version code as well. the code to detect it was added 6 years ago when deen said nobody seems to use it anymore already: #1408 (edited)
Avatar
I grew tired of maintaining closed source code and no one seems to use this bot anymore anyway. Might want to make the same for 708 client version.
Avatar
what would happen if we just drop clients that are too old
Avatar
Avatar
TsFreddie
what would happen if we just drop clients that are too old
sad android peeps
Avatar
sooo, how do to actually do the thing I want to do?
Replying to egyt and no, I compiled from my fork, I'm not that dumb
17:26
Translating DDNet-Server will be a funny expirience
Replying to @murpi `chat: *** Do you know someone who uses a bot? Please report them to the…
Avatar
Avatar
TsFreddie
what would happen if we just drop clients that are too old
Heinrich would just perish
Avatar
I compiled my fork, but not the fork branch 🤦
Replying to egyt sooo, how do to **actually** do the thing I want to do?
Avatar
@Robyt3 what was changed that connecting to a server is so much faster in latest release?
Avatar
#6823 ? Or more recent than that?
Avatar
This makes the client connect to the server faster. It's especially noticeable on servers with a low ping. Closes #6811. Checklist Tested the change ingame Provided screenshots if it is a vi...
Avatar
All we learn by mistakes, aren't we?
Replying to egyt I compiled my fork, but not the fork branch 🤦
Avatar
Avatar
Robyt3
#6823 ? Or more recent than that?
mh but thats pretty old
Avatar
Maybe #8201 also makes it smoother now
Avatar
Previously, when connecting to servers repeatedly, the local tee would appear at the position it had on the previous server for a short time when joining. This (and potentially other bugs) are fixe...
Avatar
mhh dunno, it just feels like the connecting screen is gone much faster
Avatar
git bisect justatest
Avatar
maybe map loading is faster?
18:35
bcs we load the file at once
18:35
wasnt there a change like that
Avatar
That part was reverted I think
18:36
We don't load the map into memory
Avatar
ok xd
Avatar
Avatar
Robyt3
Maybe #8201 also makes it smoother now
maybe it's really just bcs of this
18:39
since it feels like u can play faster
Avatar
yeah, maybe also #8228 because it removes the weird m_aReceivedSnapshots[!g_Config.m_ClDummy] >= 3 conditions
Avatar
Fix game times and prediction not being updated when only exactly two snapshots have been received, due to the conditions m_aReceivedSnapshots[...] >= 3. These specific condition are not necessa...
Avatar
Seems like it was introduced in version 17.2 from some testing with the release version, so probably #6823 then
Avatar
This makes the client connect to the server faster. It's especially noticeable on servers with a low ping. Closes #6811. Checklist Tested the change ingame Provided screenshots if it is a vi...
Avatar
Since the key reader will intercept the next input, the other UI elements should not react to the hovered mouse.

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 map...
Avatar
this server spawned in 2 of these star bugs lol
Avatar
Replying to egyt All we learn by mistakes, aren't we?
19:34
Yes, it works, it was just me compiling the wrong branch 😅
Avatar
In Ukrainian and other Slavic languages, we have two words for "name", "ім'я" for personal names and "назва" for proper nouns (for example, Andrew is "ім'я", and DDNet is "назва"). Because server browser uses the same string as the scoreboard, it is/was impossible to translate the string "Name" to this languages correctly: you get either Andrew is "назва" (proper noun) or DDNet UKR is "ім'я" (personal name). What about changing "Spectate" to "Spectating" in Spectator mode? It just makes more...
Avatar
Yeah, just wanted to post that link here, tha... wait, what?
Avatar
@EGYT LGTM but you posted your images inbetween the checks? :D (edited)
Avatar
"inbetween"? oh yeah (edited)
Replying to @meloƞ EGYT but you posted your images inbetween the checks? :D
Avatar
remember that if you want to change "localize", you have to change the string in every .txt file from spectate to spectating
19:40
otherwise translations will break (edited)
Avatar
No, the "Spectate" button stays the same, and "Name" in the scoreboard stays the same too, so we only need to ADD a string (and I heard from furo that it is done automatically?) and not change them
19:43
I'll edit that quickly now
Avatar
now "Spectating" wont be translated - because it looks for "Spectate"
Avatar
Yeah, we now need to translate those two strings... sorry for the extra work (edited)
Avatar
not really translate (even tho that might break translation for some languages), more like change every .txt file ^^ - your PR is incomplete that way :o (edited)
Avatar
Okay, will change it too
Avatar
Avatar
meloƞ
not really translate (even tho that might break translation for some languages), more like change every .txt file ^^ - your PR is incomplete that way :o (edited)
good that my prs are always complete
19:45
amrite
Avatar
the screenshots shouldnt go inbetween the Checklist, breaks format! (nitpicking at that point) (edited)
Avatar
Yeah, sorry for the incompetence. I'm just a translator, after all, don't have as much expirience with GitHub :^)
Replying to @meloƞ the screenshots shouldnt go inbetween the Checklist breaks format! (nitp…
Avatar
Avatar
egyt
Yeah, sorry for the incompetence. I'm just a translator, after all, don't have as much expirience with GitHub :^)
yeah thats why i said im nitpicking ^^ - no worries!
Avatar
What do you mean? Are you suggesting to use the same translation for "Spectate" and "Spectating"? That shouldn't be done, as their meanings are different.
Replying to @meloƞ now "Spectating" wont be translated - because it looks for "Spectate"
Avatar
I guess they talk about "Spectating" string not being in the l10n files (edited)
Replying to furo What do you mean? Are you suggesting to use the same translation for "Sp…
19:51
So, now I open a tab with my fork and edit l10n files there... (edited)
Avatar
It's fine, it will be added automatically in the next release.
Avatar
Oh, good then, but I'll still probably add it for my translation, because leaving this string untranslated for an entire release... feels not cool
Avatar
the maintainer's will hit you up and tell you what you'd need to do, the PR has to be accepted first before anything lands in the release ^^
Avatar
"hit"? please don't hurt me... don't hurt me... no more...
Replying to @meloƞ the maintainer's will hit you up and tell you what you'd need to do, the…
Avatar
That's how I kinda feel, because there is this
19:58
Avatar
cant find the correct words to describe it non code-ish if you have str_format(aBuf, sizeof(aBuf), "%s: %s", Localize("Spectate") it will look up the Spectate string and display the fitting translation given in the .txt files (e.G german.txt) if you have str_format(aBuf, sizeof(aBuf), "%s: %s", Localize("Spectate", "SpectateIngame"), it still translates Spectate but will consider the context "SpectateIngame", if now the translation has a translation for Spectate with the context of SpectateIngame - it will choose that. (edited)
20:11
as an example: if(DoButton_Menu(&s_RelativeButton, Localize("Relative", "Ingame controller mode"), g_Config.m_InpControllerAbsolute == 0, &ButtonRelative, nullptr, IGraphics::CORNER_L)) and in the translation file: [Ingame controller mode] Relative == Relativ where [Ingame controller mode] is the context
Avatar
Aha-a... but I still think "Server Name" is fine, unless it creates problems, in which case the only thing I can say is "my bad"
Avatar
it will because changing the localize String itself has to be Changed in every language
Avatar
My bad
Avatar
Nothing happened No worries lol
Avatar
adding the context might do that too i think
20:25
or at least change the grouping or smth
20:26
But server name feels like an extra not required.. it's inside the server browser
Avatar
So that's not a really big trouble I've caused here, right?
Replying to @meloƞ Nothing happened No worries lol
Avatar
server browser server name
Avatar
Hm, yeah, indeed.
Replying to @Jupstar ✪ server browser server name
20:30
So, the only thing that is needed is to do something like [Server browser] Name == <translation> yeah? (edited)
Replying to @Jupstar ✪ server browser server name
Avatar
i dunno if there is a word for what you described in your PR the difference between a name for human and things
20:31
maybe that would be the correct context here
20:31
so better don't ask me 😄
Avatar
Mixing up "назва" and "ім'я" == bad translation == people will switch to English == "and I made this for noone to use it?" == sad
Replying to @Jupstar ✪ maybe that would be the correct context here
Avatar
yes mixing it sucks
20:34
i just meant. maybe there is a more general word for the context
20:34
if there is another "Name" column somewhere u have to add yet another context
20:35
a more general name would prevent such cases
Avatar
i guess we both aren't native to english
Replying to @Jupstar ✪ i just meant. maybe there is a more general word for the context
Avatar
i suck at any language xDD
Avatar
at least i know my mother tongue
20:38
we all need to learn esperanto or toki pona XD
Avatar
we just need to ask gpt-4
20:38
the one thing that tool is good in
Avatar
is yoinking the code irresponsibly
20:40
oh wait, that's copilot, gpt actually yoinks articles verbatim
Avatar
onomastics
20:40
WTF XDD
20:40
Onomastics (or, in older texts, onomatology) is the study of the etymology, history, and use of proper names. An alethonym ('true name') or an orthonym ('real name') is the proper name of the object in question, the object of onomastic study. Onomastics can be helpful in data mining, with applications such as named-entity recognition, or recogni...
20:41
there are really infinite words for stuffs
20:42
Ergonymy
20:42
An ergonym is a proper name or title of an organization, that reflects its function (for example, business associations, learned institutions, industrial companies, agencies, banks, shops, cultural institutions, sports complexes and stadia). An ergonym is a unit of the linguistic space of a city. An ergonym may be an important marker of sociocul...
Avatar
supercalifragilisticexpialidocious
Avatar
maybe Toponymy even makes sense
20:43
Toponymy, toponymics, or toponomastics is the study of toponyms (proper names of places, also known as place names and geographic names), including their origins, meanings, usage and types. Toponym is the general term for a proper name of any geographical feature, and full scope of the term also includes proper names of all cosmographical featur...
20:44
yeah yeah anyway i am not looking deeper into this stuff
20:44
i prefer to stay stupid here xDD
20:45
put it into a text file and see how much it takes to write/open/etc
Avatar
Nomenclature (UK: , US: ) is a system of names or terms, or the rules for forming these terms in a particular field of arts or sciences. The principles of naming vary from the relatively informal conventions of everyday speech to the internationally agreed principles, rules and recommendations that govern the formation and use of the specialist ...
20:46
ok now i stop
Avatar
and someone even checked how much it takes to pronounce... and yeah, back to development stuff. No progress for today besides adding two strings and changing "replay"s to "demo"s. (Reason: School) (how to underscore Markdown??) (edited)
Replying to egyt we can use this as a benchmark https://en.wiktionary.org/wiki/Appendix:P…
Avatar
you learned some ancient greek today
20:50
can't complain
Avatar
what are you talking about?
Replying to @Jupstar ✪ you learned some ancient greek today
Avatar
most of the words i posted are derived from ancient greek
20:51
linguists love latin and ancient greek
Avatar
well, now you can complain because I didn't learn them
21:07
history being erased
Avatar
why history being erased? what does the link show?
21:18
Sorry to say, archive.org is under a ddos attack. The data is not affected, but most services are unavailable. We are working on it & will post updates in comments.
21:18
the internet archive is being DDoSed 😦
Avatar
I did not review PRs today
Avatar
me neither
22:37
good morning 🌞
22:37
if u i can even say that
22:37
4:37 pm feelsbadman
Avatar
i think i will just use plasma feelsbadman
Avatar
i never got an answer before but is there a way i can somehow run this: https://uptime.lukron.xyz/api/push/rl3wv29Hds?status=up&msg=OK&ping= so that when my ddnet server is on it shows on uptime kuma
23:55
is there anywhere i can just add it
Exported 802 message(s)