on-internet

Hex to Tailwind: how to map any brand color to the nearest palette shade

Designers hand you a brand hex like #3B82F6-ish, and your Tailwind config has 11 shades per color. Which one is "closest"? Eyeballing it leads to inconsistent UIs. Why simple RGB distance misleads Euclidean distance in RGB treats all channels equally, but human vision doesn't. Two colors can be numerically close and look different (especially in greens). A better approach is to compare in a perceptual space such as CIELAB (deltaE). A quick recipe Convert your hex to sRGB, then to linear RGB, then to Lab. Do the same for every Tailwind shade (50-950 across all families). Pick the smallest delta

How We Cut Laravel 11 Production TTFB from 1,277ms to 85ms on Nginx & PHP 8.3 FPM

When running a high-traffic bilingual (Arabic RTL / English LTR) Laravel 11 application serving enterprise B2B portals and diagnostic tools, server response time (TTFB — Time to First Byte) directly dictates both Core Web Vitals (LCP) and search engine crawl efficiency. Here is the exact production engineering checklist our team at MTM4WEB used to bring median TTFB down from 1,277ms (with 9s spikes) to 60–120ms on a live Nginx + PHP 8.3-FPM stack. 1. Bypassing PHP-FPM for Static Public Assets in Nginx On many HestiaCP / cPanel reverse-proxy setups, static files inside public_html/public accide

THE COURT WITHIN

Every turn leads to the same destination. A place too honest to accept, left deserted somewhere in the narrow lane between was and is. Continue reading on Medium »

The Exploitation in Entertainment

The global entertainment industry is a multi-billion-dollar ecosystem driven by creativity, spectacle, and immense fame. Yet, behind the… Continue reading on Medium »

Which app made that beep? Tracing system sounds on macOS

“Which app made that last beep?” came in as a feature request for Stat Space, and I assumed it would take an afternoon. The Volume tab… Continue reading on Medium »

324 Days Since the Phone Went Click

Losing someone who is still alive, and discovering that peace can coexist with pain Continue reading on Middle-Pause »

Kafka UI needs authorization beyond its login page

Kafka UI needs authorization beyond its login page A Kafka UI can look like a convenience layer while behaving like a privileged cluster operator. It reads topic metadata, messages, consumer groups, ACLs, connectors, and sometimes the configuration that tells the UI where clusters are. A login page protects the browser session. It does not decide whether the service account behind that UI can delete a topic or change a consumer offset. The distinction matters most in smaller deployments where the UI runs beside the cluster and receives broad Kafka credentials. The UI may support OAuth, LDAP, o

The Operating Principle of Life Can’t Be Outliers

On chasing passion, comparing ourselves to extraordinary people, and learning to build an ordinary life. Continue reading on Know Thyself, Heal Thyself »

Latency Is Bought At Training Time

As humanoid control strips out the conversion step between a person’s movement and a robot’s joints, the hard work moves upstream into the motion data those systems learn from. Watch someone in a headset drive a humanoid robot and the first thing you notice is the delay. The arm goes up, and a beat later the machine’s arm goes up. That beat decides whether an operator can catch a slipping box or stop a machine before it leans past the point of recovery. Most of the beat is spent on translation. Human bodies and robot bodies do not match: limb lengths differ, joints swing through different rang

Building a Multi-Market Polymarket Market Maker Bot with Python — Day 18

How to trade BTC, ETH, SOL, and XRP markets simultaneously while managing shared capital, portfolio exposure, and execution risk. Building a market-making bot for a single Polymarket market is one challenge. Running the same strategy across multiple markets introduces an entirely different set of engineering problems. Imagine your Python bot is already monitoring BTC 5-minute Up/Down markets. Everything works reasonably well. Your bot receives order book updates, calculates quotes, places orders, and tracks inventory. Now you want to expand to: BTC Up/Down ETH Up/Down SOL Up/Down XRP Up/Down T

PHILOSOPHY — MAX HEL ARENA

WHAT WILL YOU GET OUT OF IT? Continue reading on Medium »

Rust vs C# with Python

$DiligentGROUPs💋 Continue reading on Medium »

Long Exposure: a daguerreotype that takes a minute, because the SDK does

This is a submission for the Presage SmartSpectra SDK Challenge In 1840 a portrait took a minute. You had to hold still. Your heart could not. What I Built Long Exposure is a portrait studio from 1840. You sit in front of your webcam for about a minute, keeping your head still and breathing normally, and a portrait develops on a silver plate. It is made only from what the SmartSpectra SDK reads through the camera which are the geometry of your face, your pulse, your breathing. No photograph of you is taken or kept. The finished plate is alive. It flushes faintly in time with your real pulse, a

Harness-S Uses Specialized Execution Harnesses to Train Policies That Transfer Back to the Original

This is a Plain English Papers summary of a research paper called Harness-S Uses Specialized Execution Harnesses to Train Policies That Transfer Back to the Original. If you like these kinds of analyses, you can find more AI and machine-learning research on AIModels.fyi or follow us on Twitter. Harness-S trains one policy from specialized execution support Harness-S trains a shared policy on AppWorld, SWE-Gym, and DBBench by using sibling harnesses to rescue tasks that fail under the original execution system. Its central claim is that these rescue trajectories can teach behaviors that remain

SRI na prática: por que o seu integrity="sha384-…" não bate (o hex do sha384sum não é Base64)

SRI na prática: por que o seu integrity="sha384-…" não bate (o hex do sha384sum não é Base64) Você coloca um script de CDN com o atributo integrity, abre a página e o console avisa que o recurso foi bloqueado porque o hash não confere. O arquivo é o mesmo, o algoritmo é o mesmo… e mesmo assim não funciona. Na maioria das vezes o problema não está no arquivo, e sim no formato do hash. Ferramentas como sha384sum mostram o resultado em hexadecimal, mas o Subresource Integrity (SRI) espera esses mesmos bytes em Base64. Neste post vamos ver o formato correto, montar um exemplo do zero e passar pela

WooCommerce 11.3.1: the security patch that can break headless checkouts

On Thursday 19 November 2026 WooCommerce released 11.3.1, a patch release the team labels as a security update, with a database update attached. The release notes describe it as bringing "fixes across checkout, customer accounts, store permissions, and data handling" and ask store owners to update promptly and then test cart and checkout. No CVE ids, severity scores or reports of attacks are attached to it. For most WooCommerce stores that is the whole story: update, place a test order, done. The reason it is worth a longer look here is that 11.3.1 also tightens how the Store API answers reque

Older stories