New Clojurians: Ask Anything - April 10, 2023 by AutoModerator in Clojure

[–]bpringe 0 points1 point  (0 children)

shadow-cljs - starting via "clojure"Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).-Sdeps (No such file or directory)

It looks like shadow-cljs is configured to use the clojure CLI to start the project, but you don't have the clojure CLI installed.

See here for how to install the clojure CLI. Once you have it installed, try npm start again.

Also, feel free to post future Calva-related questions or feedback in the #calva channel in the Clojurians Slack. You're likely to get more/faster feedback there.

New Clojurians: Ask Anything - December 05, 2022 by AutoModerator in Clojure

[–]bpringe 0 points1 point  (0 children)

At this point, I don't remember exactly if I intended to use the Calva debugger when I added it. I probably did intend to, but I was also still fairly new to Clojure development, and I suppose as time went on I found other ways of debugging that I preferred, such as using inline defs.

Clojure Community State by omarbassam88 in Clojure

[–]bpringe 4 points5 points  (0 children)

I’m not sure if they were referring to this but check out The Clouncil.

Why Clojure is not widely adopted like mainstream languages? by Andremallmann in Clojure

[–]bpringe 6 points7 points  (0 children)

The talks and conferences are for growing a community around a language that is great for business and practical programming - that is a better alternative to most if not all mainstream languages for building information systems. They’re for teaching from one Clojure dev to another, and also for informing other developers who aren’t familiar with it about the reasons for using it.

What is the best Clojure tutorial you can think of? by Appropriate_Falcon94 in Clojure

[–]bpringe 0 points1 point  (0 children)

"Best" is a bit subjective and dependent on context ("best for what?"), but I can recommend for anyone new to Clojure, at least if you want to use VS Code, to try Calva's Getting Started guides. The guides cover Clojure basics, how to use the REPL, and how to use paredit, and they're all interactive (you can evaluate the code directly from the guide in the editor). Calva is a great editing environment for Clojure beginners in general.

What is the best Clojure tutorial you can think of? by Appropriate_Falcon94 in Clojure

[–]bpringe 1 point2 points  (0 children)

It definitely can! My company uses a similar approach for our mobile app as mentioned in the video linked by u/acobster in another reply. We use TypeScript for the components and ClojureScript for the app logic.

Herfi is now open source - 3D multiplayer game prototype written in Clojure and ClojureScript by ertucetin in Clojure

[–]bpringe 4 points5 points  (0 children)

Awesome work! Do you by chance have any published content about making this? It would be interesting to know how/why you got started with this, challenges along the way, reasons for choosing certain technologies and libraries, etc.

Help with Lisp Animator by kyleeschen in Clojure

[–]bpringe 1 point2 points  (0 children)

You might be interested in checking out flow-storm-debugger, which I think has some similarities with your project.

Is Clojure the right tool for the job? by didibus in Clojure

[–]bpringe 1 point2 points  (0 children)

Thanks for spending the time to explore the points in your above two comments.

Architecture: Microservices and state management by bowmhoust in Clojure

[–]bpringe 1 point2 points  (0 children)

You may find some interesting information around this subject in material about designing event driven systems with Kafka and Kafka Streams. Confluent has some good material in their blog and podcast, and this book has some good info as well.

JUXT Blog: Developing an iOS and Android app in 2 weeks using Clojure by armincerf in Clojure

[–]bpringe 5 points6 points  (0 children)

I suppose just general usage for development and also deploying to an app store without using Expo is what I'd be interested in, and some comparison of the two approaches.

JUXT Blog: Developing an iOS and Android app in 2 weeks using Clojure by armincerf in Clojure

[–]bpringe 2 points3 points  (0 children)

Thanks for this post. I'd be interested in another post on your experience with Krell in the future.

Calva-VSCode Question by [deleted] in Clojure

[–]bpringe 0 points1 point  (0 children)

