Urgent.News

What's breaking now, across thousands of outlets.

Tech

AMD Contributes Integration For Content-Adaptive / Adaptive Backlight Modulation To GNOME

Merged today to GNOME's Mutter compositor is support for the Adaptive Backlight Modulation (ABM) DRM/KMS connector property and a "content-adaptive" API. This GNOME desktop improvement was contributed by AMD as part of modern AMD Ryzen AI laptops supporting Adaptive Backlight Modulation...

We haven't written up this one. Phoronix has the full story — the link below goes straight to it.

Read the original at phoronix.com →

More in Tech

5 Security Mistakes I See in Flask + React Apps (and How to Fix Them)

Flask and React are a great pairing: fast to build, flexible, and easy to deploy. But that same speed means security often gets pushed to "later," and later usually means after something breaks.

  • Validate user input against schema using Pydantic
  • Store JWTs in HttpOnly, Secure, SameSite cookies
  • Include token in Authorization header on React frontend

What happens when an offline POS sale syncs twice?

A cashier completes a sale while the connection is down. Later, the server saves it, but the response never reaches the device. The app retries.

  • Unique client sale ID assigned to prevent duplicate transactions.
  • Server handles retries safely with unique database constraint.
  • Testing essential to verify receipt number and inventory accuracy.

How do you tune speculative decoding in a production serving stack?

Tune speculative decoding against your own traffic, not a benchmark. Choose a method that fits your workload, set draft length from measured acceptance rate, and re-test at production concurrency…

  • Base speculative decoding method on your own traffic data, not benchmarks.
  • Choose n-gram or suffix decoding for modest speedup; use EAGLE or MTP for best latency reduction.
  • Adjust draft length based on acceptance rate; test multiple values and monitor per-request metrics.

Running untrusted pull request code from agents and contributors

Originally published on sandscale.dev . A pull request is a request to run someone else's code on your machine. CI has always worked this way: check out the branch, install dependencies, run the…

  • Pull requests run untrusted code, posing risks like code escaping or data exfiltration
  • Sandscale's sandbox creates a separate kernel and network environment for each PR
  • After tests, sandbox should be stopped and discarded to prevent lingering malicious code

More from Friday 20 November →