frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

3x performance for 1/4 of the price by migrating from AWS to Hetzner

https://digitalsociety.coop/posts/migrating-to-hetzner-cloud/
489•pingoo101010•3h ago•277 comments

Ruby Core Takes Ownership of Rubygems and Bundler

https://www.ruby-lang.org/en/news/2025/10/17/rubygems-repository-transition/
136•sebiw•1h ago•42 comments

Live Stream from the Namib Desert

https://bookofjoe2.blogspot.com/2025/10/live-stream-from-namib-desert.html
48•surprisetalk•1h ago•14 comments

How I bypassed Amazon's Kindle web DRM

https://blog.pixelmelt.dev/kindle-web-drm/
1277•pixelmelt•17h ago•380 comments

Meow.camera

https://meow.camera/
371•southwindcg•10h ago•141 comments

Resizeable Bar Support on the Raspberry Pi

https://www.jeffgeerling.com/blog/2025/resizeable-bar-support-on-raspberry-pi
31•speckx•1w ago•6 comments

Let's Write a Macro in Rust

https://hackeryarn.com/post/rust-macros-1/
26•hackeryarn•6d ago•9 comments

Ring to partner with Flock, a network of cameras used by ICE, feds, and police

https://techcrunch.com/2025/10/16/amazons-ring-to-partner-with-flock-a-network-of-ai-cameras-used...
243•gman83•4h ago•167 comments

Claude Skills

https://www.anthropic.com/news/skills
694•meetpateltech•21h ago•369 comments

Next steps for BPF support in the GNU toolchain

https://lwn.net/Articles/1039827/
77•signa11•10h ago•10 comments

A classified network of SpaceX satellites is emitting a mysterious signal

https://www.npr.org/2025/10/17/nx-s1-5575254/spacex-starshield-starlink-signal
36•8ig8•2h ago•0 comments

Your data model is your destiny

https://notes.mtb.xyz/p/your-data-model-is-your-destiny
314•hunglee2•2d ago•79 comments

Flight Simulator for the Brain Reveals How We Learn and Why Minds Go Off Course

https://now.tufts.edu/2025/10/16/flight-simulator-brain-reveals-how-we-learn-and-why-minds-someti...
30•XzetaU8•7h ago•10 comments

Create a Custom Interactive dashboard using SVG

https://0xmm.in/posts/custom_dash/
60•accessonline•4d ago•15 comments

Cloudflare Sandbox SDK

https://sandbox.cloudflare.com/
227•bentaber•16h ago•74 comments

Show HN: OnlyJPG – Client-Side PNG/HEIC/AVIF/PDF/etc to JPG

https://onlyjpg.com
7•johnnyApplePRNG•2h ago•1 comments

DoorDash and Waymo launch autonomous delivery service in Phoenix

https://about.doordash.com/en-us/news/waymo
271•ChrisArchitect•23h ago•604 comments

Codex Is Live in Zed

https://zed.dev/blog/codex-is-live-in-zed
249•meetpateltech•22h ago•48 comments

Email Bombs Exploit Lax Authentication in Zendesk

https://krebsonsecurity.com/2025/10/email-bombs-exploit-lax-authentication-in-zendesk/
3•todsacerdoti•2h ago•0 comments

Gemini 3.0 spotted in the wild through A/B testing

https://ricklamers.io/posts/gemini-3-spotted-in-the-wild/
383•ricklamers•20h ago•243 comments

Virtual Memory for Real-time RISC-V systems using hPMP

https://arxiv.org/abs/2504.04498
11•fork-bomber•1w ago•1 comments

A 4k-Room Text Adventure Written by One Human in QBasic No AI

https://the-ventureweaver.itch.io/tlote4111
114•ATiredGoat•5d ago•82 comments

Show HN: A large format XY scanning hyperspectral camera

https://www.anfractuosity.com/projects/waverider/
4•anfractuosity•6d ago•0 comments

Elixir 1.19

https://elixir-lang.org/blog/2025/10/16/elixir-v1-19-0-released/
335•theanirudh•1d ago•105 comments

