Fork me on GitHub
#clojure-europe
<
2021-11-03
>
dharrigan06:11:26

Good Morning!

genRaiy10:11:36

morning

javahippie10:11:44

Good morning! 🙂

pez11:11:20

Morning! I have my Calva day of the week today.

borkdude11:11:20

Good morning folks.

otfrom11:11:40

I think this is a nice-ish cider emacs config. Anything that I'm missing? (other than clojure-lsp, which I'd gratefully receive a config for) https://gist.github.com/otfrom/c34d13995f7653a0b38a25a939d2a14d

vemv10:11:52

clj-refactor.el perhaps? (it was long neglected but it's finally shining again... probably cljr-slash and add-missing-import are its most handy features)

borkdude11:11:03

This is my emacs clojure-lsp config: https://github.com/borkdude/prelude/blob/master/personal/init.el#L356-L409 A little bit specific to my needs since I still run clj-kondo separately as I'm developing it

otfrom11:11:47

that find-definition function is interesting. If clojure-lsp can't find the definition, does it just stay in the same place (thus the comparison before going to cider-find-var)?

otfrom11:11:12

(I'll go back to clojure-lsp when I can get the hooks I need to make all the tech.ml.dataset and other scicloj stuff work well. I've just not had the time or the super-human skills of @borkdude to fix it myself 🙂 )

mpenet12:11:57

lsp is on for some stuff, autocomplete in particular, and it doesnt' break once you jack-in

mpenet12:11:44

I only use the lsp stuff for navigation and when it fails I use consult-git-grep, that one never fails

mpenet12:11:51

btw @otfrom I don't think you need the :straight t everywhere anymore since you use (straight-use-package 'use-package)

otfrom12:11:51

ah, I thought I'd need that if the package wasn't already installed

mpenet12:11:28

I don't think so

jasonbell13:11:53

Going to have go back to the drawing board, Rosetta2 is killing Emacs on (straight-use-package 'use-package)

jasonbell13:11:07

Shame, thanks though @otfrom

jasonbell13:11:46

Had a feeling this M1 transition was not going to as smoothly as I would hope.

mpenet13:11:14

yeah, trying to convince myself getting one is a good idea. looks good on paper but I am sure it's a world of hurt when it comes to dev/tooling setup for work stuff

mpenet13:11:31

and current setup just works

slipset13:11:34

I have one on the way, so I’ll be happy to report back.

jasonbell13:11:02

It’s not a huge issue to me in most respects, most of my Luminus dev is running on another laptop and I’m just editing files.

mpenet13:11:38

1 person in my team has one and let's just say it's not been a smooth ride so far for him

jasonbell13:11:40

Just when I’m developing these synthetic data k8s jobs I test it all in repl first.

mpenet13:11:15

he went from super enthusiastic to "not ready yet" in a couple of weeks

mpenet13:11:32

but that was the first m1

mpenet13:11:37

maybe it's better now, dunno

jasonbell13:11:37

@mpenet I was asking on the emacs channel earlier and I think I got my knuckles lightly wrapped for using an old nrepl version (rightly wrapped I may add to be fair)

jasonbell13:11:03

I love the M1 Mac Mini

mpenet13:11:12

yeah, that's another thing I wonder about, on linux I can get basically a daily snapshot of emacs with fancy modules enabled

mpenet13:11:25

dunno how is life in that regard on the m1

jasonbell13:11:28

Need to get my MBP sent off for a new battery

mpenet13:11:31

then it's highly dependent on what you need cpu for. If you just edit files I doubt it's worth it, if you have to compile tons of heavy-weight stuff sure, fat docker setups? sure,

mpenet13:11:14

having my repls (couple per day) launch in 5s or 2s won't change my life.

jasonbell13:11:13

@mpenet I’m trying to contain everything in one place. Keep everything in containers. Need to focus some more time on it, it’s not a day job thing so it’s secondary in terms of time.

mpenet14:11:31

I like the concept behind the frame.work laptop too

mpenet14:11:41

but I am not touching a gen1 thing

otfrom14:11:17

@jasonbell latest Emacs for Mac I think has a version that works on the M1 arm processors https://emacsformacosx.com/about

otfrom14:11:38

see 2021-03-26 date

👍 1
javahippie14:11:48

If you have any questions, anything to try out, I use (Doom) Emacs on my M1 macbook, without any issues really.

ericdallo16:11:35

Does clojure-lsp works smoothly with M1?

javahippie16:11:02

Did not have any complaints, yet, but I am not really a power-user, mostly finding references and definitions, renaming with it and using it for hints

ericdallo16:11:38

good, thanks :)

