Clojure CLI tools - To jack-in or connect, that is the question

December 31, 2020
clojure-cli logo

To jack-in or connect, that is the question. Whether it is more effective to relying on the editor to auto-inject the required dependencies for every workflow, or assemble your own aliases them include any editor - William "Hacker" Shakespear

A REPL is the central part of Clojure development. For the full workflow, an editor connects to the REPL to evaluate code and show instant results.

The developer can be in control of how the REPL starts, managing libraries and tools used alongside the REPL. Or the editor can automate the process and control how the REPL is started.

Continue reading →

Clojure CLI tools aliases deserve good design too

December 11, 2020
clojure-cli logo

Aliases in Clojure CLI tools are an important way to configure how to work with a Clojure project effectively, so they deserve the same attention and clean design applied to source code, test code and other configuration.

practicalli/clojure-deps-edn provides examples of over 50 aliases crafted to use over multiple projects and providing access to a wide range of Clojure CLI community tools.

One way to kill the excellent experience that Clojure CLI tools bring is to write aliases that conflate concepts and are just a catch all for loosely related configuration. Without applying a little thought and design to aliases it just makes more work later on.

Continue reading →

Clojure community - getting help

July 15, 2020
clojure logo

A guide to getting help from the Clojure community. There are several ways you can get help so you can use which you find more valuable and rewarding. The most active tools include:

  • ask.clojure.org - official forum with the Clojure maintainers, help shape the development of Clojure
  • Clojurian Slack community - very active community chat for immediate / shot term discussions
  • Clojurians Zulip - active community chat with topic-based threading and full history, strong data science community and archive of most slack channels
  • ClojureVerse - community forum for friendly short to long-term discussions
  • New Clojurians: Ask Anything - simple web based threaded discussions

General website such as redit/clojure are useful ways for the Clojure community to reach out to the more general development community.

Continue reading →

Web Scraping with Clojure - Scraping Hacker News

March 13, 2020
clojure logo

Enlive is a Clojure library that can be used for generating dynamic server-side content as well as scraping websites.

Scraping websites is sometimes required when they do not provide an API. Although Hacker News does have an API, will show how to scrape its website using Enlive's selectors.

Continue reading →

Spacemacs - raising issues and pull requests

February 14, 2020
spacemacs logo

Contributing to Spacemacs is very much a community activity and we can all help the maintainers continue to make Spacemacs an excellent experience for everyone.

With a few simple tips, its easy to report issues and create pull requests that are ready to merge into Spacemacs develop.

Continue reading →