frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pitfalls of Try/Finally in Python

https://pythonkoans.substack.com/p/koan-20-the-unreliable-messenger
1•meander_water•5m ago•0 comments

I'm going back to writing code by hand

https://blog.k10s.dev/im-going-back-to-writing-code-by-hand/
2•dropbox_miner•11m ago•1 comments

Honda Patents a Fake Clutch for Electric Motorcycles

https://electrek.co/2026/05/07/honda-patents-fake-clutch-for-electric-motorcycles-and-it-might-ac...
1•m463•13m ago•1 comments

Freenode IRC Mathematics Seminars (2010)

https://freenode-math.fandom.com/wiki/Seminars
1•susam•14m ago•0 comments

"Cannot be explained" – New ultra stainless steel stuns researchers

https://www.sciencedaily.com/releases/2026/05/260510030950.htm
4•HardwareLust•29m ago•0 comments

Stateless settlement-gated HTTP APIs using UTXO replay protection

https://github.com/ruidasilva/merkleworks-x402-spec
1•ruidasilva•35m ago•0 comments

West Bank settlers forced a Palestinian to dig up the body of his father

https://www.bbc.com/news/articles/cjrpnjpl39po
6•khaledh•40m ago•0 comments

Free/OSS agentic API interrogator

https://github.com/dapooleygmailcom/gaiia-mcp-server
1•dapooley•44m ago•1 comments

Make America AI-Ready

https://beta.dol.gov/ai-ready
2•andsoitis•46m ago•0 comments

Transmission Spectroscopy of the Habitable Zone Exoplanet LHS1140B (2024)

https://arxiv.org/abs/2406.15136
1•johnbarron•47m ago•0 comments

Tubestack: YouTube <> Substack

https://anishlk.com/tubestack/
1•anishlk•47m ago•1 comments

Budi – local-first AI coding cost tracker (Rust, tails local logs, no proxy)

https://getbudi.dev/
1•siropkin•51m ago•0 comments

Japan's New Care Workers: Bodybuilders, Wrestlers and MMA Fighters

https://www.nytimes.com/2026/04/25/world/asia/japan-care-workers-bodybuilders-sumo-mma.html
1•danso•58m ago•1 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
2•cubefox•59m ago•0 comments

Surprising Signs of an Atmosphere Around a Tiny World, Billions of Miles Away

https://www.nytimes.com/2026/05/07/science/plutino-atmosphere-astronomy-pluto.html
1•lxm•1h ago•0 comments

Energy Prices Are Driving Demand for Solar Panels and Heat Pumps

https://www.nytimes.com/2026/05/08/business/europe-solar-panels-iran-war.html
5•lxm•1h ago•0 comments

Catch breaking API changes before merge

https://ImpactGuard.dev
1•dclavijo•1h ago•0 comments

Challenging the Way We Pedal

https://hackaday.com/2026/05/09/challenging-the-way-we-pedal/
2•lxm•1h ago•0 comments

Mariculture Systems to begin the construction of Portugal aquaculture facility

https://www.seafoodsource.com/news/aquaculture/mariculture-systems-approved-to-begin-the-construc...
3•mooreds•1h ago•0 comments

How we know if our agent is right

https://www.mendral.com/blog/how-we-know-if-our-agent-is-right
2•shad42•1h ago•0 comments

A Preview of the Future

https://unsung.aresluna.org/a-preview-of-the-future/
2•zdw•1h ago•0 comments

Make America AI Ready: Strengths, Weaknesses, and Recommendations

https://blog.citp.princeton.edu/2026/05/05/make-america-ai-ready-strengths-weaknesses-and-recomme...
15•Kye•1h ago•10 comments

Bonsai of the Imperial Palace [video]

https://www.youtube.com/watch?v=HXoECYXr_Bk
1•tkgally•1h ago•0 comments

Diversity as the Bottleneck in Self-Play

https://ivison.id.au/2026/05/06/self-play.html
2•jxmorris12•1h ago•0 comments

Learning on the Shop floor

https://twitter.com/tobi/status/2053121182044451016
4•jmacd•1h ago•0 comments

