frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

RAG system isn't hallucinating. It never found the answer

https://artifipedia.com/blog/rag-retrieval-not-generation
1•stoicstoic•2m ago•0 comments

Show HN: DTAP – test and text anything protocol

https://github.com/melezhik/doubletap
1•melezhik•8m ago•0 comments

Porting nanochat to a TPU: what carries over from PyTorch, and what breaks

https://github.com/tucan9389/nanochat-jax/discussions/1
1•tucan9389•10m ago•0 comments

The State of Age Verification in 2026

https://aztec-labs.com/blog/age-verification-state-2026
1•rzk•17m ago•0 comments

How to Build 1-Minute OHLC Bars from Non-Uniform Market Snapshot Data

https://medium.com/@DolphinDB_Inc/how-to-build-1-minute-ohlc-bars-from-non-uniform-market-snapsho...
1•yiweileng•17m ago•0 comments

Ask HN: How do you track feedback when you post across multiple places?

4•georgi_94•18m ago•0 comments

Ask HN: What Are You Building with AI?

1•fraXis•23m ago•3 comments

Ask HN: Evidence for JavaScript ecosystem being more vulnerable than Rust's?

1•pascahousut•24m ago•0 comments

Locksmith scams: 'I was shut out with my baby and charged £2,200 to get back in'

https://www.theguardian.com/money/2026/jul/15/the-scary-rise-of-locksmith-scams-i-was-shut-out-wi...
2•YeGoblynQueenne•26m ago•0 comments

The Myth of Sisyphus

https://en.wikipedia.org/wiki/The_Myth_of_Sisyphus
1•chistev•27m ago•1 comments

Show HN: A tool that reviews subreddit promotion rules before you post

https://wheretopost.com/
1•elng•28m ago•1 comments

What Do ASML's Q2 2026 Results Tell Us About the AI Boom?

https://mrkt30.com/what-do-asmls-q2-2026-results-tell-us-about-the-ai-boom/
2•technewssss•29m ago•2 comments

Show HN: OpenSCAD Models for Industrial Grade R/C Lawnmower

https://github.com/zelon88/RC_Mower_Trailer
1•zelon88•32m ago•0 comments

FreeBSD 16 Retires the Last GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
2•brandhout•32m ago•0 comments

Chipotle to open its first restaurant in Mexico this week

https://ktla.com/news/nationworld/chipotle-opens-first-location-in-mexico/
1•mikhael•33m ago•0 comments

What makes an AI coding tool worth paying for?

https://vibecodingagency.com/gpu-cloud/
1•vibeagency•37m ago•1 comments

Grok Faces a Trust Crisis After Developers Flag a Major Privacy Concern

https://www.inc.com/julie-lee/elon-musks-grok-faces-a-trust-crisis-after-developers-flag-a-major-...
2•baranul•38m ago•1 comments

Mozilla Syncstorage-Rs (Self-Hosted Firefox Sync)

https://mozilla-services.github.io/syncstorage-rs/
2•hosteur•38m ago•0 comments

Should a smartwatch track the user's emotions?

2•accofrisk•38m ago•3 comments

Always Go with a Monorepo

https://kore-nordmann.de/blog/always_go_with_a_monorepo.html
1•ingve•38m ago•0 comments

Rebuilding Our Notification Platform for Timely Notifications

https://www.patreon.com/engineering/posts/how-we-scaled-162544709
1•birdculture•42m ago•0 comments

Why Are Japanese Retail Traders Shorting the US Dollar?

https://www.disruptionbanking.com/2026/07/15/why-are-japanese-retail-traders-shorting-the-us-dollar/
4•emsidisii•45m ago•0 comments

Web Design Museum

https://www.webdesignmuseum.org/
1•fortuitous-frog•47m ago•0 comments

Code Was Our Medium for Thought

https://wattenberger.com/thoughts/code-is-a-medium-for-thought/
2•goranmoomin•48m ago•0 comments

Pebble July 2026 Update

https://repebble.com/blog/pebble-mega-update-july-2026
1•smig0•48m ago•0 comments

An Unprecedented Data Center Boom Means New Challenges for Texas

https://www.texastribune.org/2026/06/08/texas-regulation-data-centers-electricity-power-water/
2•turtleyacht•52m ago•0 comments

Semantic Primes (2018)

http://machinamenta.blogspot.com/2018/01/semantic-primes.html
1•txoria•52m ago•0 comments

Show HN: PixFinder – Free offline AI+OCR Image Search

https://pixfinder.app/
1•alexkh•52m ago•0 comments

AI eating software: IBM crash

https://www.bargo.ai/research/ibm-ai-capex-cannibalization
1•Kavon2992•54m ago•0 comments

SpaceXAI's Unpermitted Data Center Power Project Impacts Black Communities

https://gizmodo.com/spacexais-unpermitted-data-center-power-project-impacts-black-communities-ana...
2•baranul•58m ago•0 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.