Fork me on GitHub
#boot
<
2015-12-06
>
danielsz03:12:07

The weirdest thing :thinking_face:

danielsz03:12:20

This works in the REPL, but I have not yet found where to put it in my application code: https://www.refheap.com/112387

alandipert03:12:40

@danielsz: what are the data readers in question?

danielsz03:12:05

Where should this snippet be called in the loading sequence of the application? https://www.refheap.com/112387

danielsz03:12:57

Or more importantly, should boot itself not call this?

alandipert04:12:58

@danielsz: which data readers are you using specifically? datomic?

danielsz04:12:00

@alandipert: Specifically, I'm using the custom reader tags I have defined for Joda time.

danielsz04:12:08

@alandipert: I found a good fix for the problem, I think. I'll push it to boot-system.

alandipert04:12:22

cool. i've had the most luck avoiding data readers as much as possible

alandipert04:12:54

you could not use them, right?

danielsz04:12:50

@alandipert: You know, that's exactly what I did too. Avoiding it. But then I felt the urge to have my app participate in the reader functionality. Benefits: round-tripping edn between server and client.

alandipert04:12:35

you can specify the readers at the edn encode/decode place tho right?

alandipert04:12:44

vs. globally

danielsz04:12:35

Not always feasible. For example, clj-http will coerce for you, but doesn't let you specify readers

danielsz04:12:35

I'll push this to boot-system later. That is a nice place to handle this. Even better would be in Boot itself, but probably not possible, right?

alandipert04:12:35

maybe possible, but also maybe not worth it

danielsz04:12:17

OK. Anyway, I've been struggling a lot with getting it right, not sure it was worth it. But I'll entertain the idea that it was for now.

danielsz04:12:02

How's the clojure cup going? Are you in the middle of it?

alandipert04:12:19

it's going pretty well i think

alandipert04:12:44

been very fun so far. are you participating also?

danielsz04:12:17

I wish, but I'm busy with launching my service. Next year, hopefully simple_smile

danielsz04:12:41

I wish you buckets of good luck though

danielsz04:12:02

I'm very curious.

danielsz15:12:16

@alandipert: Oh, man, this is such an interesting story.

danielsz16:12:55

@alandipert: @micha Laughing at a coconut joke will never be the same.

alandipert16:12:31

we realized we should have been The Cocovores for the clojurecup

micha16:12:39

"coconuts are inherently funny"

danielsz16:12:45

@micha: yeah, that sentence leaves a mark, doesn't it?

flyboarder23:12:02

is there a boot task for managing multiple boot instances?