frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Click (2016)

https://clickclickclick.click/
206•andrewzeno•3h ago•42 comments

Anthropic co-founder to present AI encyclical alongside Pope Leo XIV

https://www.vaticannews.va/en/pope/news/2026-05/pope-leo-xiv-first-encyclical-magnifica-humanitas...
108•cucho•2h ago•65 comments

Anthropic acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
365•tomeraberbach•9h ago•255 comments

Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp

https://hyperpolyglot.org/lisp
133•veqq•6h ago•28 comments

We stopped AI bot spam in our GitHub repo using Git's –author flag

https://archestra.ai/blog/only-responsible-ai
415•ildari•10h ago•190 comments

We let AIs run radio stations

https://andonlabs.com/blog/andon-fm
171•lukaspetersson•8h ago•162 comments

The Quiet Renovation at Bitwarden

https://blog.ppb1701.com/the-quiet-renovation-at-bitwarden
532•DaSHacka•2d ago•246 comments

Show HN: Files.md – Open-source alternative to Obsidian

https://github.com/zakirullin/files.md
555•zakirullin•12h ago•281 comments

Show HN: Number Gacha, a gacha game distilled to its essence

https://isabisabel.com/gacha/
47•babel16•5d ago•15 comments

Earth's Radio Bubble: Every signal we've ever sent into space

https://www.thescientificdrop.com/2026/05/earths-radio-bubble-every-signal-weve.html
30•jonbaer•17h ago•22 comments

The Futility of Lava Lamps: What Random Means

https://loup-vaillant.fr/articles/lava-lamps-and-randomness
50•birdculture•2d ago•37 comments

Project Glasswing: what Mythos showed us

https://blog.cloudflare.com/cyber-frontier-models/
286•Fysi•12h ago•108 comments

Elon Musk has lost his lawsuit against Sam Altman and OpenAI

https://techcrunch.com/2026/05/18/elon-musk-has-lost-his-lawsuit-against-sam-altman-and-openai/
794•nycdatasci•8h ago•417 comments

Agora-1: The Multi-Agent World Model

https://odyssey.ml/introducing-agora-1
82•olivercameron•7h ago•16 comments

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
11•lionkor•1d ago•1 comments

Designing an FPGA Calculator from Scratch

https://baltazarstudios.com/calculator/
50•zdw•1d ago•4 comments

The FBI Wants to Buy Nationwide Access to License Plate Readers

https://www.404media.co/the-fbi-wants-to-buy-nationwide-access-to-license-plate-readers/
228•cdrnsf•6h ago•91 comments

Two computers, one monitor, zero fiddling (2025)

https://alexplescan.com/posts/2025/08/16/kvm/
172•ankitg12•3d ago•96 comments

The Fil-C Optimized Calling Convention

https://fil-c.org/calling_convention
115•pizlonator•2d ago•20 comments

Coding on Paper

https://wickstrom.tech/2026-05-16-coding-on-paper.html
42•owickstrom•1d ago•7 comments

Cutting inference cold starts by 40x with LP, FUSE, C/R, and CUDA-checkpoint

https://modal.com/blog/truly-serverless-gpus
72•charles_irl•8h ago•16 comments

Show HN: InsForge – Open-source Heroku for coding agents

https://github.com/InsForge/InsForge
34•mrcoldbrew•10h ago•6 comments

Loopmaster – Livecoding Music IDE

https://loopmaster.xyz/
69•stagas•7h ago•19 comments

Iran starts Bitcoin-backed ship insurance for Hormuz strait

https://www.bloomberg.com/news/articles/2026-05-18/iran-starts-bitcoin-backed-shipping-insurance-...
266•srameshc•8h ago•434 comments

Alignment pretraining: AI discourse creates self-fulfilling (mis)alignment

https://arxiv.org/abs/2601.10160
23•anigbrowl•4h ago•10 comments

Shutterstock to pay $35M over hard-to-cancel subscriptions

https://www.ftc.gov/news-events/news/press-releases/2026/05/shutterstock-pay-35-million-settle-ft...
136•Lihh27•6h ago•61 comments

What Is Date:Italy?

http://aesthetikx.info/blog/date_italy.html
132•jollyjerry•2d ago•54 comments

Understanding Singleflight in Go

https://www.codingexplorations.com/blog/understanding-singleflight-in-golang-a-solution-for-elimi...
54•ghostbit•2d ago•8 comments

Voice AI Systems Are Vulnerable to Hidden Audio Attacks

https://spectrum.ieee.org/voice-ai-audio-attacks
110•SVI•14h ago•29 comments

Haiku OS runs on M1 Macs now

https://discuss.haiku-os.org/t/my-haiku-arm64-progress/19044?page=2
284•tekkertje•7h ago•92 comments
Open in hackernews

A Rust Documentation Ecosystem Review

https://www.harudagondi.space/blog/rust-documentation-ecosystem-review/
94•hyperbrainer•1y ago

Comments

theletterf•1y ago
This is a nice analysis of Rust documentation, but I find the continued emphasis on content types disappointing. I think docs should shift from what to write to what are the needs of users of the docs are. Then you can think of content types. If you don't, you just end up checking boxed just cause.

https://news.ycombinator.com/item?id=42645075

