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 2022-11-16 00:00:00Z and 2022-11-17 00:00:00Z
Avatar
What the fuck, i just found rust developer vacancy with $2k+ salary, didnt think companies using it on this level already (edited)
Avatar
Apt is only a debian thing
Avatar
Avatar
Anime.pdf
@Ryozuki how packages for NixOs work, are they from apt repos?
NixOS has its completely own packaging called Nixpkgs. You can use Nix (the package manager) on other distros as well
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:14:54Z
morning ddnet
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 08:19:34Z
o/
Avatar
Avatar
Scrumplex
NixOS has its completely own packaging called Nixpkgs. You can use Nix (the package manager) on other distros as well
So someone already uploaded ddnet to nix packages justatest
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 08:26:24Z
yes
08:26
Nix Packages collection. Contribute to NixOS/nixpkgs development by creating an account on GitHub.
Avatar
mornin
08:30
you guys slept well? I didn't LOL
Avatar
Avatar
[quakenet] ChillerDragon
yes
Thats why i asked about apt, i literally never heard of nixOs but there is ddnet pkg already
Avatar
Avatar
Cellegen
you guys slept well? I didn't LOL
Too bad
Avatar
I mean, I didn't sleep
08:30
I'm working on the project
Avatar
Avatar
Cellegen
I mean, I didn't sleep
Good luck not falling asleep till 18:00
Avatar
I've been through worse tbh
Avatar
I rarely can stand on by feet by that time
Avatar
well thx kek
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:33:43Z
nixos is pretty famous rn
Avatar
It literally got recommended in my dms, never happened with me beforegreenthing
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:35:41Z
im learning tmux rn
Avatar
teemux
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:35:58Z
nixos allows to have a reproducible OS
08:36
its pretty poggers
08:36
but i would say its more useful for servers
08:36
i use gentoo btw
Avatar
I (want to) use windows btw
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:36:57Z
ew
Avatar
My old shitty laptop doesnt allow me to install it
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:37:05Z
use linux on old laptop
08:37
its more useful
Avatar
Its old but with decent specs
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 08:38:40Z
Ryozuki why combine tmux with a tiling window manager?
Avatar
Avatar
[quakenet] Ryozuki
its more useful
unless it bugs out for every god damn second cuz of the integrated graphics card kekw
08:39
that's whats going on with my shitty notebook rn
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:40:12Z
ChillerDragon: im not home
08:40
but im connected to my pc
Avatar
and with that in mind, any laptops for recommendation? brownbear
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:40:17Z
ssh
08:40
tmux is like a tiling window manager over ssh lol
08:40
poggers
Avatar
Avatar
Cellegen
and with that in mind, any laptops for recommendation? brownbear
Anything but not mac
Avatar
if I choose anything, it will be like the notebook I mentioned
08:41
I'm bad at choosing
Avatar
apple sux
Avatar
Just choose by specs monkalaugh I got i7 and 2gb vram on 2014 fucking laptop, its very heavy lol
Avatar
should I choose amd specific ones?
08:43
I'm in a budget of 600€
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 08:44:07Z
Ryozuki: ye ik tmux i could not live without it :) its rly pog
Avatar
[quakenet] Ryozuki BOT 2022-11-16 08:44:14Z
brb i need to fix tmux not doing utf8 properly
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 08:44:21Z
xaxax
Avatar
Тоо бад
Avatar
nixpkgs maintainers are based
08:49
Nix Packages collection. Contribute to NixOS/nixpkgs development by creating an account on GitHub.
Avatar
Avatar
Scrumplex
nixpkgs maintainers are based
So they played ddnet justatest. And worst of all, he could be any one of us. He could be in this very room! He could be you. He could be me! He could even be- my head being blown off
Avatar
their usernames are "sirseruju" and "lom"
Avatar
Its hard on nixos to set march native and compile properly
09:05
Also u dont make ur own kernel
09:05
Gentoo is more based
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 09:18:49Z
  • sent from discord
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:04:54Z
ok
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:15:47Z
hehe get bullied
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:28:46Z
me starring at snap data until it makes sense ... https://zillyhuhn.com/cs/.1668594509.png
10:29
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:36:28Z
someone should have told me how op the "." is in vim
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:38:00Z
lmao . is repeat
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:38:14Z
ikr
10:38
i always knew that but never really knew how to use it but u dont wanna know how inefficent my vim workflow is xd
10:38
gotta spice it up with .
10:39
yo ryo go send some vim trix
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:39:31Z
learn macros
10:39
Recording a macro is a great way to perform a one-time task, or to get things done quickly when you don't want to mess with Vim script or mapping, or if you do not yet know how to do it more elegantly. In Vim, the word "macro" may refer to: A sequence of commands recorded to a register (this tip). A mapping to expand a sequence of typed keys to ...
Avatar
Avatar
[quakenet] ChillerDragon
me starring at snap data until it makes sense ... https://zillyhuhn.com/cs/.1668594509.png
Good start splitting it into groups of 4
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:40:13Z
u can also do 4.
10:40
to repeat the last command 4 times
10:40
i also do a lot "dt<something>"
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:40:50Z
@Learath2 thanks sensei
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:40:50Z
where something is for example $ or ;
10:40
to delete till ;
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:40:57Z
i listen yo advice it all ints
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:40:59Z
dt = delete till
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 10:41:05Z
but tw ints could also be more than 4 bytes huh?
10:41
i mean mostly less xd
10:41
omg every time i tried macros i had to google how to exit vim
10:42
delete till? i use df like delete from cursor to ; i type df;
10:43
oh yea prefix with number is also op i will keep it in mind when starting to use the . more
10:43
ah dt is exclusive and df is inclusive
10:44
i guess picking your fav is the way to go otherwise i use so much brain power to decide if i wanna inclusive or exclusive
Avatar
[quakenet] Ryozuki BOT 2022-11-16 10:55:11Z
you know the go to line right
10:55
i recommend you put line numbers relative to current
10:56
so you can do 20k to go 20 lines up
10:56
and u know exactly where that line is due to relative
10:56
you can also do 40gg to go to line 40
10:56
G to go to last line
10:56
gg to go to first
10:57
i also often do 20dj to delete 20 lines down
10:58
and V and select the lines then press :
10:58
and do a replace
10:59
oh
10:59
another useful thing are markers
10:59
go where you want and type "ma" in normal mode
11:00
you put a marker under a
11:00
then u press 'a
11:00
and you move there
11:00
it works rly well when working e.g with header and cpp files in cpp
11:00
ChillerDragon:
11:01
i need to learn weechat keybinds
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 11:02:11Z
yes i use relative num
11:02
for gotoline i use :
11:02
so :40
11:03
whats the V and and press : what does the colon do there?
11:03
so markers are specific lines you can jump to? never felt the urge to do that
11:04
what weechat bindings?
11:04
i basicially use none xd
11:04
only option+arrow ctrl+r and my custom ctrl+k to search buffers
Avatar
[quakenet] Ryozuki BOT 2022-11-16 11:06:41Z
markers are specific line and col number yes
11:06
V is select but in lines
11:06
so if you press :
11:07
it puts smth there where the command you put next is applied to all the selection only
11:07
so if you do a replace its only applied to the selection
Avatar
Avatar
[quakenet] ChillerDragon
but tw ints could also be more than 4 bytes huh?
Not in snaps
11:15
I use ^ and $ very often in vim
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 11:16:57Z
Yes i am aware of my lack of ^ and $ usage its just so hard for me to type so i replaced it with shift+a and shift+i .-.
11:17
ah cool so snap ints fixed to 4 bytes? thats cool but also sounds like i need a new (un)packer code
11:17
also nvm im too stoopid to use . in vim
11:19
Ryozuki: what kind of commands do you apply in the V case? I actually use that but only with s/sub/with/g and im way slower doing that then using the vscode ctrl+d way
11:24
What was the cool word that describes the information about what is what on a chart? xd
11:25
Lets say you have some pie chart with 3 colors and then next to it some text that tell you what color means what how is that text called?
11:25
index? agenda? appendix? there is something i forgot how to call that
11:27
11:29
table of contents?
Avatar
Legend
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 11:32:36Z
A
11:32
yes u
11:32
are legend
11:32
thanks
Avatar
[quakenet] Ryozuki BOT 2022-11-16 11:35:09Z
if you press 0 you got to start of line
11:35
actually
11:35
you dont need to press :
11:35
on a V selection
11:35
just press /
11:36
and do your replacement
11:36
V <select> /a/b/g
11:36
works
11:36
actually nevermind im wrong
11:36
u need s
11:36
xd
11:37
i also use it only to replace right now
11:37
or to delete more visually
Avatar
[quakenet] Ryozuki BOT 2022-11-16 13:54:16Z
test
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 14:07:52Z
failed
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 14:48:45Z
was totally worth to spend the whole day on this xd
14:48
Avatar
4aa422e Add 27 € donation by Immortal - def-
15:43
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 15:43:23Z
heinrich pls dont ban me for doing NSFW jokes on libtw2
Avatar
Did we disable lto now completely? How does that affect binary size with our new rust code?
15:48
Idc really about the size but would still like to know. Eg. Wherever i will add a huge lib
15:48
For future
Avatar
Avatar
Jupstar ✪
Did we disable lto now completely? How does that affect binary size with our new rust code?
I did for official build. Check nightly vs last release
Avatar
Yeah but dunno if @heinrich5991 already added some lib except cxx. Tho dunno it's dependencies^^
15:58
The size looks pretty normal
Avatar
[quakenet] Ryozuki BOT 2022-11-16 15:58:42Z
its common to use libs in rust
15:59
for example to generate random numbers, its not part of the std
15:59
so you depend on "rand"
15:59
here are some common crates (libs): https://blessed.rs/crates
Avatar
Yeah. But yesterday i tried some stuff locally and without lto 4mb with lto 200kb.. so this sums up rather quickly
16:00
Don't want to be the reason for 2000gb binary xdd
Avatar
[quakenet] Ryozuki BOT 2022-11-16 16:01:51Z
thats pog
Avatar
When u use a c lib it early had many dependencies. On rust it's different(not saying that this is bad)
16:02
Rarely*
Avatar
[quakenet] Ryozuki BOT 2022-11-16 16:02:14Z
cuz its a pain in the ass to use libs in c
16:02
ppl just reinvent the wheel
Avatar
Yes
Avatar
[quakenet] Ryozuki BOT 2022-11-16 16:02:23Z
and often badly
Avatar
Yes
Avatar
[quakenet] Ryozuki BOT 2022-11-16 16:02:33Z
i can be sure the essential crates are battle tested
Avatar
As said not meant negative
Avatar
[quakenet] Ryozuki BOT 2022-11-16 16:03:07Z
yes i know xd
16:03
the thing u tried locally with lto was a rust binary or lib?
16:03
or a cpp one
16:03
i think rust benefits greatly from lto
16:04
even with thinlto
Avatar
Rust binary
16:06
Yeah much more than cpp binaries usually do. Only thing i could effectively shrink cpp was PGO
16:06
but it didn't increase performance at all xdd
16:07
Only shrink binaries by 100%
16:08
Or 50% xd
16:08
From original size
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 16:14:36Z
Yo @Learath2 if all ints are 4 bytes long and my snap payload dump is not divsible by 4 I did something wrong huh? Also where in the code does it tell it to pack the ints as 32 bit?
16:15
the last line misses a byte :c
16:15
Avatar
Eeeh, been a long while since I looked. I know each item in a snap has to be exactly divisible by 4 so maybe some header I'm forgetting
16:16
Did you undo huffman yet?
16:16
It'll obv be wrong before decompression
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 16:21:21Z
yes yes
16:21
i huffman pro
16:22
16:22
heinrichs dissector is never wrong!
16:23
it says data is 43 bytes which is missing 1 byte to be divisible by 4
16:23
so im good :)
16:23
but still weird huh?
16:23
AH
16:23
omg no heinrich dissector is ofc wrong
16:24
thats what i wanted to fix in the pr
16:24
i rage quitted
16:24
OMG HOW DID I FORGET THAT xd
16:24
uzawdgzawzgduaiwd
16:24
aw8hdoi
16:25
so @heinrich5991 any reason your dissector includes this chunk in the data? https://github.com/ddnet/ddnet/blob/268d2501cd5bfc86376cee5941829e13cffddc50/src/engine/server/server.cpp#L982
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
16:25
i tried to pr a fix but it broke everything :c
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 16:43:30Z
something seems wrong xd @Learath2 any ideas? https://zillyhuhn.com/cs/.1668616990.png
16:44
according to libtw docs first 16 bytes are the type and 2nd are the id
16:44
but my numbers get way too big ._.+
16:44
does the snap do additional compression to the regular huffman compression?
16:49
ah @Learath2 i think i did a wopsi brain error and forgot that the snap also contains data not only the item header :D
16:50
and then prolly little endianess and all ez
Avatar
Also I remember type and id sharing two ints but not equally
17:06
I can take a quick look after I eat if you are still stuck
17:08
Also not all item types are statically sized, those will have their size in there too
Avatar
[quakenet] ChillerDragon BOT 2022-11-16 17:10:37Z
static vs dyn size i somewhat am aware of. But libtw docs say they share the 32 equally :C
Avatar
Ok, it is 16 bits each yeah, sorry. I was thinking of something else :/
Avatar
Is there a rss feed for latest finishes?
17:26
Maybe i can hack a live db by fetching there xd
Avatar
If any game layers are hidden, the hotkey will make them visible. Else, if all game layers are visible, the hotkey will hide all of them. Closes #4109.

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
  • [ ] C...
