Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories β€” IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-07-25 00:00:00Z and 2021-07-26 00:00:00Z
Avatar
I'm downloading so many teehistorian files rsyncs --append-verify is taking a couple minutes to finish verifying on resume
Avatar
accidentally unplugged the drive, now I have to wait half an hour for fsck to complete
Avatar
exFAT is absolutely not made for storing files like this
07:16
teehistorian is really good at exposing the shortcomings of using a filesystem as a db
Avatar
Some research reveals all cross platform filesystems are shite
Avatar
It is recommended to add the automatic elimination logic after hanging up for more than 30 minutes, which always prompts that the server is full. In fact, there are a lot of players hanging up
Avatar
quicc tips by /me: If any of you have to mess around with exfat, you can be much faster than coretools if you examine the raw file system
07:56
e.g. I needed to count files, so I hexdumped the directory entries, and grepped that instead πŸ˜›
Avatar
just format ur drive a ext4
Avatar
No good FUSE driver for ext
08:50
No thus ext support on mac or windows
08:50
Thus no*
Avatar
who cares about mac or windows
08:56
greenthing
Avatar
yes yes linux superior and all but 90% of world desktop users don't use it, so until that changes a lot of people care
Avatar
not me greenthing
08:59
@Learath2 what about btrfs
08:59
there is a open source driver for it on windows
08:59
it works well i tested it
08:59
WinBtrfs - an open-source btrfs driver for Windows - GitHub - maharmstone/btrfs: WinBtrfs - an open-source btrfs driver for Windows
Avatar
I don't think there is a macOS driver for it :/
Avatar
does rly macos not support it
08:59
shouldnt it be ez
08:59
since its unix
Avatar
you'd think so, but porting filesystems is apparently not easy, for some reason
Avatar
@Learath2 ntfs?
09:01
i saw talks about improving the driver for it on linux
09:02
maybe soon it lands
Avatar
Sadly I think the only good choice for a cross platform fs is ntfs
Avatar
I'm surprised microsoft hasn't submitted a ntfs driver yet btw. They were doing so much on linux lately
Avatar
8451775 Make components member of CGameClient - Jupeyy 26c5332 Remove components pointers - Jupeyy 7e55b64 Remove global CGameClient instance - Jupeyy b98263b Merge #3952 - bors[bot]
Avatar
@Ryozuki is your python good?
Avatar
ye, he actually feeds it with mice πŸ˜›
KonstiXD 3
Avatar
Avatar
Learath2
@Ryozuki is your python good?
i know some python
Avatar
mh, nvm I found a bug in pythons mmap module
10:59
or atleast in how it interacts with re
Avatar
uh oh
Avatar
okay it's not mmap I have no idea what it is..
Avatar
LOL a single tempfile in the directory broke my assumption that the directory entries are properly aligned...
11:28
wasted an entire hour
Avatar
thatβ€˜s why you use a library instead of looking at the memory yourself
Avatar
@deen I doubt many exfat dirent parsing libraries exist
13:47
πŸ˜„
13:52
hm, FATtools does exist apparently, I wonder if it exposes it's internal data structures though
13:53
Actually if walking the list was fast ls would probably be fast too
Avatar
Summary Rust, although it implements a correct float parser, has major performance issues in float parsing. Even for common floats, the performance can be 3-10x slower than external libraries such ...
14:00
monkalaugh
14:00
imagine c++
14:00
i wonder how fast stof is
Avatar
@Learath2 it would be really helpful if it was possible for me to somehow debug the bot in this case for example handle_submission_approve fails when Cøke tries to approve the map of the bot, on my test server that seems to work all the time though, I can't get it to not work there
Avatar
chillerdragon BOT 2021-07-25 14:26:56Z
any nodejs express devs here?
Avatar
Avatar
Ryozuki
i wonder how fast stof is
C++ charconv on msvc already uses eisel lemire iirc
14:32
That's C++20 only tho
14:34
@Patiga well you can let me know what kind of access you need to debug it and I can help you. I can also run a debug build. I also have a version of discord.py that goes through mitmproxy if you have an issue on the api side
Avatar
Avatar
Learath2
@Patiga well you can let me know what kind of access you need to debug it and I can help you. I can also run a debug build. I also have a version of discord.py that goes through mitmproxy if you have an issue on the api side
yea the problem is that I don't know myself how to debug python nicely. I want to know where exactly the command returns early. On my test server I usually just do printf debugging, since the logs do not report when a function returns early
Avatar
1d088aa Add speedrun.com news entry - def-
Avatar
chillerdragon BOT 2021-07-25 14:46:46Z
poggers
Avatar
@deen Quentincube aka coradax
14:47
πŸ‘€
Avatar
076ab11 Quentincube -> coradax - def-
Avatar
chillerdragon BOT 2021-07-25 14:55:06Z
big dox coradax real life name is quentincube
Avatar
@Learath2 access to logs would already help a lot
Avatar
Avatar
GitHub
Click to see attachment πŸ–ΌοΈ
time to use "record best run" option
15:12
poggers
Avatar
@Patiga I think murpi gave you related log lines. We can also do printf debugging when I get home
15:14
The way the bot is coded my guess would be a failed api call that doesnt result in a rollback of previous actions
Avatar
Avatar
Learath2
@Patiga I think murpi gave you related log lines. We can also do printf debugging when I get home
yeah murpi gave me super useful lines, I kinda assumed that everything fails silently somewhere
Avatar
Avatar
Boti.
time to use "record best run" option
nah fuck
Avatar
@Learath2 did you also symlink the binary 'check_ddnet'? (there are 3 used binaries in total, 'debug_load', 'check_ddnet' and 'edit_map')
Avatar
I think I did but you can get murpi to check
Avatar
assuming that the logs of the bot are in logs/bot.log, could you check if the file data/map-testing/check_ddnet exists @murpi ?
Avatar
didn't intend to have the first commit in this pull request but I think it's fine. the first commit changes $optimize to not touch game layers anymore the second commit puts the positional file paths at the start of the command. I think it was safe before, but this way it is just better the last commit fixes the error in the log
Avatar
Avatar
GitHub
Click to see attachment πŸ–ΌοΈ
@Learath2 would be nice if you could get those commits in when you have the time
Avatar
chillerdragon BOT 2021-07-25 20:49:47Z
any leet hax0rs upgraded to python2 yet?py2>>> print("'\xcd\x8f'") '͏'py3>>> print("'\xcd\x8f'") 'Í'how do i get the same empty character in py3?
Avatar
i think this is due py2 not being utf8 by default
20:54
or idk
Avatar
Yes, what Python3 is doing is equivalent to what Python2 is doing with a unicode string, so print(u"'\xcd\x8f'")
Avatar
Thoma Sem Amigos 2021-07-25 21:40:52Z
Can anyone tell me how I download the Island Rush map?
Avatar
I think it should fix #3774. Actually didn't test due to me falling asleep.

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or ...
Exported 89 message(s)