frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Lottery and Leverage: A Simple Formula for Designing Your Own Luck

https://jordandipietro.com/p/lottery-leverage-a-simple-formula-for-designing-your-own-luck
1•jdipietro7•2m ago•0 comments

Desktop Inverted Pendulum (part 1)

https://build-its-inprogress.blogspot.com/2016/08/desktop-inverted-pendulum-part-1.html
1•nill0•2m ago•1 comments

Dutch government took control of Nexperia over fears it was being gutted

https://www.reuters.com/sustainability/boards-policy-regulation/dutch-government-took-control-nex...
1•dboreham•3m ago•0 comments

Molecular snapshots reveal how the body knows it's too hot

https://news.northwestern.edu/stories/2025/10/molecular-snapshots-reveal-how-the-body-knows-its-t...
1•gmays•3m ago•0 comments

An Idea Is a Need

https://www.isaacbowen.com/2025/10/28/idea
1•isaacbowen•3m ago•0 comments

How the UK Lost Its Shipbuilding Industry

https://www.construction-physics.com/p/how-the-uk-lost-its-shipbuilding
3•chmaynard•6m ago•0 comments

Maritime lions hunting seals on the beach

https://www.bbc.com/future/article/20251009-the-photo-showing-namibias-desert-lions-living-on-the...
1•andsoitis•6m ago•0 comments

The Cursed Legacy of JavaScript's Date Class

https://spin.atomicobject.com/javascript-date-class/
1•philk10•6m ago•0 comments

I created an app that shows the best tools for developers

https://devbarrel.com
1•Nikos_•7m ago•0 comments

Ubiquiti SFP Wizard

https://blog.ui.com/article/welcome-to-sfp-liberation-day
1•eXpl0it3r•9m ago•0 comments

How does Cloudflare's Speed Test work?

https://blog.cloudflare.com/how-does-cloudflares-speed-test-really-work/
1•kwar13•10m ago•0 comments

How to Download All Videos from a YouTube Channel with yt-dlp

https://www.endpointdev.com/blog/2025/09/how-to-download-youtube-channel/
1•chmaynard•11m ago•0 comments

Show HN: Early-Stage MVP – AI-Powered Customer Support Solutions

https://afec48d1-2eb5-490b-a1d8-f3b483aa87dc-00-3om0kaugaka9.kirk.replit.dev/landing/972ca3fc-065...
1•Founder-Led•12m ago•0 comments

Fuzzy/Non-Binary Graphing

https://gods.art/articles/fuzzy_graphing.html
2•calebm•12m ago•1 comments

RFC: Evolving PyTorch/XLA for a more native experience on TPU

https://github.com/pytorch/xla/issues/9684
1•agnosticmantis•12m ago•0 comments

Em Dashes and Elipses

https://doc.searls.com/2025/10/27/on-em-dashes-and-elipses/
1•speckx•12m ago•1 comments

Microsoft, OpenAI reach new deal to allow OpenAI to restructure

https://www.reuters.com/business/microsoft-openai-reach-new-deal-allow-openai-restructure-2025-10...
1•falcor84•14m ago•0 comments

China Has Added Forest the Size of Texas Since 1990

https://e360.yale.edu/digest/china-new-forest-report
4•Brajeshwar•15m ago•1 comments

America's immigration crackdown is disrupting the global remittance market

https://www.npr.org/sections/planet-money/2025/10/28/g-s1-94960/americas-immigration-crackdown-is...
1•thelastgallon•16m ago•0 comments

Microsoft to Get 27% of OpenAI, Access to AI Models Until 2032

https://www.bloomberg.com/news/articles/2025-10-28/microsoft-to-get-27-of-openai-access-to-ai-mod...
12•thomasjoulin•17m ago•5 comments

The Crop That Destroyed Entire Countries [video]

https://www.youtube.com/watch?v=fsu6bJQewtU
1•thelastgallon•17m ago•0 comments

Ask HN: In 2025, what search engine offers the best results?

1•AbstractH24•17m ago•1 comments

Local tech bro discovers social interaction [video]

https://www.youtube.com/watch?v=3gm7gZp99fw
1•LazyInsanity44•17m ago•0 comments

Sylius – open-source Headless eCommerce Platform

https://sylius.com/
1•NotInOurNames•20m ago•0 comments

Knausgaard – The Reenchanted World

