admin-announcements

Announcements from the Clojurians Admin Team (@U11BV7MTK @U077BEWNQ @U050TNB9F @U0ETXRFEW @U04V70XH6 @U8MJBRSR5 and others)
mpenet 2015-11-11T09:34:00.000200Z

gnejs: I considered it, the idea is good, but the price is way too high imho for a remote conf

gnejs 2015-11-11T09:49:23.000201Z

@mpenet really? At least the early bird price seemed very reasonable.

mpenet 2015-11-11T09:49:55.000202Z

early bird is ok, regular not so much imo, given the costs involved

mpenet 2015-11-11T09:50:13.000203Z

but again that's my opinion. I never organized a remote conf

mpenet 2015-11-11T09:51:55.000204Z

good thing with these kind of conf would be that it makes it possible for people from "not so rich" countries (or with visa issues) to attend. But with that kind of pricing maybe not.

mpenet 2015-11-11T09:52:48.000205Z

http://crowdcast.io is not really expensive either. So I don't know. But good initiative nonetheless

👍 1
chrisoakman 2015-11-11T17:42:50.000003Z

http://shaunlebron.github.io/parinfer/

elais 2015-11-11T17:55:00.000005Z

@chrisoakman I just saw that about half an hour ago, it would be very helpful for me because I use minimal syntax highlighting.

chrisoakman 2015-11-11T17:56:54.000006Z

I'm working on an Atom plugin you can try out: https://github.com/oakmac/atom-parinfer

elais 2015-11-11T18:23:38.000008Z

I will tonight, I use emacs as my main editor at work :simple_smile:

dnolen 2015-11-11T19:06:24.000009Z

@chrisoakman: that’s neat, does Atom have a REPL integration story at all?

dnolen 2015-11-11T19:06:38.000011Z

it’s been a long time since I looked at it

dnolen 2015-11-11T19:06:57.000012Z

for beginners though probably doesn’t matter as much, this + Figwheel could be a solid way to get started

chrisoakman 2015-11-11T19:07:31.000014Z

to be honest, I don't even know

dnolen 2015-11-11T19:07:46.000015Z

ok yeah I don’t think it does :simple_smile:

chrisoakman 2015-11-11T19:08:09.000016Z

I picked Atom to integrate with because it was JS-extensible; having spent the last few days with the API it shouldn't be too hard to build a REPL into Atom

chrisoakman 2015-11-11T19:08:19.000017Z

true story: I never use a REPL

chrisoakman 2015-11-11T19:08:23.000018Z

Shaun says I'm a disgrace to Lisp 😉

chrisoakman 2015-11-11T19:08:55.000019Z

step 1) Atom extension, step 2) Sublime Text extension - targeting popular editors

dnolen 2015-11-11T19:19:44.000020Z

lol

dnolen 2015-11-11T19:20:04.000021Z

ok I had unlearn a couple of things but I think I get how parinfer is supposed to work

dnolen 2015-11-11T19:20:17.000022Z

it kind of makes Clojure like Python a bit

dnolen 2015-11-11T19:20:35.000023Z

very clever

malch 2015-11-11T19:23:37.000024Z

@dnolen: Are there any corner cases?

alexmiller 2015-11-11T19:26:08.000025Z

there are always corner cases

👍 1
dnolen 2015-11-11T19:26:31.000026Z

@malch: not that I can determine

dnolen 2015-11-11T19:26:43.000027Z

the parentheses are always correct and computed from indentation

dnolen 2015-11-11T19:26:44.000028Z

very smart

malch 2015-11-11T19:27:04.000029Z

That’s very cool!

chrisoakman 2015-11-11T19:27:20.000030Z

I don't understand these details, but I think Shaun "proved" Parinfer mathematically: http://shaunlebron.github.io/parinfer/#mathematical-foundation

dnolen 2015-11-11T19:27:26.000032Z

definitely a massive win for newbies

chrisoakman 2015-11-11T19:27:28.000033Z

(if such a thing is even possible)

dnolen 2015-11-11T19:27:34.000034Z

they can just use indentation

alexmiller 2015-11-11T19:27:38.000035Z

