Prakhyath
397 posts

Prakhyath retweetledi

Uber open-sourced their M3 metrics platform, and while skimming through how it works, I found an approach called LTTB downsampling. Here's what it is all about...
LTTB stands for Largest Triangle Three Buckets, which is a downsampling algorithm used to query and visualize millions of time series data points efficiently. The approach keeps the visual shape of the plot while reducing the number of points required to render it.
This makes the frontend efficient with fewer data points to render and less data to be emitted over the network.
It works by dividing the time series into buckets and selecting points that preserve the largest visual area. So, instead of random sampling or simple averaging, LTTB picks points that maintain the peaks, valleys, and overall trend of the data.
The way it does this is by considering three points at a time (previous, current, next) and calculating the area of the triangle they form. The point that creates the largest triangle gets selected. This means important visual features survive the downsampling.
With this approach, the system can downsample 10,000 points to 500 and still get a chart that looks nearly identical to the original. Beyond M3, systems like Grafana, InfluxDB, and Prometheus have all adopted LTTB or similar downsampling techniques.
It is super interesting that something as seemingly simple as "which points should we keep?" turns into such an interesting problem statement.
English

I cannot get the "fo shure!" out of my head.
In 24hrs it's turned into a sickness.
Every thought in my head now gets a comment by a second voice that says "fo shure! fo shure!"
Neil Zeghidour@neilzegh
Me defending my O(n^3) solution to the coding interviewer.
English
Prakhyath retweetledi

@arpit_bhayani When sora-text to video-was launched, all thought, gpt-5 would probably mean agi. Didn’t live up to the hype.
English

So, GPT-5 was released yesterday, and there was barely any buzz. Which probably means one of these things
- we're all just tired of the nonstop AI hype, or
- launch didn't live up to our sky-high expectations, or
- AI progress is actually starting to slow down
If that's really true, then...
Does that mean we get to keep our jobs past 2030? Yay!
English

@nabilajamal_ Some dog owners get offended when you call their dog, dog. It’s a dog. This glorification of pets should be kept in check.
English

After careful consideration chepincha guys chala darunam ga vundi
GunSlinGeR@stallion_86
Buzz cut range lo hair short ga cut chepidam anukutunna em antaru guyss
English
Prakhyath retweetledi









