Top stories

Diode – Build, program, and simulate hardware
rossant 4 days ago

Diode – Build, program, and simulate hardware

withDiode is a website that provides resources and tutorials on electronics, programming, and technology. It covers a wide range of topics, including Arduino, Raspberry Pi, and various coding languages, aimed at both beginners and experienced users.

withdiode.com
134 29
Summary
gurjeet about 21 hours ago

Terence Tao, at 8 years old (1984) [pdf]

gwern.net
325 175
ux266478 4 days ago

ΛProlog: Logic programming in higher-order logic

The article introduces λProlog, a programming language based on higher-order logic and intended for writing concise and readable programs. It discusses the language's syntax, semantics, and applications in areas such as programming language implementation and theorem proving.

lix.polytechnique.fr
30 0
Summary
Show HN: enveil – hide your .env secrets from prAIng eyes
parkaboy about 8 hours ago

Show HN: enveil – hide your .env secrets from prAIng eyes

Enveil is an open-source framework that provides secure, end-to-end encryption for data in use, enabling organizations to perform computations on encrypted data without exposing sensitive information. The project aims to advance privacy-preserving technologies and promote secure data sharing and collaboration.

github.com
111 64
Summary
A distributed queue in a single JSON file on object storage
Sirupsen 3 days ago

A distributed queue in a single JSON file on object storage

turbopuffer.com
31 11
todsacerdoti about 13 hours ago

I Ported Coreboot to the ThinkPad X270

The article discusses the process of porting a motherboard to the open-source BIOS firmware, Coreboot. It covers the technical challenges, the benefits of using Coreboot, and the author's experience in undertaking this project.

dork.dev
216 40
Summary
shaunpud about 7 hours ago

Firefox 148 Launches with AI Kill Switch Feature and More Enhancements

The article discusses the launch of Firefox 148, which includes a new AI kill switch feature and other enhancements. The AI kill switch allows users to quickly disable AI-powered features in the browser, providing more control over their browsing experience.

serverhost.com
314 260
Summary
Show HN: X86CSS – An x86 CPU emulator written in CSS
rebane2001 about 11 hours ago

Show HN: X86CSS – An x86 CPU emulator written in CSS

lyra.horse
167 60
wglb about 10 hours ago

Blood test boosts Alzheimer's diagnosis accuracy to 94.5%, clinical study shows

The article discusses a new blood test that can help diagnose Alzheimer's disease with greater accuracy. The test measures levels of specific proteins in the blood, providing a reliable and non-invasive way to identify the early stages of Alzheimer's.

medicalxpress.com
302 114
Summary
anishathalye about 21 hours ago

The Missing Semester of Your CS Education – Revised for 2026