Hyperflask – Full stack Flask and Htmx framework

https://hyperflask.dev/
338•emixam•1d ago•129 comments

A liver transplant from start to finish

https://press.asimov.com/articles/liver
81•mailyk•4d ago•19 comments

Talent

https://www.felixstocker.com/blog/talent
186•BinaryIgor•19h ago•82 comments

Lead Limited Brain and Language Development in Neanderthals and Other Hominids?

https://today.ucsd.edu/story/did-lead-limit-brain-and-language-development-in-neanderthals-and-ot...
88•gmays•14h ago•39 comments

Post office in France rolls out croissant-scented stamp

https://www.ctvnews.ca/world/article/french-post-office-rolls-out-croissant-scented-stamp/
150•ohjeez•1w ago•69 comments

Understanding Spec-Driven-Development: Kiro, Spec-Kit, and Tessl

https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html
90•janpio•16h ago•16 comments
Open in hackernews

Let's Write a Macro in Rust

https://hackeryarn.com/post/rust-macros-1/
26•hackeryarn•6d ago

Comments

Y_Y•1h ago
They should try writing a spellchecker first, I found the article difficult to read because of the high frequency of typos.
CaptainOfCoit•1h ago
The spelling mistakes seems almost intentional. I've noticed that a lot of publications that used to publish obvious AI slop now are doing the same, I'm guessing it throws off some "LLM detectors" or similar.
127•1h ago
Having done some Rust macros, the entire thing is such a huge hidden wart. Even very simple meta-programming in Rust need to be in their separate crate and has to use very complex syntax and invocation.

Also the whole "don't write macros" is such a hilarious statement given that entire Rust ecosystem is built on them.

airstrike•1h ago
I agree Rust macros are cursed in many different ways but

> given that entire Rust ecosystem is built on them.

I don't think the people saying "don't write macros" are the same people building an entire ecosystem on top of them

The iced crate has virtually zero macros by design.

spoiler•1h ago
Eh. I agree there's complexity in them, and that a lot of the ecosystem indirectly use them because of derive macros, but I wouldn't call it a wart, and the "syntax" for writing proc macros isn't that bad if you use the syn/quote crates. I agree that decl macros usually make me sigh and open the docs though
nicoburns•20m ago
> I agree that decl macros usually make me sigh and open the docs though

Declarative macros are very like regex's: both in that at first they seem incredibly dense and arcane but once you work out how to read them they're actually very simple, and in that the syntax is literally similar in that it's a list of tokens that must match sequentially.

pjmlp•1h ago
It is its own can of worms, and maybe it is due to me using the language on and off since 1992, but I find what is possible in C++23, much easier for metaprogramming as the few times I had to understand trying to implement Rust macros.

C++26 reflection will make this much easier, without having to depend in stuff like the syn crate.

I wonder if going with two macro systems, each with its own syntax and approach, was such a good idea.

Communitivity•1h ago
Bjarne Stroustrup said "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off". The same is true of Rust macros. When you need them they're awesome, but you should almost never need them - add a new macro as a very last resort.
the__alchemist•48m ago
I like using or exposing macros when appropriate. They can simplify messy syntax, or prevent repetitions not allowed by the compiler directly. I can't get the syntax for writing them to stick. So, I am happy with letting LLMs handle this.

Sometimes the macros are for large chunks of code that uses a different type in a key place, or sometimes they're for cleaning up verbose function calls that will be made multiple times, so the important parts (e.g. the params) are obvious, instead of being mixed with boilerplate. In general, they're nice for papering over boilerplate. In particular, there's a pattern in embedded that involves a long expression with `try_into().unwrap()` for parsing bytes that I have a macro for. And another for managing RefCell<Mutex<Option>>> locks.

I prompt the LLM with the working, but repetitive or boilerplate-laden code, and it macros it: "Please write a macro that stops the repetition in this code block: ```rust ```. Here's a example of calling it: `do_thing!(a, b, c)`

Works every time!