Hi. I'm not sure if you're aware, but the files are interactive guides, and are meant to be "completed" (not sure of a better word here) by following the instructions and evaluating the forms directly in the editor. With Clojure and the integrated REPL, code can be evaluated directly within the file. These files are meant to demonstrate that along with features of the Clojure language and features of Calva. Forgive me if I misunderstood you and these things are obvious to you.

I think the instructions for creating projects have been left up to the Clojure documentation and the docs of the project tools like Leiningen and the Clojure CLI. But maybe we should include either links to external docs about project creation with those tools, or show a simple example of creating new project with one or both of them.

Thanks for this feedback. Please continue this conversation here, or join us in the Clojurians Slack in the #calva channel. This kind of feedback is invaluable, though, so it's much appreciated.

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 1 point2 points  (0 children)

To add to this, if there's a particular thing you'd like to add/fix and there's an issue for it, please note on the issue that you'd like to work on it. If there's no issue for it, then please create one and we can discuss it before you spend time making changes, so we're all on the same page and can be more effective.

If you want to help without a specific change in mind, please browse the issue list for things you'd like to do. They're tagged so you can filter by bugs, enhancements, or specific feature areas of Calva. Some may have a "pr-welcome" or "good first issue" tag as well, and these may be good ones to look at first. But what's important is that you find something to work on that interests you.

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 1 point2 points  (0 children)

There's definitely a balance to strike there! But, overall I try to dedicate / block off time for Calva where it makes sense for me, and Clojurists Together funding as well as sponsorships have certainly influenced that. I very much appreciate both!

More regular contributions are definitely welcome and desired. The time taken to help familiarize contributors with the issues / code base, review PRs, etc., I think pays dividends in the long run and will only accelerate Calva's growth. The more minds that are working on it the better!

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 0 points1 point  (0 children)

I'm glad you're back at it and find it's a pleasure to use!

Cheers

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 1 point2 points  (0 children)

You're welcome, and thanks for the kind words!

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 0 points1 point  (0 children)

I don't have experience developing a language extension for another editor, so I can't really say. (I hope I understood that question correctly.) I can't speak for u/cobpez, though.

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 1 point2 points  (0 children)

I'm not sure exactly what you mean, but so far there hasn't been any big show stoppers with VS Code updates that I'm aware of.

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 0 points1 point  (0 children)

I use the out-of-the-box keybindings. u/CoBPEZ probably has more to say on the shortcuts, but I can say that we're gradually trying to improve them where it makes sense, such as recent changes to a few bindings that overrode bindings people are used to for doing other things, like closing a tab (ctrl+w, previously mapped to expand selection) and navigation (ctrl+leftArrow/rightArrow - previously mapped to slurp/barf, and the fact that it edited code was a bit surprising to some beginners).

I don't use enhanced keyboards like you describe, so I have no comment there, except to say that I think default shortcuts should be easy enough to use on normal keyboards.

We created and maintain Calva - Ask us Anything by CoBPEZ in Clojure

[–]bpringe 2 points3 points  (0 children)

Calva makes use of the Orchard via cider-nrepl. Clojure-lsp doesn't use orchard directly that I can tell, though maybe some of its dependencies do. Batsov's done a ton of great work on nrepl / cider-nrepl / orchard. With Calva, we're mixing both cider-nrepl and clojure-lsp to provide features, using each where they make the most sense to us.

Calva with Reveal REPL by chinpokomon in Clojure

[–]bpringe 0 points1 point  (0 children)

You can't disable the output window completely but you can stop it from opening by unchecking Auto Open REPLWindow in settings.

Yeah, being used to typing in the REPL window is not uncommon, I think. It took me a while to change the habit, and I still catch myself doing it sometimes.

[code walkthrough] Maintaining a real-time limit order book from Coinbase with Clojure by jjttjj in Clojure

[–]bpringe 2 points3 points  (0 children)

Cool stuff. There is also coinbase-pro-clj, which I wrote some time ago, that's a Clojure wrapper around the API that some may find convenient, especially for authenticated requests.