on-internet

A Memory Exhaustion Bug in Logbook, and Six Review Comments That Made My Fix Better

This post is about a fix I am working on in Zalando Logbook, and about a code review that taught me more than the fix did. The problem Logbook's servlet integration logs HTTP requests and responses. To log a body, it first copies the whole thing into memory. That is fine for normal traffic, but issue #2441 points out the risk: a very large or never-ending body means the server keeps buffering until it runs out of memory. That is a denial-of-service problem. Someone does not need to break in to take a service down, they only need to send a huge request. My fix My PR (#2442) adds a size limit, m

I tested Meshopt compression and LODs on nine low-poly GLBs

I build Low Poly 3D, and I wanted to answer a practical question. If your assets are already low-poly, how much can a browser pipeline reduce transfer size, and will it give you smaller LODs? On nine static GLBs, Meshopt compression saved 16.2% to 69.0% of the source bytes while preserving triangle counts. For the same inputs, the reducer reached none of the requested 50% targets with border locking and a 0.025 error tolerance. Here are the files, settings and outputs. What I measured I used nine CC0-1.0 GLBs from catalog release 2026-11-24-1. The full catalog has 114 measured static GLBs acro

Where Did the Year Go? Blame Your Brain's Compression

It's late November. Think back to March. What do you actually remember? Probably a launch, a trip, one odd conversation. The rest has folded into a blur. Nine months, and most of them don't have a name. Now think of a summer when you were ten. It felt endless. A single week had a beginning, a middle and a story. The clock was the same. What changed is what your memory kept. Repeated days collapse Memory seems to work a little like compression. Ordinary days that look alike get folded into one. A new place, a first attempt or a surprise gets stored on its own, so it takes up more room when you

Everyone knows the Taj Mahal.

She was born Arjumand Banu Begum in Agra in 1593, and her aunt was the formidable empress Nur Jahan. At 14 she was betrothed t Continue reading on Medium »

Building a 160-Page Regional-Language Exam Prep Site with Astro 5, Tailwind v4, and Firebase Hosting

Most Indian exam-preparation websites targeting tier-2 and tier-3 towns suffer from the same problem: heavy client-side JavaScript bundles, intrusive ad networks, slow hydration on budget Android phones, and broken regional-language (Devanagari/Marathi) typography. While building Jijaee — an independent Marathi preparation platform and Android app for Maharashtra Police Bharti aspirants — we wanted the web companion to load almost instantly on 4G mobile data while still supporting 160+ static pages, interactive practice quizzes, a physical-test score calculator, and district-wise cutoff datase

I’m just a genuine liar…

Prayed to unlove while wishing to be loved. Continue reading on Medium »

SS.PERSIAN: The Man Turning Hafez Into Dark Pop

I grew up with Hafez. His poems were in our house, in our conversations, in the way we understood love, loss, and life. Years later… Continue reading on Medium »

A Bigger GTA Isn’t Automatically a Freer One.

GTA VI makes Leonida feel startlingly alive. But the real test of an open world begins when a mission tells you what to do. Continue reading on Medium »

Private Edtech Large File Browser Upload: Multipart Presigned Access Control

Short answer: use a small application control plane to authorize a private upload, create a multipart session, and issue short-lived presigned URLs for each part. Let the browser send bytes directly to object storage, then let the control plane complete or abort the session. This keeps access control in the application without making the application server carry the file. That is the least complex design that still gives an edtech product a useful recovery story for a large lecture recording, assignment archive, or dataset. It also makes the important failure visible: an upload is a state mach

Poetic Love Epi 04

On the day, I didn’t get my mind off, because the whole thing is look very real, even in my work, I feel very sleepy. Even I started to… Continue reading on Medium »

Read a model's mistakes in Excel and a Windows preview

In a bike rental experiment, a random forest missed eight fewer regular-demand cases than a simple calendar rule. It also produced 28 more false alarms for that class. I wanted a Windows preview that makes those trade-offs visible to someone using Excel. Japanese original Open Iris and compare five models Use Python with Tcl/Tk and install DIY AutoML in .venv. From the repository root, run this PowerShell command to open the preview with Iris selected. The preview currently uses Japanese labels, which are shown alongside their English meanings below. Setup and complete walkthrough .\.venv\Scri

Heterosexuality Is The Only System Women Refuse To Cancel

At this point their, “Protect women!” pleas to the same men that refuse to protect them sound like a broken record. And nobody is fucking… Continue reading on Medium »

greenServeFE programming language (open-source project)

What were you building, and why? I’ve been working on an open-source programming language called greenServeFE. It is a programming language with its own syntax, compiler, virtual machine, and native modules, written primarily in C. The project started with a simple idea: I wanted to build something of my own rather than always depending on existing programming languages and frameworks. I was interested in understanding how programming languages actually work behind the scenes. How does a language read source code? How does it understand expressions and functions? How does it execute instructio

When ubiattach Fails with "error 22 (Invalid argument)": The Cause Is in the Kernel Log

Introduction Are you stuck because a UBI attach failed? Or do you want to know when a UBI attach can fail? When an attach fails, ubiattach may print the following error: ubiattach: error!: cannot attach "/dev/mtd1" error 22 (Invalid argument) The kernel log shows this line: ubi0 error: ubi_attach_mtd_dev [ubi]: failed to attach mtd1, error -22 error 22 is EINVAL (Invalid argument). But this only tells you that the kernel's attach returned -22. It does not necessarily mean that the arguments you gave ubiattach are wrong. The cause is written in the kernel log, before this line. In this article,

被社群吞噬的青春:操控型社群如何摧毀年輕人的人生

