Fork me on GitHub
#clojure
<
2015-11-06
>
pesterhazy09:11:54

Is maven central throwing errors for everyone?

borkdude12:11:20

What is the equivalent of Akka actors, etc. in the Clojure world?

dm312:11:33

https://github.com/puniverse/pulsar is probably the closest one, but still a wrapper over Java. Nothing native to Clojure that I know of

mrjaba14:11:08

Possibly off topic- but does anyone know why or how to speed up Emacs + Cider when outputting a large(ish) amount of text?

mrjaba14:11:34

laptop keeps hanging when outputting only a few hundred rows of a csv

mrjaba14:11:38

converted to a map

twillis14:11:20

do you have line numbers enabled?

pesterhazy14:11:55

I have similar problems, cider being slow pretty-printing repl output

twillis14:11:22

I know that this setting helps globally but doesn't specifically address cider

(setq jit-lock-defer-time 0.05)

pesterhazy14:11:48

@mrjaba: what I do is to run the repl in a terminal (outside of CIDER's reach) and then cider-connect

mrjaba14:11:57

I dont have line numbers enabled in the cider repl

mrjaba14:11:31

@pesterhazy: does that help at all?

mrjaba14:11:58

@twillis: what does the jit-lock setting do?

twillis14:11:10

jit-lock-defer-time is a variable defined in `jit-lock.el'.
Its value is 0.05
Original value was nil

Documentation:
Idle time after which deferred fontification should take place.
If nil, fontification is not deferred.

You can customize this variable.

pesterhazy14:11:13

yes it helps for those cases

mrjaba14:11:40

cool, I'll give those a try

twillis14:11:43

IIUC it defers some of the re-drawing aspects

pesterhazy14:11:01

@mrjaba: let us know if you find the problem

mrjaba14:11:21

Will do, thanks simple_smile

joelkuiper14:11:37

@mrjaba: also check #C099W16KZ if you haven’t already!

lvh14:11:15

I’m trying to use lein ancient to upgrade dependencies, and it doesn’t seem to catch plugins in a profile when I try to upgrade :all — just dependencies. lein ancient :plugins shows the outdated plugins. lein ancient upgrade :plugins also just shows them and doesn’t upgrade anything. lein ancient upgrade :plugins :interactive and lein ancient upgrade :interactive :plugins both claim there’s nothing to upgrade.

lvh14:11:20

oh; wait — because that first one just silently upgraded them 😄 sorry

lvh14:11:19

lein ancient upgrade :interactive :all was what I wanted (interactively upgrade everything)

mrjaba15:11:25

@joelkuiper: ah cool, that's probably where I should have posted thanks simple_smile

kittenll15:11:12

give me a php channel

nha17:11:58

Is there a clojure walk function that does so recursively (but still gives the keys as parameters to the function) ?

jarredlhumphrey17:11:55

is there any way to force clojure.test suite to fail when uncaught exception is thrown? I’m seeing cases where it says all tests are passing even tho uncaught exceptions are thrown during the test cases

codonnell17:11:10

nha: there are a few options in clojure.walk. The demo functions are very helpful for seeing what's going on.

cfleming18:11:18

@bronsa: I had a question related to error reporting - AFAIK there’s no way to get the source coordinates of the end of a form (i.e. a list) with the standard reader. Is that possible with tools.reader?

cfleming18:11:11

This would be so that I could give a good source position when a form is incomplete and the parser is expecting more input.

bronsa18:11:07

@cfleming: yeah, tools.reader's indexing reader attaches that info in the form metadata

bronsa18:11:16

under the :end-line/:end-column keys

cfleming18:11:55

@bronsa: Nice. Have you ever tried monkey-patching read with tools.reader to use that for standard Clojure code?

cfleming18:11:05

Is it drop in compatible?

bronsa18:11:40

dunno, never tried or thought about it simple_smile

bronsa18:11:56

it should be

stuartsierra18:11:29

@jarredlhumphrey: clojure.test always catches and reports exceptions on the main test thread. An exception could be uncaught if it happened on another thread. There isn't really a good way for clojure.test to detect this directly, unless you can control thread-creation in the code you're testing. Setting a global uncaught exception handler will at least allow you to make those exceptions visible in logs.

cfleming18:11:43

@bronsa: Ok, I might try that and will report back.

jarredlhumphrey19:11:59

@stuartsierra: ohh ok gotcha. thanks for your help!

rangtongshentong19:11:18

hi all, is this a good place to ask something about leiningen?

akiva19:11:58

There’s a #C0AB48493 channel.

rangtongshentong19:11:14

thanks, let me try there

akiva19:11:30

But there aren't hard and fast rules

rangtongshentong19:11:53

ok let me try here simple_smile

rangtongshentong19:11:11

basically failing to lein run due to i think having too many dependencies

rangtongshentong19:11:27

CreateProcess error=206, The filename or extension is too long

rangtongshentong19:11:51

lein command has become too long for windows cmd

thheller19:11:29

how long is lein classpath?

akiva19:11:21

Ah, Windows. I’d have no rational advice.

rangtongshentong19:11:40

yes ridiculously long, well over 1000 chars

thheller19:11:33

hmm hehe mine is 10714 chars long

thheller19:11:40

so 1000 isn't really long

rangtongshentong19:11:38

its actually 33k 💩

mnespor19:11:47

Can cygwin handle longer paths than Windows alone?

thheller19:11:49

hehe that is long simple_smile

thheller19:11:15

what does lein deps :tree look like? if it complains about a bunch of conflicts you should probably try to resolve those

rangtongshentong19:11:07

ah lein deps :tree is suggesting some exclusions

rangtongshentong19:11:26

that could work...

thheller19:11:38

google says window limit is 8191 characters

thheller19:11:51

that doesn't sound like fun

triss23:11:12

so i've got an xslt file... and I'd like to apply it to some xml...

triss23:11:30

what's the simplest means in your opinions?