This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-27
Channels
- # announcements (10)
- # aws (5)
- # babashka (91)
- # beginners (15)
- # biff (3)
- # calva (5)
- # clerk (24)
- # cljdoc (63)
- # clojure (69)
- # clojure-denver (1)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (50)
- # clojure-uk (2)
- # clojurescript (2)
- # community-development (6)
- # cursive (3)
- # datomic (4)
- # events (2)
- # fulcro (8)
- # gratitude (1)
- # hyperfiddle (19)
- # jobs-discuss (36)
- # nbb (21)
- # pathom (16)
- # portal (6)
- # re-frame (14)
- # reagent (1)
- # reitit (1)
- # releases (3)
- # remote-jobs (2)
- # shadow-cljs (56)
- # sql (15)
Announcing the first release (v0.1.0) of Emmy-Viewers! This library adds powerful, interactive 2D and 3D plotting to the #emmy computer algebra system via #clerk or #portal, all from Clojure, no ClojureScript build required (!!).
The https://emmy-viewers.mentat.org/ has Getting Started instructions — the easiest way to start is with the emmy-viewers/clerk
template https://emmy-viewers.mentat.org/#clerk-project-template.
• Interactive docs: https://emmy-viewers.mentat.org/
• GitHub: https://github.com/mentat-collective/emmy-viewers
• Clojars: https://clojars.org/org.mentat/emmy-viewers
I still can’t quite believe this all works!!! See https://emmy-viewers.mentat.org/dev/examples/manifold/pq_knot, this https://emmy-viewers.mentat.org/dev/examples/mathbox/ode, a https://emmy-viewers.mentat.org/dev/examples/manifold/klein, https://emmy-viewers.mentat.org/dev/examples/simulation/toroid, https://emmy-viewers.mentat.org/dev/examples/mathbox/functions and https://emmy-viewers.mentat.org/dev/examples/manifold/fdg for 3D examples, and the https://emmy-viewers.mentat.org/dev/examples/mafs for interactive 2D examples.
And a quick gif. Amazing that this is all possible from the Clojure REPL, thanks to the incredible libraries I’m sitting on top of:
this is a HUGE documentation task, and each sub-library deserves more documentation beyond the examples I’ve put together so far. That will all come!
Hot on the heels of this release, thanks to a Clerk update, you can try some of this fully in the browser: https://emmy-viewers.mentat.org/dev/examples/mafs/edit all calculus (via the D operator) is available etc, plus a ton more but that’s a fun one to try:
https://github.com/nextjournal/simple-http-server is a tiny thin wrapper around SimpleWebServer
from https://openjdk.org/jeps/408 for JDK 18+ . Compatible with clojure -X
.
add this to readme
clj -Sdeps '{:deps{nextjournal/simple-http-server{:git/url"
btw, had this error:
Execution error (IllegalArgumentException) at sun.net.httpserver.simpleserver.FileServerHandler/<init> (FileServerHandler.java:74).
Path does not exist: /Users/enzzocavallo/src/auto-discovery/public
I think that you can serve .
by default
maybe follow the https://github.com/emikulic/darkhttpd default options@U2J4FRT2T good ideas! Do you want to submit a PR or shall I make the change?