Advertisement · 728 × 90

Posts by Chris Blume

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.

3 days ago 1 0 0 0

Dang, Laurie. Friggin'...amazing. Mad respect

4 days ago 3 0 0 0

I know this is an old trope but I'm disappointed in how slow and unwieldy computers are still.

5 days ago 1 0 0 0
JSON WEB TOKENS are Dead!
JSON WEB TOKENS are Dead! YouTube video by Piyush Garg

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...

6 days ago 1 0 0 0

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.

6 days ago 0 0 0 0

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?

1 week ago 1 0 1 0

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.

1 week ago 0 0 0 0

Oh. So Anthropic DOES value copyright. Interesting.

1 week ago 0 0 0 0

*reinstalls Kerbal*

1 week ago 2 1 0 0
Advertisement

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.

2 weeks ago 1 0 1 0

Spicy take (heh): Banana pepper is better than jalapeno.
And it could probably sub in for every usage??

2 weeks ago 0 0 0 0

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.

2 weeks ago 0 0 0 0

I keep typing and deleting various forms of "thank you" because none of them convey it just right.

Eric, —sincerely—thank you.

3 weeks ago 2 0 0 0

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.

3 weeks ago 0 0 0 0

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.

3 weeks ago 2 0 2 0

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.

3 weeks ago 3 0 0 0

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.

3 weeks ago 1 0 1 0

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.

3 weeks ago 0 0 1 0

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."

3 weeks ago 0 0 0 0
Advertisement

"base frequency" = do a Fourier transform, find the highest concentration?

So far, that's the best answer in my head.

3 weeks ago 0 0 1 0

I wonder if I would prefer C-style languages allowed nesting block comments, /* ... */.

3 weeks ago 1 1 0 0

Music nerds,

When you have different timbres, what makes it a given note?
Is it the average frequency?
Is it the base harmonic?

4 weeks ago 0 0 1 0

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.

4 weeks ago 1 0 1 0

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.

4 weeks ago 0 0 1 0

You're welcome.
There is more cool stuff coming in the PNG space.

That said, JXL is hella cool, too. Big fan.

1 month ago 1 0 0 0

Do you know if videos will be posted?

1 month ago 0 0 0 0
Post image

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".

1 month ago 0 0 1 0
Advertisement

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.

1 month ago 0 0 0 0
Join us for 3D on the Web on March 11 in San Francisco

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]

1 month ago 7 2 1 1
Post image

I feel like that might be a new one for me.

1 month ago 0 0 1 0