Fork me on GitHub
#clojure-europe
<
2022-01-26
>
dharrigan07:01:51

Good Morning!

pez07:01:02

Morning!

pez08:01:12

Sometimes this channel is faster. 😃

val_waeselynck09:01:17

Morning! Today's code joke: I wrote a comment explaining the use of sliding-butter for a core.async channel.

🧈 2
😆 1
javahippie09:01:37

Better than dropping-butter

1
lread14:01:38

We have to allow for a margarine of error when writing comments.

😹 2
ordnungswidrig15:01:03

vegan-spread all the channels

💚 2
lread15:01:42

"How dairy!", said the reviewer.

😆 2
Geoffrey Gaillard09:01:20

It’s deprecated, it’s been replaced by salting-butter flag_bzh ^^

val_waeselynck22:01:08

I guess we found the Breton ;)

lread23:01:39

We’d better be careful with these groaners. We might get arrested for a salt and buttery.

😄 1
lread18:01:23

Maybe we should rename sliding-buffers to butter-buffers? More fun, yeah?

val_waeselynck09:01:31

The reviewer had a good laugh

genRaiy10:01:53

Good morning

lread14:01:45

Gd mooorning!

otfrom17:01:03

anyone here running latest (from HEAD?) emacs, which I think is 29.x

mccraigmccraig17:01:01

wow, i'm all the way back on 27.2 - should i upgrade ?

otfrom17:01:38

28.x hasn't been released yet. 29.x is in active development for new features.

mccraigmccraig17:01:25

phew. switching to doom was enough change for a while 😬

mccraigmccraig17:01:47

unless there is anything awesome on 28 or 29 i'm missing ?

otfrom17:01:01

native compilation massive speedup apparently

mccraigmccraig17:01:50

ooo that is definitely something awesome

mpenet17:01:15

It's quite easy to do and very much worth doing

otfrom17:01:45

any good howto to make sure I've got the right things turned on when I do ./configure?

mpenet17:01:11

I can put my script in a gist

mpenet17:01:24

just skip the pgtk part if you're not running wayland

mpenet17:01:45

obviously it's for ubuntu

mpenet17:01:37

I think there's a package for arch with at least native-comp & json

mpenet17:01:43

dunno about osx

mpenet17:01:16

got to go!

otfrom17:01:34

that's awesome. Thx!

mpenet17:01:25

if you recompile from the same repo, you will have to cleanup the elc files generated by previous runs btw

mpenet17:01:40

usually I don't even bother, and just reclone the whole thing

otfrom17:01:47

will make clean sort that?

mpenet17:01:52

it's ok if you do it once per week or so

otfrom17:01:53

or, as you say just re-clone

mpenet17:01:08

last time I tried it was not good enough no, but I didn't dig deeper

mpenet17:01:21

there surely is a better way

mpenet17:01:46

also you will want to tweak your conf for native comp, to at least silence the compilation warnings you get initially

mpenet17:01:37

but it's not a big deal

zane19:01:47

Native compilation is fantastic. Also, subjectively, child frames are now fast enough to be usable for me.

otfrom19:01:52

it sounds like time to upgrade

Ben Sless06:01:19

Kinda, head has a bug which breaks compilation atm

Ben Sless06:01:34

Check out a commit from a few weeks ago

mccraigmccraig06:01:43

just did a super-easy native-comp upgrade on macos. everything is very snappy now

brew tap d12frosted/emacs-plus
brew install emacs-plus@28 --with-native-comp
doom clean
doom sync

mpenet07:01:51

@UK0810AQ2 I run a snapshot from yesterday, seems fine

mpenet07:01:47

Actually maybe it's from 2 days ago

Ben Sless07:01:20

I'll check again, it was broken two weeks ago

otfrom09:01:45

I'm taking the plunge

otfrom09:01:25

well, my already pretty fast emacs startup is now much faster

otfrom10:01:14

and clojure-lsp/cider/kondo is a lot faster now as well, tho the real speed ups there came from the changes to tech.ml.dataset and tablecloth fixing their kondo/macro interaction so that there weren't as many errors to wade through

Ben Sless11:01:37

I'm running into this fun error

In file included from fchmodat.c:40:
./stdlib.h:783:1: error: wrong number of arguments specified for 'malloc' attribute
  783 | _GL_FUNCDECL_SYS (aligned_alloc, void *,

otfrom11:01:20

when does that happen?

Ben Sless11:01:56

specifically on fchmodat.o

mpenet11:01:30

you have gcc11 & co as mentioned on my gist?

Ben Sless11:01:58

gcc (GCC) 11.0.0 20200505 (experimental)

mpenet11:01:23

I last compiled 77b72f77b3a5d13fc6e71746dee2cf68305057e2 if that can be helpful

mpenet11:01:35

I know this refs compiles cleanly (at least on my machine)

Ben Sless11:01:32

I'm on 333e95196f31ad1a19174ac925f3733789ecee91

otfrom11:01:17

I'm on 82aa5be7ce1d5f508d42a4bb394760198a1c6e62

otfrom11:01:27

(just cloned this morning)

Ben Sless11:01:39

did you clone from the mirror on github or someplace else?

mpenet11:01:08

shouldn't make any difference

mpenet11:01:30

from the mirror but the refs are identical

otfrom15:01:05

I'm enjoying the version that I compiled today on ubuntu 21.10 built using @U050SC7SV's gist

mccraigmccraig08:01:57

aside from the new snappiness, i'm also very happy with my new emacs icon:

mpenet08:01:33

I might steal that one

otfrom17:01:04

@U050SC7SV is wayland working for you? Last time I had a go (on Ubuntu 21.10) lots of little annoyances like drag and drop not working consistently made me move away

mpenet18:01:31

Yes, I mostly live in emacs, browser and terminal, all full screen, so not much drag & drop involved.

mpenet18:01:17

So can't say about that in particular. But I have had no issues otherwise.

mpenet18:01:00

On 21.10 as well

otfrom21:01:42

I'm giving it a go on Pop! OS now

otfrom21:01:52

I wish I could remember how to get it to give me an icon tho

otfrom09:01:34

at least Alt-F2 does what I want