on-internet

The Man Who Refused to Date a Woman Over 30

A decade of overhearing men’s “types” taught me what they were really filtering for. Continue reading on Medium »

Laravel Policies and Gates: Authorize Every Record

Last updated: 19 November 2026. Every behavior below was run on Laravel 13.40 and PHP 8.3 with MySQL. SeeHow this was checked. Route model binding makes it very easy to write this: Route::get('/documents/{document}', fn (Document $document) => $document); It works, it is short, and it hands any visitor any document whose id they can guess. Authentication tells you who is asking. It does not tell you whether they may see this record. That second check is authorization, and Laravel gives you two tools for it: gates and policies. This article shows how to use them so that no record is reachable w

hindi sapat ang pangarap bilang puhunan ng nasa laylayan

Maihahalintulad sa isang negosyo ang buhay — kailangan mong mamuhunan. Sa mundong napapaikot ng salapi, sapat ba kung pangarap lang ang… Continue reading on Medium »

Find What’s Using a Port on Linux: ss, lsof, fuser

Last updated: 19 November 2026. Every command and output below was run on Ubuntu 24.04 with iproute2 6.1.0, lsof 4.95 and psmisc 23.7. SeeHow this was checked. You start a dev server, an Apache restart, or a container, and get Address already in use or EADDRINUSE. Something already owns the port, or the kernel thinks it does. This article shows how to find out what, in the order I would actually do it, and covers the cases where the obvious commands return nothing: another user's process, a connection stuck in TIME-WAIT, a port bound to loopback only. The quick answer sudo ss -ltnp 'sport = :8

This Free Android App Lets an AI Agent Use Your Phone for You

This Free Android App Lets an AI Agent Use Your Phone for You Mika is an AI agent for Android. An agent is an AI program that does tasks for you. Mika opens apps, taps buttons, types text, and scrolls pages. It works on a hidden background screen. You keep using your phone while it works. The project is free and open source. It carries the Apache 2.0 license. Its GitHub repo held 10,120 stars on November 27, 2026. It started on October 29, 2026. It already has 53 releases. How it works Mika reads the screen the way you do. It finds buttons by sight. It needs no app API and no per-app setup. Th

Gemerlap

Langit gelap tertutup awan, Continue reading on Medium »

When an AI code assistant forgets decisions, who should choose what it keeps?

The lowest memory alignment in a new study of coding agents, 66.2 percent, went to the group that kept the agent's memory in Markdown files. Alignment here is how closely the content the agent had stored matched what each participant wanted it to keep. The best results came from the group where the agent proposed and the developer decided. It reached 88.0 percent and had the best task score as well. Its agent reported which items it used, and the developer reviewed, edited and scoped its proposals. MemoSync, the paper behind these numbers, was submitted to arXiv on 18 November. It split 132 pa

Test Your Laravel App on PHP 8.4 and 8.5 with Docker

Last updated: 18 November 2026. Based on Laravel 13.x, PHP 8.4.27 and PHP 8.5.12. SeeHow this was checkedat the end, because the Docker images themselves were not pulled for this article. Most upgrade problems are not crashes. The app boots on the new PHP version, the tests go green, and the first sign of trouble is a deprecation warning in production logs, or a Composer package that refuses to install. The way to find them early is to run your real test suite on each PHP version you might deploy, side by side, without touching the PHP on your laptop. The timing is not abstract. According to e

API GW vs ALB

On AWS, that question has two answers: API Gateway or an Application Load Balancer. I built with both to see where each one fits. 𝗥𝗼𝘂𝘁𝗶𝗻𝗴 API Gateway: path + HTTP method → integration (GET /items → one Lambda, POST /items → another) ALB: listener rules, mostly by path (/browse → one target group, /insert → another) 𝗩𝗣𝗖 API Gateway: runs on AWS-managed infrastructure. There are no subnets to place it in. ALB: lives in your VPC, across subnets in at least two Availability Zones. 𝗔𝘂𝘁𝗵 API Gateway: API keys, IAM, Cognito, plus Lambda or JWT authorizers for external IdPs ALB: Cognito or any OIDC-co

Why I Built IQ-Stream: Streaming LLM Tokens to the Browser Without the Workarounds

