Announcing https://github.com/ingesolvoll/glimt, a simple FSM wrapper around re-frame’s `:http-xhrio` effect with retries and error handling. State of request is tracked through a simple subscription instead of callback/dispatch. Code example:
(def fsm {:id :customer-loader
:http-xhrio {:uri "<http://example.com/customer/123>"
:method :get
:response-format (ajax/json-response-format {:keywords? true})}
:max-retries 5
:path [::customers 123]})
I’m excited to read about Skija, the new JVM bindings to Skia (at the heart of Chrome, Android, Flutter, etc.), written by @tonsky, funded by JetBrains. https://github.com/JetBrains/skija/ Tonsky writes about his desktop for the JVM vision here: https://tonsky.me/blog/skija/. (Which I’ll summarize by saying, “can we have Electron for the JVM, but better?“) JetBrains funded this, which I believe builds upon Skija: https://www.jetbrains.com/lp/compose/ (“Fast reactive desktop UIs for Kotlin, based on Google’s https://developer.android.com/jetpack/compose and brought to you by JetBrains”, forked from Android Compose.)
@genekim https://github.com/JetBrains/skija/blob/master/examples/clojure/src/lwjgl/main.clj
@borkdude I saw that! Very exciting to see!!
Another set of high-quality Clojure liraries for 2D & 3D graphics are available at: https://thi.ng/ by Karsten Schmidt There are over 100 libraries for pretty much everything: from computational geomentry, to 3D rendering, to color management, math, generative art, ray tracing and 3d printing..
Super excited about the potential of this. :) Has anyone got this working with nrepl? I’ve tried a few things but actually get jvm crashes when attempting to make it work.
I really appreciate that the compose-jb project has some screenshots of the examples so that I don’t have to run the code myself 🙂
And one more JetBrains project: Skiko windowing manager — higher level than Sijja, but lower level than Compose for Desktop: https://github.com/JetBrains/skiko/ Scanning this to see how easy it would be to use with Clojure. :)
Exciting! I will await skijacl by @vlaaad ;)
if only they released it a couple of years earlier...