# Questions & Help

**URL:** https://clojureverse.org/c/questions-help/29.md?page=1

[Latest](https://clojureverse.org/latest.md) · [Categories](https://clojureverse.org/categories.md) · [Tags](https://clojureverse.org/tags.md)

**Page:** 2

---

## [I am looking for an essay critical of OOP on clojuredocs.org](https://clojureverse.org/t/i-am-looking-for-an-essay-critical-of-oop-on-clojuredocs-org/10691)

<div class="topic-metadata">

**Author:** [@lkrubner](https://clojureverse.org/u/lkrubner)\
**Replies:** 12\
**Last updated:** [July 27, 2024, 9:59pm UTC](https://clojureverse.org/t/i-am-looking-for-an-essay-critical-of-oop-on-clojuredocs-org/10691 "2024-07-27T21:59:36Z")

</div>

I once read an essay on https://clojuredocs.org. Now I’d like to find it again, but I cannot find it. The essay made the point, which I think Rich Hickey original made, that object oriented programming introduces a probl…

---

## [Clojure Model as Modelling Language for Embedded Software](https://clojureverse.org/t/clojure-model-as-modelling-language-for-embedded-software/10847)

<div class="topic-metadata">

**Author:** [@habruening](https://clojureverse.org/u/habruening)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 2:49pm UTC](https://clojureverse.org/t/clojure-model-as-modelling-language-for-embedded-software/10847 "2024-07-26T14:49:58Z")

</div>

I think about the idea of using Clojure as a modelling language for safety critical Embedded Software. I could imagine that a small subset of Clojure would fit well for specifying, testing and analysing algorithms. Deve…

---

## [Make a web or webapp in 2024 with Clojure and Clojurescript](https://clojureverse.org/t/make-a-web-or-webapp-in-2024-with-clojure-and-clojurescript/10529)

<div class="topic-metadata">

**Author:** [@maxxcan](https://clojureverse.org/u/maxxcan)\
**Replies:** 14\
**Last updated:** [July 22, 2024, 10:32pm UTC](https://clojureverse.org/t/make-a-web-or-webapp-in-2024-with-clojure-and-clojurescript/10529 "2024-07-22T22:32:41Z")

</div>

Hello everyone and thanks for your time. I have had a lot of time without using Clojure. But, my company is asking me to make a small web or webapp that uses to a sqlite database. I want to make it using Clojure or Cloj…

---

## [Do a significant amount of people still use leiningen with clojure?](https://clojureverse.org/t/do-a-significant-amount-of-people-still-use-leiningen-with-clojure/10833)

<div class="topic-metadata">

**Author:** [@samrose](https://clojureverse.org/u/samrose)\
**Replies:** 8\
**Last updated:** [July 22, 2024, 10:17pm UTC](https://clojureverse.org/t/do-a-significant-amount-of-people-still-use-leiningen-with-clojure/10833 "2024-07-22T22:17:43Z")

</div>

It’s been a few years since I was deep into clj/cljs, and I am wondering if there are a lot of people who still use https://leiningen.org/ ?

---

## [Missing documentation for \`:while\` modifier of \`for\` and \`doseq\`](https://clojureverse.org/t/missing-documentation-for-while-modifier-of-for-and-doseq/10818)

<div class="topic-metadata">

**Author:** [@Jim\_Newton](https://clojureverse.org/u/Jim_Newton)\
**Replies:** 3\
**Last updated:** [July 1, 2024, 1:56pm UTC](https://clojureverse.org/t/missing-documentation-for-while-modifier-of-for-and-doseq/10818 "2024-07-01T13:56:26Z")

</div>

I believe the for and doseq documentation (at least docstrings) fail to explain the semantics of the :while modifier. The existence is documented, but not the behavior. I would like to request that the doctoring be upd…

---

## [How to use FFMpeg's FFProbe without resorting to shell/string calls?](https://clojureverse.org/t/how-to-use-ffmpegs-ffprobe-without-resorting-to-shell-string-calls/10562)

<div class="topic-metadata">

**Author:** [@Webdev\_Tory](https://clojureverse.org/u/Webdev_Tory)\
**Replies:** 8\
**Last updated:** [June 25, 2024, 6:00am UTC](https://clojureverse.org/t/how-to-use-ffmpegs-ffprobe-without-resorting-to-shell-string-calls/10562 "2024-06-25T06:00:20Z")

</div>

I have an ffprobe line of code. I could just work the strings and do a command-line ssh to pull it off, but… strings, reusability, extensibility, maintainability, brittleness… I am new to ffprobe (and ffmpeg in general)…

---

## [Would like a version of \`clojure.test/is\` which aborts the \`deftest\` if fails](https://clojureverse.org/t/would-like-a-version-of-clojure-test-is-which-aborts-the-deftest-if-fails/10795)

<div class="topic-metadata">

**Author:** [@Jim\_Newton](https://clojureverse.org/u/Jim_Newton)\
**Replies:** 2\
**Last updated:** [June 24, 2024, 12:29pm UTC](https://clojureverse.org/t/would-like-a-version-of-clojure-test-is-which-aborts-the-deftest-if-fails/10795 "2024-06-24T12:29:31Z")

</div>

This post raises the subject discussed here on clojurians The issue is that would like to have a version of is which causes the current test to abort, but allows the next test (next test defined by deftest) to continu…

---

## [Please help me pprint code docstrings](https://clojureverse.org/t/please-help-me-pprint-code-docstrings/10786)

<div class="topic-metadata">

**Author:** [@timothypratley](https://clojureverse.org/u/timothypratley)\
**Replies:** 5\
**Last updated:** [June 20, 2024, 8:33pm UTC](https://clojureverse.org/t/please-help-me-pprint-code-docstrings/10786 "2024-06-20T20:33:52Z")

</div>

Hi! I’m printing some code and this is the best I could come up with: (defn pprint-str \[x\] (-\> (pprint/pprint x) (-\>\> (pprint/with-pprint-dispatch pprint/code-dispatch)) (with-out-str) (str/replace …

---

## [Design question... log message callback](https://clojureverse.org/t/design-question-log-message-callback/10748)

<div class="topic-metadata">

**Author:** [@ejstembler](https://clojureverse.org/u/ejstembler)\
**Replies:** 7\
**Last updated:** [May 30, 2024, 3:33pm UTC](https://clojureverse.org/t/design-question-log-message-callback/10748 "2024-05-30T15:33:13Z")

</div>

Over the past several years, I’ve adopted a log message callback strategy in most of my software. My idea is that I don’t want to pollute my library code with logging details or dependencies. So I implement a callback w…

---

## [Can't find right version of google closure in maven](https://clojureverse.org/t/cant-find-right-version-of-google-closure-in-maven/10750)

<div class="topic-metadata">

**Author:** [@alex314159](https://clojureverse.org/u/alex314159)\
**Replies:** 7\
**Last updated:** [May 26, 2024, 3:54pm UTC](https://clojureverse.org/t/cant-find-right-version-of-google-closure-in-maven/10750 "2024-05-26T15:54:55Z")

</div>

Hi, using lein, trying to do a fresh install for a clojurescript project on a new computer. lein deps tries to find: google-closure-library\\0.0-20230227-c7c0a541 but this is not available on maven and I get an error. …

---

## [Cursive repl clj/cljs custom configuration](https://clojureverse.org/t/cursive-repl-clj-cljs-custom-configuration/10723)

<div class="topic-metadata">

**Author:** [@cobrahere](https://clojureverse.org/u/cobrahere)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 6:28am UTC](https://clojureverse.org/t/cursive-repl-clj-cljs-custom-configuration/10723 "2024-05-07T06:28:35Z")

</div>

Hi, Just wondering if we can configure the clj/cljs dropdown in cursive repl in intelliJ to use custom port when cljs is selected? Currently, I have to open a new server repl to connect to my shadow-cljs nrepl to ev…

---

## [Continously calculate and deliver data it with ring](https://clojureverse.org/t/continously-calculate-and-deliver-data-it-with-ring/10711)

<div class="topic-metadata">

**Author:** [@habruening](https://clojureverse.org/u/habruening)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 5:26pm UTC](https://clojureverse.org/t/continously-calculate-and-deliver-data-it-with-ring/10711 "2024-04-30T17:26:18Z")

</div>

I have these few lines of code that creates a lazy list of numbers and sends them out over http with ring. (defn lines (\[\] (lines 1)) (\[n\] (lazy-seq (cons (str n "\\n") (do (Thread/sleep 1000) …

---

## [How to stream Safari-compatible video?](https://clojureverse.org/t/how-to-stream-safari-compatible-video/10643)

<div class="topic-metadata">

**Author:** [@Webdev\_Tory](https://clojureverse.org/u/Webdev_Tory)\
**Replies:** 15\
**Last updated:** [April 18, 2024, 12:15pm UTC](https://clojureverse.org/t/how-to-stream-safari-compatible-video/10643 "2024-04-18T12:15:02Z")

</div>

We have a well-used app that streams certain videos. They are streamed as partial content. The backend for this system is in Clojure, using Reitit with the Ring approach. However, while they work great in Firefox and Chr…

---

## [Roundtrip of XML data](https://clojureverse.org/t/roundtrip-of-xml-data/10666)

<div class="topic-metadata">

**Author:** [@habruening](https://clojureverse.org/u/habruening)\
**Replies:** 4\
**Last updated:** [April 7, 2024, 4:48pm UTC](https://clojureverse.org/t/roundtrip-of-xml-data/10666 "2024-04-07T16:48:04Z")

</div>

I have problems creating XML files with apostrophs in attributes. (let \[input (java.io.ByteArrayInputStream. (.getBytes "\<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?\> \<foo x=\\"x'y\\"\>\</…

---

## [Compile ClojureScript in Clojure into a String](https://clojureverse.org/t/compile-clojurescript-in-clojure-into-a-string/10584)

<div class="topic-metadata">

**Author:** [@habruening](https://clojureverse.org/u/habruening)\
**Replies:** 10\
**Last updated:** [April 5, 2024, 11:49am UTC](https://clojureverse.org/t/compile-clojurescript-in-clojure-into-a-string/10584 "2024-04-05T11:49:46Z")

</div>

I am learning to write simple web applications. I started with Clojure, Ring and Hiccup. I am progressing, so I believe I am not on a wrong path. Now I am at the point where I want to integrate some JavaScript code into…

---

## [Lsp-ui does not trace function definitions or display documentation (Windows)](https://clojureverse.org/t/lsp-ui-does-not-trace-function-definitions-or-display-documentation-windows/10649)

<div class="topic-metadata">

**Author:** [@gchapidze](https://clojureverse.org/u/gchapidze)\
**Replies:** 0\
**Last updated:** [March 31, 2024, 7:04am UTC](https://clojureverse.org/t/lsp-ui-does-not-trace-function-definitions-or-display-documentation-windows/10649 "2024-03-31T07:04:15Z")

</div>

Hi! I installed Leiningen using lein.bat, added it to my user directory at .lein/bin/ folder, then added it to my system variables. Installed Clojure using scoop, and the terminal now has access to the lein and clj comma…

---

## [Trying to translate into logic expression into core.logic](https://clojureverse.org/t/trying-to-translate-into-logic-expression-into-core-logic/10629)

<div class="topic-metadata">

**Author:** [@Henrik\_Larsson](https://clojureverse.org/u/Henrik_Larsson)\
**Replies:** 3\
**Last updated:** [March 30, 2024, 3:06pm UTC](https://clojureverse.org/t/trying-to-translate-into-logic-expression-into-core-logic/10629 "2024-03-30T15:06:12Z")

</div>

I trying my hand at core.logic which has always interested me but it has a steep learning curve. The domain I am mostly interested in is constraint satisfaction problems. For example if I have the following function, how…

---

## [Warning about extending an existing JS type](https://clojureverse.org/t/warning-about-extending-an-existing-js-type/10630)

<div class="topic-metadata">

**Author:** [@rmschindler](https://clojureverse.org/u/rmschindler)\
**Replies:** 2\
**Last updated:** [March 19, 2024, 9:00pm UTC](https://clojureverse.org/t/warning-about-extending-an-existing-js-type/10630 "2024-03-19T21:00:31Z")

</div>

it’s funny that if I haven’t written a question in a while, I feel a certain resistance . I admire those who can ask questions freely; I can fall into being a bit sheepish; it is out of a respect I hold for the Clojure c…

---

## [Default where clauses](https://clojureverse.org/t/default-where-clauses/10628)

<div class="topic-metadata">

**Author:** [@NoahTheDuke](https://clojureverse.org/u/NoahTheDuke)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 11:08pm UTC](https://clojureverse.org/t/default-where-clauses/10628 "2024-03-18T23:08:18Z")

</div>

Rails has the concept of Scopes, helper methods that modify queries on Models. When using honeysql, this is as simple as (where …) or even adding a helper function that adds to the given query. However, Scopes have the …

---

## [Reloading core.async without derailing legacy threads/goroutines running on the legacy threadpool](https://clojureverse.org/t/reloading-core-async-without-derailing-legacy-threads-goroutines-running-on-the-legacy-threadpool/10615)

<div class="topic-metadata">

**Author:** [@joinr](https://clojureverse.org/u/joinr)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 1:26pm UTC](https://clojureverse.org/t/reloading-core-async-without-derailing-legacy-threads-goroutines-running-on-the-legacy-threadpool/10615 "2024-03-08T13:26:00Z")

</div>

Say I have this ns: (ns blah (:require \[clojure.core.async :as async\])) (def log-chan (async/chan (async/sliding-buffer 1000))) (def logger (async/go-loop \[\] (when-let \[msg (async/\<! log-chan)\] (do (p…

---

## [How do you use nREPL?](https://clojureverse.org/t/how-do-you-use-nrepl/10609)

<div class="topic-metadata">

**Author:** [@jackdbd](https://clojureverse.org/u/jackdbd)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 6:31pm UTC](https://clojureverse.org/t/how-do-you-use-nrepl/10609 "2024-03-07T18:31:41Z")

</div>

I realize this might be an overly general question, but I was wondering how people use nREPL. I mean, what are you using it for? I’m basically looking for inspiration, so to speak :slight\_smile: Here is how I am using i…

---

## [Functions instead of macros](https://clojureverse.org/t/functions-instead-of-macros/10590)

<div class="topic-metadata">

**Author:** [@habruening](https://clojureverse.org/u/habruening)\
**Replies:** 5\
**Last updated:** [March 6, 2024, 7:46pm UTC](https://clojureverse.org/t/functions-instead-of-macros/10590 "2024-03-06T19:46:58Z")

</div>

I recently had to use a function for a macro transformation. That worked, and now I wonder, why not everybody writes macros like this. See this example. (defn revf \[expr\] (if (list? expr) (cons (last expr) …

---

## [How to support (gasp!) WAR file deployment](https://clojureverse.org/t/how-to-support-gasp-war-file-deployment/10600)

<div class="topic-metadata">

**Author:** [@bc71](https://clojureverse.org/u/bc71)\
**Replies:** 6\
**Last updated:** [March 6, 2024, 8:29am UTC](https://clojureverse.org/t/how-to-support-gasp-war-file-deployment/10600 "2024-03-06T08:29:22Z")

</div>

Hi All! I have a gig that requires I deploy a Java application to Wildfly. They aren’t hung up about what JVM language I use, and of course I prefer to use Clojure; however, with the deprecation of Immutant I’m not find…

---

## [Should Linux distributions ship Clojure byte compiled (AOT) or not?](https://clojureverse.org/t/should-linux-distributions-ship-clojure-byte-compiled-aot-or-not/10595)

<div class="topic-metadata">

**Author:** [@Futurile](https://clojureverse.org/u/Futurile)\
**Replies:** 30\
**Last updated:** [March 4, 2024, 7:26pm UTC](https://clojureverse.org/t/should-linux-distributions-ship-clojure-byte-compiled-aot-or-not/10595 "2024-03-04T19:26:36Z")

</div>

I’m working on packaging Clojure tools and libraries for a Linux distribution called Guix. We compile Java programs and libraries to byte-code. The Clojure community seems to favour NOT compiling to byte-code. Why does…

---

## [Crazy Traffic](https://clojureverse.org/t/crazy-traffic/10601)

<div class="topic-metadata">

**Author:** [@michael](https://clojureverse.org/u/michael)\
**Replies:** 7\
**Last updated:** [March 3, 2024, 8:53am UTC](https://clojureverse.org/t/crazy-traffic/10601 "2024-03-03T08:53:19Z")

</div>

I made an app with Clojurescript (I don’t think my problem is related to CLJS). It’s a simple feed reader. A Jamstack app and client side only. I’m pretty sure I’m the only user, however, in the last two days I had 680 M…

---

## [Out of step sequence processing](https://clojureverse.org/t/out-of-step-sequence-processing/10587)

<div class="topic-metadata">

**Author:** [@andersmurphy](https://clojureverse.org/u/andersmurphy)\
**Replies:** 4\
**Last updated:** [February 23, 2024, 2:57pm UTC](https://clojureverse.org/t/out-of-step-sequence-processing/10587 "2024-02-23T14:57:48Z")

</div>

So I have function a that takes roughly 10 seconds and a function b that takes roughly 10 seconds. b takes the result of function b so (-\> a b). In total they take roughly 20 seconds to run. These function are called r…

---

## [Optimize the AST from Instaparse](https://clojureverse.org/t/optimize-the-ast-from-instaparse/10594)

<div class="topic-metadata">

**Author:** [@Henrik\_Larsson](https://clojureverse.org/u/Henrik_Larsson)\
**Replies:** 6\
**Last updated:** [February 22, 2024, 10:09pm UTC](https://clojureverse.org/t/optimize-the-ast-from-instaparse/10594 "2024-02-22T22:09:11Z")

</div>

After creating an operator-precedence parser using Instapare I have arrived at an AST that has alot of potential for optimization. Below are 3 examples. Given "((a|b)|(c&d))" AST is produced \[:or\_expr \[:and\_expr \[:…

---

## [Malli union not doing what im hoping](https://clojureverse.org/t/malli-union-not-doing-what-im-hoping/10591)

<div class="topic-metadata">

**Author:** [@Henrik\_Larsson](https://clojureverse.org/u/Henrik_Larsson)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 6:20pm UTC](https://clojureverse.org/t/malli-union-not-doing-what-im-hoping/10591 "2024-02-19T18:20:01Z")

</div>

I have lots of rules for which I would like to generate a schema from. I have found malli union to be a good candidate but im struggling to understand how I can use it to build up a larger map schema from many small, the…

---

## [The Majestic Monolith, how would you perform a release of a new version?](https://clojureverse.org/t/the-majestic-monolith-how-would-you-perform-a-release-of-a-new-version/10557)

<div class="topic-metadata">

**Author:** [@maxweber](https://clojureverse.org/u/maxweber)\
**Replies:** 6\
**Last updated:** [January 31, 2024, 5:39pm UTC](https://clojureverse.org/t/the-majestic-monolith-how-would-you-perform-a-release-of-a-new-version/10557 "2024-01-31T17:39:45Z")

</div>

I would like to move our system in this direction: If you only have one big server, how would you perform a release of a new version? The most straightforward way would be to accept a few seconds of downtime, which w…

---

## [Why did you stop using React?](https://clojureverse.org/t/why-did-you-stop-using-react/10520)

<div class="topic-metadata">

**Author:** [@outrovurt](https://clojureverse.org/u/outrovurt)\
**Replies:** 20\
**Last updated:** [January 29, 2024, 2:40pm UTC](https://clojureverse.org/t/why-did-you-stop-using-react/10520 "2024-01-29T14:40:54Z")

</div>

The question pretty much says it all, and is obviously only directed only to those of you to whom it applies. I’m really curious if you are someone who has previously used React, either directly in JavaScript or via one…

[Previous page](https://clojureverse.org/c/questions-help/29.md)

[Next page](https://clojureverse.org/c/questions-help/29.md?page=2)
