Urgent.News

What's breaking now, across thousands of outlets.

Tech

Streaming an Upload Is an End-to-End Contract

An upload handler can accept a Stream and still sit at the end of an eager, allocation-heavy path. The signature tells us how one method receives data. It does not tell us how the bytes reached that method. That distinction becomes important when a feature grows from small images to larger media. A transport shape that feels harmless at a few megabytes can become uncomfortable when files are an…

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

Read the original at dev.to →

More in Tech

Collect Less Than You Are Allowed To

Storage is cheap, so the default became keep everything. Every event. Every request body. Every version of every row, ten years deep, because deleting takes a decision and keeping takes none.

The secret was masked until we base64 encoded it

An engineer scrolling a failed build on a Monday afternoon found our registry deploy token sitting in the log in plain sight. Not the whole log.

  • Developer found registry deploy token in plain text in build log
  • CI system echoed every command executed with set -x
  • Masking and lint rule implemented to prevent future secret leaks

When the Leased Laptops Went Back, the Data Went With Them

Three hundred and forty laptops came off a three year lease last spring. A logistics firm collected them over four days, signed a manifest, and returned them to the lessor.

  • 340 leased laptops lacked proper data sanitization
  • 28 devices never returned, posing security risk
  • Company updated procedures for in-house data sanitization

Unix Timestamp Explained: What Epoch Time Is and How to Convert It

If you've worked with APIs, databases, logs, authentication systems or backend applications, you've probably encountered a Unix timestamp.

  • Unix timestamps represent specific moments in time as numeric values since the Unix epoch.
  • Developers use Unix timestamps in APIs, databases, logs, and authentication systems.

More from Tuesday 15 September →