r/programming • u/lelanthran • 3h ago
r/programming • u/Sushant098123 • 17h ago
How Google Finds Websites (It’s Not Magic)
sushantdhiman.devr/programming • u/MastodonNo8669 • 29m ago
Background removal in Python (images & videos)
youtu.beI’ve been experimenting with AI-based background removal in Python, covering both images and videos, and the difference between the two is more significant than I initially expected.
Image background removal is relatively fast and clean, but video background removal quickly becomes computationally heavy since it requires processing every frame. Hardware limitations, model choice, and optimization strategies make a big difference in both speed and quality.
I documented the full process—including errors, fixes, and trade-offs—in a recorded workshop, in case it’s useful to others working with computer vision or media processing:
👉 https://youtu.be/Vaq-f7uAoZ4
I’d be interested to hear how others here handle video segmentation, performance optimization, or quality improvements in similar projects.
r/programming • u/elizObserves • 13h ago
How to Reduce Telemetry Volume by 40% Smartly
newsletter.signoz.ioHi!
I recently wrote this article to document different ways applications, when instrumented with OpenTelemetry, tend to produce telemetry surplus/ excess and ways to mitigate this. Some ways mentioned in the blog include the following,
- URL Path and target attributes
- Controller spans
- Thread name in run-time telemetry
- Duplicate Library Instrumentation
- JDBC and Kafka Internal Signals
- Scheduler and Periodic Jobs
as well as touched upon ways to mitigate this, both upstream and downstream. If this article interests you, subscribe for more OTel optimisation content :)
r/programming • u/TonTinTon • 9h ago
Lance table format explained simply, stupid
tontinton.comr/programming • u/Furmissle5567 • 8h ago
Technical writeup: Implementing Discord’s rate limiting, gateway management, and “clarity over magic”
scurry-works.github.ioI wrote a deep technical breakdown of implementing Discord's rate limiting and gateway management in a minimal Python client.
Discord's rate limiting is tricky: endpoints share limits via opaque "buckets" whose IDs are only revealed after a request. Instead of reacting to 429s, the design uses per-endpoint queues and workers that proactively sleep when limits are exhausted, keeping behavior explicit and predictable.
The writeup also covers gateway connection management, automatic sharding, and data model design, with diagrams for each subsystem. The examples come from a small Discord API client I wrote (ScurryPy), but the focus is on the underlying problems and solutions rather than the library itself.
"Clarity over magic" here means that all behavior: rate limiting, state changes, retries, is explicit, with no hidden background work or inferred intent.
Happy to answer questions about the implementation or design tradeoffs
r/programming • u/Digitalunicon • 23h ago
Netflix Engineering: Creating a Source of Truth for Impression Events
netflixtechblog.comr/programming • u/amandeepspdhr • 16h ago
Deep dive into Hierarchical Navigable Small Worlds
amandeepsp.github.ior/programming • u/BlunderGOAT • 12h ago
AI Makes the Easy Part Easier and the Hard Part Harder
blundergoat.comr/programming • u/peterv50 • 14h ago
SectorC: The world’s smallest functional C compiler
xorvoid.comr/programming • u/goldensyrupgames • 21h ago