Flipping the narrative huh?
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Please have a "naming things isn't hard" stream next
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Insert "Those bastards lied to me" meme, because of the famous quote, lol.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'm still in the middle of the stream but the answer seems to be: It's either trivial or impossible. If you cache the output of a "pure" function, cache invalidation is not a thing. If you cache the output of a changing function, just forget about it.
-
That's pretty much it. The first one is trivial, the second one is impossible. There is an optimization concern, which is to say that you could _make_ cache invalidation hare by trying to make approximation functions. But even that isn't that hard, it's just harder than trivial.
- Show replies
New conversation -
-
-
@cmuratori refterm leans on the hashing function's strength to "guarantee" two different glyphs won't map to the same hash. If a collision happens, refterm would just render an incorrect glyph. In what other scenarios (not refterm) would you add the extra key validation? -
A 128-bit hash collides roughly every 2^64 unique inputs. I would add the extra key validation when Unicode defines a UTF-64 standard.
- Show replies
New conversation -
-
-
This article was posted on HN today. It keeps reiterating that caching is complicated/confusing. https://httptoolkit.tech/blog/status-targeted-caching-headers/ … As far as I can tell, they're just fumbling around trying to solve the "impossible" version of the problem, instead of reframing it into the trivial version.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Good stuff, man. I appreciate the series of lectures you've been doing.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.