This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (12)
- # adventofcode (2)
- # beginners (10)
- # boot (340)
- # cljs-dev (1)
- # cljsrn (30)
- # clojure (79)
- # clojure-germany (4)
- # clojure-japan (4)
- # clojure-nl (2)
- # clojure-russia (141)
- # clojurescript (125)
- # core-async (9)
- # datascript (2)
- # datavis (8)
- # datomic (9)
- # editors (5)
- # editors-rus (4)
- # hoplon (69)
- # ldnclj (63)
- # off-topic (1)
- # om (291)
- # parinfer (7)
- # portland-or (3)
- # proton (248)
- # rdf (3)
- # re-frame (14)
- # remote-jobs (4)
I did, lein new test, then cd test, then lein run but it gave me error No :main namespace specified in project.clj.
@zereraz: you probably already figured it out but
lein new test creates a
test "library" project, whereas
lein new app test creates an "application" project which you can
lein run out of the box.
hey all! I wonder if it's possible to access my .clj source file when all I have is a StackTraceElement? Basically I want to post some part of my source code to Sentry and I can't figure out how to proceed... I can get class name, for example, but it looks like
io.pedestal.impl.interceptor$try_f - what's the best way to get to actual file?
@magnars: oh, so much great stuff, I'll surely just depend on that damn, I just reinvented 20% of your library :-)))
What is a good GUI front-end for a text editor? On the JVM you can use swing, but I'd like to have something that doesn't feel so... Java-y to use. Is JavaFx any good? Is it possible to use GTK or something instead? No big requirements, just has to display text in different fonts/colors (and same for the background) as well as take keyboard and maybe mouse input.
does anyone know how to fix the following security error when deploying an uberjar with buddy? java.lang.SecurityException: JCE cannot authenticate the provider BC
yeah, either use something else other than BouncyCastle, or go through all the acrobatics to add a signature
@magnars: I'm trying to port prone middleware to pedestal and I have one problem: pedestal gives you different functions for :enter, :leave and :error, and I'm not quite sure how to best bind
debug/*debug-data* in that case. What I did right now is: http://paste.in.ua/1103/ - but this is not working for me, since
:error is called much later after
When a form is passed through Compojure "params" and a field is empty, is it "nil" or ""
@hkjels: do you want to stream video file or just let people download it? if you want to stream it, you have to work with Accept-Ranges/Content-Ranges headers (set it, read it, read the file to specific offset, etc). the best way would probably to serve it via nginx or some other web-server, that can handle all that for you.
file-response will just stream entire file and browser will unappy with it (vlc and ffplay will play it, but you will not be able to seek)
I'll present a few friends to Clojure tomorrow and I'd like to solve some problems in a Dojo. Does anyone know of a good repository of not so introductory problems tailored to highlight the functional aspects of the language?
@samflores: I saw this earlier today, not really what you're asking for but might be interesting to them. http://mishadoff.com/blog/clojure-design-patterns/
If you haven't seen this talk, I found it really good. Basically the steps he followed to teach Clojure to a bunch of C# developers. https://www.youtube.com/watch?v=BsLiPt90HDo
Might not apply at all, was helpful for me to translate SQL thinking though https://github.com/mythz/clojure-linq-examples
No problem - I'm still trying to convert to a functional mindset so they're pretty close at hand
Does anyone know how to leverage the PostgreSQL string concatenation operator (i.e.,
||) in HoneySQL?
i should probably know this but is there something that's equivalent to
(and (coll? x) (not (map? x))
@the_pk but there’s definitely a steeper learning curve if you’re unfamiliar w/ java. not too bad though
hey guys: would love to get some eyes on a new library for control of concurrent execution