unrepl

discussing specification of an edn-based repl and its implementations.
cgrand 2017-12-19T16:12:04.000747Z

Speaking of the blob and its build task

cgrand 2017-12-19T16:14:02.000714Z

each time one submits the blob, it gensyms everything; I think it could be simplified so that gensymming only occurs at build time. Thereโ€™s no point gensyming at each use, is there?

volrath 2017-12-19T16:15:02.000599Z

I thought about that as well.. and to be honest I thought there was a reason beyond my comprehension at the moment

volrath 2017-12-19T16:15:27.000399Z

but I don't see why not to doit at build time

cgrand 2017-12-19T16:16:00.000399Z

reasons that may have influenced me was: ns removal on deconnection, one ns per session and global state (no rotten tomatoes thx)

volrath 2017-12-19T16:16:37.000327Z

hmm global state could be a thing

cgrand 2017-12-19T16:17:08.000782Z

we should check and make it indexed per session

volrath 2017-12-19T16:17:10.000179Z

we still haven't address the global settings problem: being able to change settings in user conn from aux conn

volrath 2017-12-19T16:17:18.000703Z

that could work

cgrand 2017-12-19T16:18:30.000798Z

global settings: for the record my proposal was to settings per โ€œprinting contextโ€ and have a reference to the origin printing context in elisions

j0ni 2017-12-19T16:19:20.000804Z

hey folks, particularly @volrath I think, I am having trouble with unrepl.el, running M-x unrepl-connect in a leiningen project - after a while, I see

;; Waiting on UNREPL... 

connection broken by remote peer
and can find no related messages in *Messages*. Any debugging pointers?

volrath 2017-12-19T16:20:26.000545Z

@cgrand would you include there`*realize-on-print*`?

volrath 2017-12-19T16:20:49.000274Z

@j0ni that seems like unrepl.el is not able to run the project

cgrand 2017-12-19T16:21:09.000206Z

@volrath yes

j0ni 2017-12-19T16:21:23.000605Z

ahh, now, I just tried lein repl in the project and it timed out, so yeah, I think a different problem here

j0ni 2017-12-19T16:21:31.000515Z

@volrath thanks and sorry for noise

volrath 2017-12-19T16:21:44.000318Z

@j0ni np, let me know if you get it to work

cgrand 2017-12-19T16:22:00.000522Z

or not ๐Ÿ˜‰

volrath 2017-12-19T16:22:50.000229Z

@cgrand that sounds good to me.. and just to make sure, you would index those settings-per-printing-context into sessions, right?

cgrand 2017-12-19T16:27:18.000307Z

yes

volrath 2017-12-19T16:28:22.000565Z

cool ๐Ÿ™‚

volrath 2017-12-19T16:29:25.000057Z

well, my next milestone is to get some integration tests going on for unrepl.el, after that I could help with some of this discussion if it's still reasonable ๐Ÿ™‚

cgrand 2017-12-19T16:30:56.000823Z

between work, chicken pox outbreak and incoming santa, time is tight atm for me

volrath 2017-12-19T16:32:32.000692Z

noted, hopefully I'll have some time between 24 and 31

j0ni 2017-12-19T16:32:57.000293Z

does unrepl.el pay attention to leiningen :repl-options?

volrath 2017-12-19T16:32:57.000461Z

btw, in a complete different topic.. I've been thinking a lot on a new name for unrepl.el

volrath 2017-12-19T16:33:13.000301Z

I don't have a clear candidate yet, and I accept suggestions ๐Ÿ˜‰

volrath 2017-12-19T16:35:30.000250Z

@j0ni tbh, I don't know with 100% certainty at the moment, but I'm inclined to say that it doesn't

volrath 2017-12-19T16:36:57.000547Z

@j0ni I think you're experiencing an unrepl.el bug, I tried with a lein project I used to test and I'm getting your same problem

cgrand 2017-12-19T16:37:05.000432Z

I call the umpteenth Naming Game open!

cgrand 2017-12-19T16:37:32.000588Z

unrav.el ๐Ÿ˜‰

cgrand 2017-12-19T16:38:51.000799Z

uncider (I need to get going)

volrath 2017-12-19T16:39:03.000627Z

@cgrand hahahaha

j0ni 2017-12-19T16:39:10.000400Z

aha @volrath cool!

j0ni 2017-12-19T16:39:50.000352Z

