🚀 Phel 0.49 "Arity Lane" is out! phel
• Multi-arity fns now emit fixed-arity invokeArityN methods, so build-mode call sites skip variadic dispatch (~1.5-2x faster per call)
• 20 new core fns: clojure.set relational helpers (`select`, project, rename, index), the full atom API (`compare-and-set!`, swap-vals!, reset-vals!), and the pr/`prn`/`pr-str`/`prn-str` family
• New phel\trace namespace in the spirit of clojure.tools.trace: trace, deftrace, dotrace
• And many more improvements #C0B0T61Q340 !
> https://github.com/phel-lang/phel-lang/releases/tag/v0.49.0
https://clojars.org/com.github.avanelsas/barebuild is a small Clojurescript runtime. The core idea: the server is the single source of truth. A thin, framework-free client uses presentational Web Components to represent that state and handles user interaction (data, not html, over the wire). The current version offers: • A read-and-write (GET/POST/DELETE) contract between server and client • A <server-resource> element that handles fetches and server responses • A consumer-registration that registers the thin consumer elements wrapped around specific web components. • Documentation describing the server contract and the consumer wrappers It ships with a fully functioning tasks demo (see attached video), all state is in the server. The thin client has no state, does not use react, re-frame, external frameworks, just 17 different Web Components. A next step will be to try and add updates/PUT to BareBuild. Eventually try and add more Web Components to see if the BareBuild code can support them all without code exceptions. Some disclaimers: • There are other more mature projects that explore server-driven state. BareBuild specifically focuses on sending data (not HTML) over the wire and using presentational web components in the client. • I am building this primarily to learn, and perhaps it will become useful for others in the future. • The BareBuild code has been written by me. • I have used Claude during the brainstorming phase by allowing it to ask me questions about the idea to sharpen my thoughts, as a project manager, helping me define stages and steps, and to help me write some unit tests and a Babashka tasks server babashkathat implements the contract and is used in the demo I'd love to hear feedback!
I've updated the README for Beeld (v1.1.8) to comprehensively document what the library actually does. Previously it only hinted at a fraction of the API. New docs cover: - All 13 protocol methods (scale, write, ->base64, detect-image-format, etc.) - All 30+ beeld.metadata convenience functions (camera, lens, exposure, GPS, XMP) - Metadata writing (IPTC captions/keywords, EXIF descriptions, XMP) - completely undocumented before - Full protocol reference table https://github.com/danielsz/beeld