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-12-03 00:00 and 2024-12-04 00:00
Avatar
GitHub BOT 2024-12-03 00:07
I simply want to 100% the romanian translations.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's me...
Avatar
one day i'll hop on tatar translation, i swear justatest
Avatar
android is real boys
Avatar
tatar
Avatar
GitHub BOT 2024-12-03 04:06
@sjrc6 : I use it all the time when I'm the one being dragged through a freeze part and I don't need to do anything
@Pioooooo : for showing im afk while watching myself
This reverts the menu changes, also 180'd on the left click to make sure it is possible to click on yourself to spectate for consistency. As for solving the confusion problem where player accidentally triggering self-spec and wondering why they cant move camera when pausing, let's come up with other ways to ...
04:45
at least it is consistent now, if you have self spec in menu, i'd rather allow left click on yourself too. which isn't possible before
Avatar
Avatar
zhn
furry comes
😭😭😭
Avatar
oh no. terrible idea
Avatar
Chillerdragon is actually competing what dude is actually going to get a perfect score on the private leaderboard
05:31
meanwhile I'm stuck trying to destructure a 4-tuple because I'm supposed to use pattern matching for those
05:32
but I can't use pattern matching with the restrictions I've set
Avatar
amogus i don't even attempt so i don't feel bad about myself
Avatar
I thought I had a solution with uncurry but what I actually need is uncurry4 and I don't have that I don't want to use whatever random library that happens to include the relevant functions, might as well cheat and write one
05:37
Or maybe give up on using regex and simply handle the the string by hand? I'm sure that won't be painful
Avatar
curry mentioned, let's goooooo
Avatar
I love knowing the solution the instant I read the problem description but spending an hour on a technical problem due to the weird restrictions I set on myself
Avatar
Ooh, flashy
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
Is it a shader?
Avatar
no, just four quads
Avatar
GitHub BOT 2024-12-03 07:13
cdb983f Revert "remove self from spectate selector" - TsFreddie cb623cb fully allow clicking on yourself to spectate - TsFreddie 78fcddf Merge pull request #9326 from TsFreddie/revert-self-spec - def-
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
looks so cool that it almost feels out of place
Avatar
justatest we don't have much effect work in this game i guess, not that i really needed it anyway
Avatar
I don't like strings, and it seems Haskell doesn't particularly like them either...
SPOILER
Avatar
I've never seen Haskell and strings in the same sentence before
Avatar
@arch1t3cht any way to destructure large tuples without pattern matching? I had to cheat to solve this one...
Avatar
Avatar
risu
I love knowing the solution the instant I read the problem description but spending an hour on a technical problem due to the weird restrictions I set on myself
What kind of restriction :o
07:27
I'm at work so I can't get perfect score feelsbadman
Avatar
Avatar
meloƞ
I'm at work so I can't get perfect score feelsbadman
ChillerDragon was done with both in like 15 minutes though not like that'd be all that hard without restrictions
Avatar
I did the first two days in around ~5 minutes per part in c++ Took me 2 hours on nix lang tho kek (edited)
Avatar
Avatar
meloƞ
What kind of restriction :o
No variables, just functions and constants
Avatar
Avatar
risu
No variables, just functions and constants
damn
Avatar
that's why I'm unhappy with this bit --cheating uncurry4 f (a, b, c, d) = f a b c d because f, a, b, c, and d are all big big stinky
Avatar
Well my code isn't beautiful either KEKW ❯ cat main.cpp #include <fstream> #include <iostream> #include <unordered_map> #include <vector> using namespace std; int main() { ifstream input("input.txt"); vector<int> lhs, rhs; int left, right; while (input >> left >> right) { lhs.push_back(left); rhs.push_back(right); } unordered_map<int, int> rhsCounts; for (int num : rhs) { rhsCounts[num]++; } long long score = 0; for (int num : lhs) { score += (long long)num * rhsCounts[num]; } cout << score; }
Avatar
Avatar
meloƞ
Well my code isn't beautiful either KEKW ❯ cat main.cpp #include <fstream> #include <iostream> #include <unordered_map> #include <vector> using namespace std; int main() { ifstream input("input.txt"); vector<int> lhs, rhs; int left, right; while (input >> left >> right) { lhs.push_back(left); rhs.push_back(right); } unordered_map<int, int> rhsCounts; for (int num : rhs) { rhsCounts[num]++; } long long score = 0; for (int num : lhs) { score += (long long)num * rhsCounts[num]; } cout << score; }
oh you did it in a reasonable way Mine is really funny in how inefficient it is
Avatar
Well it's a way for me to get back to basics, so I'm doing it in the language I'm most proficient in
Avatar
My solution creates the cartesian product of lhs and rhs, filters out the pairs that aren't equal, reduces them to single values, and takes the sum
07:36
lol
Avatar
it's funny because it's like mathematically elegant but so so bad in reality
Avatar
windows
Avatar
Huh, when I added -O2 to my flags it runs like 5x faster I guess GHC is smart enough to realize that it should not be creating a list of a million elements just to filter out the vast majority of them
07:48
See, I don't need to be a good programmer, I can just rely on magic happening!
Avatar
Avatar
TsFreddie
curry mentioned, let's goooooo
Wait, were you happy because I mentioned the guy or because I mentioned the food?
Avatar
Avatar
risu
Wait, were you happy because I mentioned the guy or because I mentioned the food?
yes
Avatar
Avatar
TsFreddie
yes
BASED 🦅
Avatar
oh no
08:02
flash bang
08:03
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
the border feels very distracting in a UX standpoint but it does look kinda cool LOL (edited)
Avatar
Avatar
Voxel
the border feels very distracting in a UX standpoint but it does look kinda cool LOL (edited)
honestly i think it is either this or a popup window. for https://discord.com/channels/252358080522747904/293493549758939136/1313119969998934026. somehow people just don't notice the text in the bottom right. so i choose border for the "confinement" feeling, and a flash for "releasing a lock" feeling. both just force people to look at the bottom right corner. (edited)
👍 1
08:24
i mean it is possible it is just the younger generation being ruined and dumb tho.
08:25
it wasn't happening a lot until recent years
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
now you gotta animate every menu in the game
Avatar
justatest wouldn't that just feel too slow?
Avatar
ok so the way you do animated menus is 1. if you animate the positions of menu items, do it real fast 2. if you animate the positions of menu items, do it visually only so the menu is operable before it is fully visible 3. avoid animating the positions of menu items in complex menus where the user is likely to perform many actions quickly
Avatar
please tell that to apple asap (edited)
Avatar
2 is very arguable, in some cases it becomes unintuitive if the menu items aren't where they appear to be
08:52
but for cases where for example items quickly slide in from the side of the screen it's best that they're clickable even when they're not yet visible (edited)
08:55
I guess you could split it into two categories: 1. static menus that animate when you open them
  • rule 2 applies
