Top stories

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering
OlaProis about 3 hours ago

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

Ferrite: Fast Markdown/Text/Code editor in Rust with native Mermaid diagrams

Built a Markdown editor using Rust + egui. v0.2.1 just dropped with major Mermaid improvements:

→ Native Mermaid diagrams - Flowcharts, sequence, state, ER, git graphs - pure Rust, no JS

→ Split view - Raw + rendered side-by-side with sync scrolling

→ Syntax highlighting - 40+ languages with large file optimization

→ JSON/YAML/TOML tree viewer - Structured editing with expand/collapse

→ Git integration - File tree shows modified/staged/untracked status

Also: minimap, zen mode, auto-save, session restore, code folding indicators.

~15MB binary, instant startup. Windows/Linux/macOS.

GitHub: https://github.com/OlaProeis/Ferrite

v0.2.2 coming soon with performance improvements for large files. Looking for feedback!

github.com
63 15
Summary
thorel about 10 hours ago

Finding and fixing Ghostty's largest memory leak

The article discusses a memory leak issue in the Ghostty terminal emulator and provides a solution to fix it. It explains the root cause of the problem and the steps to resolve the memory leak, allowing users to maintain a stable Ghostty application.

mitchellh.com
315 67
Summary
pmaze about 12 hours ago

Show HN: I used Claude Code to discover connections between 100 books

I think LLMs are overused to summarise and underused to help us read deeper.

I built a system for Claude Code to browse 100 non-fiction books and find interesting connections between them.

I started out with a pipeline in stages, chaining together LLM calls to build up a context of the library. I was mainly getting back the insight that I was baking into the prompts, and the results weren't particularly surprising.

On a whim, I gave CC access to my debug CLI tools and found that it wiped the floor with that approach. It gave actually interesting results and required very little orchestration in comparison.

