frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Introduction – Rust for Python Programmers

https://microsoft.github.io/RustTraining/python-book/
15•linhns•1h ago

Comments

Tiberium•19m ago
The whole "book" seems to be AI-generated, or at least very heavily AI-edited. Would at this point it not be easier to just tell developers to use their LLM of choice to achieve the same (or, likely, better) result?

Random chapter so you can judge the quality for yourself: https://microsoft.github.io/RustTraining/python-book/ch09-er...

And the non-stop bullet list slop just looks horrible: https://microsoft.github.io/RustTraining/python-book/ch01-in...

Seems like this isn't limited to the Python book though, and others have the same issues: https://github.com/microsoft/RustTraining/issues/14

onlyrealcuzzo•9m ago
I can't recommend Rust enough. It has such a bad reputation, but it isn't that hard. I truly think it's easier than many languages with much less-intimidating reputations.

That said, one of the places Rust loses people pretty early on is an example they have early in this intro:

```rust

let parts: Vec<&str> = "a,b,c".split(',').collect(); // Vec<&str>

```

I never understood why Rust didn't / couldn't make functions able to return different outputs depending on context. If you chain `.split()` to something else that can take an iterator, you want to pass an iterator. If you don't, ~99% of people would probably rather have a collected array. And if you want an `it`, you could just do `.it()` or this is when type inference could be overloaded and you could do:

```rust

let it: Split<'_, char> = "a,b,c".split(',');

```

I think Rust should've put more effort into making the thing newbs want to do the default, and easy ways to get the most efficient thing for experts.

```rust

let parts = "a,b,c".split(); // Gives an Array/Vec

let count = "a,b,c".split().count(); // Optimized stream, no array allocation

```

It could work like that, and I think almost everyone would be happy. But it doesn't.

Instead, they've created a language that I think could have been nearly as easy as a scripting language, but isn't.

It obviously isn't only collection iterators this applies to. There's dozens of very small places that add up and make what - I believe - is an otherwise relatively easy and sensible language feel too far out of reach for too many people.

Which is why I'm a psychopath and attempting to create a language where it defaults to the things most people want, and it's very easy for experts to override.

Safety officials have a good idea of what a big rocket explosion can do

https://arstechnica.com/space/2026/06/safety-officials-finally-have-a-good-idea-of-what-a-big-roc...
1•bookmtn•1m ago•0 comments

Trump says his team will 'look into' US taking stake in AI companies

https://www.reuters.com/business/trump-says-his-team-will-look-into-us-taking-stake-ai-companies-...
2•YeGoblynQueenne•2m ago•0 comments

'Don't scare the cat ' Engineers find smarter way to measure quantum systems

https://www.unsw.edu.au/newsroom/news/2026/06/dont-scare-the-cat-engineers-find-smarter-way-to-me...
1•wjSgoWPm5bWAhXB•2m ago•0 comments

'Teachers Are Going to Hate It': How Social Media Apps Hooked Teens at School

https://www.nytimes.com/2026/06/04/us/social-media-schools.html
1•1vuio0pswjnm7•3m ago•0 comments

Sports-Related Curses

https://en.wikipedia.org/wiki/Sports-related_curses
1•thunderbong•3m ago•0 comments

Between Technical Standardizations and Practices of Resistance

https://cadernos.abralin.org/index.php/cadernos/article/view/980
1•ZunarJ5•5m ago•0 comments

Predator Void – A free browser-based stealth survival game

1•desinxstudio•7m ago•0 comments

Kevin O'Leary agrees to downsize Utah data center

https://www.theverge.com/ai-artificial-intelligence/943234/kevin-oleary-agrees-to-downsize-massiv...
2•1vuio0pswjnm7•13m ago•1 comments

Is Git Irreplaceable? (2019)

https://fossil-scm.org/forum/forumpost/b251b6e48e
1•downbad_•16m ago•0 comments

Bots have now passed human traffic online

https://www.tomshardware.com/tech-industry/artificial-intelligence/bots-have-now-passed-human-tra...
1•Willingham•18m ago•0 comments

The Anatomy of a Learning Stall

https://tagide.com/blog/llm/the-anatomy-of-a-learning-stall/
2•chrisparnin•18m ago•0 comments

Thumbnail-sized thrusters could take CubeSats to Mars

https://newatlas.com/space-systems/mit-thruster-ascent-cubesat-propulsion/
1•breve•19m ago•0 comments

The MTP sweet spot moves as context fills: full-context benchmarks on Strix Halo

https://thefrontierlab.ai/full-context-vulkan-only-strix-halo/
1•thefrontierlab•20m ago•0 comments

Meta Keeps Delaying the Release of Its New AI Model to Developers

https://www.wsj.com/tech/ai/meta-keeps-delaying-the-release-of-its-new-ai-model-to-developers-f85...
2•mekpro•20m ago•0 comments

Emulating an 8080 on an ATtiny85

https://hackaday.com/2026/06/06/an-unlikely-host-for-an-8080-emulator/
1•HardwareLust•22m ago•1 comments

The Only Game in Town

https://www.math.columbia.edu/~woit/wordpress/?p=15726
2•jjgreen•26m ago•0 comments

Central Ohio Becomes Hub for Tech and Manufacturing

https://www.nytimes.com/2026/06/05/business/ohio-tech-manufacturing-hub.html
1•RickJWagner•32m ago•0 comments

How Qcow2 Overlays Work in QEMU

https://celesto.ai/blog/posts/smolvm/how-qcow2-overlays-work-in-qemu/
1•theaniketmaurya•33m ago•1 comments

The New Bibliomaniacs

https://engelsbergideas.com/notebook/the-new-bibliomaniacs/
2•RickJWagner•33m ago•0 comments

1 in 6 Hiring Managers Have Been Told to Stop Hiring White Men

https://www.resumebuilder.com/1-in-6-hiring-managers-have-been-told-to-stop-hiring-white-men/
9•bilsbie•33m ago•2 comments

There's still no point in gigabit broadband

https://shkspr.mobi/blog/2026/06/theres-still-no-point-in-gigabit-broadband/
22•Fudgel•36m ago•45 comments

Forest Service says it's closing offices to cut costs. The math doesn't add up

https://www.npr.org/2026/06/06/nx-s1-5831470/forest-service-cuts
3•geox•40m ago•0 comments

Best AI Agent Library

1•Pearlapp•40m ago•0 comments

D-Day: Normandy Landings

https://en.wikipedia.org/wiki/Normandy_landings
1•throw0101a•41m ago•0 comments

I Hacked into the Worst E-Bike and Fixed It

https://www.youtube.com/watch?v=hPrtVGimBYs
2•vixalien•43m ago•0 comments

AI Can't Care

https://www.mooreds.com/wordpress/archives/3737
2•mooreds•50m ago•0 comments

The Ownership Trap

https://velocitycurve.substack.com/p/the-ownership-trap
1•mooreds•50m ago•0 comments

Google will pay SpaceX $920M per month for compute

https://techcrunch.com/2026/06/05/google-will-pay-spacex-920m-per-month-for-compute/
40•ramanan•50m ago•23 comments

Viathem – Cross-media social platform for sharing what you consume

https://viathem.com/
1•hoomanrezvani•50m ago•0 comments

Bumblebees show advanced problem-solving skills in new experiment

https://www.cnn.com/2026/06/04/science/bumble-bees-insight-problem-solving
2•giuliomagnifico•50m ago•0 comments