2. dynamic menus that move around as you use them
  • rule 2 absolutely does not apply
  • an example of this is something like the osu! song select menu
(edited)
Avatar
GitHub BOT 2024-12-03 09:22
1f28375 Christmas Tournament 2024 - def-
Avatar
Why am I the only one with a non linked profile feelsbadman My name has a special n feelsbadman
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Isn't it going to be confusing spec yourself?
09:31
When you go into spec your tee is always in the middle so you're always going to spec yourself
Avatar
Avatar
meloƞ
Why am I the only one with a non linked profile feelsbadman My name has a special n feelsbadman
N with long right leg
Avatar
New players won't even notice why they can't move
Avatar
Love you Deen kek
Avatar
Sorry, never noticed the weird n you have before
Avatar
It's not weird cammo
Avatar
Avatar
kebs
Isn't it going to be confusing spec yourself?
some people really want to spec themselves for reasons. i'm thinking going the other way, maybe adding visual indications for spec mode changes
Avatar
There's already spec menu
09:35
For left clicking its confusing that's why I didn't add it on the original pr
Avatar
ah
Avatar
If I left click I generally want to spec someone not myself
Avatar
it feels like inconsistency really
09:37
but i guess let's revert again
09:37
kek
09:39
do i revert to all the way before or do i keep the clicking on yourself in demo
Avatar
honestly eitherway people are clearly triggering self spec even with spec menu
Avatar
@TsFreddie So should https://github.com/ddnet/ddnet/pull/9321 go into 18.8 or not?
As requested #9318 (comment) Tested with new client joining new server and old client joining new server. Checklist Tested the change ingame Provided screenshots if it is a visual change Tested...
Avatar
Avatar
deen
@TsFreddie So should https://github.com/ddnet/ddnet/pull/9321 go into 18.8 or not?
no
Avatar
GitHub BOT 2024-12-03 09:41
5120e79 fix spectate closest - TsFreddie 51ff510 Update Simplified & Traditional Chinese translations for upcoming 18.8 - ASKLL-STAR ada887c Fix hook collisions preview string not being localizable - Robyt3 7294013 Revert "remove self from spectate selector" - TsFreddie 0f1b253 fully allow clicking on yourself to spectate - TsFreddie
Avatar
I like the idea of being able to click yourself but then again I'm a radical generality enjoyer
Avatar
@deen make sure you don't have 84a0303 in 18.8 too
👍 1
Avatar
I made click to spec so new players can spec someone without knowing about spec menu
09:43
It doesn't make sense to spec yourself 99% of time
Avatar
that's why i kinda want to remove them in spec menu
09:43
and i did
09:44
justatest
10:00
cf27701 use proper version compatibilty check - TsFreddie 9262d42 Merge pull request #9321 from TsFreddie/spec-cam-compat - def-
10:03
94fe303 Automated Android build - def-
Avatar
GitHub BOT 2024-12-03 10:20
MAKEFLAGS are not used by ninja anyway.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https:/...
Avatar
GitHub BOT 2024-12-03 10:31

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
Avatar
risu
@arch1t3cht any way to destructure large tuples without pattern matching? I had to cheat to solve this one...
arch1t3cht 2024-12-03 10:52
Not really, no There are some libraries that have functions like fst4 but there's no easy general way
Avatar
and I can't believe I didn't get regex when I installed the compiler I thought that was the sort of thing that comes default with modern languages
Avatar
arch1t3cht 2024-12-03 10:53
I guess you could allow yourself to define your own fst4/snd4/etc functions since it's a bit of an oddity that haskell doesn't have those - in theory they should be built-in for any inductive data type
Avatar
GitHub BOT 2024-12-03 10:58

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
https://sqlize.online/sql/mariadb115/3ac1e4db3f69cc7cadbb3d5e48b3508d/ help mariadb, simple query, try run query multiple times (x5-x10), column error has difference values on mysql works fine
Avatar
ws-client BOT 2024-12-03 11:07
<ChillerDragon> @risu i went full speed on aoc today starring at the timer and then using all tricks i know to just get the result. I use grep and piped the output into a script massaged it with neovim the code something between horrible and non existant.
Avatar
,(41,792,'2024-05-25 08-31 03:49:24')
Avatar
ws-client BOT 2024-12-03 11:07
<ChillerDragon> also i have a timezone advantage. aoc release time is pretty chill in utc+8
Avatar
Avatar
meloƞ
,(41,792,'2024-05-25 08-31 03:49:24')
@Matodor
11:08
08-31 should be 08:31 no?
11:08
How did you generate the times
Avatar
Avatar
ws-client
<ChillerDragon> @risu i went full speed on aoc today starring at the timer and then using all tricks i know to just get the result. I use grep and piped the output into a script massaged it with neovim the code something between horrible and non existant.
Yeah this is basically what I'd do if I was racing no restrictions too, how long did it take?
11:09
I could only put an upper bound on your solve time because I didn't check the leaderboard until after struggling a bit
Avatar
Avatar
ws-client
<ChillerDragon> also i have a timezone advantage. aoc release time is pretty chill in utc+8
I was ready to go too, so I don't think your timezone advantage changed anything
Avatar
Avatar
meloƞ
How did you generate the times
Also the column properly displays the same value each time, tried ~30 times
Avatar
GitHub BOT 2024-12-03 11:10
9e07034 Update Simplified Chinese translations for upcoming 18.8 - ASKLL-STAR a54577b Update Traditional Chinese translations for upcoming 18.8 - ASKLL-STAR cd1e80b Merge pull request #9328 from ASKLL-STAR/transl_patch - def-
Avatar
Avatar
meloƞ
Also the column properly displays the same value each time, tried ~30 times
Avatar
ws-client BOT 2024-12-03 11:12
<ChillerDragon> 5min part 1 and 11 min part 2 which is super bad for tryharding xd @risu
Avatar
Avatar
Matodor
Click to see attachment 🖼️
Why is your second screen properly showing user IDs, but doesn't on the left one ?
Avatar
Avatar
ws-client
<ChillerDragon> 5min part 1 and 11 min part 2 which is super bad for tryharding xd @risu
oh hey so my 15 minute guess was really close
Avatar
Avatar
ws-client
<ChillerDragon> 5min part 1 and 11 min part 2 which is super bad for tryharding xd @risu
Im still at Work stop try Harding monkaStop monkaStop
Avatar
ws-client BOT 2024-12-03 11:12
<ChillerDragon> yea was perfect
Avatar
it's a main question 😄
11:12
idk
11:13
on mysql all ok (as on second screen) (edited)
Avatar
Avatar
ws-client
<ChillerDragon> 5min part 1 and 11 min part 2 which is super bad for tryharding xd @risu
qq/don't()<Enter>d/do()<Enter>df)q and then repeat the macro until the end of input to filter out the parts we don't want honestly agree that 11 min isn't too hot lol (edited)
11:19
Do edits go through the bridge?
Avatar
MilkeeyCat 2024-12-03 11:20
message is resent (edited)
Avatar
GitHub BOT 2024-12-03 11:38
a150b85 Unite the word used in traditional_chinese.txt - By622 03fd7ff Merge pull request #9329 from By622/patch-19 - def-
Avatar
GitHub BOT 2024-12-03 11:57

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
12:01
dc5b50c Add nightly Android links - def-
Avatar
GitHub BOT 2024-12-03 13:05
As a Turkish localization "aim" can be "hedef" but it might get out of its meaning and be confusing for players so it is left as "aim". I'm waiting for a friend's check for Azerbaijani translation, I'll edit it and send it after he returns.
Avatar
Avatar
Matodor
https://sqlize.online/sql/mariadb115/3ac1e4db3f69cc7cadbb3d5e48b3508d/ help mariadb, simple query, try run query multiple times (x5-x10), column error has difference values on mysql works fine
workaround (mariadb) SET STATEMENT optimizer_switch='derived_merge=off' FOR SELECT ... (edited)
♿ 2
Avatar
GitHub BOT 2024-12-03 14:10
``` 2024-12-03 14:24:07 I http: libcurl version 8.8.0 (compiled = 8.8.0) 2024-12-03 14:24:07 I server: server name is 'po³ cooler server tschüss' 2024-12-03 14:24:07 I sql: [2] load best time done on read database 0 2024-12-03 14:24:07 I server: version 18.7 on win64 amd64 2024-12-03 14:24:07 I server: git revision hash: d3c99fa41ac50010dc364fa20df06028ab017536 2024-12-03 14:24:08 I register/6/ipv6: registering... 2024-12-03 14:24:08 I register/6/ipv4: registering... 2024-12-03 14:24:...
♿ 3
Avatar
Circuit IR Compilers and Tools
Avatar
GitHub BOT 2024-12-03 15:58
53821f7 Remove vena from announcement - def-
💀 5
Avatar
GitHub BOT 2024-12-03 16:18
fcd8b9e Update translation stats - def-
Avatar
GitHub BOT 2024-12-03 16:37
9684bf2 Update Turkish translation for 18.8 - GokturkTalha 9b4e2d1 Update Azerbaijani translation for 18.8 - GokturkTalha b87b1c9 Merge pull request #9331 from GokturkTalha/master - def-
Avatar
Igor370 BOT 2024-12-03 17:10
hello... i have some bug in the game... in settings im enabled "show health" feature but... i cant see health... i dont installed any custom textures!
17:13
cool
Avatar
GitHub BOT 2024-12-03 17:47
b08f1e2 android build: Allow specifying parallelism via BUILD_FLAGS - def- 3307717 Merge pull request #9327 from def-/pr-android-para2 - Robyt3
Avatar
Jupstar ✪ 2024-12-03 18:35
health is only shown in pvp mods
Avatar
juppey did u see my request
Avatar
Jupstar ✪ 2024-12-03 18:42
Voxxel, which?
Avatar
Avatar
Voxel
@Jupstar ✪ you know how you want different skins to have different sounds?
this one
Avatar
Avatar
Voxel
is it too early to try and sorta, make sounds for 🤖 skin?
Jupstar ✪ 2024-12-03 18:45
oh wow how did i miss that xd u can try it out, i send u the file structure before didnt i
18:46
but about the physics related sounds that was just an idea to make it even realisticer and have a more generel approach to it
18:48
i send u a pm
18:48
in case u have them muted
19:09
Avatar
@kebs
19:39
github hates me (edited)
19:40
justatest
Avatar
why cant we keep in menu and not left click
19:41
like last 2 months
Avatar
i just think it is weird that you are not allowed to do something when it is clearly available via other interactions (console excluded)
19:44
but if you hate the excluding the first tee out of freeview very very much. i guess we could revert it. but we should definitely allow clicking on local tee in demo right? (not reverting all the way back)
Avatar
demo is good
19:46
excluding first in freeview or hardcoding a delay feels bad
Avatar
can we at least try it? still got a few days.
Avatar
idk feel inconsistent (edited)
19:48
how would you tell theres smth like that
Avatar
Avatar
kebs
how would you tell theres smth like that
you don't, but i doubt it would trigger people too. cuz i don't see a senario where you spec in and out of a single tee without any other interactions (move your mouse or look away a bit)
Avatar
Avatar
kebs
why cant we keep in menu and not left click
also keeping in menu does not solve anything for confusion cuz i regularly get people asking in chn why they can't move the camera after pause.
Avatar
I also dont know why its in the menu
Avatar
i honestly thinks specing yourself is generally weird. but i got pushback
19:55
it was removed for rc1
19:56
what about a config to allow self spectating (in menu and clicking) maybe?
19:56
so it is consistent and there if people really want it
19:57
But multiview with local player is useful
19:57
So it can be in menu i guess
Avatar
ok i'll grey it out when self spec is not turned on instead of removing it and allow multiview self always
20:01
is that okay?
Avatar
Avatar
TsFreddie
is that okay?
being greyed out when its already there would probably feel bad
Avatar
nah. i don't care anymore
21:10
im doing that
21:12
but i am getting some sleep first tho
21:12
it's 5amkek
Avatar
Avatar
TsFreddie
im doing that
i'm not doing the greying out now
23:54
Avatar
GitHub BOT 2024-12-03 23:56
Added cl_enable_self_spectate config defaulting to off. Again, I strongly believe in behavioral consistency, so I argue against different behaviors between left clicking and menu selector. From what have been discussed on discord:
  • People arguing FOR self spec prefer staying with the old behavior of using menu, they can turn it on.
  • People arguing AGAINST self left clicking to avoid confusion, I believe, does not care for menu spec being removed for new players to avoid confusion ...
Exported 192 message(s)
Timezone: UTC+0