One of my favourite trail of excerpts goes from Jobs’ reality distortion field to Theranos’ fake demos, to Thiel on startup cults, to Hoffer on mass movement charlatans (https://trails.pieterma.es/trail/useful-lies/). A fun tendency is that Claude kept getting distracted by topics of secrecy, conspiracy, and hidden systems - as if the task itself summoned a Foucault’s Pendulum mindset.

Details:

* The books are picked from HN’s favourites (which I collected before: https://hnbooks.pieterma.es/).

* Chunks are indexed by topic using Gemini Flash Lite. The whole library cost about £10.

* Topics are organised into a tree structure using recursive Leiden partitioning and LLM labels. This gives a high-level sense of the themes.

* There are several ways to browse. The most useful are embedding similarity, topic tree siblings, and topics cooccurring within a chunk window.

* Everything is stored in SQLite and manipulated using a set of CLI tools.

I wrote more about the process here: https://pieterma.es/syntopic-reading-claude/

I’m curious if this way of reading resonates for anyone else - LLM-mediated or not.

trails.pieterma.es
252 80
Summary
jamesponddotco about 5 hours ago

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

TLDR: Librario is a book metadata API that aggregates data from Google Books, ISBNDB, and Hardcover into a single response, solving the problem of no single source having complete book information. It's currently pre-alpha, AGPL-licensed, and available to try now[0].

My wife and I have a personal library with around 1,800 books. I started working on a library management tool for us, but I quickly realized I needed a source of data for book information, and none of the solutions available provided all the data I needed. One might provide the series, the other might provide genres, and another might provide a good cover, but none provided everything.

So I started working on Librario, a book metadata aggregation API written in Go. It fetches information about books from multiple sources (Google Books, ISBNDB, Hardcover. Working on Goodreads and Anna's Archive next.), merges everything, and saves it all to a PostgreSQL database for future lookups. The idea is that the database gets stronger over time as more books are queried.

You can see an example response here[1], or try it yourself:

  curl -s -H 'Authorization: Bearer librario_ARbmrp1fjBpDywzhvrQcByA4sZ9pn7D5HEk0kmS34eqRcaujyt0enCZ' \
  'https://api.librario.dev/v1/book/9781328879943' | jq .
  
This is pre-alpha and runs on a small VPS, so keep that in mind. I never hit the limits in the third-party services, so depending on how this post goes, I’ll or will not find out if the code handles that well.

The merger is the heart of the service, and figuring out how to combine conflicting data from different sources was the hardest part. In the end I decided to use field-specific strategies which are quite naive, but work for now.

Each extractor has a priority, and results are sorted by that priority before merging. But priority alone isn't enough, so different fields need different treatment.

For example:

- Titles use a scoring system. I penalize titles containing parentheses or brackets because sources sometimes shove subtitles into the main title field. Overly long titles (80+ chars) also get penalized since they often contain edition information or other metadata that belongs elsewhere.

- Covers collect all candidate URLs, then a separate fetcher downloads and scores them by dimensions and quality. The best one gets stored locally and served from the server.

For most other fields (publisher, language, page count), I just take the first non-empty value by priority. Simple, but it works.

Recently added a caching layer[2] which sped things up nicely. I considered migrating from net/http to fiber at some point[3], but decided against it. Going outside the standard library felt wrong, and the migration didn't provide much in the end.

The database layer is being rewritten before v1.0[4]. I'll be honest: the original schema was written by AI, and while I tried to guide it in the right direction with SQLC[5] and good documentation, database design isn't my strong suit and I couldn't confidently vouch for the code. Rather than ship something I don't fully understand, I hired the developers from SourceHut[6] to rewrite it properly.

I've got a 5-month-old and we're still adjusting to their schedule, so development is slow. I've mentioned this project in a few HN threads before[7], so I’m pretty happy to finally have something people can try.

Code is AGPL and on SourceHut[8].

Feedback and patches[9] are very welcome :)

[0]: https://sr.ht/~pagina394/librario/

[1]: https://paste.sr.ht/~jamesponddotco/a6c3b1130133f384cffd25b3...

[2]: https://todo.sr.ht/~pagina394/librario/16

[3]: https://todo.sr.ht/~pagina394/librario/13

[4]: https://todo.sr.ht/~pagina394/librario/14

[5]: https://sqlc.dev

[6]: https://sourcehut.org/consultancy/

[7]: https://news.ycombinator.com/item?id=45419234

[8]: https://sr.ht/~pagina394/librario/

[9]: https://git.sr.ht/~pagina394/librario/tree/trunk/item/CONTRI...

78 25
Show HN: VAM Seek – 2D video navigation grid, 15KB, zero server load
haasiy about 2 hours ago

Show HN: VAM Seek – 2D video navigation grid, 15KB, zero server load

Hi HN! I built VAM Seek because I was frustrated with 1D seek bars – you never know where you're going until you get there.

VAM Seek renders a 2D thumbnail grid next to your video. Click any cell to jump. All frame extraction happens client-side via canvas – no server processing, no pre-generated thumbnails.

- 15KB, zero dependencies - One-line integration - Works with any <video> element

Live demo: https://haasiy.main.jp/vam_web/deploy/lolipop/index.html

Would love feedback!

github.com
7 0
Summary
stefanvdw1 about 13 hours ago

Open Chaos: A self-evolving open-source project

OpenChaos is a new open-source project that aims to provide a decentralized, community-driven platform for building and managing complex systems. The project focuses on enabling collaboration, transparency, and self-governance through the use of blockchain technology.

openchaos.dev
338 68
Summary
projectyang about 9 hours ago

Show HN: Play poker with LLMs, or watch them play against each other

I was curious to see how some of the latest models behaved and played no limit texas holdem.

I built this website which allows you to:

Spectate: Watch different models play against each other.

Play: Create your own table and play hands against the agents directly.

llmholdem.com
87 45
Summary
Eulogy for Dark Sky, a data visualization masterpiece (2023)
skadamat about 16 hours ago

Eulogy for Dark Sky, a data visualization masterpiece (2023)

The article explores the Dark Sky weather data visualization tool, which provides detailed and hyperlocal weather information through interactive maps and charts. It highlights the tool's capabilities in analyzing weather patterns, temperature fluctuations, and precipitation levels to help users make informed decisions about their daily activities.

nightingaledvs.com
395 163
Summary
A Year of Work on the Arch Linux Package Management (ALPM) Project
susam about 3 hours ago

A Year of Work on the Arch Linux Package Management (ALPM) Project

The article discusses the author's work on the ALPM (Arch Linux Package Manager) project over the past year, highlighting the significant improvements and new features implemented to enhance the package management experience for Arch Linux users.

devblog.archlinux.page
14 0
Summary
AI is a business model stress test
amarsahinovic about 12 hours ago

AI is a business model stress test

The article discusses how AI can act as a stress test for business models, highlighting both the opportunities and challenges that AI presents for companies. It emphasizes the need for businesses to carefully evaluate the impact of AI on their operations, customer experience, and overall strategy.

dri.es
197 218
Summary
verte_zerg 4 days ago

CPU Counters on Apple Silicon: article + tool

This article provides an in-depth analysis of Apple's Precompiled Modules (PMU) technology, exploring its benefits, implementation, and performance impact on software development and compilation processes for Apple's platforms.

blog.bugsiki.dev
15 0
Summary
usrme 1 day ago

Code and Let Live

https://sprites.dev/

fly.io
255 86
Summary
Sisyphus Now Lives in Oh My Claude
deckardt about 3 hours ago

Sisyphus Now Lives in Oh My Claude

This article introduces Oh My Claude, an AI-powered chatbot that can engage in open-ended conversations. The chatbot is designed to be helpful, harmless, and honest, and has been trained to avoid harmful or biased outputs.

github.com
12 9
Summary
Brands upset Buy For Me is featuring their products on Amazon without permission
spenvo 4 days ago

Brands upset Buy For Me is featuring their products on Amazon without permission

The article discusses how some brands are upset that the Buy for Me feature on Amazon is featuring their products without their permission. It explores the tensions between brands, third-party sellers, and Amazon's policies around unauthorized product listings.

modernretail.co
48 18
Summary
marojejian about 9 hours ago

Overdose deaths are falling in America because of a 'supply shock': study

After years of steady increases, overdose deaths in the United States have started to decline, driven by a drop in opioid-related fatalities. This trend is attributed to improved access to addiction treatment, harm reduction measures, and shifts in the illicit drug supply.

economist.com
88 66
Summary
binarylogic 1 day ago

Datadog, thank you for blocking us

The article discusses Datadog's decision to block the deductive.ai website, which led to a backlash from the community. It explores the potential reasons behind Datadog's actions and the implications for the broader ecosystem.

deductive.ai
33 25
Summary
Workers at Redmond SpaceX lab exposed to toxic chemicals
SilverElfin about 1 hour ago

Workers at Redmond SpaceX lab exposed to toxic chemicals

fox13seattle.com
23 1
Code Is Clay
ecto about 9 hours ago

Code Is Clay

The article explores the concept of 'code as clay', where software development is likened to the creative process of sculpting. It emphasizes the iterative and malleable nature of code, and how it can be shaped and refined over time to achieve the desired outcome.

campedersen.com
48 21
Summary
ibobev 4 days ago

An Experimental Approach to Printf in HLSL

The article discusses the history and usage of the `printf()` function in programming languages, highlighting its importance in formatting and outputting data, and its continued relevance in modern software development.

abolishcrlf.org
3 0
Summary
Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)
jancurn 5 days ago

Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)