looks like the repl command sets the port to 0 - does that have special semantics?

j0ni 2017-12-19T16:39:57.000735Z

lein   trampoline run -m clojure.main -e "(do (require 'clojure.core.server) (let [srv (clojure.core.server/start-server {:name :repl :port 0 :accept 'clojure.core.server/repl})] (println (pr-str [:unrepl.el/server-ready (.getLocalPort srv)]))))" 

volrath 2017-12-19T16:40:15.000872Z

yeah, that only generates a random port, but the problem is right there

volrath 2017-12-19T16:40:25.000122Z

is not daemonizing the socket server

j0ni 2017-12-19T16:40:30.000187Z

ahh

volrath 2017-12-19T16:40:35.000511Z

sorry, it's not stopping the daemonization

cgrand 2017-12-19T16:42:06.000199Z

unreel

cgrand 2017-12-19T16:42:45.000031Z

unriddle

volrath 2017-12-19T16:43:23.000192Z

@j0ni that last commit should fix the problem

j0ni 2017-12-19T16:43:47.000111Z

sweet, I will pull that now

volrath 2017-12-19T16:44:03.000526Z

@cgrand I was actually thinking on breaking the "un-something" pattern... would I be banned from this channel if I proceed? ๐Ÿ˜ณ

cgrand 2017-12-19T16:44:36.000867Z

do you have a theme, a sound or whatever to guide us?

j0ni 2017-12-19T16:45:08.000565Z

fwiw I like the counter-cultural vibe that un* evokes

volrath 2017-12-19T16:45:25.000343Z

I was thinking on the idea of looping, naming it after something that evokes looping

cgrand 2017-12-19T16:46:52.000307Z

Loftstrom ๐Ÿ˜‰

cgrand 2017-12-19T16:47:01.000134Z

(a loop to go to space)

j0ni 2017-12-19T16:47:24.000132Z

ooh, that reminds me, I registered <http://loop-recur.me|loop-recur.me> like 4 years ago or something, I will donate it to worthy not-for-profit schemes ๐Ÿ˜„

volrath 2017-12-19T16:47:25.000223Z

not bad!

volrath 2017-12-19T16:47:45.000057Z

haha good @j0ni

volrath 2017-12-19T16:48:03.000289Z

btw, did the commit fix your problem?

j0ni 2017-12-19T16:49:12.000447Z

w00t yep

๐Ÿ‘ 1
volrath 2017-12-19T16:49:33.000134Z

thanks for reporting

cgrand 2017-12-19T16:50:19.000163Z

amen or amenbreak

cgrand 2017-12-19T16:50:54.000577Z

GOTO

volrath 2017-12-19T16:51:22.000442Z

amen as in the new testament? not a fan..

cgrand 2017-12-19T16:52:02.000049Z

groundhog as in Groundhog Day โ€” quite a loop

cgrand 2017-12-19T16:52:27.000183Z

hey I like this one, easy on a mascot if you need one etc.

volrath 2017-12-19T16:52:50.000068Z

haha

cgrand 2017-12-19T16:54:03.000527Z

escher obviously when it comes to loops

cgrand 2017-12-19T16:54:09.000619Z

mobius

j0ni 2017-12-19T16:54:12.000146Z

@volrath do you intend to add code navigation features a la cider? I can get some of the way there with dumb-jump, but diving into code inside dependency jars doesn't work

cgrand 2017-12-19T16:54:54.000125Z

ouroboros but Iโ€™d like to use it one day

cgrand 2017-12-19T16:55:35.000835Z

munchhausen

volrath 2017-12-19T16:55:36.000247Z

@cgrand I thought of escher but I've seen it as the name for other stuff

volrath 2017-12-19T16:56:11.000333Z

@j0ni yes, I'd like to add that feature, I use it in cider as well

cgrand 2017-12-19T16:57:17.000156Z

I give up for now but my fav is groundhog by a huge margin

volrath 2017-12-19T16:58:00.000305Z

I'm thinking on spiral, I like it cause it's simple, short, easy to remember, and it's an ever expanding loop... but i also like loftstrom

cgrand 2017-12-19T16:58:31.000182Z

loftstrom is heavy on typo but easy on search

volrath 2017-12-19T16:58:44.000390Z

yep

volrath 2017-12-19T16:58:58.000299Z

there's also a clojure spiral lib, but there's no emacs spiral

