Hacker News

Latest

US Administration halted largest Offshore Wind project in the U.S.

2025-12-22 @ 16:05:53Points: 25Comments: 15

The U.S. Is Funding Fewer Grants in Every Area of Science and Medicine

2025-12-22 @ 15:49:22Points: 36Comments: 17

Scaling LLMs to Larger Codebases

2025-12-22 @ 15:38:37Points: 39Comments: 16

The biggest CRT ever made: Sony's PVM-4300

2025-12-22 @ 12:54:29Points: 125Comments: 69

Italian Competition Authority Fines Apple $115M for Abusing Dominant Position

2025-12-22 @ 11:22:14Points: 92Comments: 91

If you don't design your career, someone else will (2014)

2025-12-22 @ 10:27:52Points: 278Comments: 141

A year of vibes

2025-12-22 @ 10:19:57Points: 95Comments: 50

Well being in times of algorithms

2025-12-22 @ 09:58:50Points: 62Comments: 38

The ancient monuments saluting the winter solstice

2025-12-22 @ 09:30:58Points: 123Comments: 67

Cartoon Network channel errors (1995 – 2025)

2025-12-22 @ 09:01:11Points: 72Comments: 18

Show HN: Backlog – a public repository of real work problems

2025-12-22 @ 08:42:31Points: 77Comments: 18

I built World’s Backlog (https://worldsbacklog.com ) to collect real problems directly from people working inside different industries.

Contributors post workflow pain, others validate it, and builders can study severity, frequency, and willingness to pay before building anything.

Would love feedback from builders and people who feel real pain at work.

Inverse Parentheses

2025-12-22 @ 08:29:03Points: 62Comments: 49

Debian's Git Transition

2025-12-22 @ 08:24:32Points: 88Comments: 17

Build Android apps using Rust and Iced

2025-12-22 @ 02:14:32Points: 136Comments: 59

First things, I want to thank all the people who work on the foundational crates and tools such as: - https://github.com/rust-mobile/android-activity - https://github.com/jni-rs/jni-rs - https://github.com/gfx-rs/wgpu - https://github.com/rust-windowing/winit - and many others

When I started I had to learn what tools and examples already exist. Luckily, there's a good set of examples using both NativeActivity and GameActivity: https://github.com/rust-mobile/rust-android-examples

The basic approach is that we take android-activity, winit and wgpu and that's it. On top of that you can find a few egui examples in the rust-android-examples repo.

Alright, so after I've got the basic examples running, I wanted to combine them with iced. Iced is a crossplatform gui library focusing on desktop and web. The mobile support is explicitly a non-goal, as far as I can tell at the moment of writing. Yet, there's an issue where some people posted their experiments. That's how I knew it was possible: https://github.com/iced-rs/iced/issues/302

There's a way to integrate iced in wgpu applications, so called integration example: https://github.com/iced-rs/iced/tree/0.14.0/examples/integra...

Above I mentioned that using winit and wgpu in combination with android-activity is enough to build the app. Putting together 1 + 1 I got 2: let's use iced integration example with android-activity. It was quite easy to compile with almost no errors. First issue I encountered is that there was no text rendered. I solved this by loading fonts the way it was shown here: https://github.com/pop-os/cosmic-text/issues/243#issue-21899...

Then I patched a few widgets to add touch support. And that's it. My role here was to take all the prior work and combine it together in a way that there's a working example.

Some other ways of building Android apps using Rust: - xilem has an explicit goal to support mobile https://github.com/linebender/xilem - egui supports mobile https://github.com/emilk/egui - game engines such as Fyrox and Bevy support mobile: - https://github.com/FyroxEngine/Fyrox - https://github.com/bevyengine/bevy - pretty much anything built on top of winit and wgpu

All of the above is related to building native apps using either NativeActivity or GameActivity. I'm leaving webview out of scope of current post.

What about iOS? As far as I know it should be similar or maybe simpler compared to Android. I haven't built it yet, but the next time I have a sizeable amount of free time, I'll try to make it work. The plan is the same: pick winit, wgpu, iced integration example, mix it together until it works. It'll require the same trick to load fonts, and maybe something else, but no visible blockers as of now.

Once again, thanks to all the people who made it possible and I wish you have a great time building mobile apps with Rust!

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

2025-12-21 @ 21:46:20Points: 243Comments: 101

A guide to local coding models

2025-12-21 @ 20:55:15Points: 536Comments: 296

Show HN: Books mentioned on Hacker News in 2025

2025-12-21 @ 16:21:04Points: 542Comments: 192

CO2 batteries that store grid energy take off globally

2025-12-21 @ 15:27:36Points: 316Comments: 256

How I protect my Forgejo instance from AI web crawlers

2025-12-21 @ 14:46:53Points: 101Comments: 56

Programming languages used for music

2025-12-20 @ 18:40:45Points: 158Comments: 56

Show HN: Netrinos – A keep it simple Mesh VPN for small teams

2025-12-19 @ 21:50:52Points: 52Comments: 21

Netrinos creates a LAN-like overlay network across your devices. Connections are direct P2P via WireGuard, with no central server routing traffic. Each device gets a stable IP and DNS name (pc.you.netrinos.com). When direct connections fail, they fall back to a relay server that's still encrypted end-to-end. We can't see your traffic.

The most challenging problem to solve was NAT traversal. UDP hole punching works most of the time. The rest is a cocktail of symmetric NAT, CGNAT, and serial NATs. We use STUN-style discovery and relay fallback for the edge cases. I was surprised by how unreliable low-end ISP routers really are, and how much technical wizardry it takes to hide that behind a clean, simple UX.

Our stack is a Go backend for client and server, WireGuard kernel mode for Linux and Windows (macOS is userspace), Wails.io for cross-platform UI. WireGuard does all the heavy lifting. Go ties it all together.

Popular use cases include: RDP to home PCs, accessing NAS without exposing it, and SSH into headless Linux boxes. One customer manages hundreds of IoT devices in the field, eliminating the need to deal with customer routers.

We just released Pro with multi-user, access control, and remote gateway routing. Personal is free (up to 100 devices).

I'd love to hear what you expect from a simple mesh VPN, what's missing from current tools, and what's lacking from your remote access setup. Use code HNPRO26 for a 30-day trial of Pro.

https://netrinos.com

Kernighan's Lever

2025-12-19 @ 21:42:55Points: 84Comments: 39

Webb observes exoplanet that may have an exotic helium and carbon atmosphere

2025-12-19 @ 13:16:57Points: 105Comments: 25

Deliberate Internet Shutdowns

2025-12-18 @ 17:49:10Points: 258Comments: 131

There's no such thing as a fake feather [video]

2025-12-18 @ 17:14:44Points: 16Comments: 2

Decompiling the Synergy: Human–LLM Teaming in Reverse Engineering [pdf]

2025-12-17 @ 18:10:23Points: 22Comments: 0

Microsoft will kill obsolete cipher that has wreaked decades of havoc

2025-12-16 @ 13:08:46Points: 63Comments: 37

I'm just having fun

2025-12-16 @ 11:19:29Points: 448Comments: 205

Functional Flocking Quadtree in ClojureScript

2025-12-16 @ 10:26:52Points: 86Comments: 10

Aliasing

2025-12-16 @ 10:13:45Points: 70Comments: 16

Archives

2025

2024

2023

2022