frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Founder of GitLab battles cancer by founding companies

https://sytse.com/cancer/
621•bob_theslob646•6h ago•156 comments

South Korea Mandates Solar Panels for Public Parking Lots

https://www.reutersconnect.com/item/south-korea-mandates-solar-panels-for-public-parking-lots/dGF...
21•_____k•25m ago•0 comments

CSS is DOOMed

https://nielsleenheer.com/articles/2026/css-is-doomed-rendering-doom-in-3d-with-css/
133•msephton•3h ago•41 comments

Further human + AI + proof assistant work on Knuth's "Claude Cycles" problem

https://twitter.com/BoWang87/status/2037648937453232504
130•mean_mistreater•5h ago•88 comments

OpenBSD on Motorola 88000 Processors

http://miod.online.fr/software/openbsd/stories/m88k1.html
13•rbanffy•1d ago•0 comments

AI overly affirms users asking for personal advice

https://news.stanford.edu/stories/2026/03/ai-advice-sycophantic-models-research
497•oldfrenchfries•9h ago•383 comments

The first 40 months of the AI era

https://lzon.ca/posts/other/thoughts-ai-era/
87•jpmitchell•5h ago•27 comments

Linux is an interpreter

https://astrid.tech/2026/03/28/0/linux-is-an-interpreter/
150•frizlab•6h ago•28 comments

OpenCiv1 – open-source rewrite of Civ1

https://github.com/rajko-horvat/OpenCiv1
64•caminanteblanco•5h ago•14 comments

1929: Inside the Greatest Crash in Wall Street History

https://www.nybooks.com/articles/2026/03/26/tick-tick-boom-1929-andrew-ross-sorkin/
37•mitchbob•3d ago•34 comments

InpharmD (YC W21) Is Hiring – Senior Ruby on Rails Developer

https://inpharmd.com/jobs/senior-ruby-on-rails-engineer
1•tulasichintha•2h ago

I decompiled the White House's new app

https://thereallo.dev/blog/decompiling-the-white-house-app
337•amarcheschi•8h ago•120 comments

Meta Partners with Arm to Develop New Class of Data Center Silicon

https://about.fb.com/news/2026/03/meta-partners-with-arm-to-develop-new-class-of-data-center-sili...
23•eatonphil•4d ago•2 comments

I Built an Open-World Engine for the N64 [video]

https://www.youtube.com/watch?v=lXxmIw9axWw
331•msephton•12h ago•56 comments

Cocoa-Way – Native macOS Wayland compositor for running Linux apps seamlessly

https://github.com/J-x-Z/cocoa-way
296•OJFord•13h ago•93 comments

Undroidwish – a single-file, batteries-included Tcl/Tk binary for many platforms

https://androwish.org/home/wiki?name=undroidwish
58•smartmic•7h ago•3 comments

Detecting file changes on macOS with kqueue

https://www.vegardstikbakke.com/kqueue/
60•benhoyt•4d ago•7 comments

Spanish legislation as a Git repo

https://github.com/EnriqueLop/legalize-es
683•enriquelop•11h ago•214 comments

My heuristics are wrong. What now?

https://brooker.co.za/blog/2026/03/20/ic-leadership.html
24•herbertl•4d ago•3 comments

CERN uses ultra-compact AI models on FPGAs for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
299•TORcicada•15h ago•130 comments

TreeTrek – A raw Git repository viewer web app

https://repo.autonoma.ca/treetrek
3•maxloh•50m ago•0 comments

Private equity turned vulnerable elderly people into human ATMs

https://www.theguardian.com/society/2026/mar/28/the-great-care-home-cash-grab-how-private-equity-...
54•mordechai9000•2h ago•18 comments

Circuit-level PDP-11/34 emulator

https://github.com/dbrll/ll-34
45•elvis70•7h ago•5 comments

rpg.actor Game Jam

https://rpg.actor/jam
60•Kye•7h ago•5 comments

Improved Git Diffs with Delta, Fzf and a Little Shell Scripting

https://nickjanetakis.com/blog/awesome-git-diffs-with-delta-fzf-and-a-little-shell-scripting
114•nickjj•4d ago•34 comments

ICAO issued new power bank restriction on flight

https://www.icao.int/news/new-power-bank-restrictions-will-safeguard-international-aviation
54•phantomathkg•9h ago•77 comments

Goldman Sachs now reckons that oil could take out the 2008 record of $147

https://www.ft.com/content/360ca227-4d2a-41a4-a05f-41baedc0f7d2
25•bookofjoe•1h ago•6 comments

C++26: A User-Friednly assert() macro

https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
59•jandeboevrie•3d ago•45 comments

Hacking old hardware by renaming to .zip [video]

https://www.youtube.com/watch?v=P1kfuCkWo24
97•abadar•3d ago•72 comments

AMD's Ryzen 9 9950X3D2 Dual Edition crams 208MB of cache into a single chip

https://arstechnica.com/gadgets/2026/03/amds-ryzen-9-9950x3d2-dual-edition-crams-208mb-of-cache-i...
293•zdw•21h ago•162 comments
Open in hackernews

A Rust Documentation Ecosystem Review

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

Comments

theletterf•10mo 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•10mo 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•10mo 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•10mo ago
I see you every time I open Stack Overflow :D
hyperbrainer•10mo ago
To be clear, this is not my review. I just found it very interesting and relevant to my own work.
airstrike•10mo 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•10mo 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•10mo 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•10mo ago
There's no downvote button for me, I had no idea HN had downvotes
schneems•10mo 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•10mo ago
The grey part is for everyone. Flagged posts show an even lighter grey, IIRC.
schneems•10mo 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•10mo 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•10mo 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