This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
welcome @ikhthiandor
How do I upgrade all the dependencies in a lein project?
Ah, lein-ancient.
I’m trying to get lein to install this jar: http://search.maven.org/#artifactdetails%7Ccom.braintreepayments.gateway%7Cbraintree-java%7C2.45.0%7Cjar Do I need to add the repo somehow?
Ah, version 2.22.0 is gone. Nvm.
Is there a good Clojure/cljs story for making websites (web-apps?) with progressive enhancement?
Oh my, hiccup doesn't escape strings by default. Does it have a mode where it escapes them by default that I can enable?
@pupeno: no. there is a method for escaping them though. escape is planned to be turned on by default in 2.0 (iirc). but it's been a long time coming
@timgluz I like your fork of the Mallet wrapper https://github.com/timgluz/mallet-lda Was thinking about doing a PR and now I don't know where to go. 😉
Oh, nice — I work with mallet regularly, either directly through it's Java API or by running command-line scripts.
jrychter: but now I'm torn between that fork and the original https://github.com/marcliberatore/mallet-lda
@otfrom: well, I hope it will all shake itself down soon. Especially as I'll be using mallet much more in the near future.
@escherize http://www.luminusweb.net/ seems to be a good place to start. I think progressive enhancement is pretty platform agnostic. That pretty much comes down to how the (compiled) html, css and js play on the client side. I copied much of the boilerplate from the guestbook app that they use as a sample, and it seems to give me most of the tools that I’m used to from Rails, but without any magic (whether that’s good or bad is a personal opinion).
Hmm, with Luminus (which I am a fan of) it would appear the only way to do p.e. is to write javascript which is fine, I just want to confirm there isn't something I'm not aware of in this space
What’s the appropriate way to get a full URL when calling redirect in a luminus/compojure app?
@escherize: there is this blog post about rendering react components on the server side, if you want to do some lifting yourself http://augustl.com/blog/2014/jdk8_react_rendering_on_server/
@escherize: I’m not exactly sure what you’re looking for wrt progressive enhancement. I know Luminus has the option to use ClojureScript if that’s what you prefer
@otfrom hi, i once wanted refactor that mallet-lda library and make PR to original resource. But sadly project i needed it for was cancelled. you're welcome to use my fork, but i recommend to use original as it may be newer
timgluz: they are more different at the moment. Some features are in yours, some in Marco's. I'll look at porting stuff over to Marco's as needed. Thx for the clarification! 😄
@otfrom: well, we all saw you standing next to that repo. With both pieces (forks) in your hands, in fact. I guess I could add some more code — but I'm not sure what the focus of the library is. It's called "mallet-lda", but I'm using mallet for LDA and for CRFs.
What is a good beginners (Clojure; not programming) tutorial to get going with Clojure? Things that should be touched: namespaces, Leiningen, directory structure, conventions, etc.
and if the learner is already proficient in programming, I suggest Programming Clojure : https://pragprog.com/book/shcloj2/programming-clojure
@val_waeselynck I’m more looking for something in the scope and length of the classing Rails “make a blog” tutorial. Going through books is a big upfront investment and doesn’t work for everyone. Should have mentioned that in my initial message though :thumbsup:
hmk I'm afraid I don't know a similar Clojure resource. Web development for Clojure is a hands-on tutorial in which you build a website, but... it's a book.
@martinklepsch: I’d suggest checking out the Luminus Guestbook application - http://www.luminusweb.net/docs
It walks you through the creation of a Guestbook application
Explains the reasoning
And in most cases where there is a library decision, gives a few options besides the default
@surreal.analysis: thanks I’ll take a look
Seems you can’t re-define a defmulti
in the REPL. Between this and Clojure spitting out Map$Entry vs. PersistentArrayMap which have incompatible command structures... oy.