on-internet

From flat network to zero trust: an infrastructure security hardening case study

The question nobody could answer A prospective enterprise customer asked a simple due diligence question: if an attacker popped one of your containers, what else could they reach? Nobody on a 40-engineer team running a B2B scheduling platform (roughly 9,000 paying seats) could answer with confidence. No breach had happened. The uncertainty itself was the problem, and it's the same uncertainty a lot of growing platforms are sitting on without realizing it. This is a condensed breakdown of how we moved that infrastructure from a flat, perimeter-trust network to a zero trust model, in four shippa

Stream from OBS to a browser with WHIP on AWS

In a live auction or remote workshop, a few seconds of video delay can make an audience response arrive after the moment has passed. This walkthrough sends an OBS feed to Ant Media Server on Amazon EC2 and plays it back in a browser over WebRTC. A simple stopwatch test shows how much delay viewers actually see. WHIP, the WebRTC-HTTP Ingestion Protocol, handles the OBS-to-server connection. OBS sends a session offer over HTTPS, then sends the audio and video over WebRTC. The browser opens its own playback connection to the server. That gives you three places to check when a stream stalls: HTTPS

Count Aspect Ratio Changes and Calculate Drift Medians in Python

A staged photo has several properties worth recording separately. The aspect ratio flag tells you whether its frame kept the original width to height proportion. The alignment flag records whether the comparison succeeded. Architecture drift summarizes structural change, with lower scores indicating closer preservation of the room. For a listing, a different ratio prompts an inspection of the edges for cropping and of fixed features for stretching. The fields below come from the public StagingBench data, and you can summarize them with collections.Counter and statistics.median from the Python

How to set a default value for FastAPI's Header?

I have a simple localised GET endpoint: @router.get("/codes", description="Get a list of codes data matching a query and locale") def get_codes_data( query: str = Query(default="", description="Search query"), accept_language: str = Header(default="de") ) -> CodesResponse: I would expect `Accept-Language` to be equal to `de` if I did not set a value. However, when a value is not provided, the value of `accept_language` is as follows: en-GB,en-US;q=0.9,en;q=0.8 When a value is provided, everything works as expected. I found a few issues on fastAPI's GitHub Issues that makes me think this is eit

Join the discussion →

The price of the purple land

Stranded in a storm, commuters ignore a stranger’s demand for a drop of blood—until a three-headed creature arrives at Josh’s window to… Continue reading on Medium »

Love and Revolution

How can we build a nation without rebuilding the home? Continue reading on X — A Black Generation Lost Seeking To Be Seen, Heard, and Understood Part I »

I Miss Being Hugged Without It Meaning Something

On bisexuality, friendship, misplaced assumptions, and the quiet hurt of being misunderstood by people you trust. Continue reading on Prism & Pen »

Do not build your Node app on a 1 GB server

Build on your own machine, ship one bundled file, and keep the small server for serving. Continue reading on Medium »

Making Peace With a Himalayan ‘Ghost’

Last winter, Deachen Chuskit took her cows to graze in the upper Himalayan desert of Ladakh. The snow had covered the pasturelands nearby, forcing her and other villagers to take their livestock farther from their village, Saspotse, for grazing. When she returned for the animals in the evening, she found... The post Making Peace With a Himalayan ‘Ghost’ appeared first on Reasons to be Cheerful.

Meet the few Liberian women rangers in a race to protect wildlife and forests

ZORTAPA, Liberia — Grace Kotee-Zansi is living a dream she had as a child: patrolling the East Nimba Nature Reserve (ENNR) as a biologist ranger to stop hunters from killing protected animals. Her job today brings relief from her childhood memories of her grandfather hunting and farming in the forest. The ENNR, a proposed extension […]

Python Functions and Return Values

Let’s take a closer look at functions in the Python programming language and also talk about their return values. Continue reading on Medium »

Who speaks for the voiceless in Tanzania?

"The law guarantees freedom of expression, but people who criticize the government face arrest, intimidation, and, in some cases, alleged abduction."

Man found 'likely involved' in cold-case murder

A man previously charged over the killings of three tourists in outback Queensland in the 1970's has been found to likely have a "direct involvement in their deaths".

finding out along the way

on saying yes to opportunities, even when you don’t really feel ready Continue reading on Medium »

Life and Death: The Untold Story of Human Existence

We spend our entire lives preparing for tomorrow, forgetting that today is the only moment we truly own. A Real Story of Life, Love, Time… Continue reading on Medium »

Older stories