New map shows where electric truck charging is scaling

https://electrek.co/2026/05/08/new-map-electric-truck-charging-is-scaling/
3•Bender•1h ago•0 comments

¡Hola, soy DORA. Why hasn't AI improved my metrics?

https://www.vaines.org/posts/2026-05-09-why-hasnt-ai-improved-my-metrics/
1•gpi•1h ago•0 comments

UK wants fresh fingerprints on £300M biometrics platform

https://www.theregister.com/public-sector/2026/05/09/uk-wants-fresh-fingerprints-on-300m-biometri...
1•Bender•1h ago•0 comments

The new Wild West of AI kids' toys

https://www.wired.com/story/the-new-wild-west-of-ai-kids-toys/
1•Bender•1h ago•0 comments

AI Productivity Fails

https://blog.sshh.io/p/how-ai-productivity-fails
14•sshh12•1h ago•1 comments
Open in hackernews

CheerpJ 4.0: WebAssembly JVM for the browser, now with Java 11 and JNI support

https://labs.leaningtech.com/blog/cheerpj-4.0
9•apignotti•1y ago

Comments

palata•1y ago
That's technically pretty cool, but it makes me wonder:

In order to run a Java Desktop app, I need to install a JVM first (or the Desktop app can embed it, I guess that's what IntelliJ does, right?).

Now if I run CheerpJ, it means that I essentially download a JVM when I load the page (every time), and run code in that JVM. But at this point, why not downloading a Desktop app?

It feels like we are going around, shipping simple web pages together with full browsers and calling that "desktop apps" (e.g. ElectronJS), then shipping complete JVMs as web pages and calling that a "web page"... why don't we just ship simple webpages through browsers and complex desktop apps through package managers?

apignotti•1y ago
With CheerpJ you are downloading the subset of the JVM that you need, and actually only once thanks to the standard browser cache.

There are many reasons why shipping via the browser is a better choice compared to shipping desktop apps. The main 3 in my opinion are:

1. Distribution: Give your user a link and the app will start 2. Isolation: The user can have confidence the app won't read his personal files. 3. Cross-platform: Every OS and every device, for real this time

yuri91•1y ago
For reference, when loading https://browsercraft.cheerpj.com for the first time (up to loading a world), my browser downloaded ~32MB.

The second time almost nothing.

jeffreportmill1•1y ago
And here's an entire Java IDE with CheerpJ that downloads less than 15mb:

https://reportmill.com/SnapCode

palata•1y ago
> With CheerpJ you are downloading the subset of the JVM that you need

That's interesting! May I ask how it works? Does that also happen with e.g. IntelliJ?

> Every OS and every device, for real this time

Doesn't the JVM run everywhere in 2025?

apignotti•1y ago
> That's interesting! May I ask how it works? Does that also happen with e.g. IntelliJ?

Byte ranges request do most of the heavy lifting, data is loading exclusively on-demand.

> Doesn't the JVM run everywhere in 2025?

What about iOS? Android has Java, but can't run desktop Java apps. Chromebooks also have limits.

palata•1y ago
> Byte ranges request do most of the heavy lifting, data is loading exclusively on-demand.

I don't understand what that means. The JVM is supposed to interpret and sometimes compile bytecode, right? How can it be done with only a fraction of the JVM?

Or are you saying that it is constantly communicating with a server that does the work?

apignotti•1y ago
The VM itself is very small, it's the OpenJDK runtime that is quite sizeable. Byte ranges are used to only download the parts of the runtime (in terms of bytecode) that are required.

There is no server-side computation. CheerpJ runs code exclusively client-side.

palata•1y ago
But you said before that you only download a subset of the JVM, right? Or did you mean a subset of the JDK, including the JVM and... I guess other stuff?
apignotti•1y ago
I meant the JVM in an extended sense: the combination of the bytecode parsing, JIT compiler and OpenJDK runtime. You are right, I should have been more precise and refer to only the runtime part, which is by far the most significant.
palata•1y ago
I was not trying to prove you wrong, I'm just genuinely interested :-). I don't see a lot of articles about the JVM these days.