dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
qqq 2017-03-13T00:19:44.006109Z

@darwin: okay, so: (1) cljs devtools = pretty-printed data in console; javascript names in stackframe, javascript data in view source (2) dirac devtools = pretty-printed data in console; pretty-printed names in stackframe; pretty-printed data in view source ?

qqq 2017-03-13T00:55:11.188290Z

atleast the vars are observable in the "scope" sidebar, so it's not a complete loss; I can tolerate this

qqq 2017-03-13T00:59:00.208963Z

alright, so cljs devtools works fine in remote debugging

qqq 2017-03-13T00:59:03.209179Z

and it's awesome

qqq 2017-03-13T00:59:07.209512Z

dirac, I guess dirac I'll give up

qqq 2017-03-13T01:54:52.542860Z

@darwin: https://github.com/binaryage/cljs-oops/search?p=2&amp;q=ocall&amp;utf8=%E2%9C%93 <-- is there a list of examples for how to use ocall ? the readme.md has screenshots of oget/oset! , but I can't find docs ofr ocall anywhere

2017-03-13T06:46:38.337557Z

not exactly, cljs-devtools is a collection of enhancements that can be implemented in javascript, for example :formatters feature leverages Custom Formatters subsystem available in Chrome DevTools since 2015: https://github.com/binaryage/cljs-devtools/blob/master/docs/faq.md

2017-03-13T06:47:17.341881Z

Dirac is a full-blown fork of Chrome DevTools which adds stuff which cannot be implemented directly

2017-03-13T06:48:45.352019Z

custom formatters are currently presented in console and “scope” view of “Sources Panel”, they are not presented as inline data in source view

2017-03-13T06:49:02.354019Z

Dirac modifies DevTools to additionally present them in source view

2017-03-13T06:54:23.392088Z

yes, I didn’t document it yet, it works similar to javascript .call, it does “this” retargeting, which is something you would normally do by hand: https://github.com/binaryage/cljs-oops/releases/tag/v0.5.0 you can get some inspiration here: https://github.com/binaryage/cljs-oops/blob/master/test/src/tests/oops/main.cljs#L291

qqq 2017-03-13T07:07:46.492957Z

@darwin : cljs devtools, by itself, suprisingly does alot; if you were to estimate, how many times harder is groking dirac codebase than groking cljs devtools codebase ?

qqq 2017-03-13T07:08:06.495316Z

(dirac seems too hard to jump in; I'm considering hacking on cljs dev tools myself for mobile needs)

2017-03-13T09:10:00.828948Z

why don’t you just look?

2017-03-13T09:11:45.854995Z

As you can guess Dirac is definitely more complex, but both are quite compex

2017-03-13T09:11:55.857540Z

cljs-devtools taps into ClojureScript internals a lot

qqq 2017-03-13T09:13:42.883869Z

@darwin: my question definitely looks lazy, but it's because I know so little about devtool internals that I'm not even sure how to estimate it

2017-03-13T09:17:00.932637Z

I think you need a goal first, a feature you want to implement, a bug you want to fix maybe, it does not make sense to me just to read the code for the sake of it

qqq 2017-03-13T09:36:02.228478Z

@darwin: I'll think of a featureI absolutely need, then I'll look intto cljs devtools