home.social

#leiningen — Public Fediverse posts

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

fetched live
  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. @yogthos Woohoo! following the Jank install instructions for #Ubuntu seems to work fine for #Debian13trixie !

    github.com/jank-lang/jank/blob

    I've installed lein-jank, but it does not seem able (yet) to start a jank repl.

    Is there a how-to anywhere for porting a #leiningen project from #clojure to jank?

  3. [razzlom@void clojure]$ lein​​ ​​new​​ ​​luminus​​ ​​guestbook​​ ​​--template-version​​ ​​3.91​​ ​​--​​ ​​+h2​​ ​​+http-kit
    bash: lein​​: command not found
    It's not working.
    [razzlom@void clojure]$ lein​​ version
    Leiningen 2.11.2 on Java 11.0.25 OpenJDK 64-Bit Server VM
    It's working!
    [razzlom@void clojure]$ whereis lein
    lein: /usr/bin/lein /usr/share/man/man1/lein.1
    It's exist.
    [razzlom@void clojure]$ /usr/bin/lein​​ ​​new​​ ​​luminus​​ ​​guestbook​​ ​​--template-version​​ ​​3.91​​ ​​--​​ ​​+h2​​ ​​+http-kit
    bash: /usr/bin/lein​​: No such file or directory
    It's not exist.

    Am I stupid or something broken here?

    #Linux #Bash #Leiningen #Clojure

  4. The Leiningen tutorial command was actually really great. It didn't assume prior knowledge and covered all the questions I had. Sending out a cosmic "thank you” to whoever wrote it.

    $ lein help tutorial

  5. Broke: Using #Clojure i/o #Java or #Kotlin because it's functional and that's better!

    Woke: Using Clojure because #Leiningen is just the better build system and #Gradle, #Maven and #Ant suck.

  6. Another weekend, another side project. This week, in pursuit of understanding #HTTP transfers, the #interceptor model and also #Datalevin, I wrote a data pastebin that runs self hosted in #Clojure.

    github.com/somecho/datbin

    #database #clojurist #clj #leiningen

  7. Migrating a big project from lein to deps that uses environ.core and lein environ. Is there a similar library from deps? Since there is no (I couldnt find it) environ for deps I used aero by juxt, but that required a complete overhaul of a lot of env dependend stuff. And using -Dkey=val for 15 or so vars is not something I like.
    How do you handle env variables?

    #clojure #clj #cljs #lein #leiningen #clojurescript #java #deps.edn

  8. Oh the joys of migrating a large Leiningen project to deps.edn. #clojure #leiningen #deps

  9. #Clojure cli-tools have become so good that I’ve drifted away from #Leiningen towards them almost unconsciously. A year after getting the laptop I’m on, I just realized that I don’t have lein installed.

  10. @algernon @s_ol I guess. I've never seen any spam in our channel since it started in 2018. in the #leiningen channel (since 2009) it's happened 2 or 3 times. the #emacs channel had some until they required registered nicks, which is a lot less unfriendly than going invite-only. I wonder if you just got really unlucky.
  11. gitlab.com/demonshreder/column

    clojars.org/column/lein-templa

    Continued work on column, added fully working code for CSRF, moved authentication into a separate module, update deps, added test cases

    #Column is a #leiningen template to quick start your #Pedestal based #Clojure #webapp

    #Lisp #JVM

  12. #column #release - 0.7.2
    gitlab.com/demonshreder/column

    [0.7.2] - 2019-10-17

    Fixed
    - template/project.clj - Added io.pedestal/service-tools missing dependency as column used service-tools.dev/watch to auto-load server while in dev mode

    Changed
    - template/project.clj deps - Updated org.slf4j, cheshire, hugsql, org.postgresql

    column is a #leiningen #starter #template for #clojure #web #apps using #pedestal

  13. #column #Release 0.5.0

    gitlab.com/demonshreder/column

    Added
    - Buddy auth session & authorization interceptors
    - Buddy unauthorized exception's handler sample
    - Buddy 'authenticated?' sample
    - Function to create new user in site.auth

    Changed
    - Annonymized jdbc.edn & removed unnecessary comment

    #column is a #leiningen #template for writing #web #apps running #Pedestal for #clojure

  14. #Release #announce - #column 0.4.0

    gitlab.com/demonshreder/column

    column now exclusively uses #hikari connection pooling. This makes database configurable from the jdbc.edn too.

    column is a #web #app #leiningen #template using #Pedestal for #clojure

  15. #RELEASE - #column v 0.2.0

    gitlab.com/demonshreder/column

    Fixed a lot of namespace errors, added support for encrypted cookie based session

    Finally, the #leiningen template is fully functional & ready to start working.

    column is a template for #Pedestal based web apps written in #clojure

  16. clojars.org/column/lein-templa

    Releasing #column, a #web app #leiningen template based on #pedestal for #clojure.

    It has ragtime, HugSQL, hikari-cp, postgresql & hiccup in it.

    Should serve as a good starting point for people looking into pedestal.

  17. @cod3monk3y
    @arunisaac
    I did try #nightlight. It is quite nice. Everything is available as a tab in the browser via the #leiningen plugin. It supports #clojure, #html, #javascript (AFAIK).

    It is very easy for me to teach new people using this. I can just let everyone connect to it on LAN.

    Thanks for showing this.