frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Decade of Docker Containers

https://cacm.acm.org/research/a-decade-of-docker-containers/
93•zacwest•1h ago•48 comments

The Millisecond That Could Change Cancer Treatment

https://spectrum.ieee.org/flash-radiotherapy
94•marc__1•3h ago•21 comments

Ki Editor - an editor that operates on the AST

https://ki-editor.org/
277•ravenical•8h ago•93 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
51•PaulHoule•3d ago•3 comments

Re-creating the complex cuisine of prehistoric Europeans

https://arstechnica.com/science/2026/03/recreating-the-complex-cuisine-of-prehistoric-europeans/
29•apollinaire•21h ago•0 comments

The yoghurt delivery women combatting loneliness in Japan

https://www.bbc.com/travel/article/20260302-the-yoghurt-delivery-women-combatting-loneliness-in-j...
123•ranit•5h ago•80 comments

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
590•PaulHoule•18h ago•191 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
54•lardissone•4h ago•19 comments

Filesystems Are Having a Moment

https://madalitso.me/notes/why-everyone-is-talking-about-filesystems/
89•malgamves•8h ago•45 comments

SigNoz (YC W21, open source Datadog) Is Hiring across roles

https://signoz.io/careers
1•pranay01•1h ago

PC processors entered the Gigahertz era today in the year 2000 with AMD's Athlon

https://www.tomshardware.com/pc-components/cpus/pc-processors-entered-the-gigahertz-era-today-in-...
114•LorenDB•4h ago•79 comments

Verification debt: the hidden cost of AI-generated code

https://fazy.medium.com/agentic-coding-ais-adolescence-b0d13452f981
31•xfz•1h ago•25 comments

macOS code injection for fun and no profit (2024)

https://mariozechner.at/posts/2024-07-20-macos-code-injection-fun/
3•jstrieb•3d ago•0 comments

Self-Portrait by Ernst Mach (1886)

https://publicdomainreview.org/collection/self-portrait-by-ernst-mach-1886/
54•Hooke•1d ago•9 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
314•soypat•16h ago•195 comments

Bourdieu's theory of taste: a grumbling abrégé

https://dynomight.net/bourdieu/
11•sebg•2d ago•7 comments

this css proves me human

https://will-keleher.com/posts/this-css-makes-me-human/
335•todsacerdoti•20h ago•102 comments

Tinnitus Is Connected to Sleep

https://www.sciencealert.com/tinnitus-is-somehow-connected-to-a-crucial-bodily-function
98•bookofjoe•4h ago•116 comments

48x32, a 1536 LED Game Computer (2023)

https://jacquesmattheij.com/48x32-introduction/
51•duck•2d ago•12 comments

Helix: A post-modern text editor

https://helix-editor.com/
275•doener•18h ago•133 comments

Seurat Most Famous for Paris Park Painting Yet Half His Paintings Were Seascapes

https://www.smithsonianmag.com/smart-news/georges-seurat-is-most-famous-for-his-pointillist-paint...
15•bookofjoe•4d ago•5 comments

Uploading Pirated Books via BitTorrent Qualifies as Fair Use, Meta Argues

https://torrentfreak.com/uploading-pirated-books-via-bittorrent-qualifies-as-fair-use-meta/
290•askl•9h ago•171 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
47•amaury_bouchard•9h ago•15 comments

Working and Communicating with Japanese Engineers

https://www.tokyodev.com/articles/working-and-communicating-with-japanese-engineers
107•zdw•4d ago•56 comments

Galileo's handwritten notes found in ancient astronomy text

https://www.science.org/content/article/galileo-s-handwritten-notes-found-ancient-astronomy-text
195•tzury•2d ago•34 comments

The Banality of Surveillance

https://benn.substack.com/p/the-banality-of-surveillance
25•limbicsystem•1h ago•5 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
376•dnw•17h ago•266 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

884•shannoncc•18h ago•767 comments

Lock Scroll with a Vengeance

https://unsung.aresluna.org/lock-scroll-with-a-vengeance/
48•etothet•3d ago•13 comments

QGIS 4.0

https://changelog.qgis.org/en/version/4.0/
174•jonbaer•9h ago•43 comments
Open in hackernews

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
47•amaury_bouchard•9h ago
I built µJS because I wanted AJAX navigation without the verbosity of HTMX or the overhead of Turbo.

It intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single <script> tag, one call to `mu.init()`. No build step, no dependencies.

Key features: patch mode (update multiple fragments in one request), SSE support, DOM morphing via idiomorph, View Transitions, prefetch on hover, polling, and full HTTP verb support on any element.

At ~5KB gzipped, it's smaller than HTMX (16KB) and Turbo (25KB), and works with any backend: PHP, Python, Go, Ruby, whatever.

Playground: https://mujs.org/playground

Comparison with HTMX and Turbo: https://mujs.org/comparison

About the project creation, why and when: https://mujs.org/about

GitHub: https://github.com/Digicreon/muJS

Happy to discuss the project.

Comments

ohghiZai•4h ago
Would love to see a comparison with Datastar too
amaury_bouchard•2h ago
Thanks for the suggestion! I'm considering adding more libraries to the comparison page (Datastar and Unpoly are on my radar).

That said, µJS and Datastar have quite different philosophies. µJS is a lightweight AJAX navigation library (~5 KB); it intercepts links and forms, swaps fragments, and stays out of your way. There's no client-side state: your server renders HTML, µJS delivers it.

Datastar is more of a reactive hypermedia framework. It brings client-side signals (reactive state in HTML attributes, à la Alpine.js) and uses SSE as its primary transport: the server pushes updates rather than the client fetching them. It's a different mental model: Datastar manages state and reactivity, while µJS is purely about navigation and content replacement.

Both are small, zero-build-step, and attribute-driven, so the comparison is definitely interesting. I'll look into adding it!

recursivedoubts•2h ago
heya amaury, great library!

i have added it to the htmx alternatives page:

https://htmx.org/essays/alternatives/#ujs

tagfowufe•1h ago
Sneaking in real quick to thank you for your contributions and positive attitude you bring to the space.
nattaylor•2h ago
Reminds me a little of htmz

htmz is a minimalist HTML microframework for creating interactive and modular web user interfaces with the familiar simplicity of plain HTML.

oso2k•38m ago
This looks interesting. Thanks for sharing.
majorchord•2h ago
https://sfconservancy.org/GiveUpGitHub/
networked•1h ago
This is bad advice to a new FLOSS project that wants to have users. Avoiding GitHub with its user base (meaning issues and discussions), search, project topics (tags), trending repository lists, etc. will make a fledgling project even less likely to gain adoption.

A better thing to suggest is to use multiple forges, including GitHub, and mirror your projects across them. This way you will have exposure and options; you won't be as tied to any one forge.

majorchord•54m ago
Hard disagree, multiple forges does not solve the problem of being unable to opt-out of AI training from your code.
networked•41m ago
If that is your problem with GitHub, then I agree, you should avoid GitHub, though someone can still mirror your repository there. I assume most new FLOSS projects that want to have users don't consider it a dealbreaker.
ranger_danger•2h ago
Does it automatically parse JSON responses from servers into objects? This is my one big gripe about htmx, even though the devs and other users keep telling me I shouldn't want that as a feature and that it "doesn't make sense".

Sorry if I need to use existing APIs I cannot change.

WesolyKubeczek•1h ago
I came to a conclusion that when you have an SPA with JSON-spitting backend where you cannot make the backend spit out chunks of HTML, htmx and similar libraries/frameworks are not suitable. They are suitable if you already have a multi-page application like we used to in 2006, or if you design it from the ground up.
gaigalas•1h ago
I like the idea. DOM morphing is nice.

I've done this previously with morphdom to AJAXify a purely server-driven backoffice system in a company.

I would love something even smaller. No `mu-` attributes (just rely on `id`, `href`, `rel`, `rev` and standard HTML semantics).

There's a nice `resource` attribute in RDFa which makes a lot of sense for these kinds of things: https://www.w3.org/TR/rdfa-lite/#h-resource

Overall, I think old 2015-era microdata like RDFa and this approach would work very well. Instead of reinventing attributes, using a standard.

oso2k•52m ago
There’s several other (well) known examples of the use of mujs.

There’s Artifex’s interpreter from muPDF. It’s also the basis of several JS related projects: https://mujs.com/

There’s also a lesser known interpreter: https://github.com/ccxvii/mujs

And IIRC, there was a CommonJS library of the same name.

pwdisswordfishy•51m ago
Not to be confused with https://mujs.com/ I guess?