https://harpers.org/archive/2025/06/the-reenchanted-world-karl-ove-knausgaard-digital-age/
1•latentnumber•20m ago•0 comments

Elon Musk's Grokipedia contains copied Wikipedia pages

https://www.theverge.com/news/807686/elon-musk-grokipedia-launch-wikipedia-xai-copied
3•amrrs•21m ago•0 comments

63% of jobs require keyboard use but only 2.5% of high schools teach keyboarding

https://www.typequicker.com/blog/we-type-more-than-ever-but-its-not-taught
4•absoluteunit1•22m ago•1 comments

Show HN: CloudNetDraw – Generate Azure network diagrams (SaaS and self-hosted)

1•cloudnet-draw•23m ago•1 comments

Claude on Vertex AI

https://docs.claude.com/en/api/claude-on-vertex-ai
1•Anon84•26m ago•0 comments

Frank Gasking on preserving «lost» games

https://spillhistorie.no/2025/10/24/frank-gasking-on-preserving-lost-games/
1•doener•26m ago•0 comments
Open in hackernews

Rust Dependencies Scare Me

https://vincents.dev/blog/rust-dependencies-scare-me/?
25•vsgherzi•5mo ago

Comments

turtleyacht•5mo ago
Probably hard to do during nine-to-five, but personally commit to being a contributor on every dependency used.

Like having mini contracts with every package, even if it's just to reproduce bugs, maintain a personal test suite, or to steer newcomers to resources.

Otherwise, we will always be in the dark about our dependencies, building our flying castles. (They float, but where's the foundation?)

Alternatively, there are open-source code scanners and bill-of-material security tools. Those could be added as triggered workflows in your projects, to run on each pull request.

As well, the author did rewrite dotenv's core features to replace it.

vsgherzi•5mo ago
Yeah that's not a bad suggestion, I should def be more involved in the ecosystem. To do that for every crates seems exhausting though... Any favorite suggestions for scanners or SBOM creation tools?
turtleyacht•5mo ago
Snyk has a free tier, but their Github integration passes workflows green more often than not. If you run it yourself as a container, you get finer-grained control over what to do with error code 1 versus error code 2: a vulnerability in changed versions, versus a pipeline error.

Sonar is free for open-source projects, but less package version security and more "use --ignore-scripts in npm," "don't be root in Docker container," and such.

vsgherzi•5mo ago
Noted, I'll check it out! A shame so many are bound to github most of my workflow is tied to git on secured servers
armchairhacker•5mo ago
IME unmaintained Rust packages usually aren't an issue, because Rust's backwards-compatibility is really good. Only if there's an unidiomatic design or bug in the part that you use, or a security vulnerability.

Rust dependency bloat may be an issue, but with good static analysis maybe not (the compiler can effectively remove dead code unlike JavaScript, and the IDE may be able to effectively filter it).

vsgherzi•5mo ago
I wonder if there's a way to do a pass on a repo to remove code that will never be used due to the hardware you're targeting. You do have a good point in that it being unmaintained isn't necessarily the end of the world, I just kinda start to sweat when I think about ZX and see the advisories.
rc00•5mo ago
> Many call for adding more to the rust standard library much like Go

> So now I pose the question to you what do we do?

1. Port your application to the language/tool that fits your needs like Go.

2. Hope that a language like Zig decides to feature a standard library as good as Go.

vsgherzi•5mo ago
It feels a bit like throwing the baby out with the bathwater to completely swap languages. I was hoping rust could be a more general language for me.... I know they're not interested but I wonder if the foundation would ever entertain an opt in more expansive std library?

Go's is very nice however if I remember they ran into an issue with crypto that was hard to fix due to it being so bundled to the std library.

steveklabnik•5mo ago
You may appreciate this RFC that was just opened https://github.com/rust-lang/rfcs/pull/3810
vsgherzi•5mo ago
Hi Steve! Big fan!

Folks on Bluesky just pointed me in the same direction. Looks like it has potential.

steveklabnik•5mo ago
Thanks :)

I’m not as positive on it, but at least if you are, you know where to lodge support.

rc00•5mo ago
You should evaluate on whether it is worth insisting on Rust. Others have gone down that path and it has only ended with regret[1]. The sooner you realize that you don't have the right solution to your problem, the sooner you can start solving it correctly.

