News for hackers. Stuff that matters.
Re:Compression Is Prediction by TacticalCoder on Tuesday August 11, 2026 @08:34PM (#49266382)
> It was basically an early language model that predicted which characters are more likely than others, given what you've already types and it would adjust the sizes of the available next characters based on their probabilities.

"adjust the sizes of the available next characters": you mean assigning less bits to characters the most likely to come next, and more bits to the least likely characters to come next?

So it's not totally unlike adaptive Huffman coding but instead of updating the tree on already visited characters, here the tree with the weights of the possible following character is predictive?

Re:Compression Is Prediction by farfatched on Tuesday August 11, 2026 @08:44PM (#49266457)
Adjust the size as in making the GUI element larger: https://en.wikipedia.org/wiki/Dasher_%28software%29 has a picture of completing "Wikiped".

Try it out: `apt install dasher`. https://packages.debian.org/sid/dasher

Re:Compression Is Prediction by ballooney on Wednesday August 12, 2026 @01:59AM (#49268350)
It is infact a visual implementation of arithmetic coding, and he used it in his lectures to teach arithmetic coding in the lecture following the one on huffman coding. The video lectures posted earlier are highly recommended, best course I took as an undergrad