《被社群吞噬的青春:操控型社群如何摧毀年輕人的人生》 本書定位 本書探討披著「技術交流」、「青年成長」、「志工服務」、「產業生態」或「共同理想」外衣的操控型社群,如何利用身分、榮譽、資訊、情感、人際關係與無償勞動,逐步侵蝕年輕人的判斷力、時間、職涯與自我價值。 本書不把所有社群、志工組織或技術社群視為邪教,也不針對任何特定個人或品牌。書中所稱的「社群邪教化」,是指一個組織出現封閉權力、領袖崇拜、思想控制、剝削勞動、排斥外界與懲罰退出等結構性特徵。全書將以辨識、預防、求助與復原為主軸,協助年輕人、家長、教育工作者及企業管理者看清操控機制。 核心問題 為什麼有能力的年輕人會長期投入沒有合理報酬的工作? 榮譽頭銜、數位徽章、活動海報與名人合照,如何取代真實薪資與職涯成果? 社群如何重新定義語言、忠誠、成功、背叛與金錢? 為什麼受控制者會主動排斥家人、朋友、獵頭與外部合作機會? 一個人如何判斷自己正在參與健康社群,還是被組織剝削? 家人與朋友如何介入,才不會把當事人推得更遠? 離開之後,如何修復職涯、財務、人際關係與自我認同? 第一章 入口:年輕人為何走進操控型社群 本章說明年輕人在職涯初期常見的脆弱處境,包括薪資不高、缺乏人脈、渴望被肯定、害怕落後,以及希望快速接近產業領袖。操控者不一定以威脅開始,而是先提供舞台、歸屬感、頭銜與被看見的機會。 本章將區分健康社群與操控型社群。健康社群尊重

How I Built 3 Zero-Auth Remote MCP Servers on Cloudflare Pages Functions (Scoring 98/100 on mcptry)

Most web tools publish a sitemap.xml and stop there. When AI agents (Claude, Cursor, ChatGPT, Perplexity) try to answer live questions from HTML, they often hallucinate numbers or cite stale scrapes. This week I shipped three stateless, zero-auth Streamable HTTP MCP servers directly inside Cloudflare Pages Functions — no external database, no OAuth boilerplate, ~110 ms response times, and all three published to the Official MCP Registry: Alfalaki Astrology (https://alfalaki.space/mcp · io.github.samsali-g/alfalaki) — Computes live geocentric planetary longitudes, Moon phases, and Mercury retro

وكلاء الذكاء الاصطناعي بإشراف بشري لتغييرات إنتاجية أكثر أمانًا

الإشراف البشري على وكلاء الذكاء الاصطناعي: بناء بوابة موافقة لحظة التنفيذ يمكن لوكلاء الذكاء الاصطناعي المزودين بالإشراف البشري (Human in the loop) إعداد تغيير ما واختباره، ثم التوقّف انتظارًا لموافقة شخص بشري على الإجراء المحدد الذي يؤثر على نظام حيّ. تعمل بوابة الموافقة على ربط هذا القرار بالقطعة المراجَعة، والهدف، والإطار الزمني المحدد. ويعيد النظام التحقق من هذه التفاصيل مرة أخرى قبل التنفيذ. ابدأ مجانًا على الويب تخيّل أن يكتشف أحد الوكلاء إعدادًا في بيئة الإنتاج يعرّض خدمة ما للخطر. يمكنه صياغة تغيير في الإعدادات واختباره مقابل بيئة تجريبية (staging). أما تطبيق هذا التغيير على بيئة الإنت

SVG, PNG or ICO: which favicon format belongs in which place

A favicon is not one file. It is a small set of images, referenced from different places, each of which has habits about format and size. Shipping only a .ico, or only an SVG, is how you get a sharp tab icon in one browser and a missing or blurry mark in another. This is a comparison of where SVG, PNG and ICO belong, and of why a complete package usually includes all three — plus a few PNG-based extras for Apple devices and installed web apps. The short version ICO still belongs at the site root, typically as /favicon.ico, because a lot of clients look there by default. PNG is the workhorse fo

CORS with Cookies Between Next.js and a NestJS API: Preflights, Credentials, and When to Proxy Instead — Field Notes

Headline: CORS (Cross-Origin Resource Sharing) is a browser rule that decides whether page JavaScript may read a response from another origin; it does not stop the request from reaching your server. For a Next.js frontend calling a NestJS API with cookies, either return the exact origin with Access-Control-Allow-Credentials: true and a 2xx preflight, or proxy /api through a Next.js rewrite so the browser never makes a cross-origin call. Every project where I split a Next.js frontend from a NestJS API hits the same three CORS errors, in order: the preflight fails, the wildcard origin is rejecte

DuckDuckGo as a second engine: what you actually get

The second-engine plan got simpler this week and most teams have not noticed. Bing Web Search is not callable today, which leaves DuckDuckGo Search as the only non-Google engine in the catalog (checked 2026-11-25, https://serpbase.dev/products/category/search). It costs one credit, the same as a Google web search. That makes it the obvious candidate for a fallback or a cross-check. It is also shaped differently from the Google endpoints in one place that will break a naive client, so the interesting question is not "should I use it" but "what does my code have to look like if it does". One cre

What I built

Hi, my name is Oliver, and for the past couple of weeks I've been designing a 4-bit 0–9 decade counter in Verilog for the Hack Club ASIC / Tiny Tapeout program. I used a 4-bit counter because 9 in binary is 1001, which takes 4 bits to store. I connected those 4 bits directly to the bottom four output pins on the chip and set the rest of the unused pins to 0. For the clock and reset logic, every time the clock ticks upward, my code checks if the active-low reset pin is triggered or if the count has reached 9. If either one is true, it resets back to 0, and otherwise it adds 1 so it counts from

The art of accepting

you don’t know how many times I broke myself to reach the state where acceptance became my first answer for everything. Continue reading on Medium »

Older stories