Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Build Auditable User Document Storage with Python — Access Control

A receipt system in healthtech has two jobs that pull in different directions: make a document easy for the application to deliver, and make the original file defensible during an audit. The design should keep those jobs separate. Store the original in private object storage, issue short-lived access only after an authorization check, and record an immutable metadata trail around every read and…

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

Exit codes in CI: what every number means and how to fix it

Exit codes in CI are the only thing a failed step gets to say about itself, which is why so much of debugging a pipeline comes down to reading one number.

  • Exit codes indicate success (0) or failure in CI pipelines
  • 0 means successful completion, others are convention-based
  • Bash reserves 127 (missing command) and 126 (executable issue)

Implement Training File Export with Temporary Downloads (Presigned URLs, Retention)

The constraint that changes this design is large-file throughput. An education platform should keep export bytes off its application workers, issue a short-lived download URL only after authorization…

  • Implement export as immutable object with signed GET request URL.
  • Record timestamps and policy selection for reproducible audits.
  • Use storage service for large data path, API for control-plane job.

Making a calculator other sites can embed, on a fully static site

I run a small site for freelancers, Paid & Filed , and its most useful page is a free 1099 tax calculator that works out quarterly estimated tax.

  • Calculator embedded via React component
  • Embed route excludes header, footer, analytics
  • Height adjustment script for seamless display

More from Sunday 15 November →