frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

1•ramezanpour•28s ago

Show HN: I'm tracking TikTok music charts across countries over time

https://trendingtiktoksongs.com
1•andersmyrmel•37s ago•0 comments

More than a metaphor: here are testable diagnostics for comprehension debt

https://www.fightforthehuman.com/we-need-more-than-a-metaphor-here-are-testable-diagnostics-for-c...
1•NeutralForest•2m ago•0 comments

Tamagotchi

https://en.wikipedia.org/wiki/Tamagotchi
1•tosh•2m ago•0 comments

I built a tracker and comparison platform for AI video models

https://videoall.ai
1•henryjinhao•3m ago•0 comments

Taboo "equilibrium": Less confused frames for research on AI bargaining

https://www.lesswrong.com/posts/KDq5aXwanvH5YoZYs/taboo-equilibrium-less-confused-frames-for-rese...
1•joozio•4m ago•0 comments

Decimen streams files through fountain-coded QR frames without pairing

https://runtimewire.com/article/decimen-fountain-coded-qr-file-transfer-claude-code
1•ms7892•5m ago•0 comments

Skin-Deep Bias: How Avatar Appearances Shape Perceptions of AI Hiring

https://dl.acm.org/doi/epdf/10.1145/3772318.3790379
1•casabonita•6m ago•1 comments

Lazarus FreePascal IDE: Gtk3 becomes default widgetset on Linux

https://forum.lazarus.freepascal.org/index.php?topic=74332.0
1•mariuz•7m ago•0 comments

Leaflet.js

https://leafletjs.com/
2•Eridanus2•8m ago•1 comments

gsxui (Shadcn for Go) now has a second style maia

https://ui.gsxhq.dev/theme
1•jackielii•12m ago•1 comments

I still think it is a pyramid scheme [video]

https://www.youtube.com/watch?v=zZiw15VgWoI
1•dp-hackernews•15m ago•0 comments

Milankovitch (Orbital) Cycles and Their Role in Earth's Climate

https://science.nasa.gov/science-research/earth-science/milankovitch-orbital-cycles-and-their-rol...
3•thunderbong•19m ago•0 comments

I was able to book ICP targeted leads WITH volume

https://trysumora.com
2•samagragune•19m ago•2 comments

Semantic Memory for Hermes Agent with LanceDB

https://www.lancedb.com/blog/semantic-memory-for-hermes-agent-with-lancedb
1•eigenBasis•19m ago•0 comments

Exploring our collection: the canary resuscitator (2018)

https://blog.scienceandindustrymuseum.org.uk/canary-resuscitator/
1•downbad_•21m ago•0 comments

Serotinous Survival Strategies

https://greenarborists.com/serotinous-survival-strategies/
1•joebig•21m ago•0 comments

AI Is Superhuman Wherever the Scoreboard Is Cheap

https://future.lulzx.space/blog/cheap-scoreboard.html
1•lulzx•23m ago•0 comments

Illicit Iranian gambling network helped pull off a $4B sanctions dodge

https://www.reuters.com/investigations/illicit-iranian-gambling-network-helped-pull-off-4-billion...
1•1659447091•27m ago•0 comments

The Age of the Discontents

https://cvalenzuelab.com/ageofdiscontents
1•jger15•40m ago•0 comments

Show HN: I built an RPG engine where an LLM narrates the GM, not the rules

https://polymyth.quest
1•team_decenter•40m ago•0 comments

Show HN: BlazeRules – YAML rule engine for streaming data, 5M records/SEC

1•jspuri•41m ago•0 comments

AI: Considerations for people who make decisions

https://berthub.eu/articles/posts/ai-for-decision-makers/
2•Fannon•41m ago•0 comments

REO: Revisiting Erase Operation for Improving Lifetime, Performance of NAND SSDs

https://www.mdpi.com/2079-9292/14/4/738
1•rbanffy•44m ago•0 comments

We've got two good theories on sleek. Hope helps you

1•silisleek•48m ago•0 comments

The Grammar of Graphics

https://link.springer.com/book/10.1007/0-387-28695-0
1•Alien1Being•49m ago•0 comments

200 Milliseconds

https://200ms.thenodebook.com
1•dimitarpanov•49m ago•0 comments

How OpenAI Lost Its AI Crown–and the Fight to Win It Back

https://www.wsj.com/tech/ai/how-openai-lost-its-ai-crownand-the-fight-to-win-it-back-7d069695
2•JumpCrisscross•51m ago•1 comments

FTN Clearing Houz

https://clrghouz.bbs.dege.au/about
1•bilegeek•52m ago•0 comments

Migrating Raku DBIish gh actions pipeline to DSCI

https://gemini.google.com/share/1e778423958a
1•melezhik•53m 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.