This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (90)
- # alda (1)
- # aws (23)
- # beginners (60)
- # boot (217)
- # cljs-dev (20)
- # cljsjs (23)
- # cljsrn (85)
- # clojars (28)
- # clojure (101)
- # clojure-art (1)
- # clojure-berlin (10)
- # clojure-dev (16)
- # clojure-my (2)
- # clojure-russia (194)
- # clojure-sg (7)
- # clojure-ukraine (1)
- # clojured (1)
- # clojurescript (99)
- # clojurex (1)
- # community-development (6)
- # core-matrix (11)
- # cursive (26)
- # datomic (51)
- # euroclojure (30)
- # hoplon (560)
- # jobs (44)
- # ldnclj (34)
- # mount (23)
- # music (3)
- # off-topic (10)
- # om (145)
- # onyx (3)
- # perun (38)
- # portland-or (2)
- # proton (55)
- # re-frame (64)
- # reagent (26)
- # ring-swagger (3)
- # spacemacs (21)
- # sydney (3)
- # yada (1)
What editor do you guys use for clojure? I'm using spacemacs with the clojure default but its hard to evaluate in the repl, and just does in the bottom buffer.
cursive is a no-go for me because intellij has long-standing bugs with handling non-US/Qwerty keyboard layouts
@shanekilkelly: Really? Do you have a link to an issue? I know there are occasional problems on Linux, but generally non-US keyboards work fine. I used one for ages.
It’s been open for five years with no sign of being fixed, affects dvorak/swedish/german/etc in various ways
until they sort that out, I (and a bunch of other people) can’t even evaluate it for use.
Isn’t it a matter of just rebinding the actions, though? I mean, it’s annoying but it doesn’t seem like a deal breaker. Or are there combinations that just don’t work?
I think there are combos that don’t work anyway. I’ve tried rebinding with not much luck. they’re using the wrong API to listen for keystrokes, so I think some information can be lost
plus, I can’t reasonably rebind the whole set of shortcuts, and test that they work, before even getting to evaluate the usefulness of the tool.
It looks like a JDK bug according to the comments. There might be some hope then since JetBrains are now producing their own JDK in order to fix a lot of these bugs that Oracle refuses to do anything about.
anyway, not really a comment on cursive itself, just pointing out intellij as a platform has some issues
i think some of the fault is on intellij though, I mean, no other java-based app on OSX is affected by the same problem.
Yeah, fingers crossed. I see in the comments, it’s not just a matter of rebinding, since IntelliJ will show incorrect shortcuts in the menus.
nah, in all seriousness, spacemacs is very, very good. especially for someone with vim skills who wants a not-vim editor.
Interesting, I have pl keymap in Linux and didn't really notice any problems with shortcuts in Cursive. I don't know many by heart though, so maybe there' that.
I can’t seem to get the cljs-dev-tools to work. Keep getting
Exception in thread "main" java.io.FileNotFoundException: Could not locate devtools/core__init.class or devtools/core.clj on classpath
Spacemacs has a decent starting set up for Emacs worshipers too but I found I spent all my time in Holy mode and missed my own key bindings so I stole stuff from spacemacs and put it in my emacs config.
@agile_geek: I'm still finding my way to be more effective with slurp and barf in emacs while editing lisp.
@slotkenov: if you look at your exception it says (emphasis that it mentions Java class files and Clojure files mine):
> Exception in thread "main" java.io.FileNotFoundException: Could not locate devtools/core__init.class or devtools/core.clj on classpath
You should remember how that exception looks for the next time you mistakenly write Clojurescript in a
clj file. That happens to me from time to time as well, so I think it's a useful error to remember.
most of my editing skills is based on motion based editing of vim. ( I use evil in emacs )
@nxqd: paredit for me. I found most useful things were learning bindings for forward/backwards burf/slurp
@agile_geek: yeah, I find that one on tutorial of emacs rocks as well. It looks amazing, I think i will learn to use it tonight then 😄
@jaen Thanks for pointing that out. Server runs again. I now get a compile error in my browser:
clojure.lang.ExceptionInfo : No such namespace: devtools.core, could not locate devtools/core.cljs, devtools/core.cljc, or Closure namespace “devtools.core”
Maybe it's a stupid question, but are you sure you added
[binaryage/devtools "0.5.0"] to your dependencies?
Do we have JSON schema implementation in clojure, which passes JSON schema test suite?
former is the most performant and feature full, but uses java interop, later is pure clojure.
JSON schema? I'm not aware of any to be honest, most people use prismatic's schema, but it stands to reason someone would implement it, but I just don't know any lib.
this file seems promising: https://github.com/metosin/ring-swagger/blob/master/src/ring/swagger/json_schema.clj
You probably could write something similar using
clojure.walk and/or schema walker from https://github.com/metosin/schema-tools
@nicola: not sure what you are looking for, but if you want to validate your JSON strings or Clojure data against a JSON Schema with Clojure, there is a tiny wrapper here: https://github.com/metosin/scjsv
@ikitommi: thx, i've seen it, it's just a wrapper around java fge - not so easy to hack
@jaen i need JSON schema as a standard for REST platform, for internal needs we use prismatic one
we've also tried https://github.com/bigmlcom/closchema, but it does not implements refs and some other specs from v4.
@nicola: yeah, I understood that, I just thought that maybe translating JSON schema to and from prismatic schema could solve your problem, since you could then validate the JSON schema with prismatic's library.
Hi , is it possible to add cljs-react-test only to the "test" build and not to dev or min? (dependency only to a build)
@razvanavram: you can have a
:dependencies key under the
test profile, example: https://github.com/ShaneKilkelly/jetcan-server/blob/master/project.clj#L68
In general, you can put any keys that would be valid at the top level into a profile, and it will take effect only for that profile.
Please help make Clojure/west 2016 an awesomee event: https://github.com/clojurewest/clojurewest2016/wiki/Suggested-Topics
@jaredly for Clojure/ClojureScript newcomers I definitely think recommending Atom + parinfer is the way to go