cgrand 2017-12-19T16:59:34.000798Z

helix

j0ni 2017-12-19T17:00:26.000805Z

I like loftstrom

cgrand 2017-12-19T17:23:36.000166Z

spirepl

cgrand 2017-12-19T17:24:27.000736Z

spiroloop

bozhidar 2017-12-19T18:06:49.000157Z

sriral is cool

bozhidar 2017-12-19T18:07:48.000345Z

In the same vein you can consider flux and maelstrom perhaps

bozhidar 2017-12-19T18:11:25.000044Z

I recall in the past someone had suggested clint (clojure interaction), which was kind of cool as well

bozhidar 2017-12-19T18:39:17.000228Z

the potential for clint-load and clint-reload is epic ๐Ÿ˜„

cgrand 2017-12-19T18:39:33.000847Z

But reminds of linting tools

bozhidar 2017-12-19T18:40:11.000390Z

yeah, I know that originally someone thought of naming eastwood clint, but it sounded too quaint.

bozhidar 2017-12-19T18:40:45.000216Z

Maybe hammock in honour of Rich?

bozhidar 2017-12-19T18:41:12.000423Z

Or havoc to sound more cool?

adamfrey 2017-12-19T19:58:49.000120Z

I like spiral

volrath 2017-12-19T21:16:25.000224Z

I like maelstrom as well ๐Ÿ™‚

volrath 2017-12-19T21:20:31.000571Z

also maybe just strom, out of maelstrom and loftstrom

volrath 2017-12-19T21:21:05.000397Z

but I feel like it might be typo'd into storm often

bozhidar 2017-12-19T21:21:24.000424Z

True that.

adamfrey 2017-12-19T21:35:18.000246Z

@volrath I can't get unrepl-eval-buffer to work. Each time it try I get:

Unhandled aux exception localhost:5555 No such file or directory 12
and then each time I call it again the number at the end of the error goes up by one (13, 14, etc)

cgrand 2017-12-19T21:35:57.000382Z

strรถm can be spelt stroem when you canโ€™t type the umlaut no?

volrath 2017-12-19T21:39:09.000688Z

@adamfrey huh... that's a first for me, let me try to reproduce

volrath 2017-12-19T21:39:16.000221Z

@cgrand I like that

cgrand 2017-12-20T11:28:04.000009Z

after a night sleep, I still like stroem: short and the e should limit typos with storm

cgrand 2017-12-19T21:40:25.000278Z

Then add a a and go for the anagram maestro :-)

volrath 2017-12-19T21:40:26.000531Z

@adamfrey you used unrepl-connect-to?

adamfrey 2017-12-19T21:40:51.000125Z

actually just unrepl-connect, and it set me up with lein

adamfrey 2017-12-19T21:44:10.000299Z

I just tried again with a terminal socket server and unrepl-connect-to and I get the same

volrath 2017-12-19T21:44:18.000435Z

hmm weird, can't reproduce

volrath 2017-12-19T21:44:59.000240Z

do you see a [localhost:<port>] in your modeline?

adamfrey 2017-12-19T21:45:10.000023Z

yes

volrath 2017-12-19T21:45:11.000350Z

is it localhost:5555? if so, is that the same port as your running repl?

adamfrey 2017-12-19T21:45:21.000376Z

it's the same

volrath 2017-12-19T21:45:49.000106Z

ah... nvm, I remember what that is..

volrath 2017-12-19T21:47:09.000435Z

I'm in the middle of reworking exceptions that come from evaluating whole buffers... when an exception occurs while eval-ing a buffer, I want to show that exception in the REPL buffer, but I also want to show a small overlay with the offending line in the working buffer

volrath 2017-12-19T21:47:40.000226Z

I don't have it ready yet, but that error that you're seeing means that the evaluation returned an exception

volrath 2017-12-19T21:47:58.000384Z

so there's something in the buffer that's causing a REPL exception

adamfrey 2017-12-19T21:47:59.000001Z

ok, I'll try a different namespace

volrath 2017-12-19T21:48:31.000008Z

yeah sorry about that

adamfrey 2017-12-19T21:50:30.000408Z

no problem

richiardiandrea 2017-12-19T22:38:34.000340Z

unpirel ?

richiardiandrea 2017-12-19T22:39:11.000491Z

just wanted something with un in front, el at the end and repl somewhere ๐Ÿ˜„

๐Ÿ˜„ 1