This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-23
Channels
- # admin-announcements (24)
- # alda (1)
- # aws (10)
- # beginners (15)
- # boot (51)
- # cider (37)
- # clojure (198)
- # clojure-berlin (3)
- # clojure-czech (48)
- # clojure-poland (1)
- # clojure-russia (7)
- # clojure-seattle (1)
- # clojurescript (347)
- # editors (64)
- # emacs (46)
- # hoplon (13)
- # immutant (24)
- # jobs (17)
- # ldnclj (20)
- # ldnproclodo (3)
- # off-topic (8)
- # om (37)
- # onyx (19)
- # re-frame (18)
- # reagent (54)
- # remote-jobs (2)
- # testing (9)
- # yada (1)
- # yleinen (4)
@michal: I haven't seen that specific error before, but that can be caused when there is a class on the classpath that is a duplicate of one in the proper jar
@tcrawley: yup, that was the case. ring-middleware-format is pulling ring/ring-jetty-adapter dependency which in turn pulls javax.servlet/servlet-api. simple exclusion made made it working again. thanks!
hi all - anyway to get run-dmc to not open a browser window?
@colin.yates: I just replied on twitter. with-redefs
is probably your best bet right now
Thanks @tcrawley - issue raised: https://issues.jboss.org/browse/IMMUTANT-582
for web sockets, the doc states msg is either a String or byte[] - if I am using transit-cljs then it seems to come through as a String - this seems inefficient. Is there a way to hook into the byte-array before it is converted to a String?
that would make me think that client-side is sending a TextMessage instead of a BytesMessage, so it would already be a String by the time we get it. Seems like you would have to change that on the client side
ah OK - I am using goog…WebSocket so will look there
no idea - I assumed it did, but you know what they say about assumptions
yeah, so http://closure-library.googlecode.com/git-history/docs/class_goog_net_WebSocket.html states .send takes in a String.
basically, you'll only get a byte[] if the incoming message is a BytesMessage (in case I wasn't clear enough)
you were - thanks.
I fully expect any performance gains are all noise anyway for this, and probably most web applications. Thought I would ask simply so I don’t need to decide on a String encoding when I call .getBytes when I turn it back into a byte array for the transit reader.
I am a bad, bad developer today