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-05-20 00:00:00Z and 2021-05-21 00:00:00Z
00:30
i had something similar on my map c when i was testing it
00:30
i have no idea how it works tho (never considered it being affected by being frozen or not)
Avatar
@deen usa sketch server just died for some reason
05:32
oh nvm its all of USa
Avatar
Avatar
heinrich5991
ah, the 18 MiB are probably not a whole day
i dont think json a space efficient format, tho its good for api responses
Avatar
Avatar
Ryozuki
i dont think json a space efficient format, tho its good for api responses
Get with the times grandpa, space is free now
Avatar
Avatar
Learath2
Get with the times grandpa, space is free now
well maybe for ur server it is, but i prefer to have my disks as m2 ssds and usually they arent that free
10:06
feelsbadman
Avatar
Bro pls all space is free now whether it be ram or whatever kind of disk you prefer
10:08
That's how everyone codes
Avatar
250g game is ok. Browsers using 5g of ram is ok
10:09
Anyway, atleast json comoresses decently being repetitive
10:09
Compresses*
Avatar
300 KB json is ok
Avatar
Ok, so perhaps I was a little bit OTT with the title of this blog post (but it got your attention, right?). What I actually mean is that JSON Sucks for
11:04
nothing is perfect 🙂
Avatar
Using msgpack isnt an alternative?
11:14
It uses the key: value pattern like json, but encoding is made for m2m ( maschine 2 maschine )
Avatar
TSMC in collaboration with the National Taiwan University (NTU) and the Massachusetts Institute of Technology (MIT) have made a significant breakthrough in the development of 1-nanometer chips. The joint announcement comes after IBM earlier this month published news of their 2-nanometer chip develop...
Avatar
so i want to bind that when i press a (/pause key) it also do the zZz emote
Avatar
without packet overhead, it seems to be about 120 KiB transferred (measured using wireshark, subtracted 42 B/packet for headers) for the old serverinfo protocol and <50 KiB transferred for the new serverinfo protocol @Learath2
14:02
this doesn't seem to be a case of "space is free now, that's how everyone codes"
14:03
re-checked, it's 60 KiB with the 0.7 servers
Avatar
I mean it's a net improvement surely, it's just not as tightly packed as it can be given this is mostly m2m. Protobuf and msgpack would both pack this tighter
14:34
I'm okay with json since it's easier to consume on a website
Avatar
seems to make a 5% improvement of gzip'ped msgpack over gzip'ped json (that's the transport encoding the webserver chooses)
Avatar
what about br
14:50
Brotli is a data format specification for data streams compressed with a specific combination of the general-purpose LZ77 lossless compression algorithm, Huffman coding and 2nd order context modelling. Brotli is a compression algorithm developed by Google and works best for text compression. Brotli is primarily used by web servers and content de...
Avatar
idk, I checked what the webserver chooses
Avatar
Better than not spawning at all

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 valgrind's memcheck](https://github.com/ddn...
Exported 34 message(s)