Fork me on GitHub
#hoplon
<
2016-06-12
>
thedavidmeister05:06:44

@micha so the idea is that test2 is basically a throttled cell=?

thedavidmeister05:06:47

what are the chances of getting a throttle= and debounce= in javelin?

thedavidmeister05:06:54

there’s definitely a case to be made for having that kind of control over rapid, burst events like scroll, resize and key repeat

mhr05:06:46

does my definition of map-tpl work, or would I need to make it a macro?

(defn map-tpl [f formula-cell]
  (for-tpl [x formula-cell] (f x)))

thedavidmeister05:06:51

seems fine to me, did you test it @mhr?

mhr05:06:05

I did, and it works, but I don't know if the for-tpl macro does something with the unevaluated arguments that I'm not aware about...

mhr05:06:32

and by using a function, the arguments are evaluated eagerly, so then that might be a problem and a silent error. that's my fear.

thedavidmeister05:06:29

i think you’re fine, but check with @micha

mhr05:06:10

he is the oracle of hoplon

thedavidmeister05:06:21

hahaha, i just know that he worked directly on this bit

thedavidmeister05:06:38

the for-tpl only got committed a few months ago

thedavidmeister05:06:47

pretty sure @levitanong also worked on it

mhr05:06:00

oh I finished the vector version

mhr05:06:11

it's a lot cleaner and so much more straightforward

mhr05:06:16

thanks so much for the tip

thedavidmeister05:06:38

np, sometimes you just need a fresh pair of eyes

levitanong05:06:36

Hallo! I didn’t work directly on it, but as @thedavidmeister says, you should be fine 🙂

levitanong05:06:52

What do you mean by “vector version”?

mhr05:06:05

levitanong: oh it's code that I was working on last night. I had an undo/redo system that was made simpler by replacing a map with a vector

mhr05:06:14

per thedavidmeister's suggestion

levitanong05:06:31

Ah, well I’m glad it worked out for you 😄

thedavidmeister08:06:42

i’m getting this from boot on circle ci

thedavidmeister08:06:52

anyone seen it before or know how to fix it?

levitanong09:06:02

May be creepy for @alandipert, but I found his spacemacs config file: 😄 https://github.com/alandipert/dotfiles/blob/master/dotfiles/spacemacs Was looking for a way to deal with custom clojure indents for all the template macros, and since @micha mentioned how he deals with vim, I think we can come up with some documentation to help out emacs users customize clojure-mode.

alandipert13:06:42

Oh yeah, I've since figured out how to make layers. Wanna factor the Hoplon bits into a .cljs.hl layer