Fork me on GitHub
#re-frame
<
2016-11-21
>
hwk04:11:38

day8 is behind re-frame and re-com; does day8 have a website? (are they a consulting company)

mikethompson04:11:09

We don't have a public website. We write and market software to a very particular industry niche (for the last 20 years)

mikethompson04:11:31

Fixed set of clients, etc

mikethompson04:11:05

If you are a client, we have a web presence, but it isn't for the general public and it is invisible to Google via robots.txt

mikethompson04:11:26

We write software for the intersection of Media, Technology and Maths.

hwk04:11:00

@mikethompson : 1. I was not aware the person answering my questions was one of the day8 devs. 2. I can not afford this now -- but to calibrate -- how much would you charge if someone said "add open source contributions for: 1) tree view [right now, there's only list], and 2) virtual grid / react fixed data table"

hwk04:11:39

Oh wait, does your firm not take these one off projects?

mikethompson05:11:48

We write software systems and licence them to big companies. SAAS.

mikethompson05:11:49

We do have a re-com virtual data table which remain unreleased. Its a lot of work to release something OS.

hwk05:11:44

I'm the founder of a startup. Cam I PM you a question? (I want to figure out if there may be a mutually aligned interest somewhere.)

hwk05:11:35

Is the source of this page: http://re-demo.s3-website-ap-southeast-2.amazonaws.com/ anywhere on: https://github.com/Day8/re-com/tree/master/src/re_demo ? This appears to be an interesting alternative to devcards for sharing "more than one page" of information and I would like to see the source of how it's implemented.

hwk05:11:15

In particular, I'm not after the source of the "component" (which is linked), but the source that somehow links all the demos into a single page.

mikethompson05:11:17

@hwk Up the top of each page are two hyperlinks

mikethompson05:11:38

"component" and "page"

hwk05:11:13

Yes, the "component" links to the source of the component, and "page" links to the source of the page.

hwk05:11:19

However, what are you using to link all the pages together into "one app" ?

hwk05:11:30

It does not look like you're using devcards.

mikethompson05:11:43

You'll see that the "page" source is part of an SPA

hwk05:11:47

What software is parsing all the *.cljs files, creating the menu on the LHS, and on click, updaing the RHS.

hwk05:11:01

I see now: https://github.com/Day8/re-com/blob/master/run/resources/public/index_dev.html#L23 and https://github.com/Day8/re-com/blob/master/src/re_demo/core.cljs#L52 is what I was missing. the *.html loads re_demo.core re_demo.core requires all the separate *.cljs files, [each of which stores it's "panel" information] -- then assembles everything together

vikeri16:11:52

@sam.roberton @danielcompton Saw some great stuff here: https://github.com/Day8/re-frame-test The documentation is somewhat lacking though, is that because you haven’t had time or because the project is not stable yet? I’d be happy to contribute if needed.

shaun-mahood17:11:51

@ericnormand did an interview with me about my upcoming Conj talk on re-frame if anyone’s interested. https://purelyfunctional.tv/speaker-interview/shaun-mahood-clojureconj-2016-interview/

hwk17:11:42

@shaun-mahood : btw, thanks for the lambdaisland suggestion -- I didn't like the videos, ... but I took their github repo, retyped their code, fized some typos I had -- and boom, magically reframe started making sense

hwk17:11:54

their breakout editor also demonstrated use of svg with reagent/re-frame, which was also nice

shaun-mahood17:11:57

@hwk: Glad it helped - I’m sure @plexus would appreciate feedback on the specifics you didn’t like if you want to send him a message directly

hwk17:11:10

@shaun-mahood : I don't think there was anything wrong with the videos -- just my impatience. If I may ask, are you a contributor to re-frame / lambda island ?

shaun-mahood17:11:59

@hwk: I’ve only contributed to documentation in re-frame, and have no affiliation with Lambda Island.

plexus17:11:09

@hwk lambda Island is really just a one man venture at this point

