Top stories

varankinv about 2 hours ago

FreeBSD doesn't have Wi-Fi driver for my old MacBook. AI build 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
140 91
Summary
marcodiego about 4 hours ago

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

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
122 38
Summary
The Age Verification Trap: Verifying age undermines everyone's data protection
oldnetguy about 9 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,100 885
Summary
Ladybird adopts Rust
adius about 12 hours ago

Ladybird adopts Rust

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,011 557
Summary
Show HN: PgDog – Scale Postgres without changing the app
levkk about 8 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
157 35
Summary
ibobev 3 days ago

What is f(x) ≤ g(x) + O(1)? Inequalities With Asymptotics

This article explores the concept of Big O notation, a fundamental tool in computer science that helps analyze the efficiency of algorithms. It delves into the origins of Big O, its applications, and how it can be used to compare the performance of different algorithms.

jamesoswald.dev
9 0
Summary
Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)
eigen-vector about 3 hours ago

Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)

Hey all, I built babyshark, a terminal UI for PCAPs aimed at people who find Wireshark powerful but overwhelming.

The goal is “PCAPs for humans”: Overview dashboard answers what’s happening + what to click next

Domains view (hostnames first) → select a domain → jump straight to relevant flows (works even when DNS is encrypted/cached by using observed IPs from flows)

Weird stuff view surfaces common failure/latency signals (retransmits/out-of-order hints, resets, handshake issues, DNS failures when visible)

From there you can drill down: Flows → Packets → Explain (plain-English hints) / follow stream

Commands: Offline: babyshark --pcap capture.pcap

Live (requires tshark): babyshark --list-ifaces then babyshark --live en0

Repo + v0.1.0 release: https://github.com/vignesh07/babyshark

Would love feedback on UX + what “weird detectors” you’d want next.

github.com
29 10
Summary
The challenges of porting Shufflepuck Cafe to the 8 bits Apple II
homarp about 3 hours ago

The challenges of porting Shufflepuck Cafe to the 8 bits Apple II

The article discusses the technical challenges faced by the author in porting the game Shufflepuck Café to the Apple II, an 8-bit computer, including issues with memory limitations, graphics and sound limitations, and the need for optimization and creative programming techniques to overcome these constraints.

colino.net
23 7
Summary
Elsevier shuts down its finance journal citation cartel
qsi about 15 hours ago

Elsevier shuts down its finance journal citation cartel

Elsevier, a major academic publisher, has decided to shut down its finance journal, Review of Financial Studies, after 35 years of operation. This decision reflects the changing landscape of academic publishing and the ongoing challenges facing specialized academic journals in the digital age.

chrisbrunet.com
511 92
Summary
bookofjoe 2 days ago

'Viking' was a job description, not a matter of heredity: Ancient DNA study

A major ancient DNA study reveals that 'Viking' was a job description rather than a matter of heredity, with people from diverse genetic backgrounds engaging in Viking activities and raids across Scandinavia and beyond.

science.org
134 109
Summary
SIM (YC X25) Is Hiring the Best Engineers in San Francisco
waleedlatif1 about 3 hours ago

SIM (YC X25) Is Hiring the Best Engineers in San Francisco

Sim, a YC-backed company, is seeking a Software Engineer to join their platform team and help build tools and infrastructure that power their growing business. The role involves working on a variety of projects, from building internal tools to developing new features for their platform.

ycombinator.com
1 0
Summary
Magical Mushroom – Europe's first industrial-scale mycelium packaging producer
microflash about 16 hours ago

Magical Mushroom – Europe's first industrial-scale mycelium packaging producer

magicalmushroom.com
337 107
Show HN: Sowbot – open-hardware agricultural robot (ROS2, RTK GPS)
Sabrees about 8 hours ago

Show HN: Sowbot – open-hardware agricultural robot (ROS2, RTK GPS)

Sowbot is an open-hardware agricultural robot designed to close the "prototype gap" that kills most agri-robotics startups and research projects — the 18+ months spent on drivers, networking, safety watchdogs, and UI before you can even start on the thing you actually care about.

The hardware is built around a stackable 10×10cm compute module with two ARM Cortex-A55 SBCs — one for ROS 2 navigation/EKF localisation, one dedicated to vision/YOLO inference — connected via a single ethernet cable.

Centimetre-level positioning via dual RTK GNSS, CAN bus for field comms, and real-time motor control via ESP32 running Lizard firmware.

Everything — schematics, PCB layouts, firmware — is under open licences. The software stack runs on RoSys/Field Friend (for teams who want fast iteration) or DevKit ROS (for teams already in the ROS ecosystem). The idea is that a lab in one country can reproduce another lab's experiment by sharing a Docker image.

Current status: the Open Core brain is largely fabricated, the full-size Sowbot body has a detailed BOM but isn't yet assembled, and we have two smaller dev platforms (Mini and Pico) in various stages of testing.

We're a small volunteer team and we're looking for contributors — hardware, ROS, firmware, docs, whatever you can offer.

