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-06 00:00:00Z and 2022-11-07 00:00:00Z
Avatar
Avatar
Voxel
10 seconds in and this already feels like some evil promo thing
xd
00:00
gotta promo for the normies
Avatar
Avatar
Ryozuki
enjoy it
LOL it's not a competition yo
Avatar
elon musk didnt "make" all that stuff, the scientists and engineers did lol
Avatar
Avatar
Meekrioz
he did more in his 5 years as a business man than all of the car companies combined couldn't do
youre an elon fanboy?
Avatar
Avatar
funman
youre an elon fanboy?
"fanboy" just shows me what kinda person you are. OMEGADANCE
Avatar
I like the companies he put in the world
02:46
his memes on twitter are great
02:46
does that make me a fanboy?
Avatar
well im a fanboy then YEP
Avatar
Avatar
Meekrioz
his memes on twitter are great
Using twitter makes you a horrible person already
Avatar
does this affect physics tho
Avatar
chillerdragon BOT 2022-11-06 06:40:54Z
Publish on instagram instead of GitHub? :) (@Ravie)
write code on paper and assume it wouldn't compile anyway so you're not missing out
Avatar
Avatar
Meekrioz
he did more in his 5 years as a business man than all of the car companies combined couldn't do
besides teslas are pretty low quality, teslas exist since 2012 and never really changed the game as always it was the chinese that started in around 2016 to heavily invest in electric cars. The hype in Europe & USA mostly came after ppl got more aware about their environment. So maybe you should better say greta did more in 2 years than elon in 10 😉 (edited)
Avatar
https://discord.com/channels/252358080522747904/342454474117218334/1038713545573011486
D. Netsu_07: Hello, do you guys why in Mac my game lag? is not for the internet.
Avatar
chillerdragon BOT 2022-11-06 08:27:09Z
lmao greta pog (@Jupstar ✪)
besides teslas are pretty low quality, teslas exist since 2012 and never really changed the game as always it was the chinese that started in around 2016 to heavily invest in electric cars. The hype in Europe mostly came after ppl got more aware about their environment. So maybe you should better say greta did more in 2 years than elon in 10 😉 (@Meekrioz)
Avatar
greta is cool
08:27
gen z best gen
08:29
i am 1 year older than what is considered gen z. Ez
08:29
learath & ryo are gen z
08:33
linux image 6.0.6-2 doesnt rekognize my nvme. rip linux. you go down ;~;
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 08:56:43Z
no way ur older than learath
08:56
in my head learath is like 40 and you are like 14
Avatar
but its actually the opposite
Avatar
kek jupstar 14
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 09:04:15Z
Oh no i rly need to fix my packer code :( the negative multi byte ints rape my ass
09:04
Do I need to do some twos compliement whatever bit inverting?
09:06
1100 0000 0000 000 should be -64?
09:07
a missed a 0
09:07
1100 0000 0000 0000 is what i meant
09:08
so first 1 says extend second 1 says negative and since there is no -0 .. ah wait
09:08
double byte 0 makes no sense wot
09:10
okay wait but this should be -1 right? 0100 0000
09:11
not extended, negative, zero = -0 doesnt exist so -1?! xd
Avatar
For consistency.

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/ddn...
Avatar
This is an effort to test the Integer packer code. It should hopefully also be useful as some kind of documentation for everyone trying to understand how ints are packed. Apparently I did not understand it yet because I assumed this test would pass but it does not :( ```C++ unsigned char pExpectedNegative65[] = { 0b1100'0000, 0b0000'0000 /*^^^ ^ ^^ ^ \ / | \ / \ / | \ / / Not \ / \ Extended / || \ ...
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:31:25Z
Since yall ghosting me ima try the "someone is wrong on the internet" tactict xd
10:31
Avatar
we are just too dumb for ur questions
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:40:52Z
no your just too young
10:40
:p
10:41
Janky twitter replacement
10:41
written in Makefile
10:42
yo ryo wat rabbit hole u droppin in? xd
10:43
ah poggers its decentralized twitter using git and written in bash i actually approve it
10:44
In case anyone does not follow the alpha githubber ryo and doesnt know what i talk about: https://github.com/diracdeltas/tweets
janky twitter replacement. Contribute to diracdeltas/tweets development by creating an account on GitHub.
Avatar
Twitter written in bash? justatest (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:46:14Z
says "decentralized" advertises m$ github as the main server :D
10:46
but yea I guess would work on any git instance
10:46
I became big github sceptic yesterday when they banned poor @Swarfey :(
Avatar
Why would they
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:47:16Z
ban him?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:47:25Z
they wont tell
10:47
its pretty fcked up
Avatar
Discord-Bridge haters
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:47:50Z
imagine losing all your repos you dont have cloned locally atm
Avatar
Avatar
[quakenet] ChillerDragon
imagine losing all your repos you dont have cloned locally atm
If somone forked them that can help
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:48:14Z
yes
Avatar
Avatar
Anime.pdf
Why would they
Already sent a request asking for the reason but i have also seen threads where they simply wouldn't answer
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:48:35Z
not all my 174 repos are forked tho xd
10:48
and thats only on my main acc
Avatar
I saw you have like 20 orgs with repos (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:49:13Z
ye
10:49
github is my life
10:49
but apparently github does random bans
Avatar
Pretty weird solution to whatever problem you faced
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:49:39Z
so time to move to ryos gogs instance
10:49
why weird solution and why problem?
Avatar
Avatar
[quakenet] ChillerDragon
github is my life
Do you use gitlab? I saw you added .gitlab folder to ddnet repo 💀
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:50:07Z
imo orgs are nice for organisation and brands etc
10:50
yes i have like 1 repo on gitlab
10:50
my bot client fork of chillerbot-ux to use my own gitlab runner for the pipeline to get unlimited private repo CI minutes
Avatar
Avatar
[quakenet] ChillerDragon
why weird solution and why problem?
I mean why would you create so many orgs for repos you can create in your account (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:51:09Z
because those things are brands :D
10:51
im big influencer
Avatar
I see...
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:51:26Z
and it allows me to bundle repos that belong together
Avatar
Makes sense
10:51
Kinda
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:51:42Z
omg
10:51
it makes perfect sense
10:52
look at dis all ddnet++ related repos https://github.com/DDNetPP/
DDNetPP has 14 repositories available. Follow their code on GitHub.
10:52
i can name it DDNetPP/maps instead of ChillerDragon/DDNetPP-maps also i want to remove my self and embrace community participation
10:52
not that i have any success with it but the idea counts
10:53
Or all my stick figure battle games in one spot with a nice picture https://github.com/chichilku/
chichilku has 5 repositories available. Follow their code on GitHub.
Avatar
Yeah it makes sense in this case, but all the orgs have so many related repos?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:53:49Z
nah
10:53
i gotta admit something
10:53
those were good examples
10:54
but you said i do weird stuff to solve some problems
10:54
and i actually do that too and i admit its weird
10:54
ChillerDune has one repository available. Follow their code on GitHub.
10:54
here i created a org just to be able to fork teeworlds again because back in the days you could only fork one repo once per account. So i wanted to keep my teeworlds fork but also wanted to fork dunes fork of teeworlds
10:54
but i stopped doing that :D
Avatar
Avatar
[quakenet] ChillerDragon
here i created a org just to be able to fork teeworlds again because back in the days you could only fork one repo once per account. So i wanted to keep my teeworlds fork but also wanted to fork dunes fork of teeworlds
You still cant make more than 1 fork justatest
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:55:36Z
Then I have 3 orgs just for teeworlds demo files. But I got a lot of demos xd. Also me trying to escape github limits without paying.
Avatar
ChillerDragon2 just to clone tee again 💀
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:56:38Z
xd
Avatar
i mean fork
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:56:43Z
always gotta bring dommy
Avatar
ChillerStar
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:57:17Z
10:57
hihi
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:57:53Z
more like JopDragon
10:58
yepyipyapstur
10:58
japjupjapster
Avatar
hiphophipster
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 10:58:52Z
xd
10:59
holy shit im procrastinating hard bcs too lazy to understand packers
11:00
yo @Swarfey ur packers work dont ey?
11:01
or what was the C# guy name again
11:01
@Matodor sos
11:01
holy shit im annoying xd
Avatar
Avatar
[quakenet] ChillerDragon
yo @Swarfey ur packers work dont ey?
Everything in my client should work now
11:02
Packer & unpacker do certainly
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:02:12Z
ok so how to pack multi byte negative numbers?
11:02
go send -65 as binary
Avatar
monkaS cant tell you from the top of my head
11:03
On phone atm
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:03:10Z
nob
Avatar
You can Check my implementation at https://npmjs.com/package/teeworlds (edited)
Library for (ingame) teeworlds bots.. Latest version: 2.4.4, last published: 9 days ago. Start using teeworlds in your project by running npm i teeworlds. There are no other projects in the npm registry using teeworlds.
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:03:36Z
F
11:03
github
Avatar
Or check heinrich's docs
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:03:48Z
lmao 404
Avatar
Ah its /package/ not /packages/
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:04:16Z
im sure heinrich reported you on github for chosing bad npm package name and now u banned
11:04
axaxaxax
Avatar
xaxaxaxxa
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:04:36Z
deserved.
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:05:00Z
but honestly trol
11:05
to name repo tw-chatonly and pck teeworlds
11:05
why not name package like repo?
Avatar
Cuz it wasnt a chatonly client at that Point anymore
11:06
Its a lib for creating teeworlds bot
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:06:26Z
wowo
Avatar
tEAworld sports, its in the game
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:06:30Z
hax
11:06
xd
Avatar
You can make it move and Check where it is through snapshots
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:06:53Z
wot
Avatar
Even though that's a bit more complicated to do atm
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:07:08Z
wat u talkin bout m8
Avatar
The library
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:07:30Z
a
11:07
snap > chat
11:07
i see
11:07
Im curious if i get that far
11:07
might do a rebrand then as well
11:08
and name my package tEAworld cuz jopstar is my life advisor
Avatar
What is urs named?
11:08
Wasnt it ruby-tw or something
Avatar
Avatar
[quakenet] ChillerDragon
and name my package tEAworld cuz jopstar is my life advisor
xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:08:37Z
atm my repo is named teeworlds-client and i didnt publish a lib yet because im not quite sure what it should do and how to name it
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:09:18Z
also gotta create a org first just to trol anime pdf
Avatar
Do not embed the map file in auto, race and replay demos, to keep them smaller. See #5868.

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 ch...
11:17
4d0cd7f Use traditional casts instead of functional-style casts - Robyt3 fcec553 Use pi instead of 3.14159f - Robyt3 415cfed Merge #6014 - bors[bot]
Avatar
Avatar
[quakenet] ChillerDragon
@Matodor sos
what?)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:22:07Z
Ok I just verified by sending a packed integer over da network using tw code and dissector by da one and only heinrich
11:22
-65 is sent as 0xC0 0x01 aka 1100 0000 0000 0001
11:22
so i did understand it correctly just my test code is wrong!?
11:23
maybe endianness fucked me?
11:23
fml
Avatar
Git gud
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:25:29Z
fakof .-.
11:25
wait did you say git is good because the twitter thing or did you tell me to get good?
11:26
HEINRICH SOS HE BULLY ME
Avatar
Avatar
[quakenet] ChillerDragon
maybe endianness fucked me?
I did not understand why in the network part only UUID messages use bytes_be_to_int, but the rest of the code does not
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:27:08Z
nice
11:27
i didnt even get to UUID messages yet
11:28
Packer.Data() is sent over the network as is rite? No shinanigans?
11:28
unless compressed ofc
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:36:23Z
holy shit i think i got it
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 11:47:10Z
ok i got all. Scratch all my questions. I only got answers at this point.
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 12:14:28Z
gota build a filter for t.me
Avatar
Avatar
Matodor
I did not understand why in the network part only UUID messages use bytes_be_to_int, but the rest of the code does not
hmm. the network part should just stuff the raw bytes of the UUID into the packet
12:55
do you mean the snapshot?
Avatar
Avatar
heinrich5991
do you mean the snapshot?
+
12:58
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 12:59:07Z
yo heinrich wdym by check the size?
Avatar
CPacker::Size() I guess
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 13:00:34Z
ah ye that makes sense
13:00
thanks robster
Avatar
Avatar
Matodor
+
the thing is that a UUID is bytes, and the snapshot needs integers
13:01
you need a function like bytes_be_to_int or similar to convert it
Avatar
Avatar
heinrich5991
the thing is that a UUID is bytes, and the snapshot needs integers
But why is BigEndian being used? is not used in other parts of the code
Avatar
it seemed natural to me
13:08
you would have used little-endian instead?
Avatar
@Learath2 almost gotcha
Avatar
Avatar
heinrich5991
you would have used little-endian instead?
I don't know, I didn't get into that subject. Does the network send a set of bytes taking into account the order of bytes on the sending machine?
Avatar
speedrun
Avatar
Avatar
Matodor
I don't know, I didn't get into that subject. Does the network send a set of bytes taking into account the order of bytes on the sending machine?
at least in the game protocol at the level of sending data I have not seen this
13:12
If so, why convert the UUID to an array of big endian byte order?
Avatar
Avatar
Matodor
I don't know, I didn't get into that subject. Does the network send a set of bytes taking into account the order of bytes on the sending machine?
the network's sending code should not (and does not) rely on the host byte order
Avatar
Avatar
heinrich5991
the network's sending code should not (and does not) rely on the host byte order
but how does the client part recognize the byte order?
Avatar
basically, to convert bytes to an integer, you need to decide whether you want to do it as a big-endian or a litle-endian integer
Avatar
Avatar
Matodor
but how does the client part recognize the byte order?
byte order of what? the network protocol has no real byte order. it uses the variable int encoding that ChillerDragon just explored
Avatar
I mean, if the server is big endian and the receiving side is little endian, how does the process work in this case?
Avatar
the server encodes its integers using the variable int encoding
13:15
e.g. 1 is converted to the byte 0x01 on the network
13:16
or 65 is converted to the bytes 0x81 0x01 (if I got it correctly)
13:16
this does not vary with the byte order of the host
Avatar
Avatar
heinrich5991
the server encodes its integers using the variable int encoding
no no no, I don't mean compressed int, I mean lower level = net_udp_send->sendto
Avatar
net_udp_send takes bytes and sends bytes
13:18
if it gets the bytes 0x00 0x20 0x40 0x12, it'll send exactly these bytes over the network
13:18
in this order
Avatar
Avatar
heinrich5991
if it gets the bytes 0x00 0x20 0x40 0x12, it'll send exactly these bytes over the network
So, if the server has a big endian and the receiving side has a little endian, how does the process work in this case?
Avatar
big and little endian don't have any influence on byte arrays (edited)
13:22
the correct answer to the question is: it has no influence at all. but it seems there's a misunderstanding that led to asking that question
13:22
if a big endian computer has a byte array with the bytes 0x12 0x23 0x34 0x45 0x67, it looks like 0x12 0x23 0x34 0x45 0x67 in memory
13:22
if a little endian computer has a byte array with the bytes 0x12 0x23 0x34 0x45 0x67, it looks like 0x12 0x23 0x34 0x45 0x67 in memory
13:22
no difference at all
13:23
the difference is in their native representation of an integer, but that doesn't really matter, you should simply not inspect it
13:23
but for completeness:
13:24
on a litte-endian computer, the 32-bit number 513 is represented as 0x01 0x02 0x00 0x00 (edited)
13:24
on a big-endian computer, the 32-bit number 513 is represented as 0x00 0x00 0x02 0x01
13:25
but it doesn't have influence on byte arrays. only on native representation of integers
13:26
ChillerDragon: the size check needs to be an ASSERT_EQ not an EXPECT_EQ
13:26
so that it aborts the test if it doesn't match
Avatar
Avatar
heinrich5991
the difference is in their native representation of an integer, but that doesn't really matter, you should simply not inspect it
do you mean machine word?
Avatar
otherwise you'll continue to the contents check which might read out of bounds
Avatar
Avatar
Matodor
do you mean machine word?
or integers
Avatar
Avatar
Matodor
do you mean machine word?
not only machine words, machine integers I guess
Avatar
@Matodor when mlife?
🥹 1
Avatar
for example your computer stores 64-bit, 32-bit, 16-bit integers as little-endian
13:27
8-bit integers can't have a byte order, they only consist of a single byte
Avatar
okay @heinrich5991 thx, I think I've figured it out now.) ❤️
Avatar
9047d4d Add vscode workspace - Jupeyy 5ebbd5b Merge #6012 - bors[bot]
Avatar
7079925 Add generic popup message to editor (e.g. for error message popups) - Robyt3 940f5df Search for images/sounds in subfolders when readding, add error popup - Robyt3 896dd4e Add IStorage::FindFiles to find all files with a specific name - Robyt3 812a884 Add generic selection popup to editor - Robyt3 964f839 Show selection popup when multiple images/sounds with same name exist - Robyt3 0211f79 Add tests for int packer - ChillerDragon 48d82e9 Merge #6010 #6015 - bors[bot]
Avatar
Extracted from #6016.

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/ddne...
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:47:17Z
What happens if the server sends a 5 or more byte packed integer? Does the client crash?
15:48
lmao i love it never seen that } while(false); thats a cool goto replacement
15:49
that looks like a simple scope
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:49:40Z
? my first or second msg=
Avatar
2nd
15:50
1st = why should it
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:50:38Z
because c++ ints are max 4 bytes
15:50
here while(false) is used to allow breaking to the end
Avatar
ah thats what u mean 😄
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:51:08Z
ill add this to my toolbox i would have used goto in that case
Avatar
u can also do it with a lambda
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:52:17Z
or with system()
15:52
xd
Avatar
or with std::thread
15:52
or with std::abort
Avatar
or with rust
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:52:57Z
or with for loops? xd
Avatar
with unsafe rust
15:53
u can also call that code on your GPU
Avatar
rust has safe goto-like jumps
15:53
within the same function
15:53
using block labels
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:53:37Z
blocker f3
Avatar
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
15:53
fn main() { 'outer: loop { println!("Entered the outer loop"); 'inner: loop { println!("Entered the inner loop"); // This would break only the inner loop //break; // This breaks the outer loop break 'outer; } println!("This point will never be reached"); } println!("Exited the outer loop"); }
Avatar
lol
15:54
this breaks the outer loop
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:54:27Z
aaaaaaaaaaa we can click links -.-
Avatar
so it will still continue the inner
15:54
xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:54:30Z
spamma
Avatar
Avatar
Jupstar ✪
so it will still continue the inner
nah xd
Avatar
but nice feature
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:54:56Z
irc moment
15:55
this was addewd in 1.65 too
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:55:30Z
addewd UwU
Avatar
i really like it even if u dont use it very often probs
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:55:45Z
rust?
15:55
yeah
15:55
i dont use that very often xd
Avatar
use it more often
Avatar
trollerdragon
Avatar
make it ur goto language
15:56
pun intended
15:56
kekw
Avatar
use basic, then u have to use goto
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:56:33Z
BATCH masterrace
Avatar
program bash in basic
Avatar
learn to write
15:56
languages are bloat
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:56:54Z
i packer working pog
Avatar
write the hex instructions directly
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:57:04Z
cringe hex
15:57
binary op
15:57
u just slow typer
15:57
i only need to keys on my keyboard
15:57
heck i can write code with my mouse
Avatar
make a programming language that changes byte-endianess & bit-endianess after every new variable
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:58:06Z
yikes
Avatar
with 2 hex u can represent 1 byte
15:58
thats why its poggers
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:58:29Z
with 8 bits you can only use 2 characters thats why its poggers
15:58
16 chars is bloat
15:58
change my mind
Avatar
wat
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 15:59:20Z
xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:06:38Z
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
16:06
whats the 1 being sent with rcon auth?
16:07
And whats the magic w username anyways? How compatible is it with vanilla?
16:07
Is sending a empty name skipped by vanilla anyways because Unpacker.GetString(CUnpacker::SANITIZE_CC) eats the leading nullbyte?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:28:36Z
Meh no i seem to get a wrong password if i do that :(
Avatar
Avatar
[quakenet] ChillerDragon
16 chars is bloat
xd fr
16:40
char on 8 bits is bloated af
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:40:25Z
tru short masterrace
16:40
wait wat
16:40
xd
Avatar
uh
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:40:49Z
there is nothing smaller than char huh?
16:40
that indeed is bloat
Avatar
y
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:41:07Z
what about bools?
16:41
idk what a bool is tbh
Avatar
bool are encoded on 8 bits too
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:41:23Z
BLOAT
Avatar
y bloat af
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:41:41Z
i guess thats why bit flags are a thing
16:41
cuz bloat datatypes
Avatar
y
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:42:15Z
ryo go buil unbloated programming lang w 1 bit bools
Avatar
recently ive made an emulator for a 12 bits langage
16:43
conclusion: 12 bits is bloated too
16:43
only 1 bits bool is legit
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:44:57Z
Im not sure if its nice that my method allows different data types as parameter xd
16:45
it can do rcon_auth('', '123') as in username, password
Avatar
x) it depends
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:45:52Z
and rcon_auth(password: '123') which is only one hash with the optional key :name and the required key :password xd
Avatar
its rust ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:46:41Z
nah ruby
16:46
xd
Avatar
owo
16:46
i never used ruby
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:46:55Z
its not typed so im lost
16:46
doesnt matter
16:47
read it like python
16:47
and hash as dictonary i guess
16:47
its probably really bad
16:47
whatever
Avatar
does ruby support method overloading ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:48:20Z
idk
16:48
why tho?
16:48
i technically have it implemented im just not sure if its bad or rly bad to do it
16:49
if there are no types overloading is a bit pointless it only boils down to amount of parameters
16:49
one could also use default parameters them
16:49
i probably read some books on how to design good code and shit
16:49
xd
16:49
should^
16:49
wont^
Avatar
I think that in itself it is not very serious but being able to call the function with different arguments takes away from the clarity of the code
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:50:05Z
so unless someone stops me now and here ill go with it
16:50
yes clarity gone
16:50
ye fuck i should pick whatever is better xd
Avatar
x)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:51:09Z
its so weird vanilla calls RconAuth("", pass); everytime xd
16:51
i kinda did not want to ship that as n api
Avatar
what, why uppercase at the beginning ? they dont apply cameCase ? (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:52:12Z
no teeworlds uses UpperCamel case for all methods!?
16:52
since always
Avatar
oh
16:52
its cringe no ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:52:30Z
no
16:52
CClient::RconAuth(const char *pName, const char *pPassword)
Avatar
i mean, i feel like you are calling a class constructor
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:52:43Z
watafak
16:52
do u even code tw?
16:52
xd
Avatar
no
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:52:53Z
xd
Avatar
))
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:53:14Z
never doubt holy tw coding style
16:53
all hail magnus
Avatar
in c++ im used to apply uppercase only for interface or class name
16:54
did u ever use veracrypt ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:54:07Z
i feel like every code base has a different c++ style
16:54
nah
Avatar
cuz i wanted to use something else than LUKS based programs
16:55
but i feel like there are not so many alternative on linux
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:55:53Z
then its time to roll your own crypto as heinrich would say
Avatar
xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:56:27Z
lawyer jopstar? I can make up quotes without ending in jail ye?
16:56
"roll your own crypto whenever possible" - heinrich5991
Avatar
x), ill report it
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:57:07Z
faaak
Avatar
its fine i control justice
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:57:31Z
pog
Avatar
btw, youre talking throught IRC right ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:57:39Z
yes
16:58
the only acceptable chat protocol together with tw chat
Avatar
matrix is hipster but irc ist hipsterer
Avatar
do you use proxy or something ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:58:22Z
matrix is for soydevs
Avatar
Modern PC memory modules transfer 64 bits (8 bytes) at a time, in a burst of eight transfers, so one command triggers a read or write of a full cache line from memory. (DDR1/2/3/4 SDRAM burst transfer size is configurable up to 64B; CPUs will select the burst transfer size to match their cache line size, but 64B is common)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:58:34Z
i run a irc client on my vps
16:58
as bouncer
Avatar
oh interesting
16:59
cuz discord is bloat
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:59:13Z
cuz discord is tos
Avatar
y
16:59
i want to use irc too but i dont want to reveal my ip adress
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 16:59:41Z
why not
Avatar
@Nagi01 {LAN} hello troll
Avatar
Avatar
Ryozuki
@Nagi01 {LAN} hello troll
hola
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:00:14Z
ip is not that confidental usually
Avatar
y ik
Avatar
u dont own ur ip
17:00
the isp does
17:00
bloat
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:00:42Z
bloat xd
17:01
i also rent my flat
17:01
and yet my address is confidental
17:02
ownership is not a requirement for confidentallity
Avatar
yep
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:02:28Z
but leaking ip is usually not too bad anyways
Avatar
bro im using shred on my usb key, its taking yeaaaars to overwrite
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:02:44Z
u wanna use some kind of bouncer anyways to have logs when u go afk
Avatar
what a bouncer rly does actually ?
17:03
its a kind of bridge ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:03:09Z
idk
17:03
i never bothered to look into it
17:03
because running the irc client 24/7 on my vps and accessing it via ssh worked fine for me
Avatar
and you stopped doing this ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:04:05Z
no
17:04
i still do
Avatar
isnt it dirty xd ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:04:31Z
how?
17:04
doesnt feel like
17:04
i couldn't tell a difference wether im in via ssh or not
Avatar
it looks long to setup a bouncer
17:06
i guess ill just use my real ip
17:06
idc
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:06:55Z
leak
Avatar
x)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:08:00Z
if you are keen to use a microsoft bouncer i can recommend you using my minecraft chat <-> irc bridge xd
Avatar
x)
17:08
what irc client are you using ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:08:30Z
weechat
17:08
poggers
Avatar
oh i remember this onbe
17:08
ive used it in the past
17:08
lemme download it
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:08:58Z
virus
17:09
dont download china messanger
Avatar
xd fr ?
17:09
idc my bios is infected 🤓
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:09:48Z
weechat = poggers ncurses chat app
17:09
wechat = china spyware
Avatar
ah
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:10:56Z
i think the chinese term for spyware is software
17:10
axaxax
Avatar
xd
17:12
oh i have irssi (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:12:11Z
lit
Avatar
[quakenet] Nagi01 BOT 2022-11-06 17:15:29Z
i guess im in
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:16:15Z
henlo o/
Avatar
[quakenet] Nagi01 BOT 2022-11-06 17:18:13Z
it looks so unbloated there :pepega:
Avatar
[quakenet] chillerstar BOT 2022-11-06 17:19:15Z
hi ChillerDragon
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:19:21Z
wot
Avatar
[quakenet] Nagi01 BOT 2022-11-06 17:19:33Z
uh
Avatar
[quakenet] Nagi01 BOT 2022-11-06 17:32:59Z
ok i created a quakenet acc
17:33
i feel better now
Avatar
accounts are bloat
Avatar
[quakenet] Nagi01 BOT 2022-11-06 17:36:34Z
y its sad
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:53:52Z
is there docu somewhere on how CClient::m_PredictedTime works? wat it do on a high level?
Avatar
it predicted time
Avatar
the answer to "is there docs on x code" on tw is 99% of the time "no"
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:56:52Z
yes but how is it calculated
Avatar
it doesnt compute it, it predicts it troll
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 17:57:22Z
@Ryozuki thought so too but i latley realized how much useful stuff i missed in libtw2/docs
17:57
i kinda knew it was there but forgot and found out another way
Avatar
This article aims to introduce you into DDNet development, since it's an open-source game, it relies on random people kind enough to contribute to it on their free time.
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 19:03:16Z
omg poggers it alive! Totally worth the effort xd https://zillyhuhn.com/OpenTube/videos/users/chiller/ruby_gamer_jumping.mp4
Avatar
[quakenet] Nagi01 BOT 2022-11-06 19:08:14Z
oh nice
Avatar
Avatar
[quakenet] ChillerDragon
omg poggers it alive! Totally worth the effort xd https://zillyhuhn.com/OpenTube/videos/users/chiller/ruby_gamer_jumping.mp4
whats with the 0; ? (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-06 19:23:04Z
where wot? which 0;
Avatar
damn 0.7 is ugly
19:27
thanks for reminding me
Avatar
Um actually its pretty nice 🤓
Avatar
Anime.pdf BOT 2022-11-06 20:50:42Z
Can totally agree 🤓
Avatar
[quakenet] Anime_pdf_ BOT 2022-11-06 20:54:39Z
+1
Avatar
be29ef2 Remove unneeded CFLAGS variable - heinrich5991 1b114b2 Only pass CXXFLAGS to initial cmake - heinrich5991 dcd76fd Add support for Rust code in DDNet - heinrich5991 b21ba35 Merge #5599 - bors[bot]
22:03
its happening
22:03
22:03
BASED
Avatar

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
i hope ppl using gentoo read the deps line
22:14
cuz a casual rust here will take them quite a bit xd
22:14
or use dev-lang/rust-bin
22:16
also i wonder if the binary from oficial rust is faster
22:16
cuz they use PGO and BOLT
22:17
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at...
22:17
ah well its here now
22:17
BOLT is a post-link optimizer developed to speed up large applications. It achieves the improvements by optimizing application's code layout based on execution profile gathered by sampling profiler, such as Linux perf tool. An overview of the ideas implemented in BOLT along with a discussion of its potential and current results is available in CGO'19 paper.
Avatar
Switched to rust-bin
22:17
Seems like rust's fault if their compiler is so complex that it takes that long to compile 😄
Avatar
well its not that rust takes long
Avatar
or the language is that slow to compile in general
Avatar
but rust pulls in llvm
Avatar
ah, I thought it uses standard llvm
22:18
you mean people who don't have llvm installed yet?
Avatar
uh i think it does
22:18
yeah
Avatar
I always had llvm and gcc installed on gentoo anyway, compared to libreoffice they didn't take that long to build, just a few hours here and there
22:19
😄
22:19
i guess im biased cuz i recently installed gentoo and had to get llvm
Avatar
rust doesn't use standard llvm, they use a specific version and they have their own patches
Avatar
oh then that
22:19
actually makes sense
22:20
cuz even if llvm claims to be general its rly focused on c++
22:20
and rust uses other stuff thats not throrougly tested
22:20
such as noalias
Avatar
84c9506 Use loop for demo recorders to reduce duplicate code - Robyt3 2d1d7b9 Replace duplicate condition with a check for empty string - Robyt3 c2d2093 Use . for object access instead of getting a pointer first - Robyt3 bbf36a2 Remove dead code - Robyt3 06e3eb5 Merge #6017 - bors[bot]
Avatar
you can get rust to skip a step by making it use the already installed rust to bootstrap, that makes it faster, but still bootstrapping a whole compiler takes a while, no matter the language really
22:21
do we put the bin or not in the readme for gentoo
Avatar
Avatar
Learath2
you can get rust to skip a step by making it use the already installed rust to bootstrap, that makes it faster, but still bootstrapping a whole compiler takes a while, no matter the language really
Pascal language family would like to have a word
Avatar
what has pascal?
Avatar
Honestly, I'd leave it dev-lang/rust and hope people using gentoo aren't installing things blindly. They should be used to binpkgs and normal packages
22:23
Pascal, now that is one language I haven't heard of in almost half a decade 😄
22:23
Last I had to deal with pascal was reverse engineering an ancient photoshop add-on
Avatar
Avatar
Ryozuki
what has pascal?
Super fast compile times: https://prog21.dadgum.com/47.html
Avatar
is the compile time actually at parsing or optimizing?
22:25
i guess pascal just leaves it mostly as is?
Avatar
By the mid-1990s, Borland was citing build times of hundreds of thousands of lines of source per minute.
Avatar
Yes, there was a drawback to instantaneous compile times. Fewer optimizations were done, and almost always the resultant code was slower than the C equivalent. But it didn't matter. Removing the gap between the steps of writing and running code was worth more than some amount of additional runtime performance. I used to hit the build key every so often, even while typing, just to check for syntax errors. And zero compilation speed eventually became standard, with the rise of interpreted languages like Perl, Ruby, and Python.
Avatar
faster than assembler even, haha 😄
Avatar
faster than assembler is actually surprising
Avatar
i guess cuz the custom linker
22:27
they mention
22:28
Minimal linker. Have you ever looked at the specs for an object file format? "Complicated" and "bulky" are two terms that come to mind. Turbo Pascal used a custom object file with a minimal design. The "linker" wasn't doing anywhere near the work of standard linkers. The result was that the link step was invisible; you didn't even notice it.
Avatar
I guess that also moves some complexity to the runtime
Exported 555 message(s)