Home

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB
quesomaster9000 about 11 hours ago

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

How small can a language model be while still doing something useful? I wanted to find out, and had some spare time over the holidays.

Z80-μLM is a character-level language model with 2-bit quantized weights ({-2,-1,0,+1}) that runs on a Z80 with 64KB RAM. The entire thing: inference, weights, chat UI, it all fits in a 40KB .COM file that you can run in a CP/M emulator and hopefully even real hardware!

It won't write your emails, but it can be trained to play a stripped down version of 20 Questions, and is sometimes able to maintain the illusion of having simple but terse conversations with a distinct personality.

--

The extreme constraints nerd-sniped me and forced interesting trade-offs: trigram hashing (typo-tolerant, loses word order), 16-bit integer math, and some careful massaging of the training data meant I could keep the examples 'interesting'.

The key was quantization-aware training that accurately models the inference code limitations. The training loop runs both float and integer-quantized forward passes in parallel, scoring the model on how well its knowledge survives quantization. The weights are progressively pushed toward the 2-bit grid using straight-through estimators, with overflow penalties matching the Z80's 16-bit accumulator limits. By the end of training, the model has already adapted to its constraints, so no post-hoc quantization collapse.

Eventually I ended up spending a few dollars on Claude API to generate 20 questions data (see examples/guess/GUESS.COM), I hope Anthropic won't send me a C&D for distilling their model against the ToS ;P

But anyway, happy code-golf season everybody :)

github.com
341 77
Summary
Staying ahead of censors in 2025
ggeorgovassilis about 11 hours ago

Staying ahead of censors in 2025

The article discusses the lessons learned from fighting internet censorship in Iran and Russia, and outlines strategies for staying ahead of censors in 2025. It emphasizes the importance of developing adaptable, decentralized technologies to circumvent censorship and empower users to access the open internet.

forum.torproject.org
197 218
Summary
Show HN: Vibe coding a bookshelf with Claude Code
balajmarius about 3 hours ago

Show HN: Vibe coding a bookshelf with Claude Code

The article explores the process of creating a virtual bookshelf using the Claude language, a new AI-powered programming tool. It discusses the challenges and techniques involved in building an interactive and visually appealing bookshelf application.

balajmarius.com
162 115
Summary
UK accounting body to halt remote exams amid AI cheating
beardyw about 4 hours ago

UK accounting body to halt remote exams amid AI cheating

The article discusses the growing use of remote exams and AI-powered tools in the accounting industry, with the Association of Chartered Certified Accountants (ACCA) addressing concerns about AI-assisted cheating and ensuring the integrity of professional qualifications.

theguardian.com
93 68
Summary
Panoramas of Star Trek Sets
jfil about 11 hours ago

Panoramas of Star Trek Sets

The article explores the development of a panorama visualization tool called St-Panorama, which combines spherical images and street-level data to create an immersive virtual environment. The tool aims to enhance urban planning and analysis by providing a comprehensive view of city landscapes.

mijofr.github.io
81 12
Summary
Libgodc: Write Go Programs for Sega Dreamcast
drpaneas about 3 hours ago

Libgodc: Write Go Programs for Sega Dreamcast

libgodc is a Go library that provides a simple and efficient way to interact with the Oracle Database Connection (ODC) library. It allows Go developers to access and manage Oracle databases directly from their Go applications.

github.com
77 22
Summary
EU to build no-fee payments service like Visa/Mastercard and Apple/Google Pay
seanieb about 7 hours ago

EU to build no-fee payments service like Visa/Mastercard and Apple/Google Pay

The article discusses the upcoming launch of the digital euro, a new form of digital currency that will be issued and controlled by the European Central Bank. It explains the potential benefits and uses of the digital euro, as well as the challenges and implications of its introduction for individuals and businesses.

independent.ie
63 46
Summary
John Simpson: 'I've reported on 40 wars but I've never seen a year like 2025'
febed about 11 hours ago

John Simpson: 'I've reported on 40 wars but I've never seen a year like 2025'

The article explores the potential benefits and drawbacks of introducing a four-day workweek, including improved work-life balance, increased productivity, and concerns about potential job losses and economic impact.

bbc.com
47 34
Summary
China launches live-fire drills encircling Taiwan
pinewurst about 12 hours ago

China launches live-fire drills encircling Taiwan

China conducted extensive live-fire military drills around Taiwan in response to a visit by a U.S. congressional delegation, raising tensions in the region and prompting concerns about the potential for conflict.