adolph•1y ago
Yeah, that’s a generous sentiment until you are trying to pull docs for a particular version of VAFileman from a .zoo archive . . .
shepmaster•1y ago
SNAFU author here, thanks for including my crate! I’ll try to give your review a thorough read through later and incorporate feedback that makes sense.

I do have https://diataxis.fr/ and related stuff open in another tab and keep meaning to figure out how to best apply it for SNAFU.

Out of curiosity, do you recall if you also read the top-level docs[1]? That’s intended to be the main introduction, I actually don’t expect most people to read the user’s guide, unfortunately.

[1]: https://docs.rs/snafu/latest/snafu/index.html

LtdJorge•1y ago
I see you every time I open Stack Overflow :D
hyperbrainer•1y ago
To be clear, this is not my review. I just found it very interesting and relevant to my own work.
airstrike•1y ago
Great article. I deeply appreciate the work that went into it.

I struggle with navigating most crates on docs.rs. It just doesn't have the things I want it to have, it's hard to quickly jump around definitions... 9/10 times I end up just cloning the repo and browsing through the code on vscode. I wish docs.rs was more like that experience but with nicely rendered docs to go along them.

Also, as the resident diehard iced fan, I think the section on that library is pretty fair and I appreciate that. There's definitely room for improving existing docs by fleshing out some of the descriptions in modules and functions.

Having said that, I do think the focus on `iced::application` and `Element` misses the forest for the trees a little bit, because those are some of the most generic parts of an iced application—`iced` is more about the plumbing between things than it is about those things themselves, if that makes sense. In other words, it's not super useful to talk about what `Element` is. It's just a generic widget. How it makes widgets generic is less relevant to the user, and certainly for beginners. It's better to talk about how it is used.

The same goes for `iced::application` and its signature. It's honestly a ridiculously elegant design that hides away all the complexity needed to make this possible:

    pub fn main() -> iced::Result {
        iced::application(MyApp::default, MyApp::update, MyApp::view).run()
    }
If that isn't the cleanest way to initialize an application, I don't know what is.[1]

Again, it's better to talk about how those things are used than it is to talk about their specific implementation. And to that end, the docs include a "pocket guide" at the very index of the crate, which covers how those concepts fit together. The author addresses this in this paragraph, but I feel it also doesn't give it enough credit:

> The rest of the crate root’s docs consists of snippets for each concept of the crate and how to start using them. They aren’t an exhaustive explanation of these concepts, but they’re a great venue for discovering what iced has to offer here in terms of API. And wow there’s a lot of concepts here.

If you're starting with the library, I encourage you to go through the pocket guide and the examples to learn more. Alt-tabbing between the two should give you lots of opportunity to understand the many concepts and how they fit together.

[1] The arguments are totally generic, so `MyApp::default` could be `MyApp::new` if you wanted or any other function that returns some instance of `MyApp` -- and which can _also_ return `(MyApp, Task)` -- i.e. your app and some task to run at initializing. That flexibility makes for very ergonomic code, and you don't have to worry about how it achieves that. Also note `Application` has uses the builder pattern, so you could just call `.title(App::title)` on it to set the title... and the argument there is, as you might have guessed, generic again. You could call `.title("My title")` and it would also work. That's beautifully designed.

schneems•1y ago
As a crate author a thing I don’t like is that rustdocs are not easily sharable even though the same code might be used in a function, module and readme doc.

I took a stab at a JINJA based rustdoc templating solution: https://docs.rs/drydoc/latest/drydoc/. It’s not “done” but I think the idea holds promise. Anything else like this that you’ve seen? My other option is to use include_str macro.

airstrike•1y ago
Thanks for sharing and good luck on your project. I think better docs is a worthwhile idea overall and although the implementation details may vary, a template solution could appeal to some people.

Separately, I find it disheartening that people come into this thread with some bone to pick against Rust and just downvote everything they see without adding anything to the conversation. Part of me feels that a downvote should require a reply for this reason.

flysand7•1y ago
There's no downvote button for me, I had no idea HN had downvotes
schneems•1y ago
FWIW I’ve got one. You need over 1k karma I think (or maybe it is based on some other metric).

A post with more downvotes than upvotes will show up as grey for me too.

LtdJorge•1y ago
The grey part is for everyone. Flagged posts show an even lighter grey, IIRC.
schneems•1y ago
Thanks! I’m less soliciting for people to use this specific solution and almost sharing aloud hoping someone will say “duh use crate X”

Thanks for the concern over votes. I think your comment turned the tides, I’m at +1 now.

Overall Rust has the best doc eco system of any lang I’ve used. I wish more communities stole from rust. The most useful part of any doc is an example and rustdoc makes it really easy to write one and keep it from doc-rotting. My particular pain is for an author who aims to go above and beyond.

Specifically I was thinking of the winnow tutorial when writing this crate. The return type example is straight from what I would like to be able to toggle on/off in their docs.

I also have a more mature library for easing maintenance burdens for tutorial writing but it’s not rust https://github.com/zombocom/rundoc

xnickb•1y ago
I have a habit of reading Conclusions of lengthy articles before I read the article itself to decide whether it's worth a read or not.

This article had by far the most useless conclusion section.

airstrike•1y ago
> Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

https://news.ycombinator.com/newsguidelines.html