Fork me on GitHub
#clerk
<
2023-03-14
>
jackrusher08:03:48

First academic paper about Clerk: https://twitter.com/jackrusher/status/1635434839968194561?s=20

πŸ’― 20
πŸŽ‰ 28
❀️ 18
πŸ‡―πŸ‡΅ 4
πŸ‘€ 2
teodorlu09:03:38

Man, I'm getting Bret Victor vibes! 😁

πŸ–€ 4
teodorlu09:03:48

I really like how you're treating references.

βž• 2
πŸ™ 4
emilaasa09:03:05

That looks great

πŸ™ 4
pfeodrippe12:03:03

Oh, man, now I want to be part of the academy ahahahha it’s great!!!! You really rock, folks

πŸ™ 4
hlship18:03:21

Are there more details about the tap inspector? I'm not sure what it should be doing.

hlship18:03:47

My expectation was that calls to tap> would result in one or both of those calls to clerk/show! updating in place with what was tapped.

hlship18:03:10

Is there a video of using this, so I can understand what it's supposed to do?

genmeblog19:03:48

It's intended to be used in REPL not in Notebook itself.

genmeblog19:03:47

user> (require '[nextjournal.clerk :as clerk])
nil
user> (clerk/show! 'nextjournal.clerk.tap)

hlship19:03:23

Ok, but when I evaluate a tap> in the REPL, I see a note about the containing notebook being re-evaluated but I don't see a change to my page.

genmeblog19:03:46

this renders a page:

genmeblog19:03:35

(tap> "12314345") produces:

hlship19:03:58

Thanks. Now I'm seeing it.

hlship19:03:57

I'm trying to see how this would be most useful. I had envisioned this fitting into a page, so I could see the results of my calculations, but also side-effect taps during those calculcations.

genmeblog19:03:44

It's just a tap consumer which renders values on html page. You may render adhoc hiccup, vega chart.

hlship19:03:34

Ok, thanks. When I get a chance, I'd like to contribute some documentation about this.

πŸ™ 2
hlship19:03:13

Also let me plug https://github.com/hlship/trace which goes pretty well with this.

πŸ‘ 2
πŸ‘€ 2
genmeblog19:03:27

If you work on a notebook, tap inspector is not useful (as you have your results already). But when you work on the library, any code you may want something that pretty prints any values, especially that which require rendering.

genmeblog19:03:41

(other than normal clojure printing)