
2025-08-29 21:43:44
I know that in principle it's possible to compute the sine of an angle from first principles, because I'm pretty sure I could do it at school when I was twelve.
I know that in principle it's possible to compute the sine of an angle from first principles, because some clever bugger did it in 6502 assembly code fifty years ago.
Can I do it now in #Clojure
I've written my first little #Scittle app today, and I'm impressed. To be able to write in-browser code in #Clojure is so much nicer than #Javascript. I have some issues to fix and some enhancement…
I'm trying to write a general purpose Inspector UI object for #Clojure
so you have a function
`(inspect o)`
which, when evaluated, throws up a window showing in a sensible form the value of `o`.
Obviously, though, if `o` is lazy, you don't want the inspector to explore it all.
LazySeq implements an interface IPending, which isn't documented. Are all lazy …
I've been so quiet lately because I've been busy building my 1st full stack app with Clojure(script). It's been a lot of fun and I've learn a ton, not only about clojure but about functional and data oriented programming too.
Expect updates.
#clojure #clojurescript
The lovely thing about Clojure (or any LISP for that matter) is that you start with
step 1: learning its data structures,
then you proceed to
step 2: learning the syntax, which you've already done in step 1
#programming #Clojure
⏱️ Poor man's bitemporal data system in SQLite and Clojure
#database
@… in your #clojure `ubergraph` library, there appear (unless I'm stupid) to be no functions for navigating 'down' a directed graph -- there's `(predecessors g n)` but no corresponding `(children g n)`.
Is this intentional, and is the…
I want to generate pleasing colour palettes autogically in #Clojure; it seems to me that this is best done in the CIELAB colour space. There's no Clojure implementation, but there is a Java one, here:
https://www.gicentre.net/utils
Being rather frustrated with programming Clojure in IntelliJ, (mainly because Cursive and IdeaVim don't like each other) I tried to set up Neovim with the Conjure plugin and it 's an absolute blast to use the REPL with it.
Also I discovered that there is a Lisp on top of Lua called Fennel, which I'm looking forward to play with
#Programming
#Clojure map-interval
Like `map` -- apply function `f` to each element in `col` in turn and return the values returned in sequence, but in a single thread and pausing between each invocation of `f`.
Useful for example in circumstances where you're querying a rate-limited service.