Avatar
Guess one cant rly replicate the website
Avatar
do it with old data, that‘s ok
Avatar
Elon Musk Demands Twitter Servers Explain What All These Wires For https://t.co/Nhz4fFJRVV
Likes
81811
Retweets
8568
trollface 5
19:00
troll
Avatar
(its the onion)
Avatar
lets cut 20% of the wires to debloat
19:00
troll
Avatar
Elon Musk Demands Twitter Community Managers Explain Who All These Users Are
19:09
greenthing
Avatar
is elon musk high or what does he think when he sees cables
19:12
🗣️ 4
19:12
maybe this ^
Avatar
Avatar
Learath2
I use ^ and $ very often in vim
what does ^ do? ^^
Avatar
Beginning of line
Avatar
huh
19:24
I use 0 for that
Avatar
Avatar
Cellegen
is elon musk high or what does he think when he sees cables
The onion is fake news
19:25
But entertaining
Avatar
onion is satire
Avatar
I mean it's also fake news
Avatar
Fake news is false or misleading information presented as news. Fake news often has the aim of damaging the reputation of a person or entity, or making money through advertising revenue.[1][2]
19:27
I don't think that applies to the onion
Avatar
It's often false information but it's not made to damage the reputation
19:30
And they kinda look like a new source to me
19:30
But I might be wrong
Avatar
always used ^, never knew you could use numbers directly 😄
Avatar
so my life is fake news
Avatar
I’m pleased to announce the release of Python 3.12 alpha 2. This is an early developer preview of Python 3.12. Major new features of the 3.12 series, compared to 3.11 Python 3.12 is still in development. This release, 3.12.0a2 is the second of seven planned alpha releases. Alpha releases are intended to make it easier to test the current s...
19:36
@Jupstar ✪ for u
Avatar
python fan
Avatar
Shifting left/right with a shift value greater than the layer's width crashed the game due to a heap-buffer-overflow. Shifting up/down with a shift value greater or equal to half the layer's height did not correctly shift the entire layer. The values of the enum constants DIRECTION_* are changed to consecutive numbers instead of exponents of two, as the directions cannot be combined together as flags. Closes #6036.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided s...
20:25
4af2024 Add Shift+G editor hotkey to toggle visibility of game layers - Robyt3 48708ab Merge #6053 - bors[bot]
Avatar
8c5bf10 Fix editor crash when shifting left/right, fix wrong up/down shifting - Robyt3 56088cb Merge #6054 - bors[bot]
Avatar
Aoe says: >At this point everything can get customized, I feel like the last thing missing is the "Hook Through" tile in entities. This tile has been changed multiple times, and the one we have now works really great! But in entities we see it as 2 tiles combined into one, I would love to see it as one tile that you can full customize (Making it transparent etc) It will make playing in entities more enjoyable and it will give more visibility while playing. Obviously this will only be poss...
Exported 273 message(s)