Fork me on GitHub
#hoplon
<
2016-08-22
>
alandipert01:08:33

⬆️ cc @onetom @flyboarder @tbrooke @jumblerg and anyone else who wishes to join. discussion will be around hoplon release and anything about ui anyone will tell us πŸ˜ƒ

flyboarder01:08:28

TurboComputingFortress :thumbsup:

onetom01:08:14

@alandipert: craved into my calendar. happening in 14h40mins.

thedavidmeister12:08:40

i just learned something about javelin and setting cells from within formula cells

thedavidmeister12:08:00

@onetom you might find this interesting as you were doing similar i think

thedavidmeister12:08:15

(j/defc x :foo)
(defn x-foo! [] (reset! x :foo))
(j/cell= (prn "1" x))
(j/cell= (if-not  (= :foo x)
                  (x-foo!)))
(j/cell= (prn "2" x))
(reset! x :bar)

thedavidmeister12:08:20

gives this console output

thedavidmeister12:08:58

β€œ1” :foo
β€œ2” :foo
β€œ1” :bar
β€œ2” :bar
β€œ1” :foo
β€œ2” :foo

thedavidmeister12:08:53

β€œ1” :foo
β€œ2” :foo
β€œ1” :bar
β€œ1” :foo

thedavidmeister12:08:56

but the order is a bit confusing actually

thedavidmeister12:08:59

actually, it’s not that confusing, but i was surprised when i first saw it

dm312:08:19

I find it quite confusing πŸ™‚ the last two outputs at least

dm312:08:04

I'd expect it to either be one "2" :foo or "2" :bar, "2" :foo

onetom12:08:37

im not sure what's the most logical expectation in this case

onetom13:08:25

also i was not trying to reset! any of the cells which the formula cell is "reading"

micha13:08:15

yeah that's going to be confusing, because you're making circular dependencies

alandipert16:08:01

https://unhangout.media.mit.edu/h/TurboComputingFortress <~ hangout commencing shortly for anyone who wants to join

onetom16:08:47

i would say less magic is better

onetom16:08:32

WARNING: Use of undeclared Var hoplon.core/html-object at line 633 hoplon/ui.cljs

flyboarder17:08:27

@alandipert @micha thanks for organizing the meetup!

alandipert17:08:40

no prob! sorry we couldn't share the pizza with you

micha17:08:13

thanks to everyone for showing their projects, very exciting!

flyboarder17:08:25

Here is a demo project with goog/jquery options https://github.com/flyboarder/blaze

flyboarder17:08:52

boot demo -> jquery boot demo-goog -> gcl

flyboarder17:08:28

@micha the index page here also has the bindings example I was talking about

alandipert17:08:30

@flyboarder having problems running, looks like it's missing brew snapshot?

flyboarder17:08:35

@alandipert: I didn't push brew to clojars, can you maybe put that in the ci? The repo exists in hoplon org, needs to build locally

alandipert17:08:58

hm i did build locally

alandipert17:08:23

yeah, the version doesn't line up w/ what blaze wnats though

alandipert17:08:35

maybe i just need to sync up the version? i try

flyboarder17:08:33

Are you using boot develop for brew?

flyboarder18:08:00

I'll push my version just to be sure but it should be 0.2.0-snapshot

alandipert18:08:27

ooh that maybe was it, i did boot pom jar install

alandipert18:08:44

i see why you want checkouts working now πŸ˜„

flyboarder18:08:15

Also check the note about env vars for the demo, it's using firebase, I'll make a demo db for ya

flyboarder18:08:51

@alandipert: just synced blaze repo, readme has public demo db info

alandipert18:08:05

thanks - headed out for a bit, will try when i get back