frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Look right: Threat campaign fooling developers in GitHub repos – Programmer Zone

https://quiz.businessexplain.com/look-right-threat-campaign-fooling-developers-in-github-repos/
1•eligrid•43s ago•0 comments

Show HN: Plug Generative UI with One Line of Code (Open Source)

https://github.com/vivek100/AgenticGenUI
1•weebhek•4m ago•0 comments

PicoEMP: low-cost Electromagnetic Fault Injection (EMFI) tool

https://github.com/newaetech/chipshouter-picoemp
1•transpute•7m ago•0 comments

Show HN: TableSprint- Supabase alternative with vibe coding features

https://www.tablesprint.com/
1•abhijkum•9m ago•0 comments

AI won't live on publisher sites

https://werd.io/ai-wont-live-on-publisher-sites/
1•benwerd•11m ago•0 comments

Tell HN: Fraudulent food stamps / EBT app on the App Store (please report it)

3•jsolomon•12m ago•0 comments

Pulsed Electromagnetic Fields Modulate Inflammation, Tissue Regeneration (2019)

https://pmc.ncbi.nlm.nih.gov/articles/PMC8370292/
1•walterbell•13m ago•0 comments

A Simple Way to View Office Files Online

1•Ali-Choulnard•25m ago•0 comments

Few Americans pay for news when they encounter paywalls

https://www.pewresearch.org/short-reads/2025/06/24/few-americans-pay-for-news-when-they-encounter-paywalls/
10•mooreds•27m ago•0 comments

China breaks RSA encryption with a quantum computer

https://www.earth.com/news/china-breaks-rsa-encryption-with-a-quantum-computer-threatening-global-data-security/
2•vednig•30m ago•0 comments

Beijing turns to cautious diplomacy

https://apnews.com/article/china-iran-israel-geopolitics-oil-a66b5fe05670980c544662bb633e6fe3
3•kaycebasques•30m ago•0 comments

Ancient Africa's Climate Was Unexpectedly Rainy, Muddying Story of Early Humans

https://www.discovermagazine.com/the-sciences/ancient-africas-climate-was-unexpectedly-rainy-muddying-the-story-of-early
3•Bluestein•31m ago•0 comments

Rise of Artificial Identity in the Age of Generative A

https://www.forbes.com/councils/forbescoachescouncil/2025/06/24/the-rise-of-artificial-identity-in-the-age-of-generative-ai/
3•Bluestein•34m ago•0 comments

The solar system's greatest mystery may be solved

https://phys.org/news/2025-06-solar-greatest-mystery.html
4•Qem•36m ago•1 comments

Questions about Russia's influence in the Middle East

https://apnews.com/article/russia-iran-israel-middle-east-ukraine-war-a18097f05fb4e137b6a7b54cb4068ab7
5•kaycebasques•37m ago•0 comments

All in One assistant from idea to 1k users

https://buildtheidea.net
2•mattmerrick•38m ago•0 comments

Notes on – Anthropic wins a major fair use victory for AI

https://simonwillison.net/2025/Jun/24/anthropic-training/
3•thunderbong•39m ago•1 comments

How Toni Morrison Changed Publishing

https://www.theatlantic.com/magazine/archive/2025/08/toni-morrison-editor-random-house/683262/
2•petethomas•39m ago•0 comments

Lipinski's Rule of Five

https://en.wikipedia.org/wiki/Lipinski%27s_rule_of_five
3•PaulHoule•54m ago•0 comments

Anthropic Lands Victory in AI Case on Fair Use

https://www.wsj.com/tech/ai/anthropic-lands-partial-victory-in-ai-case-set-to-shape-future-rulings-e3560114
2•samspenc•56m ago•1 comments

Tesla Robotaxi videos show Elon's way behind Waymo

https://www.theregister.com/2025/06/24/tesla_robotaxi_austin/
3•thunderbong•58m ago•0 comments

Show HN: Plant Identifier App

https://serpapi.com/blog/build-plant-identifier-app-with-google-lens-api/
1•terrytys•1h ago•0 comments

Can NATO Keep It Together?

https://foreignpolicy.com/2025/06/20/nato-summit-hague-trump-russia-ukraine-alliance-defense-spending/
1•mooreds•1h ago•0 comments

Relight Your Dynamic Long Videos for Embodied Agents and Film Making

https://github.com/Linketic/TC-Light
1•XYZ_Entropy•1h ago•1 comments

Show HN: MyCashCube – A Free Budgeting App That Respects Your Privacy

https://www.mycashcube.com/
1•AmirNajari•1h ago•0 comments

UK may require Google to provide search choice and change ranking

https://techcrunch.com/2025/06/24/uk-may-require-google-to-give-users-alternative-search-options-and-rank-its-results-more-fairly/
1•redm•1h ago•0 comments

Web Du Bois – data scientist (2022)

https://blog.engora.com/2022/02/web-du-bois-data-scientist.html
1•Vermin2000•1h ago•1 comments

Leaked Fairphone 6 promo video unveils Essentials feature of brand-new slider

https://www.notebookcheck.net/Leaked-Fairphone-6-promo-video-unveils-surprising-feature-of-brand-new-slider.1043689.0.html
2•LorenDB•1h ago•0 comments

Abusing copyright strings to trick software into thinking it's on competitor PC