mpenet14:11:04

yeah, works is good, but does it support stuff like nativecomp (https://www.emacswiki.org/emacs/GccEmacs)

mpenet14:11:13

or native json parsing

mpenet14:11:58

I think https://github.com/d12frosted/homebrew-emacs-plus does for nativecomp (there's an option to enable it)

mpenet14:11:20

not sure about json

mpenet15:11:58

on linux the native json lib support makes that ~15x faster to give you an idea, kind of important with lsp

lread15:11:30

user=> (->> "noggin groom" seq shuffle (apply str))
"good morning"

😂 1
otfrom16:11:06

That's lucky

otfrom16:11:39

Esp as the letters are different

4
🌟 1
lread16:11:03

Good work!

lread16:11:34

I would like to claim I did that on purpose, but… simple_smile

otfrom16:11:50

mornings are hard even in UGT

lread18:11:47

My real challenge is avoiding the temptation to correct it! simple_smile

joost-diepenmaat19:11:47

Messing with datascript. Filed my second PR today 🙂

joost-diepenmaat19:11:36

I’ve got a general sort of datascript / datomic modeling question. Not sure where to ask it though, since the #datascript channel seems very quiet.

joost-diepenmaat11:11:43

good idea I think I’ll try there

genRaiy19:11:05

@lee I will only use output from that code going forward!!

lread02:11:37

Ha! 🙂 How’s your code? Oh my god, I really “noggin groom”ed it! And Hickey says I don’t need guard rails! Speak for yourself, man!

genRaiy09:11:42

comedy knows no guard rails

simple_smile 1
yogidevbear19:11:23

What do you call a man with a rubber toe?

thomas21:11:57

that is bad...

yogidevbear21:11:16

I could do worse 😄

yogidevbear21:11:10

Hear about the person that stayed up all night wondering where the sun had gone?

yogidevbear21:11:28

It finally dawned on them

🙀 3
😄 2
🎉 1
😍 1
Fahd El Mazouni07:11:31

haha thanks for the morning laugh

🙂 1
thomas08:11:18

keep them coming...

yogidevbear09:11:43

What did the beaver say to the tree?

yogidevbear09:11:51

It's been nice gnawing you.

😂 1
yogidevbear09:11:40

What do you call a fake noodle?

yogidevbear09:11:51

An Impasta!

😂 2
lread18:11:37

@U0MFQNXFZ I think you need to get to know @U0510902N!

yogidevbear18:11:35

Does he like puns?

yogidevbear18:11:55

Or.... does he dislike puns?

nate18:11:45

Oh, he likes puns!

nate18:11:47

for some puns (and a bit of Clojure talk), see https://clojuredesign.club/

lread18:11:39

Or hijinks!

nate18:11:58

hahaha, even better

Rachel Westmacott10:11:37

Did you hear about the scarecrow who won the nobel prize?

Rachel Westmacott10:11:59

She was out-standing in her field!

🙌 1
yogidevbear10:11:45

Did you hear about the book on anti-gravity?

yogidevbear10:11:55

It's impossible to put down!

👍 1
Fahd El Mazouni07:11:44

@U0510902N when are we getting new episodes ? 😞

nate17:11:35

Oof, that's a hard one. We both want to get back to recording, but other things keep getting in the way. Unfortunately, that's all I can say for sure right now.

Fahd El Mazouni09:11:58

good luck ! and listen to you soon I hope