We returned to MIT last month to teach a revised version of Missing Semester, six years after the original debut (which has been extensively discussed on HN, in https://news.ycombinator.com/item?id=22226380 and https://news.ycombinator.com/item?id=34934216).

We’ve updated the course based on our personal experiences as well as major changes in the field (e.g., the proliferation of AI-powered developer tools) over the past several years. The 2026 course includes revised versions of four lectures from the previous course, and it adds five entirely new lectures:

- Development Environment and Tools

- Packaging and Shipping Code

- Agentic Coding

- Beyond the Code (soft skills)

- Code Quality

We’d love to hear any feedback from the HN community to improve the current or future iterations of the course. In particular, we’re curious to hear the community’s take on our inclusion of AI-related topics (e.g., dedicating an entire class to the topic of agentic coding; though we tried to counterbalance it with plenty of disclaimers, and a dedicated section on AI etiquette in Beyond the Code).

--Anish, Jon, and Jose

missing.csail.mit.edu
68 6
Summary
The Age Verification Trap: Verifying age undermines everyone's data protection
oldnetguy about 23 hours ago

The Age Verification Trap: Verifying age undermines everyone's data protection

The article discusses the challenges and implications of age verification on the internet, particularly for online content and services that are restricted to adults. It explores the various methods and technologies used for age verification, as well as the privacy and security concerns associated with these approaches.

spectrum.ieee.org
1,501 1,163
Summary
Show HN: Steerling-8B, a language model that can explain any token it generates
adebayoj about 12 hours ago

Show HN: Steerling-8B, a language model that can explain any token it generates

Anthropic has released Steerling, an 8-billion parameter language model, aimed at providing a more aligned and truthful AI assistant that can engage in open-ended dialogue and assist with a variety of tasks while adhering to Anthropic's principles of ethical AI development.

guidelabs.ai
203 57
Summary
Making Wolfram tech available as a foundation tool for LLM systems
surprisetalk about 15 hours ago

Making Wolfram tech available as a foundation tool for LLM systems

The article discusses the availability of Wolfram technology as a foundation tool for large language model (LLM) systems, highlighting its potential to enhance the capabilities and performance of these AI systems.

writings.stephenwolfram.com
197 110
Summary
onli 3 days ago

Unsung heroes: Flickr's URLs scheme

The article discusses the unique URL structure used by Flickr, which serves as an 'unsung hero' in the platform's design. It explores how the URLs provide valuable metadata about the images and enable efficient organization and retrieval of content.

unsung.aresluna.org
107 38
Summary
marcodiego about 17 hours ago

UNIX99, a UNIX-like OS for the TI-99/4A (2025)

The article discusses the development of UNIX99, a Unix-like operating system designed for the TI-99/4A home computer. It explores the motivations, features, and technical details behind this project aimed at bringing a more advanced computing experience to the TI-99/4A platform.

forums.atariage.com
186 56
Summary
“Car Wash” test with 53 models
felix089 about 17 hours ago

“Car Wash” test with 53 models

"I Want to Wash My Car. The Car Wash Is 50 Meters Away. Should I Walk or Drive?" This question has been making the rounds as a simple AI logic test so I wanted to see how it holds up across a broad set of models. Ran 53 models (leading open-source, open-weight, proprietary) with no system prompt, forced choice between drive and walk, with a reasoning field.

On a single run, only 11 out of 53 got it right (42 said walk). But a single run doesn't prove much, so I reran every model 10 times. Same prompt, no cache, clean slate.

The results got worse. Of the 11 that passed the single run, only 5 could do it consistently. GPT-5 managed 7/10. GPT-5.1, GPT-5.2, Claude Sonnet 4.5, every Llama and Mistral model scored 0/10 across all 10 runs.

People kept saying humans would fail this too, so I got a human baseline through Rapidata (10k people, same forced choice): 71.5% said drive. Most models perform below that.

All reasoning traces (ran via Opper, my startup), full model breakdown, human baseline data, and raw JSON files are in the writeup for anyone who wants to dig in or run their own analysis.

opper.ai
262 332
Summary
nateb2022 about 9 hours ago

Intel XeSS 3: expanded support for Core Ultra/Core Ultra 2 and Arc A, B series

The article provides information on how to download and install the Intel Arc graphics driver for Windows, a new line of discrete GPUs aimed at improving graphics performance and gaming experiences.

intel.com
42 33
Summary
ATAboy is a USB adapter for legacy CHS only style IDE (PATA) drives
zdw 4 days ago

ATAboy is a USB adapter for legacy CHS only style IDE (PATA) drives

github.com
21 27
speckx about 21 hours ago

A simple web we own

The article discusses the concept of a 'simple web we own', emphasizing the importance of individuals taking control of their online presence and creating their own personal websites rather than relying solely on social media platforms. It encourages readers to reclaim the internet and assert their digital independence.

rsdoiel.github.io
264 180
Summary
Show HN: PgDog – Scale Postgres without changing the app
levkk about 21 hours ago

Show HN: PgDog – Scale Postgres without changing the app

Hey HN! Lev and Justin here, authors of PgDog (https://pgdog.dev/), a connection pooler, load balancer and database sharder for PostgreSQL. If you build apps with a lot of traffic, you know the first thing to break is the database. We are solving this with a network proxy that works without requiring application code changes or database migrations.

Our post from last year: https://news.ycombinator.com/item?id=44099187

The most important update: we are in production. Sharding is used a lot, with direct-to-shard queries (one shard per query) working pretty much all the time. Cross-shard (or multi-database) queries are still a work in progress, but we are making headway.

Aggregate functions like count(), min(), max(), avg(), stddev() and variance() are working, without refactoring the app. PgDog calculates the aggregate in-transit, while transparently rewriting queries to fetch any missing info. For example, multi-database average calculation requires a total count of rows to calculate the original sum. PgDog will add count() to the query, if it’s not there already, and remove it from the rows sent to the app.

Sorting and grouping works, including DISTINCT, if the columns(s) are referenced in the result. Over 10 data types are supported, like, timestamp(tz), all integers, varchar, etc.

Cross-shard writes, including schema changes (CREATE/DROP/ALTER), are now atomic and synchronized between all shards with two-phase commit. PgDog keeps track of the transaction state internally and will rollback the transaction if the first phase fails. You don’t need to monkeypatch your ORM to use this: PgDog will intercept the COMMIT statement and execute PREPARE TRANSACTION and COMMIT PREPARED instead.

Omnisharded tables, a.k.a replicated or mirrored (identical on all shards), support atomic reads and writes. That’s important because most databases can’t be completely sharded and will have some common data on all databases that has to be kept in-sync.

Multi-tuple inserts, e.g., INSERT INTO table_x VALUES ($1, $2), ($3, $4), are split by our query rewriter and distributed to their respective shards automatically. They are used by ORMs like Prisma, Sequelize, and others, so those now work without code changes too.

Sharding keys can be mutated. PgDog will intercept and rewrite the update statement into 3 queries, SELECT, INSERT, and DELETE, moving the row between shards. If you’re using Citus (for everyone else, Citus is a Postgres extension for sharding databases), this might be worth a look.

If you’re like us and prefer integers to UUIDs for your primary keys, we built a cross-shard unique sequence, directly inside PgDog. It uses the system clock (and a couple other inputs), can be called like a Postgres function, and will automatically inject values into queries, so ORMs like ActiveRecord will continue to work out of the box. It’s monotonically increasing, just like a real Postgres sequence, and can generate up to 4 million numbers per second with a range of 69.73 years, so no need to migrate to UUIDv7 just yet.

    INSERT INTO my_table (id, created_at) VALUES (pgdog.unique_id(), now());
Resharding is now built-in. We can move gigabytes of tables per second, by parallelizing logical replication streams across replicas. This is really cool! Last time we tried this at Instacart, it took over two weeks to move 10 TB between two machines. Now, we can do this in just a few hours, in big part thanks to the work of the core team that added support for logical replication slots to streaming replicas in Postgres 16.

Sharding hardly works without a good load balancer. PgDog can monitor replicas and move write traffic to a promoted primary during a failover. This works with managed Postgres, like RDS (incl. Aurora), Azure Pg, GCP Cloud SQL, etc., because it just polls each instance with “SELECT pg_is_in_recovery()”. Primary election is not supported yet, so if you’re self-hosting with Patroni, you should keep it around for now, but you don’t need to run HAProxy in front of the DBs anymore.

The load balancer is getting pretty smart and can handle edge cases like SELECT FOR UPDATE and CTEs with INSERT/UPDATE statements, but if you still prefer to handle your read/write separation in code, you can do that too with manual routing. This works by giving PgDog a hint at runtime: a connection parameter (-c pgdog.role=primary), SET statement, or a query comment. If you have multiple connection pools in your app, you can replace them with just one connection to PgDog instead. For multi-threaded Python/Ruby/Go apps, this helps by reducing memory usage, I/O and context switching overhead.

Speaking of connection pooling, PgDog can automatically rollback unfinished transactions and drain and re-sync partially sent queries, all in an effort to preserve connections to the database. If you’ve seen Postgres go to 100% CPU because of a connection storm caused by an application crash, this might be for you. Draining connections works by receiving and discarding rows from abandoned queries and sending the Sync message via the Postgres wire protocol, which clears the query context and returns the connection to a normal state.

PgDog is open source and welcomes contributions and feedback in any form. As always, all features are configurable and can be turned off/on, so should you choose to give it a try, you can do so at your own pace. Our docs (https://docs.pgdog.dev) should help too.

Thanks for reading and happy hacking!

pgdog.dev
280 53
Summary
Genetic underpinnings of chills from art and music
coloneltcb 1 day ago

Genetic underpinnings of chills from art and music

The study examines how genetic variations in the SH3TC2 gene are associated with increased risk of developing Charcot-Marie-Tooth disease, a group of inherited neurological disorders affecting the peripheral nerves. The findings provide insights into the genetic factors underlying this complex disease.

journals.plos.org
38 15
Summary
Ladybird adopts Rust, with help from AI
adius 1 day ago

Ladybird adopts Rust, with help from AI

The article explores the advantages of adopting the Rust programming language, highlighting its focus on safety, concurrency, and performance, making it a suitable choice for systems programming and building secure and reliable software.

ladybird.org
1,194 664
Summary
Graph Topology and Battle Royale Mechanics
salamo 3 days ago

Graph Topology and Battle Royale Mechanics

The article explores the concept of beam search, a technique used in natural language processing and machine learning, and discusses graph pruning, a method for improving the efficiency of beam search algorithms. It provides insights into the implementation and optimization of beam search with graph pruning.

blog.lukesalamone.com
18 1
Summary
Decimal-Java is a library to convert java.math.BigDecimal to and from IEEE-754r
mariuz about 4 hours ago

Decimal-Java is a library to convert java.math.BigDecimal to and from IEEE-754r

The decimal-java project is an open-source Java library that provides a high-precision decimal data type for use in financial and scientific applications where precise calculations are required, addressing the limitations of the built-in Java BigDecimal class.

github.com
6 2
Summary
zdw about 20 hours ago

What it means that Ubuntu is using Rust

The article discusses the adoption of Rust programming language by Ubuntu, a popular Linux distribution. It highlights Ubuntu's decision to make Rust a first-class language, alongside C and C++, and the potential benefits this move could bring to the Linux ecosystem.

smallcultfollowing.com
155 195
Summary
swolpers about 20 hours ago

Writing code is cheap now

The article discusses the concept of 'code is cheap' in software development, emphasizing the importance of focusing on the overall system design and architecture rather than solely on writing code. It argues that the true cost of software lies in the long-term maintenance and evolution of the system, and that good design practices can significantly reduce these costs.

simonwillison.net
221 281
Summary
williausrohr 1 day ago

Hetzner Prices increase 30-40%

The article discusses Hetzner's price adjustment policy, which allows the company to adapt its prices to reflect changes in market conditions and infrastructure costs. This policy aims to ensure the sustainability of Hetzner's services and enable it to continue providing reliable and affordable solutions to its customers.

docs.hetzner.com
250 532
Summary
Show HN: Cellarium: A Playground for Cellular Automata
andrewosh 4 days ago

Show HN: Cellarium: A Playground for Cellular Automata

Hey HN, just wanted to share a fun, vibe-coded Friday night experiment: a little playground for writing cellular automata in a subset of Rust, which is then compiled into WGSL.

Since it lets you dynamically change parameters while the simulation is running via a TUI, it's easy to discover weird behaviors without remembering how you got there. If you press "s", it will save the complete history to a JSON file (a timeline of the parameters that were changed at given ticks), so you can replay it and regenerate the discovery.

You can pan/zoom, and while the main simulation window is in focus, the arrow keys can be used to update parameters (which are shown in the TUI).

Claude deserves all the credit and criticism for any technical elements of this project (beyond rough guidelines). I've just always wanted something like this, and it's a lot of fun to play with. Who needs video games these days.

github.com
25 0
Summary
luu 3 days ago

Typed Assembly Language (2000)

The article discusses the TALC (Thoughts and Language Comprehension) project at Cornell University, which aims to develop computational models of how humans understand and produce language. The research explores the cognitive and neural processes involved in language processing.

cs.cornell.edu
43 17
Summary
varankinv about 15 hours ago

FreeBSD doesn't have Wi-Fi driver for my old MacBook, so AI built one for me

The article discusses the process of getting the Broadcom brcmfmac wireless driver working with FreeBSD, including steps to install the necessary packages, configure the driver, and troubleshoot any issues that may arise.

vladimir.varank.in
392 313
Summary