The article describes the Mcp-CLI, a command-line interface tool for managing and deploying Apify cloud platform resources. It provides information on installing, configuring, and using the tool to perform various operations, such as deploying and managing actors, schedules, and datasets.

github.com
22 3
Summary
ChatGPT Health is a marketplace, guess who is the product?
yoaviram 3 days ago

ChatGPT Health is a marketplace, guess who is the product?

The article discusses the ethical implications of ChatGPT and other AI chatbots, arguing that users are the real product being sold in the health technology marketplace, rather than the technology itself. It raises concerns about the potential misuse of personal data and the lack of transparency in the industry.

consciousdigital.org
253 247
Summary
Bob Weir has died
asix66 about 4 hours ago

Bob Weir has died

Bob Weir, co-founder of the iconic band Grateful Dead, has passed away at the age of 75. The article highlights Weir's significant contributions to the band's unique sound and influential role in the evolution of American music.

rollingstone.com
86 14
Summary
_hfqa 3 days ago

ASCII-Driven Development

The article discusses the concept of 'ASCII-driven development', where developers use ASCII art as a means of expressing their ideas and communicating them effectively within a team. It highlights the benefits of this approach, such as enhancing collaboration, promoting creativity, and improving the overall development process.

medium.com
104 70
Summary
Rats caught on camera hunting flying bats
akg130522 about 10 hours ago

Rats caught on camera hunting flying bats

Researchers have captured the first-ever footage of rats hunting and catching flying bats, a behavior not previously documented. This discovery sheds new light on the diverse hunting capabilities and adaptability of rats, a ubiquitous urban mammal.

scienceclock.com
79 9
Summary
adityaathalye about 19 hours ago

Org Mode Syntax Is One of the Most Reasonable Markup Languages for Text (2017)

The article discusses the use of Org mode, a markup language, as a standalone markup format without the need for a full-fledged Emacs environment. It highlights the flexibility and simplicity of Org mode as a general-purpose markup language that can be used for a variety of purposes beyond its traditional use in Emacs.

karl-voit.at
256 178
Summary
Private equity firms acquired more than 500 autism centers in past decade: study
hhs about 5 hours ago

Private equity firms acquired more than 500 autism centers in past decade: study

The article examines the growing trend of private equity firms investing in autism treatment centers, raising concerns about the potential impact on accessibility and quality of care for individuals with autism.

brown.edu
230 156
Summary
UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance
Old_Thrashbarg about 12 hours ago

UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance

The article discusses the career opportunities available at UP, a tech company that provides software solutions and services. It highlights the company's growth, diverse team, and variety of roles in areas such as engineering, product management, and customer success.

up.codes
1 0
Summary
libroot about 17 hours ago

New information extracted from Snowden PDFs through metadata version analysis

The article examines newly released Snowden documents that shed light on the NSA's mass surveillance programs, including details on how the agency monitored global internet traffic and targeted specific individuals for surveillance.

libroot.org
293 123
Summary
I replaced Windows with Linux and everything's going great
rorylawless about 13 hours ago

I replaced Windows with Linux and everything's going great

The article explores the author's journey of building a Linux-based gaming desktop, highlighting the challenges and benefits encountered along the way, as well as the overall performance and customization capabilities of the system.

theverge.com
599 504
Summary
Kodbox: Open-source cloud desktop with multi-storage fusion and web IDE
indigodaddy about 4 hours ago

Kodbox: Open-source cloud desktop with multi-storage fusion and web IDE

Kodbox is an open-source, web-based file management system that allows users to manage and share files across multiple devices. It provides features such as online file editing, collaboration, and multimedia playback within a web browser.

github.com
7 0
Summary