What about the crypto library affects how you would use Go to solve your problem?

1. https://deadmoney.gg/news/articles/migrating-away-from-rust

weird_trousers•5mo ago
That's the main criticism my colleagues have about Rust: a lot of unmaintained crates, and most of the time a lot of dependencies for... (almost) nothing.

It seems most of Rust developers adopt the pov of web front-end developers since a few years: depend on a lot of libraries for small things, never update your project to 1.0, and abandon "quickly" to build something new... and redo it again.

I really hope that alternatives like Zig or Jai will not let the community do like what they did with Rust.

vsgherzi•5mo ago
It's such a cool language, maybe there's a way out or something I'm not seeing? Cloudflare, discord, and oxide seem to make it work pretty well... Always excited to see what new languages do. However it does seem like industry already has significant investment in rust so it seems like something we'll have to solve sooner than later....
steveklabnik•5mo ago
It’s pretty simple: you choose the dependencies you want to have. Don’t like having a ton of them? Either choose carefully (which you should already be doing), or write it yourself.

Most people prefer to build off of the work of others, rather than reinvent the world for every project. That trade off is a trade off though, and nothing prevents you from taking the other side of it.

vsgherzi•5mo ago
I get that. In general for something like a production server in cpp versus rust do you think the rust version is going to just have more lines of code associated with it or is it just the way I'm thinking about it? I love the Oxide podcast where you guys talk about your favorite crates and some of the ones you guys use in production. Are the dependencies something you guys really stress and investigate before pulling one in? I know things like axum are replaced with dropshot since you guys deemed it critical to your business (super cool crate!).
steveklabnik•5mo ago
You just can’t draw connections between number of dependencies, numbers of lines of code, and code you actually use, across ecosystems. See https://wiki.alopex.li/LetsBeRealAboutDependencies as an example of getting into the details about Rust vs C in this regard.

We don’t hyper stress about it. We do take care, in some projects (like embedded ones) we need to care a lot about binary size and so pay very close attention, and we keep abreast of security issues, etc.

Dropshot wasn’t written because it was critical to the business, it was because nothing had the OpenAPI support at the time we write it. It Axum or something else did, we’d have used it. We only write our own stuff when things in the ecosystem aren’t fit for purpose. We do sometimes find that our needs are different than others and so write our own, but this isn’t borne out of concern for dependency count.

vsgherzi•5mo ago
Thank for the reply! I see, I guess I have alot more to think about ...
antonvs•5mo ago
> It’s pretty simple: you choose the dependencies you want to have. Don’t like having a ton of them? Either choose carefully (which you should already be doing), or write it yourself.

Exactly. Why this is even a point of discussion is, to me, an indictment of everyone raising it as an issue.

stefanos82•5mo ago
I thought I was alone thinking like this.

Honestly, when I want to compile a Rust project and see all these dependencies getting pulled in to get compiled along with the project, it gives me goosebumps, because I don't know whether these crates are safe and secured or not...

vsgherzi•5mo ago
Yeah, I think in some sense it definitely looks worse than it is since a single crate like Tokio is spread among 20-30 crates. However even accounting for that there's still just alot of raw code...
weird_trousers•5mo ago
You're definitely not alone. This situation is not new, and it isn't acceptable either.

The concept of `features` when using a crate is kinda cool as "you only download / compile what you use" *but* most of the crates are very badly designed, and also developers do not tend to reinvent a very tiny wheel when they can, but heavily depend of possibly dangerous crates to just serialize or deserialize a very simple data structure...

It's very annoying, as this increases the compilation time and introduces possible unsafe behavior in larger crates.

wofo•5mo ago
Some people _do_ care about this (e.g. the proponents of this new RFC: https://github.com/rust-lang/rfcs/pull/3810). However, for some reason (culture, I guess?) there isn't much momentum yet to change the status quo.
antonvs•5mo ago
Your “colleagues”?

You’re making the criticism, why not own it?

What you’re saying is the equivalent of Donald Trump’s “many people are saying”. It’s the recourse of the intellectually stunted who can’t muster a convincing argument.

vsgherzi•5mo ago
Because I want my mind to be changed. I see orgs and companies I respect doing things differently than me but I don't understand why. I want to use this language, I want to use this ecosystem so I'm trying to get others who disagree with me to share what they think so I could possibly see things in a different way.