frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Announcing the Clippy feature freeze

https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/
61•jmillikin•5h ago

Comments

andy_ppp•3h ago
FYI “Rust’s Clippy is a collection of lints (static analysis rules) designed to catch common mistakes and suggest improvements in your Rust code.”
tialaramex•2h ago
It's also very tunable. If you (or your team) hate shadowing for example, which is a common idiom in Rust but is often seen as undesirable in other languages, there are several Clippy rules you can enable for a project to either forbid specific kinds of shadowing or introduce a blanket prohibition.

Or at the other end of the scale, the average Rust programmer doesn't care that their code could panic if numbers stop making sense, for example if I'm summing the number of employees who quality for a bonus scheme, the fact that this operation (which I think might reach hundreds but likely is only dozens) could panic if it exceeds u32::MAX isn't worth linting. But if you write jet engine firmware, you need to take such "this can't happen" cases more seriously so you can turn on a lint which forbids these naive operations.

PartiallyTyped•3h ago
I’ve contributed quite a few patches into clippy, it’s a great project and a great way to learn how the rustc “sees” code; from the AST, to HIR, to using typeck — sometimes we even construct types at runtime to validate the code against — to tracking traits and their implementations across a whole crate!

Clippy really is a labour of love project, and it’s been great to work with these folk <3

I will try to pick up some issues in the coming weeks.

lewdwig•1h ago
If Clippy struggles to account for current and future changes to the Rust compiler this to me raises an obvious question: why isn’t Clippy part of the Rust compiler?
afdbcreid•53m ago
I wouldn't say it struggles to do that. And, it is part of the Rust compiler, somewhat. Every PR to the Rust compiler builds Clippy in CI and tests it (although I'm not sure if all tests are run or only part of them).

Clippy is a large collection of mostly unrelated lints, and more are always added. Understandably, they accumulate craft. I think stopping new lints for some time is a reasonable thing to do to keep a healthy codebase.

jedisct1•1h ago
Just to be clear, this has nothing to do with Microsoft Clippy. This post is about a tool for a programming language called Rust.

How to Run OpenAI's Customer Service Agent Demo on Your Localbox Windows Setup

https://blog.vpsguy.com/how-to-run-openais-customer-service-agent-demo-on-your-local-box-with-windows-setup
1•genesem•1m ago•0 comments

Replacing Screenshots and Videos with Iframes

https://jmduke.com/posts/post/iframe-docs/
1•Tomte•2m ago•0 comments

Android phone can detect earthquakes

https://www.popsci.com/diy/how-android-can-detect-earthquakes/
1•geox•8m ago•0 comments

Show HN: Kameo – open-source form editor and viewer

https://github.com/kameojs/kameo
1•nistuley•9m ago•0 comments

Engineer creates ad-block for the real world with augmented reality glasses

https://www.tomshardware.com/maker-stem/engineer-creates-ad-block-for-the-real-world-with-augmented-reality-glasses-no-more-products-or-branding-in-your-everyday-life
1•LorenDB•19m ago•0 comments

Show HN: A Framework to replace API requests/responses

https://github.com/neuronumcybernetics/neuronum
1•yannisscherer•20m ago•0 comments

How AI Is Ruining the Electric Grid [video]

https://www.youtube.com/watch?v=3__HO-akNC8
1•distantranges•21m ago•0 comments

Denmark Is Switching to Linux

https://www.pcgamer.com/software/operating-systems/denmark-is-switching-to-linux/
10•ricecat•22m ago•1 comments

SerpAPI

https://serpapi.com/
1•handfuloflight•29m ago•0 comments

The Moldy Cucumber Chronicles

https://worksonmymachine.substack.com/p/the-moldy-cucumber-chronicles
1•Stwerner•30m ago•0 comments

Two Birds with One Stone: Designing a Hybrid Cloud Storage Engine for HTAP

https://dl.acm.org/doi/10.14778/3681954.3682001
1•dpraburaj•31m ago•0 comments

Fend: An arbitrary-precision unit-aware calculator

https://github.com/printfn/fend
1•fanf2•33m ago•0 comments

The Implementation of This Site

https://vale.rocks/posts/the-implementation-of-this-site
2•OuterVale•35m ago•0 comments

I created a website to generate AI Labubu wallpapers for more

https://labububox.app
1•huglemon•37m ago•0 comments

Was laid off from Microsoft after 23 years, and I'm still going into the office

https://www.businessinsider.com/show-up-microsoft-office-layoffs-23-year-career-2025-6
2•Bluestein•38m ago•0 comments

SaaS Launch Day 15: Metrics, User Feedback and Iteration Plan

https://justgotfound.com/
1•abusayedopu22•38m ago•1 comments

Ask HN: We built an phishing site discovery tool – worth turning into a product?

1•skipper-jp•40m ago•0 comments

Iran cut internet access to outside world since June 18

https://apnews.com/article/iran-internet-blackout-israel-war-6aa315eff871579f8bfc220ce3930e5f
2•diggan•41m ago•1 comments

David Hahn – Nuclear Boy Scout

https://en.wikipedia.org/wiki/David_Hahn
1•vasco•42m ago•0 comments

Cyber Cops Have a Problem: They Keep Making Hackers Sound Cute

https://www.wsj.com/tech/cyber-security-hacker-names-d15ebde7
3•Brajeshwar•49m ago•1 comments

Confucian Classics and the Civil Service Examinations

https://afe.easia.columbia.edu/cosmos/irc/classics.htm
2•Bluestein•52m ago•0 comments

Marker: Convert PDF to Markdown and JSON

https://github.com/datalab-to/marker
1•tosh•53m ago•0 comments

Trojan Room Coffee Pot

https://en.wikipedia.org/wiki/Trojan_Room_coffee_pot
1•lewiscarson•54m ago•0 comments

A DDoS attack delivered 37.4 TB in 45 seconds

https://www.tomshardware.com/tech-industry/cyber-security/massive-ddos-attack-delivered-37-4tb-in-45-seconds-equivalent-to-10-000-hd-movies-to-one-victim-ip-address-cloudflare-blocks-largest-cyber-assault-ever-recorded
1•01-_-•55m ago•0 comments

Show HN: My son made this joke database. Enjoy

https://witnest.netlify.app
1•bobm_kite9•56m ago•0 comments

StatusNotifierItem: Standard Non-Standards Tear Linux Desktops Apart

https://hackaday.com/2025/06/17/statusnotifieritem-how-standard-non-standards-tear-linux-desktops-apart/
2•mzehrer•58m ago•0 comments

VictoriaLogs cluster is available in Open Source

https://victoriametrics.com/blog/victorialogs-unleashed-cluster-version-now-available-for-exceptional-linear-scaling/index.html
2•valyala•1h ago•0 comments

Show HN: Kira.Art – AI Agent for Designer to Create Creativity

https://kira.art
1•nukedelevan•1h ago•0 comments

Awesome-Remote-Mcp-Servers

https://github.com/jaw9c/awesome-remote-mcp-servers
1•handfuloflight•1h ago•0 comments

Telegram founder rejected West's request to silence conservative Romanian voices

https://www.reuters.com/world/europe/telegram-founder-says-he-rejects-request-silence-conservative-voices-romania-2025-05-18/
3•Bluestein•1h ago•0 comments