Fork me on GitHub
#clojure
<
2020-02-28
>
guliy12:02:19

Hello. please tell me, what are the options for generating documentation on source codes with the condition of integration with clojure spec?

bfabry17:02:53

urrrgh. anyone else had this problem after upgrading to Catalina? nrepl stalls at

~ $ clj -A:nrepl                                                                                                               09:48:09
nREPL server started on port 49363 on host localhost - 

bfabry17:02:20

and no repl pops up. via either clj or lein. regular clojure repl works fine. irb, python repls work fine

seancorfield17:02:45

Sounds like firewall changes (or IP4/IP6 preference change?)...

seancorfield17:02:57

(there's a reason I'm still on Sierra 10.12 🙂 )

bfabry17:02:17

Firewall: Off according to the osx panel

bfabry17:02:56

lol. a no-information bug/interaction between nrepl and osx is such a bad start to the day

lukasz18:02:13

can you telnet 0.0.0.0 NREPL_PORT ?

ghadi18:02:36

can you share your :nrepl alias @bfabry?

ghadi18:02:42

(also, boo Catalina)

bfabry18:02:51

:nrepl {:extra-deps {nrepl {:mvn/version "RELEASE"}}
          :main-opts ["-m" "nrepl.cmdline"]}

zilti18:02:13

I would not be surprised if Apple's control panel lied to you, but then again, I'm not on macos

seancorfield18:02:14

A quick Bing suggests Catalina switches to IP6 by default, causing lots of problems for people...

hindol18:02:55

Off topic question, do you find Bing good? Just curious.

seancorfield18:02:31

I switched from Google to Bing years ago, because I prefer Microsoft's policies on privacy and data sharing over Google's. Back then Bing was "OK" as a Google substitute. Over the years, Microsoft has dramatically improved Bing and now I find it produces "better" results, often surfacing the information I need directly at the top of the search without even needing to click into a search result.

seancorfield18:02:13

I'm also a Bing Insider, so I get access to new Bing features before the general public, as well as providing feedback to MS on potential new features before they ship.

seancorfield18:02:48

(I'm also an Edge Insider, and a Microsoft Insider, so I run prerelease builds of pretty much everything -- and even tho' I currently have an iPhone, I run Edge, Cortana, Outlook, To-Do, MS News, and several other MS apps in preference to Apple's versions)

hindol19:02:35

Haha, Edge too? I was part of the team that delivered Edge on MacOS. Still with Microsoft, but with Azure Blockchain Service now.

hindol19:02:41

I heard Bing in US is way better. Here in India it's a different story.

seancorfield19:02:57

Then I am majorly in your debt! Although I run Windows fast ring via Parallels for nearly all of my stuff, I still use the macOS side for development work and my default browser there is Edge Canary.

🙂 4
seancorfield19:02:04

I've been an Apple customer since the very early 90's but my next phone will be an Android (probably a One+ 7 model) and my next desktop will be a Windows box (with touch screen).

seancorfield19:02:03

Re: Bing outside the US, I wonder if that's due to localization effort causing features to lag, or just the overhead of curating content in non-English language?

hindol19:02:13

Not talking about non-English. I guess Bing is just focusing on profitable markets first. Bing makes a profit, but much smaller than Google.

bfabry18:02:17

yeah didn't want to upgrade but I couldn't handle my external displays bugginess anymore. it did fix that at least

seancorfield18:02:45

ip6 -x should turn IP6 off

zilti18:02:56

Switch to IPv6 is about time though, why doesn't nREPL support it?

bfabry18:02:32

mm ip6 isn't a command for me. this command

networksetup -setv6off Wi-Fi
ran but issue stays

hiredman18:02:18

that isn't going to do anything

hiredman18:02:11

turning ipv6 off for your wifi adaptor isn't going to do anything for localhost resolving to the ipv6 localhost ip

ghadi18:02:28

everyone is suggesting changes without debugging

ghadi18:02:48

need a hypothesis -- is the thing actually listening on 49363?

ghadi18:02:59

@bfabry ^ what does that return

hiredman18:02:28

the jvm flag to prefer ipv4 is

-.preferIPv4Stack=true

hiredman18:02:56

I'm also not sure that clj command should popup a repl? it shows a nrepl server being launched, and generally a nrepl server and client are separate processes

hiredman18:02:11

if you are running that command to get he server and trying to connect from a client somewhere, you should double check the host the client is trying to connect to, make sure it is also "localhost" and not 127.0.0.1

jumar18:02:56

I’m on Catalina for quite a while and didn’t have any issues like that

bfabry18:02:57

sorry, got pulled into a meeting. @ghadi your command confirms, it's using IPv6

java    13516 bfabry   11u  IPv6 0xd7f212f8804a59b      0t0  TCP localhost:49949 (LISTEN)

hiredman18:02:31

are you on the latest nrepl?

hiredman18:02:53

because the nrepl code explicit listens on 127.0.0.1 and not localhost to avoid this sort of thing

bfabry18:02:06

:mvn/version "RELEASE" should give the latest right?

hiredman18:02:36

no idea, use a real version

bfabry18:02:38

waiting on nrepl maven download....

bfabry18:02:49

lein-nrepl plugin does work, so seems like it is an issue with old nrepl

papachan21:02:14

make me think about the time i was configuring jboss with catalina