hwk17:11:36

@plexus: you're the author behind lambda island? damn, this slack has all the important people in clojure

hwk17:11:13

I'm a big fan of your breakout editor code -- I just typed it in line after line, --- and re-frame suddenly started making sense.

plexus17:11:48

Yeah that's me. I understand the videos aren't for everyone, that's fine. Still specific feedback would be very appreciated!

plexus17:11:55

And as you found out there's more than videos, I know some subscribers just read the transcript. Plus working code on github for most episodes

hwk17:11:06

@plexus: I have to run, but I love to chat about this more. In summary, the main issue I had (with all screencasts) is: lack of random access All what I can do is scroll forward/backward on the time scale. What I really want ... when watching a video .... is to CLICK ON THE CODE ON THE VIDEO -- and have it jump me to the right branch / line on GITHUB. That would drastically increase the rate at which I could absorb the material.

hwk17:11:49

It's kind of like -- I'm watching at some time stamp -- I'm wondering "gee, how does this piece of code fits in with the rest" -- well, I can't answer that question easily -- I can only watch what the screencast says next -- but if I could click and get jumped into the actual github code ... and explore around -- that'd be amazing.

hwk17:11:27

[this is not a criticism of Lambda Island, which I'm a fan of -- but just all screencasts in general -- and wondring why no one fixed this yet]

plexus17:11:21

Yeah, fair enough :) I've had some ideas for more interactive features but just too strapped for time

plexus17:11:08

The best you'll get within a reasonable time frame is the ability to speed the video up/down

plexus17:11:07

Sorry @knaman for hijacking the channel!

plexus17:11:42

reaction is defined in reagent.ratom, not in re-frame.core, maybe that's an issue?

knaman17:11:24

@plexus ok, any idea y the value wouldnt refresh right away in another function

plexus17:11:48

Are you getting new values in AppBar but not in tabs-panel?

plexus17:11:35

Very strange...

knaman17:11:44

but when i save again in file it shows the new value

plexus17:11:22

What does tabs panel look like?

knaman17:11:44

@plexus tabs-panel is just a dummy function that has [:h1 title], i wanted to check if the value updates in that function or not.. and it didnt

plexus17:11:20

Are the new values coming from updating the db or from changing the subscription definition?

plexus17:11:18

Sorry, gotta run!

knaman17:11:59

@plexus db update.. no worries

plexus18:11:52

Then... I'm out of ideas. Maybe restart Figwheel and refresh the browser ;)

danielcompton20:11:05

@vikeri the re-frame-test project is fairly green. The core abstractions we've got there are solid, but we at Day8 haven't had the chance to use them much yet. Sam's team at ROKT have been using it a lot more I think. Documentation would be really appreciated 🙂

hwk20:11:57

@plexus: I have no idea how difficult this would be. Another really cool thing would be to "invert" the videos. So instead of following through the video in the way it is presented, one sees the source code -- and clicking on the source code will bring up the video explaining that particular part. Thus, the "reader" has random access and can go through in the order of their choice, at the cost of my work for the video maker.

mikethompson21:11:29

@sam.roberton ^^^ minimal docs needed :-) Interest growing.

sam.roberton22:11:46

@mikethompson, @danielcompton : need for documentation noted, thanks for the poke. In the meantime, @vikeri : in case it helps, the best that's currently available is (a) the docstrings for re-frame.test/run-test-sync and re-frame.test/run-test-sync, and (b) the implementation of todomvc tests in this demo PR https://github.com/Day8/re-frame/pull/193.

hwk23:11:50

in :require, instead of having 5 separate lines for 5 different parts of re-com, is it possible to somehow say (:require [re-com.all :as re-com]) and then just have access to everything?

mikethompson23:11:22

@hwk This would work ... (:require [re-com.core :as rc]) then ...

[rc/h-box .... ]

mikethompson23:11:55

It is a while since I've done the above, so details might be sketchy, but intent is right. Use rc/XXX