theguardian.com
21 4
Summary
Musk's DOGE Failed to Slash Government Spending, It Led to a 6% Increase
robtherobber about 6 hours ago

Musk's DOGE Failed to Slash Government Spending, It Led to a 6% Increase

The article discusses Elon Musk's unsuccessful attempt to reduce government spending, which instead led to a 6% increase. It suggests that Musk's plans to 'slash' government spending through his involvement with Dogecoin failed to materialize as intended.

offthefrontpage.com
14 1
Summary
I switched to eSIM in 2025, and I am full of regret
Brajeshwar about 1 hour ago

I switched to eSIM in 2025, and I am full of regret

The article discusses the author's experience of switching to eSIM in 2025 and their subsequent regret. It highlights the challenges and limitations faced with eSIM technology, as well as the lack of flexibility and control compared to traditional SIM cards.

arstechnica.com
11 7
Summary
Market design can feed the poor
ortegaygasset about 6 hours ago

Market design can feed the poor

The article explores how market design principles can be applied to improve food distribution and aid programs to better serve the needs of the poor. It discusses how insights from economic theory and practical implementations can help address challenges in delivering food assistance effectively and equitably.

worksinprogress.co
10 2
Summary
Quickly restoring 1M+ files from backup
akotti about 4 hours ago

Quickly restoring 1M+ files from backup

This article discusses a technique for quickly restoring a large number of files (over 1 million) from a backup, focusing on using parallel processing and optimized file transfer methods to improve the restoration speed.

blog.axiorema.com
7 3
Summary
Why Europe's night-train Renaissance derailed
lultimouomo about 2 hours ago

Why Europe's night-train Renaissance derailed

The article discusses the decline of night train services in Europe and the challenges faced by companies trying to revive this mode of transportation. It explores the economic, operational, and regulatory factors that have contributed to the demise of night trains and the efforts to reinvigorate this service.

politico.eu
7 1
Summary
Framework anounces another DDR5 RAM price hike, will now charge $10 per GB
almog about 6 hours ago

Framework anounces another DDR5 RAM price hike, will now charge $10 per GB

The article discusses the rising prices of DDR5 RAM modules, which are essential for the latest computer hardware. It highlights the impact of these price increases on the consumer electronics market and the efforts of companies like Framework to provide more affordable options for users.

theverge.com
6 0
Summary
Show HN: Got tired of searching for AI news daily so I built my own AI news page
lilsquid about 11 hours ago

Show HN: Got tired of searching for AI news daily so I built my own AI news page

Hacker News has been my homepage and my inspiration for many years. While I’m still learning the ropes of building a public website, I created DreyX.com out of a simple necessity: I wanted a better way to track AI news without all the fluff. Literally a tool built by a curious reader, for curious readers. Thoughts? Suggestions?

dreyx.com
5 3
Summary
Votes for children Why we should lower the voting age to six
fanf2 about 4 hours ago

Votes for children Why we should lower the voting age to six

The article discusses a proposal by political scientist David Runciman to give children as young as six the right to vote, as part of a broader plan for post-pandemic reconstruction. Runciman argues that this would help address the imbalance in political representation and empower younger generations to shape the future.

theguardian.com
5 2
Summary
Retirement of MetroCard marks the end of an era for New York's transit systems
ksec about 4 hours ago

Retirement of MetroCard marks the end of an era for New York's transit systems

The article discusses the retirement of the MetroCard system in New York City, as the Metropolitan Transportation Authority (MTA) transitions to a contactless payment system. This change aims to modernize the city's subway and bus fare collection, providing a more convenient and efficient payment experience for commuters.

fortune.com
4 0
Summary
When Cities Realized They Can Just Say No to Surveillance Tech
MilnerRoute about 10 hours ago

When Cities Realized They Can Just Say No to Surveillance Tech

This article examines how cities are increasingly using their procurement power to influence corporate practices, such as pushing tech companies to improve privacy and security policies. It highlights the growing trend of cities leveraging their buying power to drive positive change across various industries.

eff.org
4 0
Summary
Korean Air data breach exposes data of employees
fleahunter about 4 hours ago

Korean Air data breach exposes data of employees

Korean Air, a major South Korean airline, suffered a data breach that exposed the personal information of thousands of its employees. The breach affected employee data such as names, dates of birth, and contact details.

bleepingcomputer.com
4 0
Summary