Fork me on GitHub
#off-topic
<
2015-10-21
>
val_waeselynck09:10:07

Has anyone worked with sweetjs macros ? I'm wondering if they have the same capabilities as ClojureScript macros. http://sweetjs.org/

pupeno09:10:14

Anybody updated to Mac OS X 10.11? Is it working fine with brew, lein, clojure, etc?

eugene09:10:40

@pupeno: works fine for me

ondrowan09:10:43

same here... so far

agile_geek10:10:51

@pupeno: No idea. I always hold off on OS upgrades for 3-6 months…early adoption can be painful.

pupeno10:10:43

@agile_geek: I hold off for a bit too. Specially since Ruby and RVM had trouble with OS X upgrades, but Clojure seems lees immune to that.

agile_geek10:10:17

@pupeno: agreed. Think I’ll wait a bit longer. Also my Mac is > 3 years old so not sure whether upgrading might introduce issues.

pupeno10:10:44

Yeah, mine is a 2012 model.

agile_geek10:10:40

I’m going to bite bullet soon and jump to Linux for next laptop.

jaen10:10:11

@val_waeselynck: I didn't use them, but I'm under impression they're following Scheme in that they are rule-based

jaen10:10:02

Which IIRC is somewhat more limited in expressiveness than procedural macros

chedgren10:10:10

agile_geek: the dell xps 13 or something else?

val_waeselynck10:10:44

@jaen I don't know Scheme so I'm not sure what that implies

val_waeselynck10:10:03

from what I saw, I was under the impression that they're good for 'template-like' macros

val_waeselynck10:10:26

but don't fully support code-as-data-structures processing

val_waeselynck10:10:30

is that what you mean ?

jaen10:10:50

Yeah, scheme macros work by pattern matching

jaen10:10:56

So you're more limited in what you can do

agile_geek10:10:53

@chedgren: not decided yet but favouring the new XPS13 (with 16GB RAM) but I want Dell to knock the bugs out of the linux drivers first so holding out for the Developer edition.

jaen10:10:15

Though now I read the docs here, they also seem to provide procedural macros apart from rule macros: http://sweetjs.org/doc/main/sweet.html#rule-macros http://sweetjs.org/doc/main/sweet.html#case-macros

jaen10:10:31

So it seems you've both have Scheme-like macros and Clojure-like macros in one package

jaen10:10:51

But that's just from reading the docs, someone who actually used it might be able to tell you more

chedgren10:10:25

jaen: wait what? I thought the whole point of scheme macros vs clisp macros was hygienics. And clojure having namespaced unqoute is kinda hygienic

chedgren10:10:49

is there more nuance than this?

val_waeselynck10:10:10

@jaen: yeah I'll post a question somewhere, thank you for your help

jaen10:10:31

One thing is hygiene-by-default, yes, but in IIRC in scheme you define macros "by example" by specifying the pattern of syntax you want to substitute for another, while in CL you just get AST to manipulate, like in Clojure.

chedgren10:10:32

ty, apparently i've never done scheme 😛

jaen11:10:12

I've read SICP at some point, but I've never written much scheme, so I might be misremembering, since knowledge not exercised is prone to atrophy. I think this is accurate, but if someone knows better then feel free to correct me.

squest13:10:48

Oh, so that’s how scheme’s macro works… I never understand their macros being so accustomed to that of CL’s, luckily for me Clojure’s is closer to that of CL’s.

mpenet14:10:13

the xps has been stable/bugfree for a while for me (I have the 2014 version)

chedgren14:10:10

that's good to know. How is multitouch?

mpenet14:10:27

works fine

mpenet14:10:15

I set it up a while ago and I dont remember having to mess with anything, if I did it probably was very straightforward

mpenet14:10:03

(I did change a few things. I am not running the default window manager for instance)

chedgren14:10:50

im running xmonad on debian and i would love to be able to pich-resize windows etc. but nope. multi touch is apparanetly really hard

chedgren14:10:05

but i use a wacom tablet.

mpenet14:10:08

I am running xmonad too

mpenet14:10:19

ah you meant multitouch on the screen

mpenet14:10:22

I never use it

chedgren14:10:34

nah multitouch in general

mpenet14:10:44

I guess the fact that you have to toggle it on xmonad side first makes it tricky

mpenet14:10:54

works on the touchpad & co here

chedgren14:10:54

I would be so happy if i could four finger swipe between workspaces and three finger pinch to resize windows

mpenet14:10:38

I think I installed some software back then to customize this stuff

mpenet14:10:46

set it up once then forgot about it

chedgren14:10:54

that's how that usually works

oliy14:10:37

not sure the screen on the XPS Developer Edition is multitouch - at least not on my 2014 edition

kirillov18:10:17

http://hexlet.io/games Now this games support clojure language. Nice games 😉

colin.yates18:10:27

any woes from installing the OSX or iOS updates just released anyone?

akiva18:10:27

None yet.

gusbicalho19:10:27

Much more readable indeed

aaelony20:10:28

@agile_geek: which linux and which laptop?