HAM radio operators receive signals from Voyager 1 on Dwingeloo telescope (❄️ Score: 152+ in 2 days)
Link: https://readhacker.news/s/6jFan
Comments: https://readhacker.news/c/6jFan
Show HN: Mizu.js – Lightweight HTML templating library for any-side rendering (Score: 150+ in 9 hours)
Link: https://readhacker.news/s/6jNVg
Comments: https://readhacker.news/c/6jNVg
Hey HN,
I'd like to share a fun project I've been working on: mizu.js.
It's a js library that add functional attributes support into your html, designed to be a simple and flexible alternative to fully-fledged web frameworks (such as Vue, React, and Angular), while offering more capabilities than other lightweight options (like Alpine.js and htmx).
As it's written using modern ES features and due to its isomorphic nature, it can be run in both browsers and runtimes (Node, Deno, Bun) without any changes.
This makes it ideal for client-side and server-side rendering, as well as static site generation, whichever environment you prefer.
Just include the script in any web page (or backend) to get started.
You can template content, bind attributes, add interactivity, handle HTTP interactions, create custom components, and much more — all out of the box, without any configuration, transpilation steps, or builds.
I hope you'll find mizu.js as exciting and useful as I do and I'd love to get your feedback!
You can learn more about it at https://mizu.sh!
Online playground: https://mizu.sh/playground
Custom builder: https://mizu.sh/build
Code coverage: https://mizu.sh/coverage
GitHub: https://github.com/lowlighter/mizu
## Motivation ##
Nowadays, setting up a complete environment and installing thousands of packages is often required just to create a simple "Hello World" page.
Yet, with the current ECMAScript standard, vanilla JS has never been more powerful.
It offers built-in custom HTML components, proxies for changes tracking, weak references for better memory management, and many new data structures and methods.
So why is web development still insanely complex?
mizu.js aims to avoid adding bloat on top of native features, and instead focus on providing convenience helpers.
It's basically "glue" around all these native features with added sugar, a recipe for a lightweight yet powerful utility.
All evaluated expressions are interpreted as vanilla JavaScript, and you add your instructions directly into your HTML.
So if you know already know about JS/HTML, then you're already 80% know of how to use mizu.js (add an extra 10% if you've used Vue, Alpine.js or htmx in the past as some syntax and concepts are inspired by it), the rest is basically just remembering the directive names.
The learning curve is that small.
Also, you may have heard of https://matcha.mizu.sh, a CSS stylesheet to instantly make your web page stylized.
Well, it's a great companion to mizu.js. With both of them, you can create MVPs for your projects super fast!
Show HN: Postgres as a VectorDB GUI (Score: 150+ in 23 hours)
Link: https://readhacker.news/s/6jLQG
Comments: https://readhacker.news/c/6jLQG
Satellite powered estimation of global solar potential (Score: 150+ in 4 hours)
Link: https://readhacker.news/s/6jPj9
Comments: https://readhacker.news/c/6jPj9
In Defense of Y'All (❄️ Score: 150+ in 2 days)
Link: https://readhacker.news/s/6jGHb
Comments: https://readhacker.news/c/6jGHb
A Replacement for BERT (🔥 Score: 156+ in 3 hours)
Link: https://readhacker.news/s/6jNBv
Comments: https://readhacker.news/c/6jNBv
Firenvim – Turn the browser into a Neovim client (Score: 150+ in 17 hours)
Link: https://readhacker.news/s/6jLRi
Comments: https://readhacker.news/c/6jLRi
Nullboard: Kanban board in a single HTML file (Score: 152+ in 4 hours)
Link: https://readhacker.news/s/6jN6s
Comments: https://readhacker.news/c/6jN6s
Genesis – a generative physics engine for general-purpose robotics (Score: 150+ in 17 hours)
Link: https://readhacker.news/s/6jLEx
Comments: https://readhacker.news/c/6jLEx
An artist who trained rats to trade in foreign-exchange markets (Score: 154+ in 1 day)
Link: https://readhacker.news/s/6jJbs
Comments: https://readhacker.news/c/6jJbs
The RAM Myth (Score: 151+ in 17 hours)
Link: https://readhacker.news/s/6jLnq
Comments: https://readhacker.news/c/6jLnq
Piccolo OS, a Small Multitasking OS for the Raspberry Pi Pico (Score: 151+ in 14 hours)
Link: https://readhacker.news/s/6jLGt
Comments: https://readhacker.news/c/6jLGt
Amazon workers to strike at multiple US warehouses during busy holiday season (Score: 151+ in 8 hours)
Link: https://readhacker.news/s/6jM4h
Comments: https://readhacker.news/c/6jM4h
Apple Watch with Android (❄️ Score: 150+ in 2 days)
Link: https://readhacker.news/s/6jCJY
Comments: https://readhacker.news/c/6jCJY
US could ban TP-Link routers over hacking fears: report (Score: 150+ in 10 hours)
Link: https://readhacker.news/s/6jJHU
Comments: https://readhacker.news/c/6jJHU
Clay – UI Layout Library (Score: 152+ in 11 hours)
Link: https://readhacker.news/s/6jNy5
Comments: https://readhacker.news/c/6jNy5
Kelly Can't Fail (Score: 153+ in 4 hours)
Link: https://readhacker.news/s/6jPFw
Comments: https://readhacker.news/c/6jPFw
How do you do, fellow web developers? A growing disconnect (Score: 151+ in 12 hours)
Link: https://readhacker.news/s/6jMWS
Comments: https://readhacker.news/c/6jMWS
Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches (❄️ Score: 150+ in 3 days)
Link: https://readhacker.news/s/6jDLW
Comments: https://readhacker.news/c/6jDLW
Kowloon Walled City: Heterotopia in a Space of Disappearance (2013) (❄️ Score: 150+ in 4 days)
Link: https://readhacker.news/s/6jAD4
Comments: https://readhacker.news/c/6jAD4
A 10-Year Battery for AirTag (Score: 154+ in 1 day)
Link: https://readhacker.news/s/6jKnZ
Comments: https://readhacker.news/c/6jKnZ
Developing Developers (2015) (❄️ Score: 150+ in 2 days)
Link: https://readhacker.news/s/6jFtC
Comments: https://readhacker.news/c/6jFtC
Markov Keyboard: keyboard layout that changes by Markov frequency (2019) (Score: 151+ in 13 hours)
Link: https://readhacker.news/s/6jM7h
Comments: https://readhacker.news/c/6jM7h
Blackmagic Debuts $30K 3D Camera for Capturing Video for Vision Pro (❄️ Score: 151+ in 2 days)
Link: https://readhacker.news/s/6jFDY
Comments: https://readhacker.news/c/6jFDY
Our brains create mental "chapters" with new event segmentation study (❄️ Score: 150+ in 4 days)
Link: https://readhacker.news/s/6jzkb
Comments: https://readhacker.news/c/6jzkb
Classical sorting algorithms as a model of morphogenesis (2023) (Score: 150+ in 17 hours)
Link: https://readhacker.news/s/6jLtj
Comments: https://readhacker.news/c/6jLtj
Alignment faking in large language models (Score: 159+ in 10 hours)
Link: https://readhacker.news/s/6jMa2
Comments: https://readhacker.news/c/6jMa2
Lou's Pseudo 3D Page (2013) (Score: 150+ in 1 day)
Link: https://readhacker.news/s/6jHMi
Comments: https://readhacker.news/c/6jHMi
CDC confirms first severe human case of bird flu in U.S. (Score: 150+ in 7 hours)
Link: https://readhacker.news/s/6jKPC
Comments: https://readhacker.news/c/6jKPC
Solaar is a Linux manager for many Logitech keyboards, mice, and other devices (🔥 Score: 152+ in 3 hours)
Link: https://readhacker.news/s/6jKKz
Comments: https://readhacker.news/c/6jKKz