The best place to start is our Discord: https://discord.gg/SvztEBr4KZ — we have a weekly call if you'd prefer to just show up and chat.

GitHub: https://github.com/Agroecology-Lab/feldfreund_devkit_ros/tre...

sowbot.co.uk
98 35
Summary
speckx about 8 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
160 108
Summary
Scent, in Silico
surprisetalk 4 days ago

Scent, in Silico

The article discusses the significance of scent in human evolution and perception, exploring how our sense of smell has shaped our behavior, memory, and social interactions over time.

asimov.press
16 0
Summary
pieterr about 6 hours ago

ASML unveils EUV light source advance that could yield 50% more chips by 2030

ASML, a leading semiconductor equipment maker, has unveiled an EUV light source advance that could yield up to 50% more chips by 2030. This innovation is expected to boost the production capacity and efficiency of the semiconductor industry.

reuters.com
210 52
Summary
boplicity about 4 hours ago

Binance fired employees who found $1.7B in crypto was sent to Iran

nytimes.com
330 146
Americans are destroying Flock surveillance cameras
mikece about 5 hours ago

Americans are destroying Flock surveillance cameras

The article discusses how some Americans are disabling or destroying surveillance cameras installed by a company called Flock, citing concerns over privacy and government overreach. It highlights the growing tensions between technological advancements in surveillance and public resistance to perceived invasions of personal freedoms.

techcrunch.com
497 305
Summary
Benchmarks for concurrent hash map implementations in Go
platzhirsch 1 day ago

Benchmarks for concurrent hash map implementations in Go

This article presents a benchmark comparison of various concurrent map implementations in Go, including the built-in sync.Map, a custom concurrent map, and several open-source alternatives. The results provide insights into the performance characteristics of these implementations under different workloads, helping developers choose the most suitable concurrent map for their Go applications.

github.com
76 6
Summary
luu 4 days ago

Generalized Sequential Probability Ratio Test for Families of Hypotheses [pdf]

sites.stat.columbia.edu
19 4
The Lighthouse: How extreme isolation transforms the body and mind
nixass 3 days ago

The Lighthouse: How extreme isolation transforms the body and mind

The article explores the profound psychological and physiological changes experienced by individuals in extreme isolation, such as lighthouse keepers. It examines how the absence of sensory stimulation and social interaction can dramatically impact the human body and mind, leading to both remarkable adaptations and significant challenges.

newscientist.com
59 18
Summary
femtolisp: A lightweight, robust, scheme-like Lisp implementation
tosh about 11 hours ago

femtolisp: A lightweight, robust, scheme-like Lisp implementation

femtolisp is a lightweight, embeddable Lisp interpreter written in C. It is designed to be small, fast, and easy to integrate into other software projects, making it a suitable choice for use in embedded systems and other resource-constrained environments.

github.com
112 14
Summary
usually 4 days ago

Emulating Goto in Scheme with Continuations

terezi.pyrope.net
45 15
ai_bot about 14 hours ago

Show HN: AI Timeline – 171 LLMs from Transformer (2017) to GPT-5.3 (2026)

Interactive timeline of every major Large Language Model. Filterable by open/closed source, searchable, 54 organizations tracked.

llm-timeline.com
126 48
Summary
A lithium-ion breakthrough that could boost range and lower costs
thelastgallon about 4 hours ago

A lithium-ion breakthrough that could boost range and lower costs

Researchers have developed a new lithium-ion battery technology that could significantly increase electric vehicle range and dramatically reduce costs, potentially making EVs more accessible to the mass market.

techradar.com
52 26
Summary
birdculture about 1 hour ago

Disappointing Phones

The article discusses the disappointing features and design choices of modern smartphones, highlighting the lack of innovation and the focus on incremental improvements rather than revolutionary changes in the industry.

cadence.moe
7 1
Summary
montenegrohugo about 9 hours ago

The peculiar case of Japanese web design (2022)

sabrinas.space
206 96
I built Timeframe, our family e-paper dashboard
saeedesmaili 1 day ago

I built Timeframe, our family e-paper dashboard

The article explores the concept of timeframe, discussing how our perception of time shapes our experiences and decision-making. It examines the tension between the immediate and the long-term, highlighting the importance of finding a balanced approach to managing time and priorities.

hawksley.org
1,514 350
Summary
How Can Infinity Come in Many Sizes?
EA-3167 about 4 hours ago

How Can Infinity Come in Many Sizes?

The article explores the concept of different sizes of infinity, explaining how mathematicians have discovered that there are multiple types of infinities, each with its own unique properties. It discusses how the discovery of these infinite worlds has challenged traditional notions of infinity and our understanding of the mathematical universe.

quantamagazine.org
6 0
Summary
LorenDB about 3 hours ago

Stop Killing Games update says EU petition advances

The European Union is considering a petition that aims to prevent the shutdown of online services for video games, ensuring players can continue accessing and playing their purchased games even after the game's servers are discontinued.

videocardz.com
70 25
Summary