When I started working on streaming in Neuron AI, I thought it was the easy part of the framework. The model produces text, you forward it to the browser, the user watches the answer appear. Done. It took me months, a custom protocol, a TypeScript package, and a long look at a pricing page to admit I was wrong. This article is the story of that journey and of the tool that came out of it. IQ-Stream is a streaming server that does one job: it carries the tokens generated by a large language model (LLM) from your application backend to your users' browsers in real time, using Server-Sent Events.

Docker Compose Healthcheck and depends_on Explained

Last updated: 18 November 2026. Tested with Docker Engine 29.9.2 and Docker Compose v5.7.0. SeeHow this was checkedat the end for what was and was not run. The classic Compose failure: docker compose up starts MySQL and your Laravel container at the same moment, the app runs php artisan migrate while MySQL is still initializing, and you get Connection refused. You added depends_on: [db], so it should have waited. It did wait, for the container to start. Docker's own documentation is explicit: on startup, Compose does not wait until a container is "ready", only until it is running. The fix is a

LC oscillations in JavaScript: frequency, peak current and the energy swap

An ideal LC circuit oscillates at omega = 1 / sqrt(L C), and the total energy Q0^2 / (2C) keeps moving between the capacitor and the inductor. Numbers below were run in Node. How do you find the frequency and peak current? const L = 10e-3, C = 100e-6; // 10 mH, 100 microfarad const w = 1 / Math.sqrt(L * C); // rad/s console.log(w.toFixed(1), (w / (2 * Math.PI)).toFixed(2), (2 * Math.PI / w * 1e3).toFixed(3)); // 1000.0 rad/s, 159.15 Hz, 6.283 ms const Q0 = 1e-3; // initial charge, C const Imax = Q0 * w; console.log(Imax.toFixed(3)); // 1.000 A console.log((Q0 * Q0 / (2 * C)).toFixed(4), (0.5 *

GLM-5.4 Tests Whether Repeating AI Layers Can Beat Bigger Models

Quick take Z.ai describes GLM-5.4 as its first “Loop Transformer,” reusing 28 GLM-5 layers through two iterations in a 30-billion-parameter, or 30B, iso-parameter test model. AICodeKing’s KingBench 4 evaluation found GLM-5.4 useful for code review, bug finding and security vulnerabilities, but ranked it seventh and criticized its substantially longer maximum-effort run. In a private-lab test, Migel Tissera said GLM-5.4 successfully completed a multistep remote-code-execution chain. Loktar said GLM-5.4 was nowhere near Opus 5.5 and argued that no open model currently matched it. Why it matters

Laravel File Upload Security: Validate, Store, Serve

Last updated: 18 November 2026. Every behavior below was run on Laravel 13.40, PHP 8.3 and a local disk. SeeHow this was checkedfor what was not covered. An upload form is an invitation to send your server arbitrary bytes under a name of the sender's choosing. Most Laravel upload bugs come from trusting one of those two things: the file name or the file content. Validation helps with the first and partly with the second, but it cannot make hostile content safe. The part that decides whether an upload becomes an incident is where you store the file and how you serve it back. This article follow

Magnetic field inside a solenoid in JavaScript: B = mu0 n I and what an iron core does

Inside a long solenoid the field is uniform and equals B = mu0 n I, where n is turns per metre. With an iron core of relative permeability mu_r it becomes mu0 mu_r n I. Numbers below were run in Node. How do you calculate the field of a solenoid? const mu0 = 4 * Math.PI * 1e-7; const n = 1000, I = 2; // 1000 turns/m, 2 A console.log((mu0 * n * I).toExponential(4)); // 2.5133e-3 T console.log((mu0 * (500 / 0.25) * 1.5).toExponential(4)); // 3.7699e-3 T: 500 turns on 25 cm, 1.5 A console.log((mu0 * 1000 * n * I).toFixed(3)); // 2.513 T with mu_r = 1000 (idealised iron) Case Field 1000 turns/m, 2

Reimagining Another Author’s Work

Reimagining classic literature can be a great way to dip your toes into storytelling. Continue reading on Medium »

Hai Rindu, Aku kembali

hi, aku rindu. Continue reading on Medium »

How London Became a Centre of the Dollar System

A new BondStats book explores the history of offshore dollar banking and the funding relationships behind international credit Continue reading on Medium »

theft

November 27, 2026 Continue reading on Medium »

Why Sparring With AI Trains Your Judgment

Using AI to ask your mind the right questions, rather than handing you finished answers. Continue reading on Medium »

Older stories