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-03-12 00:00:00Z and 2024-03-13 00:00:00Z
Avatar
ws-client BOT 2024-03-12 00:00:37Z
<ChillerDragon> So teeworlds would be like LEB64? :D
Avatar
New players sometimes accidentally close the game when adjusting settings for the first time. This is due to the confusion about how to close the UI properly. I understand the icon was changed to a "Power" symbol, but it's not enough to prevent this mistake in my opinion. We should instead supply a default option confirm_on_exit that can be disabled in the UI/console.
Avatar
Some games that have complicated UIs give the player a walkthrough of how to use it. My idea at first was to put this in the tutorial, prompting the player to press Escape and Kill to retry, but since it can't be localized properly and don't really need to change the map, I think it should be separate before you start the tutorial. It would need to teach the player how to press Escape to reach those options, and also explain some of the inner options that are most common, like antiping, chang...
Avatar
This should be fairly simple to implement in DDNet, especially since @sjrc6 has already implemented it as part of TaterClient. Swapping player/dummy skin/color I don't think is in TaterClient though. Where I think this should go in the UI: !image If this is too crowded, we could always repurpose the tee portrait on the left as a dropdown menu for the expression picker on the right, freeing up that space.
Avatar
chillerdragon: im open to do any tw project after this one 🙂
Avatar
good site
Avatar
it was goated
07:28
or horsed
Avatar
ws-client BOT 2024-03-12 08:06:50Z
<ChillerDragon> I opend a pr to handle the http code 204 and github assigned me the pull id 204? lmao
08:06
204 No Content is indicating success https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204 The same check already happend in the error callback but that one does not seem to get hit. Now the...
08:07
<ChillerDragon> this is too funny
Avatar
chillerdragon now you are into minecraft protocol? xd
Avatar
ws-client BOT 2024-03-12 08:11:33Z
<ChillerDragon> ye :D
08:11
<ChillerDragon> gotta learn minecraft protocol to bring all the good stuff to ddnet hehe
08:12
<ChillerDragon> tbh i just wanted to play but the tool i depended on for gaming was deprecated so i guess i have to roll my own so im forced to mess with the fakin microsoft shits
08:12
<ChillerDragon> i wish there was a good minecraft clone
08:12
<ChillerDragon> minetest is so ugly
08:12
<ChillerDragon> and craft is so incomplete
08:13
<ChillerDragon> thats all i know xd
Avatar
bring tw protocol in Minecraft xd
Avatar
ws-client BOT 2024-03-12 08:13:11Z
<ChillerDragon> but i think there are like a zillion minecraft clones
08:13
<ChillerDragon> @MilkeeyCat imagine minecraft without cheats xd
08:13
<ChillerDragon> no more speed and teleportation hacks
Avatar
chillerdragon: write own Minecraft gigachad
08:14
Chillercraft
08:16
Id like to create some goody little coop game
Avatar
ws-client BOT 2024-03-12 08:16:36Z
<ChillerDragon> I would prefer not to. Sounds time consuming to make it good and maintain it
08:16
<ChillerDragon> @MilkeeyCat then you do it
Avatar
To play around with protocols and stuff
Avatar
ws-client BOT 2024-03-12 08:16:49Z
<ChillerDragon> i just wanna game it
Avatar
I play mc using Tlauncher xd
Avatar
ws-client BOT 2024-03-12 08:17:52Z
<ChillerDragon> so? xd
08:18
<ChillerDragon> @MilkeeyCat why are you not using the teeworlds launcher to play minecraft?
09:06
<ChillerDragon> Prism is the official ddnet approved minecraft launcher
Avatar
Average Scrumplex W
Avatar
Wdym average, scrumplex is a Walking W
09:10
simp
Avatar
simps
09:13
ddnet is the official Prism Launcher approved ddnet client
09:13
sorry melon
Avatar
htop is the official Prism Launcher approved top program https://github.com/htop-dev/htop/pull/1412
Some configuration systems might link a htop configuration file and we don't really want to replace the symlink but rather its source. This will also allow us to fail in case the source is read...
Avatar
Avatar
Scrumplex
htop is the official Prism Launcher approved top program https://github.com/htop-dev/htop/pull/1412
no
09:28
use btop
09:28
09:28
its one of the few C aproved programs https://github.com/aristocratos/btop
A monitor of resources. Contribute to aristocratos/btop development by creating an account on GitHub.
09:29
oh its c++
Avatar
btop never felt practical to me
09:34
like it's cool to look at
09:34
but htop feels more intuitive to actually interact with to me
Avatar
why do i always forget the command argument order for ln
09:34
is it ln -s target source
09:34
or other
09:34
ln [OPTION]... [-T] TARGET LINK_NAME
Avatar
ln -s <where should your link point to> <where should it be placed>
Avatar
i forget it too
Avatar
tip free space: go clean -modcache
09:35
idk why i have go at all
Avatar
you can use ln -s with only one parameter too
09:35
that's how i remember
Avatar
du -sh * | sort -h
09:35
to find stuff
Avatar
because if you just define the target, it will just create the link in the current dir
09:36
ncdu
09:36
interactive!
Avatar
Avatar
Ryozuki
is it ln -s target source
like copy
09:36
I remembered it using that
09:36
ncdu is great
Avatar
ok emerging it
Avatar
and dust if you want a rust replacement for du
Avatar
yes, I also use ncdu
Avatar
that looks non-interactve
Avatar
yeah it is just a replacement for du
09:38
while ncdu is an interactive replacement
Avatar
ncdu works with multiple drives right
09:43
man idk why i didnt setup lvm
09:43
im dum
09:43
can u setup lvm after the fact
09:43
transparent disks are so good for expanding
Avatar
Avatar
Ryozuki
ncdu works with multiple drives right
it works with multiple mount points. -x to let it stay on one mount
09:48
makes sense
09:48
.xlcore is ffxiv
09:48
oh wait
09:48
it doesnt find steam library?
Avatar
probably ni .local?
Avatar
ah do i need to be at /
09:49
no i got my steam on another drive
Avatar
Why do you want lvm?
Avatar
raid presumably
Avatar
Avatar
Learath2
Why do you want lvm?
because the disk i have / is 500gb and its always near full
09:50
while i got the other disks of 2tb near free
09:50
but i have them as mounted folders
09:51
i think with lvm i can have them for / too
Avatar
zfs! (I heard btrfs can also do great things)
Avatar
Is your home also in /?
Avatar
btrfs unstable
Avatar
Avatar
Learath2
Is your home also in /?
yea
Avatar
Avatar
Ewan
btrfs unstable
is it, still?
Avatar
i think it has been abandoned
09:51
so, i think so
Avatar
i could move my home
Avatar
Avatar
Ewan
i think it has been abandoned
I don't think it's abandoned
09:52
In 2020, Btrfs was selected as the default file system for Fedora 33 for desktop variants.[36]
09:52
pretty likely not abandoned, if fedora has it as default
Avatar
Avatar
Ewan
btrfs unstable
Probably stable enough for home use nowadays
09:53
And yes not abandoned afaik
Avatar
damn wonder where i heardf that
Avatar
wasn't btrfs maintainer caught for killing his wife or somewhat?
Avatar
that's reiserfs
Avatar
ah makes sense
Avatar
@Ryozuki zfs (/btrfs) gives you the benefits of lvm plus more stuff
Avatar
Avatar
Ryozuki
yea
You can set up lvm after the fact iirc but for your root idk, I would be sweating bullets
Avatar
you can convert ext4 to btrfs after-the-fact, I think
09:54
quite reliably
09:54
you can even do it in-place iirc
Avatar
yes, in-place
Avatar
my volume has no issues 😃
09:55
been using it for about a year with the winbtrfs driver
09:55
which has awesome interface
Avatar
well i got my home server with 1tb so ill move my stuff there and reinstall gentoo on zfs
Avatar
why reinstall
Avatar
how do u achieve the lvm thing on zfs
09:55
mobule
Avatar
no i mean, does zfs have a specific config or smth
Avatar
Avatar
Ryozuki
how do u achieve the lvm thing on zfs
you create a zpool that spans multiple disks
Avatar
Avatar
Ryozuki
how do u achieve the lvm thing on zfs
It’s builtin, I think they have zpools
Avatar
run some commands create device and register with fstab under the name u give it
09:56
iirc
Avatar
is zfs speed the same?
09:56
or no noticable change
09:56
i use m2 ssds if that counts
Avatar
Wasn’t zfs support on linux rather jank btw? Is it good now?
Avatar
it's like the biggest cloud fs now
Avatar
Wouldn’t btrfs which is linux native be a better idea?
Avatar
Avatar
Ewan
run some commands create device and register with fstab under the name u give it
that's incorrect, setting up zfs has nothing to do with fstab
09:57
lvm
Avatar
Avatar
Learath2
Wasn’t zfs support on linux rather jank btw? Is it good now?
it's probably more overhead than btrfs. you sometimes have to hold back upgrading kernels because zfs upstream doesn't support them yet
09:58
I don't know btrfs though, so I can't recommend it as the first choice
09:58
because I don't have experience using it
Avatar
Whenever I’m installing a new distro I go through this process of looking whether zfs is upstream yet, whether btrfs is stable enough yet, whether I’ll use lvm, then I end up just going for ext4 on everything and a split home
Avatar
zfs will never be upstream, I think
09:59
due to license incompatibility
Avatar
Yeah probably some license
Avatar
I think you're missing out on CoW file systems
10:00
it makes backups of live systems possible in a way that's sane to think about
Avatar
I did use zfs on freebsd back in the day
Avatar
Avatar
heinrich5991
it makes backups of live systems possible in a way that's sane to think about
I use the very solid backup strategy of “If I pretend the disks won’t fail they won’t fail” and “Have important stuff on 4-5 disks”
Avatar
Avatar
Learath2
I use the very solid backup strategy of “If I pretend the disks won’t fail they won’t fail” and “Have important stuff on 4-5 disks”
I've only had one disk of mine fail me (edited)
10:02
and it didn't even have important data
10:02
(laptop ssd) (edited)
Avatar
I’ve had 2 die on me, hdd, they were far too old anyway, I’d already mostly replaced them, lost some ooooold homework
Avatar
actually not true
10:03
the 2/4 teehistorian disks failed without me noticing it
10:03
but you only needed 2/4 to restore it
10:03
(thanks zfs)
10:04
i prefer smth that i can use latest kernel easily
10:04
im a gentoo user
10:04
EZ
10:04
ill probs go with lvm
Avatar
then you could try btrfs?
Avatar
I think eeeee used btrfs ever since it was incredibly unstable
Avatar
btrfs also has built-in lvm, I think
Avatar
And if Fedora is making it default it ought to be good enough now
Avatar
ok mayb ill try btrfs
Avatar
Yes it has builtin lvm and cow and other space age magic
Avatar
checksumming
10:05
so that you know that the data is actually not corrupt
Avatar
I'm using f2fs on my laptop Since I think it's supposed to reduce wear It only has 64gb "MMC" storage, it's the worst thing about it
11:26
It would suck if it broke but I wouldn't lose any code, I'm not too scared for it
Avatar
ws-client BOT 2024-03-12 11:27:03Z
<ChillerDragon> @Ryozuki btop better stands for bash top axaxax
11:27
<ChillerDragon> lmao it is
11:27
<ChillerDragon> btop is a c++ rewrite of bashtop xD
Avatar
ws-client BOT 2024-03-12 11:38:19Z
<ChillerDragon> wowo scrumpli contributing to htop!! thats big flex! Almost coreutils level. I am surprised the htop soy devs use microsoft github. Them not using mailing lists is probably the reason why htop is not preinstalled on any relevant distro axaxaxa
Avatar
chiller u such a nerd
Avatar
chillerdragon is back in the mines.
11:57
digging those juicy diamonds
12:03
maybe he lost his bash history in the mines and is looking for that one there.
Avatar
My biggest "flex" is BusyBox vi And busybox touch Though in both cases people ended up rewriting my patch anyway The one thing I hate about mailing lists is that it is just not easy to search prior discussion, you either have to download an mbox and grep though it (which is still painful), and you have to keep pinging and following up patches, or else they will get lost completely
13:19
It definitely works but I still feel like I'm doing extra work for no reason using it
13:19
Finding rationale for previous changes is hard too
Avatar
The solution was pretty easy, just remove everything related to macOS from build.yml
banhammer 1
Avatar
Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!
Avatar
im proud to announce that edlang can handle projects with multiple files
17:30
owo
Avatar
damn you make me want to code a calculator in edlang now
Avatar
soon when i add prints
17:32
i want to but its more complex xd
17:33
formatting justatest
Avatar
btw the edb new command uses the libgit2 api
17:35
to init the repo
17:35
owo
Avatar
git methods ? poggers2
Avatar
Avatar
xPapla
psst
ok
Avatar
Today I remembered C++ does not have flexible array members either. Why is C++ such a downgrade from C in so many things?
Avatar
well there are workarounds afair
Avatar
Ofc there are always workarounds
Avatar
and tbh im happy C++ handles type safety and memory for you (in the context of an array ig), apart from doing it kind of yourself in C (edited)
Avatar
Avatar
meloƞ
git methods ? poggers2
it initialized the repo with the project
Avatar
@TsFreddie ddnet-pvp has any config option for disable room settings changes for spectators?
Avatar
Avatar
meloƞ
well there are workarounds afair
But the very pretty CSPSCQueue<CLogMessage> I had in mind now has to become typeless because I can't know the length of log messages beforehand, so I'm now forced to either lose type safety or do heap allocations
19:08
All the workarounds I can think of come at some cost
Avatar
Support scrolling all scroll regions with the mouse wheel also while popup menus are open. Support overlapping scroll regions by always scrolling the top-most hovered scroll region on mouse wheel events. The hot scroll region is now tracked separated by CUi, as tracking the IDs of all UI elements which are contained in scroll regions is not feasible. The separate active state for scroll regions is therefore unnecessary. It's still necessary to disable CListBoxes when popup menus are...
22:13
f291362 Revert name of enum literal Ui back to UI - Robyt3 ae9a8fe Support overlapping scroll regions, always allow mouse scrolling - Robyt3 e92f5e8 Merge pull request #8096 from Robyt3/UI-ScrollRegion-Popup-Handling - def-
Avatar
Console goes out of view and is unable to lock the scroll position at the beginning of console log when the console hits max amount of entries. https://github.com/ddnet/ddnet/assets/141338449/3f205b59-d209-40fc-9cf3-f7c1ef1d89e4 I also ran into this segfault when letting the console go out of view and closing the console. I then waited a while before opening the console again, which caused the client to crash. ```
  • thread #1, name = 'DDNet', stop reason = signal SIGSEGV: address no...
Exported 224 message(s)