Fork me on GitHub
#unrepl
<
2017-06-01
>
cgrand14:06:04

@plexus any takeaway from your talk (eg something similar in another lang etc.)?

plexus14:06:01

@cgrand not really, people were interested though, several clojure peeps in the audience. There should be video at some point

plexus14:06:26

Also made some improvements to the emacs client, will push them somewhere soon :)

cgrand14:06:50

ellision support?

plexus14:06:18

no, not that 🙂 but support for evaluating forms from a buffer

plexus14:06:46

there was one interesting question/use case. Say you have some complicated code, and you have some (prn ,,,) in the middle to inspect some intermediate values

plexus14:06:29

your repl/tooling can pretty format the final result of an expression and let you drill down into it etc, but these intermediate things will just be strings

plexus14:06:49

could unrepl provide a way for your code to send extra values back to the repl/tooling

plexus14:06:58

e.g. some kind of (unrepl/pprint ,,,)

cgrand14:06:59

I even had it working at some point.

cgrand14:06:05

It’s called logging.

plexus14:06:27

ah yes, I saw the logging thing, I thought it had more to do with traditional log file style logging

cgrand14:06:08

See this example

cgrand14:06:11

(timbre/log :info “a” (range))
[:echo {:from [14 1], :to [15 1]} 12]
[:started-eval {:actions {:interrupt (unrepl.repl/interrupt! :session329 12), :background (unrepl.repl/background! :session329 12)}} 12]
[:log [:info “user” #inst “2017-04-04T14:56:56.574-00:00” “a” (0 1 2 3 4 5 6 7 8 9 <#C4C63FWP5|unrepl>/... {:get (unrepl.repl/fetch :G__3948)})] 12]
[:eval nil 12]

cgrand14:06:25

you have an elision right in the log message

plexus14:06:40

ok very cool!

plexus14:06:26

also added since the first version: now it actually does the upgrading (sends the blob)

plexus14:06:31

added some instructions to the README in case anyone wants to try it out.

dominicm14:06:25

Mr Blobby was killed on a project I worked on. Don't put blobs in your db people!

cgrand15:06:54

a “blobs are people too” sticker?

dominicm15:06:08

people? 😛

cgrand15:06:33

fixed thanks

cgrand15:06:40

BDD for Blob Driven Dev is cool (and reminds me of TDD (Talk Driven Dev))

cgrand15:06:35

@plexus the first example (with JAVA_OPTS seems wrong as it still refers to unrepl

plexus16:06:43

Ah you're right I just copied the first thing I found in my shell history