frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
361•philonoist•8h ago•200 comments

DuckDB Internals: Why Is DuckDB Fast? (Part 1)

https://www.greybeam.ai/blog/duckdb-internals-part-1
310•marklit•3d ago•89 comments

The Productivity J-Curve [pdf] (2018)

https://ide.mit.edu/sites/default/files/publications/jcurve.pdf
13•kioku•3d ago•3 comments

"No Feigning Surprise"

https://wizardzines.com/comics/surprise/
50•evakhoury•3d ago•27 comments

Zen and the Art of Machine Learning Research

https://blog.jxmo.io/p/zen-and-the-art-of-machine-learning
150•jxmorris12•3d ago•48 comments

To study how chips work, MIT researchers built their own operating system

https://news.mit.edu/2026/to-study-how-chips-really-work-mit-researchers-built-their-own-operatin...
280•speckx•3d ago•40 comments

Ten years of ClickHouse in open source

https://clickhouse.com/blog/open-source-10
161•saisrirampur•3d ago•48 comments

I found 10k GitHub repositories distributing Trojan malware

https://orchidfiles.com/github-repositories-distributing-malware/
879•theorchid•1d ago•231 comments

Gribouille 0.3.0: A Grammar of Graphics for Typst

https://mickael.canouil.fr/posts/2026-06-15-gribouille-0-3/
150•mcanouil•4d ago•55 comments

So You Want to Define a Well-Known URI

https://mnot.net/blog/2026/well_known_uris
118•ingve•9h ago•68 comments

The AirPods Effect

https://www.theescapenewsletter.com/p/the-airpods-effect
237•herbertl•16h ago•435 comments

Akse3D – open-source 3D modelling anyone can master

https://akse3d-en.skaperiet.no
79•joachimhs•4d ago•18 comments

Zero-Touch OAuth for MCP

https://blog.modelcontextprotocol.io/posts/enterprise-managed-auth/
225•niyikiza•17h ago•84 comments

Italy's Meloni says Trump 'made up' story that she 'begged' him for photo at G7

https://www.bbc.com/news/articles/c20y1ygn707o
9•root-parent•15m ago•0 comments

How Japan's railways stayed one while splitting apart

https://arun.is/blog/jr-logo/
134•ddrmaxgt37•2d ago•110 comments

Show HN: Modeloop – From visual algorithms to microcontroller C code

https://www.modeloop.app/
11•lucamark•3d ago•20 comments

SMTP Relay with Web Dashboard

https://github.com/toinbox/simplerelay
35•toinbox•3d ago•3 comments

Ubiquiti: Enterprise NAS, Built on ZFS

https://blog.ui.com/article/introducing-enterprise-nas
378•ksec•1d ago•314 comments

CS 6120: Advanced Compilers: The Self-Guided Online Course (2020)

https://www.cs.cornell.edu/courses/cs6120/2025fa/self-guided/
405•ibobev•1d ago•56 comments

.gitignore Isn't the only way to ignore files in Git

https://nelson.cloud/.gitignore-isnt-the-only-way-to-ignore-files-in-git/
479•FergusArgyll•1d ago•147 comments

Reinventing the Renaissance

https://drb.ie/article/reinventing-the-renaissance/
4•Petiver•2d ago•0 comments

How many of the 170k English words do you know?

https://vocabowl-870366514258.us-west1.run.app/
70•abnry•1h ago•107 comments

Norway greenlights first full-scale ship tunnel

https://eandt.theiet.org/2026/06/18/norway-greenlights-world-s-first-full-scale-ship-tunnel
85•geox•5h ago•43 comments

Datasette Apps: Host custom HTML applications inside Datasette

https://simonwillison.net/2026/Jun/18/datasette-apps/
116•lumpa•14h ago•43 comments

Hospitals and universities repurposing drugs at lower cost

https://www.kcl.ac.uk/news/hospitals-and-universities-repurposing-drugs-at-90-lower-cost
320•giuliomagnifico•1d ago•149 comments

If your product is Great, it doesn't need to be Good (2010)

http://paulbuchheit.blogspot.com/2010/02/if-your-product-is-great-it-doesnt-need.html
122•skogstokig•3d ago•86 comments

W Social, public institutions and the theater of European digital sovereignty

https://blog.elenarossini.com/w-social-public-institutions-and-the-theater-of-european-digital-so...
236•nemoniac•1d ago•148 comments

Flexport (YC W14) Is Hiring in Indonesia, India, and Thailand

https://www.flexport.com/company/careers/
1•thedogeye•14h ago

The room the economy can't see

https://wilsoniumite.com/2026/06/19/the-room-the-economy-cant-see/
179•Wilsoniumite•5h ago•174 comments

Modos Color Monitor Pushes E-Paper Displays Further

https://spectrum.ieee.org/modos-e-paper-monitor
317•Vinnl•1d ago•73 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.
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

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