home.social

#luminus — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #luminus, aggregated by home.social.

  1. OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

    But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

    The error is in a #leiningen project built on a #luminus template.

    Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

    /Continued

  2. OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

    But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

    The error is in a #leiningen project built on a #luminus template.

    Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

    /Continued

  3. OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

    But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

    The error is in a #leiningen project built on a #luminus template.

    Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

    /Continued

  4. OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

    But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

    The error is in a #leiningen project built on a #luminus template.

    Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

    /Continued

  5. OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

    But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

    The error is in a #leiningen project built on a #luminus template.

    Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

    /Continued

  6. @mykhaylo Start with @yogthos' #Luminus, it does it automatically.

    ```
    (:require [ring.middleware.anti-forgery :refer [wrap-anti-forgery]])

    (defn wrap-csrf [handler]
    (wrap-anti-forgery
    handler
    {:error-response
    (error-page
    {:status 403
    :title "Invalid anti-forgery token"})}))
    ```

    (Yes, obviously, the key library here is ring, but Luminus packages it all up neatly)

    luminusweb.com/

  7. #Clojure web development evolved with @yogthos

    On the new minimal & extensible web development framework #kit that builds on the lessons of #luminus
    youtube.com/watch?v=DFzukK5-rp