!spSpUScJjerblXiVzA:matrix.org

Piqueserver General

88 Members
Official Matrix Room for Piqueserver. https://github.com/piqueserver/piqueserver4 Servers

Load older messages


Timestamp Message
26 Mar 2019
04:55:47@godwhoa:matrix.orggodwhoa*with
10:10:00@_discord_127498017677770752:t2bot.ioAltafen#6776 anyone know how to un-enet-range-coder-ify a hex network dump?
10:12:39@notafile:matrix.orgnotafile
In reply to @_discord_127498017677770752:t2bot.io
anyone know how to un-enet-range-coder-ify a hex network dump?
afaict it's not really possible from a partial dump? But either way, you'll need to manually compile something that uses the enet range coder from the library itself. The interface is exposed in enet.h iirc. Not exported in the python bindings though.
10:14:02@notafile:matrix.orgnotafilethought you were here before wow
10:14:30@notafile:matrix.orgnotafile
In reply to @notafile:matrix.org
afaict it's not really possible from a partial dump? But either way, you'll need to manually compile something that uses the enet range coder from the library itself. The interface is exposed in enet.h iirc. Not exported in the python bindings though.
I tried to understand the enet range code but my head just exploded
10:14:41@notafile:matrix.orgnotafile it's a giant macro soup with macros in macros
10:14:51@_discord_127498017677770752:t2bot.ioAltafen#6776 thats what i was afraid of
10:15:20@notafile:matrix.orgnotafile someone didn't know about that compilers inlinine functions or something
11:44:17@notafile:matrix.orgnotafile
In reply to @notafile:matrix.org
hm, I'm getting CORS error, I wonder what's up with that
wow I'm an idiot. The request to walladge.net was blocked by uMatrix
12:23:17@notafile:matrix.orgnotafile
In reply to @_discord_127498017677770752:t2bot.io
thats what i was afraid of
I think another thing here is that the range coder uses the data sent over the connection to dynamically change the encoding
12:23:41@notafile:matrix.orgnotafileso you need to listen to a stream from the start
12:24:03@_discord_127498017677770752:t2bot.ioAltafen#6776 yeah
12:24:05@notafile:matrix.orgnotafileprobably easiest to do the logging from inside the server...
12:24:08@_discord_127498017677770752:t2bot.ioAltafen#6776 had a few ideas
12:25:26@notafile:matrix.orgnotafileyou could keep logs in a file and then rotate it say every 5min
12:25:26@_discord_127498017677770752:t2bot.ioAltafen#6776 log inside server (to ramdisk), and make sure it flushes before processing anything
use iptables TEE or something to send packets to a duplicate server which only does logging
12:26:39@notafile:matrix.orgnotafilewell you really only need logs for when it crashes right
12:27:12@notafile:matrix.orgnotafileany coredumps so far btw?
12:27:46@_discord_127498017677770752:t2bot.ioAltafen#6776 nope
12:34:54@_discord_141414305718468608:t2bot.ioSonicscream Da heck is a range coder
12:36:33@_discord_141414305718468608:t2bot.ioSonicscream Lossless data compression?
12:38:02@_discord_141414305718468608:t2bot.ioSonicscream Yet another thing I've never heard of. 😂
12:43:52@notafile:matrix.orgnotafile it's a variant of arithmetic coding
12:44:28@notafile:matrix.orgnotafilewikipedia has a great explanation
12:45:22@notafile:matrix.orgnotafile it's a really neat concept
12:53:55@notafile:matrix.orgnotafilethe full name of the enet coder is a PPM(2) adaptive range coder. I somewhat understand these things on my own but the full combination especially with the code breaks my brain.
12:54:51@notafile:matrix.orgnotafilePPM(2) basically just means that it predicts the probability of the next symbol based on the previous two
12:57:02@notafile:matrix.orgnotafilethat prediction is then used for the range coding
12:58:39@notafile:matrix.orgnotafile(I assume)
19:56:06@_discord_497657893533909013:t2bot.iobieito98

There are no newer messages yet.


Back to Room List