SShortSingh.
Back to feed

Developer revives teletext as a browser news page, with updates costing under 2 KB

0
·5 views

A developer in Dushanbe rebuilt the old teletext format as a web page called Page 100, arguing it suits people on limited prepaid mobile data. After the first load, refreshing the news, weather for nine cities and exchange rates transfers about 1,906 bytes. The author compares this with some international news homepages, which the article says weigh hundreds of kilobytes to several megabytes before images or scripts. The project was built with the Kiro coding agent, using spec-first development and tests as a gate for each change. A scheduled pipeline fetches public RSS, weather and currency data every 30 minutes, and the build fails if any page exceeds 2 KB.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

British Airways WiFi Outage Blamed on Expired SSL Certificate

British Airways' in-flight WiFi reportedly stopped working for passengers on one day, according to a post shared on social media. The disruption was attributed to an SSL certificate that had expired four days earlier. The source material is a short social media link with limited detail. Neither the airline's official statement nor the scope of affected flights was included in the available information.

0
ProgrammingDEV Community ·

Java Loops Explained: For, While and Do-While Basics

This educational piece explains loops in Java, which repeat a block of code as long as a given condition holds. It covers the three main types: the for loop for a known number of iterations, the while loop for an unknown count, and the do-while loop that always runs at least once. Each is illustrated with code examples and step-by-step execution flow. The article also compares the loop types in a table and introduces nested loops and infinite loops.

0
ProgrammingDEV Community ·

Why AI agents fail on long tasks: governance gaps between decisions and execution

Agent demos often break down during long sequences, with repeated commands, forgotten steps, or false completion claims. The article argues the core problem lies in the gap between a model's proposed action and its real execution on infrastructure, which is a governance issue rather than a model issue. The proposed approach separates duties: the model proposes actions, a policy layer checks them against written rules and permissions, and only approved actions run, with decisions and results recorded. Blocked actions return a reason to the model so it can propose a safer alternative, and each action is authorized individually while a tamper-evident log lets operators review earlier steps.

0
ProgrammingDEV Community ·

Deriving the Black-Scholes Formula via a Riskless Hedged Portfolio

An option's price does not depend on whether the underlying asset is expected to rise or fall, according to a derivation of the Black-Scholes equation. By holding the stock and shorting the option in the right proportion, a delta-hedged portfolio can be made riskless. Under no-arbitrage, that portfolio must earn the risk-free rate, which yields a partial differential equation for the option value. The drift term cancels out, so the price is independent of expected returns. The equation can then be transformed into the heat equation, whose known solution gives the closed-form pricing formula.