https://devblogs.microsoft.com/oldnewthing/20250624-00/?p=111299
4•paulmooreparks•1h ago•0 comments

Ask HN: Is anyone using AMD GPUs for their AI workloads?

4•technoabsurdist•1h ago•0 comments
Open in hackernews

Subsecond: A runtime hotpatching engine for Rust hot-reloading

https://docs.rs/subsecond/0.7.0-alpha.1/subsecond/index.html
97•varbhat•8h ago

Comments

mmastrac•6h ago
I'll have to give this a shot for some of the Rust server work I'm doing. progscrape.com uses a lot of tricks to boot quickly specifically because of the edit-compile-run cycle being slow (mostly deferred loading of indexes, etc).

My current day job @ Gel has me working on a Rust socket frontend for some pretty complex code and that could also be pretty interesting.

It seems to require that you choose a good "cutover" point in your codebase, but TBH that's probably not too hard to pick. The HTTP service handler in a webserver, the socket handlers in non-web serving code, etc.

It does appear to have a limitation where it will only allow the main crate to be hotpatched. That's less than ideal, but I suppose the convenience might justify some code structure changes to allow that.

jkelleyrtp•5h ago
Creator here - haven't had a chance to write up a blog post yet! Stay tuned.

The gist of it is that we intercept the Rust linking phase and then drive `rustc` manually. There's some diffing logic that compares assembly between compiles and then a linking phase where we patch symbols against the running process. Works across macOS, Windows, Linux, iOS, Android, and WASM. On my m4 I can get 130ms compile-patch times, quite wicked stuff.

We handle the hard parts that the traditional dylib-reloading doesn't including TLS, statics, constructors, etc.

I've been posting demos of it to our twitter page (yes twitter, sorry...)

- With bevy: https://x.com/dioxuslabs/status/1924762773734511035

- On iOS: https://x.com/dioxuslabs/status/1920184030173278608

- Frontend + backend (axum): https://x.com/dioxuslabs/status/1913353712552251860

- Ratatui (tui apps): https://x.com/dioxuslabs/status/1899539430173786505

Our unfinished release notes are here:

https://github.com/DioxusLabs/dioxus/releases/tag/v0.7.0-alp...

More details to come!

1oooqooq•3h ago
can't access the xitter posts... is the axum part using the whole of dioxus or bare axum + code reloading?
jkelleyrtp•2h ago
There's a custom `axum::serve` equivalent we built that wraps the router construction in a hot-patchable function. When the patches are loaded, we reset the TCP connections.

It's a little specific to how dioxus uses axum today, but we plan to release an axum-only integration in the future.

weinzierl•4h ago
Very nice. For a long time I wondered who would use hotpatching but working with large Java applications made me appreciate the possibility even if it is not 100% reliable (as it is in Java).

From the docs Subsecond looks almost perfect. The only downside I found is that (if I understood correctly) you have to modify the function call in the source code of every function you want to hotpatch.

It is a bit mitigated in that the change does not cost anything in release builds, but it still is a big thing. Do I want sprinkle my code with call for every function I might potentially have to patch in a debugging session?

jkelleyrtp•3h ago
Creator here - you only need one `subsecond::call` to hook into the runtime and it doesn't even need to be in your code - it can be inside a dependency.

Currently Dioxus and Bevy have subsecond integration so they get automatic hot-patching without any end-user setup.

We hope to release some general purpose adapters for axum, ratatui, egui, etc.

weinzierl•3h ago
Very nice! Thanks.
prideout•4h ago
Neat but I would prefer simply using a dylib for the part of my code that I want to be reloadable.
modeless•3h ago
Interesting, but the documentation makes it sound like you have to preemptively wrap all the code you think you might want to change in a special wrapper "call" function. If true that makes this a lot less appealing than existing solutions for other languages that can modify any function without special annotations.
jkelleyrtp•2h ago
You basically need to wrap your program's `tick()` function. Otherwise you might be in the middle of malloc, hot-patch, and your struct's layout and alignment changes, and your program crashes due to undefined behavior.

The goal is that frameworks just bake `subsecond::current` into their `tick()` function and end-users get hot-patching for free.

jesse__•47m ago
How would you preempt the running program during malloc? Isn't there a well-defined reload point? Major red flags going up if your program can just change at any random point..

Also, didn't the article say explicitly that struct layout changes aren't supported??

anderskaseorg•25m ago
There is a well-defined reload point—it’s the `subsecond::call` wrapper around `tick()`. But the hypothetical design that you seem to have in mind where this doesn’t exist would not have a well-defined reload point, so it would need to be able to preempt your program anywhere.

Layout changes are supported for structs that don’t persist across the well-defined reload point.

jesse__•50m ago
Strong agree here. The 'purity' BS of not modifying the running programs address space appears to come at the cost of significant programmer pain-in-the-ass. Having to hand-hold the library to maintain the indirection table is a hard no for me.

Metaprogramming that maintenance burden seems like it should be relatively straight-forward, if you've written a linker already.

written-beyond•49m ago
I really want rust dylibs to be a reality. A plugin system where a library can implement a specific versioned number of a trait and we can dynamically load in that implementation to get changed behaviour. Right now implementing anything like that requires a lot of unsafe which I'm not comfortable with.