Quick note: On the Wikipedia page, the number is the offset from the start of the sliding window. But in Deflate (and probably most places?) it is the offset backwards from the current position.
Posts by Chris Blume
Dang, Laurie. Friggin'...amazing. Mad respect
I know this is an old trope but I'm disappointed in how slow and unwieldy computers are still.
I think this is the first YouTube video I've seen where the presenter code switches.
There is just enough English and the examples are clear enough that I can follow along.
(That said, I'm not yet convinced PASETO actually solves the difficulties of JWT?)
www.youtube.com/watch?v=TD8G...
Two main downsides I can think of:
- The pump's noise won't be as muffled anymore
- Generally unwieldy
With valves, I think its parts can be separated and the unwieldiness can be addressed.
Still thinking about good ways to silence the pumps.
The more I think about water cooling, the more I come to the conclusion that the bulk should be external to the case.
Pump(s), rad, ...
I also want a bigger, slower-moving fan over a larger rad. 120mm fans seems weird. But that might lose static pressure?
I have an old XBox One.
It does not work.
I assume I kept it disconnected for too long, it didn't get some critical update, and they ended all service?
1.) Online required is BS
2.) I guess I'll mod it? Microsoft, this is entirely on you. I wasn't going to otherwise.
Oh. So Anthropic DOES value copyright. Interesting.
*reinstalls Kerbal*
I dislike how LLMs just predict the next word and we call it AI. That misses the point.
A few days ago I started a project to actually *learn*. I figured I would give it a head start with sentence structure, nouns, and verbs.
Turns out I was just reinventing Knowledge Graphs.
Spicy take (heh): Banana pepper is better than jalapeno.
And it could probably sub in for every usage??
I recognize this is deeply nerdy, but...
I don't think verb phrases should be able to contain noun phrases.
I think it is to allow Subject Verb Object ("I kick the ball") and Subject Verb ("I danced") to both form a sentence. Just clump the object into the verb. But that is a terrible solution.
I keep typing and deleting various forms of "thank you" because none of them convey it just right.
Eric, —sincerely—thank you.
Fun fact: On zlib's highest compression setting, the Lempel-Ziv step turns "abracadabra" into {"abracada", (length 3, distance 7)}
It could have been length 4 and saved a byte on the "a" before.
The highest setting is not optimal.
I FINALLY figured out this stupid deflate compression thing.
I stepped through zlib's output bit by bit going "this part doesn't work...maybe that data is stored differently?"
Sure enough, it is. Different parts are stored most-/least-significant bit first.
The Deflate algorithm operates on blocks.
An uncompressed block stores its size. That means you can quickly skip past it. This is a nice feature for parallel work.
The compressed blocks do not store the size.
I wish I could magically change history and add that size.
To be properly nerdy, I don't think the ideal length is a given number of characters.
I think it is a certain degree of rotation. So a certain arc length of text.
But we generally read text at a given size & distance from our eyes. So we can boil it down to ~a number of characters.
When reading, we finish the line and our eyes need to zip back to the beginning of the next line.
There is an ideal line length so that our zip successfully finds the next line without hunting. This is why you see columns in news papers and magazines, for example.
HOLY FUCKING ERRATA
Was: "...stored with the most-significant bit first, e.g., bits 1110 represent the value 14."
Now: ".../stored with the least-significant bit first, e.g. bits 0111 represent the value 14."
"base frequency" = do a Fourier transform, find the highest concentration?
So far, that's the best answer in my head.
I wonder if I would prefer C-style languages allowed nesting block comments, /* ... */.
Music nerds,
When you have different timbres, what makes it a given note?
Is it the average frequency?
Is it the base harmonic?
Anyone know of some computer cases that are designed for water cooling? Specifically, multi-radiator.
I would love if there was a good spot for a fill and drain port.
But my main issue is normally you're stuck with 1x 360 radiator, normal thickness.
Yesterday, an AI bot posted to Reddit--the last sanctuary of genuine human wisdom. And I responded before realizing.
Dead Internet Theory is hitting hard.
I don't think young people realize how valuable and promising the internet was in the '90s.
You're welcome.
There is more cool stuff coming in the PNG space.
That said, JXL is hella cool, too. Big fan.
Do you know if videos will be posted?
Got Lempel-Ziv compression working.
Now to combine it with the Huffman from before to get Deflate.
This is how Lempel-Ziv compresses Green Eggs & Ham.
The numbers inside the parentheses are the offset from the start and the length.
(5, 3) is the "Sam" it saw before.
(0, 4) is the "I am".
Also, gross. I uploaded a PNG.
Bluesky decided to recompress as a JPG. Fair enough. I think it is a good idea to do a lossy compression for the human-presentation step.
But it didn't take the image dimensions vs display dimensions into account. Gross artifacts everywhere.
Join us for 3D on the Web on March 11 in San Francisco
Calling all programmers!
Khronos Group is hosting "3D on the Web" -- an evening of talks, demos & networking around #WebGL #WebGPU, #glTF & #Gaussian splats.
March 11 · 5:30-9:30 PM PDT
Easy 12 minute walk from GDC in
San Francisco
Learn more and register […]
[Original post on fosstodon.org]
I feel like that might be a new one for me.