that does sound cool :)

dnolen 2015-11-11T19:28:00.000036Z

once I figured out it worked via indention all my confusion disappaered

dnolen 2015-11-11T19:28:06.000037Z

it’s surprisingly natural

dnolen 2015-11-11T19:28:13.000038Z

and requires few mental hoops

dnolen 2015-11-11T19:28:20.000039Z

copy and paste and all that stuff just kind of works

dnolen 2015-11-11T19:28:36.000040Z

definitely had to suppress my Paredit lizard brain

chrisoakman 2015-11-11T19:28:57.000041Z

I can tell you there is definitely an edge case with the atom extension specifically: https://github.com/oakmac/atom-parinfer/issues/9

chrisoakman 2015-11-11T19:29:10.000043Z

it's a hack I'm using for speed reasons, but the actual Parinfer algorithm doesn't have that bug

colin.yates 2015-11-11T19:29:20.000044Z

ah, the penny clicks - so it barfs/slurps automagically according to indentation?

chrisoakman 2015-11-11T19:29:28.000045Z

and eventually that should go away

dnolen 2015-11-11T19:29:40.000046Z

still super neato

dnolen 2015-11-11T19:29:46.000047Z

cool to see some new thinking in this area

shaunlebron 2015-11-11T19:29:55.000048Z

hi guys

chrisoakman 2015-11-11T19:30:06.000049Z

speak of the devil 😉

shaunlebron 2015-11-11T19:31:03.000050Z

oh, I thought someone was mentioning corner cases

colin.yates 2015-11-11T19:31:20.000051Z

http://shaunlebron.github.io/parinfer/ was much more helpful than the github home page 😉

shaunlebron 2015-11-11T19:33:32.000053Z

yeah, my readmes are usually long, but I figured I wrote enough on the main page 😉

2015-11-11T19:42:13.000054Z

Hi, @shaunlebron. In the animations on http://shaunlebron.github.io/parinfer/ page, how to indent multiple files at once like you do?

shaunlebron 2015-11-11T19:42:43.000055Z

@tap: multiple lines? select them and hit tab

shaunlebron 2015-11-11T19:42:52.000056Z

is it working okay?

2015-11-11T19:43:06.000057Z

Only the first line moves for me

shaunlebron 2015-11-11T19:43:36.000058Z

is that in atom or the webpage?

2015-11-11T19:43:51.000059Z

on the webpage

shaunlebron 2015-11-11T19:44:21.000060Z

oh yeah, thanks, I broke it at some point

2015-11-11T19:45:25.000061Z

👍 Thanks for the nice work.

chrisoakman 2015-11-11T19:46:39.000062Z

tabbing multiple selected lines works in the Atom extension

chrisoakman 2015-11-11T19:47:17.000063Z

not a bug in the main Parinfer algorithm; probably a CodeMirror integration thing

mitchelkuijpers 2015-11-11T20:05:38.000064Z

Wow supercool @shaunlebron super interesting idea

mitchelkuijpers 2015-11-11T20:06:40.000065Z

It hurts my paredit brain though

shaunlebron 2015-11-11T20:15:26.000066Z

paredit does a lot that parinfer can’t do, so I guess they can be used together

2015-11-11T20:17:31.000067Z

does anything exist for either sublime or atom that is similar to paredit-kill in emacs?

2015-11-11T20:17:52.000068Z

that's almost definitely my most-used command

wamaral 2015-11-11T20:58:07.000070Z

more importantly: where do I get this parinfer magic for vim or spacemacs? :simple_smile:

3
jeff.terrell 2015-11-11T20:59:13.000071Z

I think you write it, then share it with the rest of us. :simple_smile:

wamaral 2015-11-11T21:00:39.000072Z

yeah I was afraid that was the answer

wamaral 2015-11-11T21:00:50.000073Z

time to learn vimscript/elisp I suppose :simple_smile:

jstew 2015-11-11T21:16:17.000075Z

I've always teased my co worker for using Atom, but now I'm kind of jealous.

2015-11-11T21:22:49.000076Z

is there an existing guide to setting up atom for clojure/cljs dev somewhere?