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-06-26 00:00:00Z and 2024-06-27 00:00:00Z
Avatar
ws-client BOT 2024-06-26 02:03:25Z
<ChillerDragon> bru neovim crashing... time to move back to vscode xd
Avatar
@arrowtey boa noite
πŸ₯Έ 1
❀️ 1
Avatar
chillerdragon BOT 2024-06-26 05:38:38Z
Xd
Replying to @Learath2 privilege de-escalation
Avatar
Why do I need to reset my filters to see which of my friends are online? can please show friends globally, not only on those servers that fit the filter? Thanks
troll 1
Avatar
ws-client BOT 2024-06-26 07:51:40Z
<ChillerDragon> @murpi
07:51
<ChillerDragon> did da ping work?
Avatar
yes
Avatar
ws-client BOT 2024-06-26 07:52:03Z
<ChillerDragon> thank
07:52
<ChillerDragon> murpi i made a marketing video for you to sell you my map patch saas https://www.youtube.com/watch?v=v5JPyCtkWww
07:52
<ChillerDragon> if it peeks your interest feel free to contact sales@zillyhuhn.com
Avatar
Why is this usefull?
08:52
I don’t get it why you need it
Avatar
ws-client BOT 2024-06-26 09:17:29Z
<ChillerDragon> Similiar reason why git is useful. Patches can be easier to work with than entire files. This allows two people to work on different parts of the map then merge it together without any manual work.
09:17
<ChillerDragon> And you also see exactly what was changed.
Avatar
Seems a bit overkill in my eyes
Avatar
Chiller wanna create a ddrace map together owo owo
Avatar
ws-client BOT 2024-06-26 11:44:07Z
<ChillerDragon> no sori
Avatar
chiller is all business these days
11:45
very serious
Avatar
Dude doesnt want to collab on a map
11:45
Proceeds to write His 9372828472 bash Script this Year (edited)
11:46
Smh
Avatar
he didn't want to gores w me either
11:46
So Rude!
Avatar
he's fired
11:47
no longer on payroll
11:47
and there will be no severance
Avatar
ws-client BOT 2024-06-26 11:55:14Z
<ChillerDragon> oh boy I spend too much time writing ez languages i forgot how confusing C++ was
Avatar
When make a C++ compiler in bash
Avatar
ws-client BOT 2024-06-26 11:59:09Z
<ChillerDragon> @jxsl13 lets go start ddnet3 initative to rewrite ddnet in go
11:59
<ChillerDragon> @MilkeeyCat too hard
Avatar
doubt that Go is the right language in which one should implement the server
12:02
might be possible and interesting, but not necessarily the languahe of choice.
Avatar
ws-client BOT 2024-06-26 12:02:57Z
<ChillerDragon> what about client?
12:03
<ChillerDragon> why not the server?
Avatar
that might be cool
Avatar
ws-client BOT 2024-06-26 12:03:15Z
<ChillerDragon> why is client cool and server not xd
Avatar
might have GC performance implications
12:03
but one never knows
Avatar
ws-client BOT 2024-06-26 12:03:46Z
<ChillerDragon> but the client has that issue even worse right?
12:03
<ChillerDragon> its the client that needs gaming vps
12:04
<ChillerDragon> the servers already run on raspberry pis
Avatar
ws-client BOT 2024-06-26 12:04:11Z
<ChillerDragon> fps*
12:04
<ChillerDragon> not vps xd
Avatar
imo the server needs to crunch more data
Avatar
ws-client BOT 2024-06-26 12:04:47Z
<ChillerDragon> anyways i found my C++ bug im in love again xd
Avatar
server vs headless client, that is
Avatar
ws-client BOT 2024-06-26 12:06:53Z
<ChillerDragon> ah headless
Avatar
im losing love with every inexplicable memory error
Avatar
ws-client BOT 2024-06-26 12:07:27Z
<ChillerDragon> yea headless makes sense even in ruby
Avatar
then i want to consider a language like rust but am genuinely deterred by the elitist douchebag behavior i will be responsible for by proxy of associating with the language
Avatar
there are people implementing games/servers in Go, so it's possible but imo not the best choice: https://youtube.com/@unitoftimeyt?si=hu3sXde_C665tGTo
Making games and other things.
12:11
there is also a game engine: https://ebitengine.org/
Ebitengine is an open source game engine for the Go programming language. Ebitengine's simple API allows you to quickly and easily develop 2D games that can be deployed across multiple platforms.
Avatar
I have a new favourite vim motion gn
12:20
idk how I lived without it
Avatar
ws-client BOT 2024-06-26 12:20:40Z
<ChillerDragon> wat gn do
Avatar
"Search forward and select"
Avatar
ws-client BOT 2024-06-26 12:21:26Z
<ChillerDragon> search what xd
Avatar
Well it's like n, it does your last search again (edited)
Avatar
ws-client BOT 2024-06-26 12:22:09Z
<ChillerDragon> hmm
12:22
<ChillerDragon> im not sold xd
12:22
<ChillerDragon> especially because gp is paste?
Avatar
Well how would you do search and replace selectively
12:22
There is no gp is there?
Avatar
ws-client BOT 2024-06-26 12:23:01Z
<ChillerDragon> im stupid xd
12:23
<ChillerDragon> i thought p is previous search hit
Avatar
N is previous
Avatar
ws-client BOT 2024-06-26 12:23:29Z
<ChillerDragon> ye
12:23
<ChillerDragon> gN also somehow borked for me
12:23
<ChillerDragon> oh wait it isnt
Avatar
For search and replace I do /<search>, gn, c<replace><ESC>, then you can navigate matches by n or N and do the replace with .
12:25
Perhaps cgn<replace><ESC> can also work without going into visual in the middle
Avatar
ws-client BOT 2024-06-26 12:25:53Z
<ChillerDragon> yea thats pretty cool
12:26
<ChillerDragon> i wish i could use c :(
12:26
<ChillerDragon> mine is blocked by custom "compile" hotkey which i very much need
Avatar
The thing I use most is caw, ciw, and ct<something>
12:27
All my custom stuff are behind <Leader>, why do you need compile on c?
Avatar
ws-client BOT 2024-06-26 12:27:30Z
<ChillerDragon> accesibility
Avatar
;c is about the same speed since it's on separate hands
Avatar
ws-client BOT 2024-06-26 12:28:17Z
<ChillerDragon> nah 1 key is different than 2 keys
Avatar
or \c or c a good leader is very fast
Avatar
ws-client BOT 2024-06-26 12:28:37Z
<ChillerDragon> i switched my leader from , to space
Avatar
I also have space as leader
Avatar
mine is ; idk why I got used to that
12:29
I guess since the motion is quite useless
12:30
If you have an ansi english layout keyboard \ is very good
Avatar
ws-client BOT 2024-06-26 12:30:43Z
<ChillerDragon> DEUTSCHLAND
12:30
<ChillerDragon> qwertz
12:30
<ChillerDragon> pog
Avatar
Wait, why have compile on c on a german keyboard? Just have it on ü?
Avatar
ws-client BOT 2024-06-26 12:32:13Z
<ChillerDragon> mr international lerato
12:32
<ChillerDragon> ü
Avatar
back when I first used vim my leader was on ü on a turkish keyboard πŸ˜„
Avatar
If there are too many snap items with too high values the crc will overflow. If that overflow differs from client to server the client will drop the snapshot and it will cause lags. This test case should help staying compatible with other implementations such as the one from teeworlds which does not use an unsigned int but a regular int. And it also helps spot this rare issue faster on machines where unsigned int has a different size than 4 byte.

Checklist

  • [ ] Tested the change i...
Avatar
qwfpgjluyarstdhneiozxcvbkm
12:46
think about it
Avatar
Avatar
Ewan
qwfpgjluyarstdhneiozxcvbkm
Facts
Avatar
hey guys
Avatar
is there an issue about banlist behavior on some servers, if it's too long you may timeout ?
12:59
(not specific to banlist but any command is like that if the output is very long)
Avatar
ChillerDragon BOT 2024-06-26 13:08:26Z
ye lerato you right "ü" would be nice but im not used to it
13:08
fakin webchat exploded in ma face mid converation xd
13:09
@ReiTW might be but i thought they all got fixed
Avatar
letme try
13:12
doesn't seem
13:13
maybe it's specific to our srv but we have around 650bans, everything is properly showed but then only admins timeout
13:13
like, I do the cmd, it'll timeout all loggedin admins
Avatar
hello, i'm wurpi
Avatar
hellou wurpi, I love your profile picture!
Avatar
thank you, I drew it myself
Avatar
It would be nice if there're was a way to connect to ddnet servers which have set password using ddnet:// link. I don't know If anyone has a use case for it but I do xd.
15:25
b138cc9 Add tests for snapshot crc overflow - ChillerDragon f21976b Merge pull request #8524 from ChillerDragon/pr_test_crc_overflow - def-
Avatar
https://github.com/golang/go/issues/17058 go might be the only language with absolutely no way to silence it's linter
@josharian added an internal whitelist feature for vetting the standard library. I think such a whitelisting feature is also useful for outside packages. (If cmd/vet could load project specific plu...
Avatar
Only works if your linter is correct all the time
Avatar
Avatar
ReiTW
maybe it's specific to our srv but we have around 650bans, everything is properly showed but then only admins timeout
this is a general issue with rcon, 650 lines spams the sendq too much, when the sendq is full the connection dies with no way to recover as all rcon messages are vital
Avatar
and not having a way to silence it will force the linter to improve I guess? πŸ˜„
Avatar
Avatar
Learath2
this is a general issue with rcon, 650 lines spams the sendq too much, when the sendq is full the connection dies with no way to recover as all rcon messages are vital
is there any workaround that can be impl to fix that ?
Avatar
Avatar
deen
and not having a way to silence it will force the linter to improve I guess? πŸ˜„
There are a couple things a linter just can't know though. E.g. it warns on a "context leak", but I'm willingly leaking that context on those code paths because what follows outside that function is a panic that will kill everything anyway, no graceful shutdown possible
Avatar
Avatar
ReiTW
is there any workaround that can be impl to fix that ?
Are you following ddnet master nowadays?
Avatar
Avatar
Learath2
Are you following ddnet master nowadays?
I'm mostly out of tw nowadays
15:39
so I don't rly see what's happening
Avatar
I meant as in is your source based on a relatively new ddnet version
15:39
I remember us discussing a fix for this last time it came up, so we may have added something
Avatar
well the current one not, but we have another one that does
15:40
current one is vanilla based sadly
Avatar
let me take a quick look if we added anything
Avatar
sure thanks !
Avatar
but your options are basically to throttle the messages, implement non vital messages or paginate your bans
15:41
can someone ban this guy pls
Avatar
Avatar
ReiTW
sure thanks !
20 elements per page, we have too many bot bans Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configuration optio...
Avatar
he has been blocking for ages
Avatar
Avatar
Zokra
Click to see attachment πŸ–ΌοΈ
checking
Avatar
Avatar
deen
checking
DDNet RUS1 - Brutal Address: ddnet://37.230.162.50:8345 My IGN: Zokra
Avatar
37.230.162.50:8345 is an official DDraceNetwork (DDNet, Region: πŸ‡·πŸ‡Ί) server. Quick join: https://ddnet.org/connect-to/?addr=37.230.162.50:8345/
Avatar
Avatar
Learath2
oh ok I see, I could implement the same then, thanks !
Avatar
it's a relatively clean patch, it might even cleanly apply πŸ˜„
Avatar
yoooo, i finally fixed integers in my "compiler" 😏 it looks so ugly https://github.com/MilkeeyCat/meraki/blob/15cc708cdd9e4276f54e61ae3140a94fe9f51b26/src/parser/expr/int_repr.rs#L111-L133 but it works and I hope I will never have to touch this ever again justatest
Avatar
What on earth? πŸ˜„
Avatar
Avatar
MilkeeyCat
yoooo, i finally fixed integers in my "compiler" 😏 it looks so ugly https://github.com/MilkeeyCat/meraki/blob/15cc708cdd9e4276f54e61ae3140a94fe9f51b26/src/parser/expr/int_repr.rs#L111-L133 but it works and I hope I will never have to touch this ever again justatest
Why aren't your int literals just ints?
Avatar
Avatar
Learath2
What on earth? πŸ˜„
ure too bad to understand this 2000iq solution justatest
Avatar
The div2 and mul2 are actually scaring me, what are these? Are you trying to support arbitrary precision?
Avatar
yes and no
18:37
in theory it can, in practice i wont
Avatar
fn inc(num: &mut String) I do not understand
18:37
maybe I'm smoothbrain afterall
18:38
num ----> String?
Avatar
"1234"
18:38
xd
18:38
it increments a string
Avatar
How does that += 1 not overflow? FrierenDies
18:39
1239 + 1 = 123:
Avatar
it's getting called after mul2 so last number never be 9
18:40
ez clap
Avatar
I'll pay you to make it pub struct IntLitRepr { inner: i64 }
Avatar
Avatar
MilkeeyCat
yoooo, i finally fixed integers in my "compiler" 😏 it looks so ugly https://github.com/MilkeeyCat/meraki/blob/15cc708cdd9e4276f54e61ae3140a94fe9f51b26/src/parser/expr/int_repr.rs#L111-L133 but it works and I hope I will never have to touch this ever again justatest
justatest cisco would sue you
Avatar
Avatar
Learath2
I'll pay you to make it pub struct IntLitRepr { inner: i64 }
what if i want to store u64
Avatar
Store an u64 and a unsigned: bool
18:43
Or UIntLitRepr that also works a lot of compilers would treat those literal types differently anyway
Avatar
Cisco Meraki is the leader in cloud controlled Wi-Fi, routing, and security. Secure and scalable, learn how Cisco Meraki enterprise networks simply work.
Avatar
that's a good time to tell that it could be 2 separate structs
Avatar
It has actually been a very long time since I've actually looked at a piece of code and all I can think of is huh
Avatar
Avatar
Learath2
It has actually been a very long time since I've actually looked at a piece of code and all I can think of is huh
ure welcome justatest
Avatar
Straight to programming jail you go πŸ˜„
Avatar
I would go there if it didn't work
Avatar
Never heard of her
Avatar
The ability to run make -j16 -l17 is so pleasant
Avatar
Hello, I found an unexpected (in my opinion) behaviour in the rules. When the current position 0 0 is tested with the EMPTY keyword, the principle of layer copies and NewRun does not seem to work. As the bug only occurs at position 0 0, it reminds me of #8134. This problem may be a duplicate of that one.

Example

When test 1 is executed, as expected, all empty tiles are replaced with 1 then with 2 and because there is no NewRun. In the end, all full tiles are re...
Avatar

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/#using-addres...
Avatar
04b37f2 Extract GenerateTimeoutCode function to reduce duplicate code - Robyt3 872052b Avoid magic numbers for generating timeout code - Robyt3 6c50952 Merge pull request #8527 from Robyt3/Client-GenerateTimeoutCode - def-
Exported 183 message(s)