dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
baptiste-from-paris 2017-03-08T16:48:02.003061Z

hello guys, I am trying to install dirac on my macbook azerty but I am failing to launch with CTRL+, or CTRL+.

baptiste-from-paris 2017-03-08T16:48:10.003062Z

is there an other way ?

2017-03-08T16:51:51.003063Z

@baptiste-from-paris first try to switch keyboard layout to default english and make sure it really works

2017-03-08T16:55:04.003064Z

currently the keyboard shortcuts are hard-coded: https://github.com/binaryage/dirac/blob/6b65f0ab4a636a6120757fe996329bffbdb1a560/resources/unpacked/devtools/front_end/console/ConsoleView.js#L1288 unfortunately there is no generic mechanism for redefining pre-defined keyboard shortcuts in Chrome DevTools

baptiste-from-paris 2017-03-08T16:56:21.003066Z

thxm trying the to change keyboqrd

baptiste-from-paris 2017-03-08T16:56:28.003067Z

keyboard lol

baptiste-from-paris 2017-03-08T17:00:02.003069Z

does it look right ?

2017-03-08T17:00:12.003070Z

yes

baptiste-from-paris 2017-03-08T17:01:07.003071Z

so you have to 1) go to the console menu in devtools 2) press ctrl + ,

2017-03-08T17:02:14.003072Z

no, you have to focus console prompt and instead of typing javascript expressions press CTRL+,

baptiste-from-paris 2017-03-08T17:03:55.003073Z

can’t make it work but the debugger is working

2017-03-08T17:04:30.003074Z

give me a screenshot of your dirac devtools window switched to “Console Panel” view

2017-03-08T17:05:46.003076Z

you are not using Dirac DevTools but normal internal DevTools

2017-03-08T17:06:29.003077Z

you have to click the green-ish dirac extension button

2017-03-08T17:06:35.003078Z

to open a new window with dirac devtools

2017-03-08T17:07:05.003079Z

please follow this readme to learn how to use dirac: https://github.com/binaryage/dirac-sample

2017-03-08T17:07:57.003081Z

aha, maybe that step is not written there?

baptiste-from-paris 2017-03-08T17:08:06.003082Z

thanks for your time ! , I was doing the sample project, I might have missed something

baptiste-from-paris 2017-03-08T17:08:16.003083Z

let me re-read the sample project

2017-03-08T17:08:18.003084Z

see "After installation, should see a new extension icon next to your address bar"

2017-03-08T17:08:33.003085Z

"Please navigate there, do not open internal DevTools and click Dirac icon while on the http://localhost:9977/demo.html page."

baptiste-from-paris 2017-03-08T17:08:36.003086Z

I have the icon

2017-03-08T17:08:54.003087Z

"It will look almost the same as internal DevTools, but you can tell the difference at first glance: active tab highlight will be green instead of blue (see the screenshots above)."

baptiste-from-paris 2017-03-08T17:09:02.003088Z

ok, I am looser sorry

2017-03-08T17:09:05.003089Z

that is why I wanted a screenshot

baptiste-from-paris 2017-03-08T17:09:28.003090Z

missed the do not open internal DevTools ..

baptiste-from-paris 2017-03-08T17:09:44.003091Z

really sorry for wasting your time and thank you

2017-03-08T17:10:16.003092Z

no problem, let me know if you hit another blocker

baptiste-from-paris 2017-03-08T17:10:21.003093Z

thx !

baptiste-from-paris 2017-03-08T17:13:09.003094Z

working and that’s impressive ^^

👍 1
baptiste-from-paris 2017-03-08T17:17:51.003096Z

so for example I am working on my front-end/om/whatever app, I can launch figwheel with one nrepl and another repl for Dirac Devtool ?

baptiste-from-paris 2017-03-08T17:52:09.003097Z

that’s a crazy tool !

baptiste-from-paris 2017-03-08T17:52:58.003098Z

you even have protocol it implements when you send a function

baptiste-from-paris 2017-03-08T17:54:03.003099Z

@darwin I’ve read that you only use figwheel for hot realoading purpose with cursive

baptiste-from-paris 2017-03-08T17:56:32.003100Z

I have to try it with react-native

baptiste-from-paris 2017-03-08T17:56:37.003101Z

see if it works

2017-03-08T19:52:22.003103Z

@baptiste-from-paris one REPL is enough for my needs, I picked Dirac’s 🙂

2017-03-08T19:53:12.003104Z

in perfect world you would like to evolve your REPL compilation environment with incremental code changes, this works out of the box with figwheel, does not with Dirac

baptiste-from-paris 2017-03-08T19:53:37.003105Z

still struggling with config to make it work with a lein template of figwheel

2017-03-08T19:53:48.003106Z

but you can configure Dirac to use Figwheel’s compiler environment, that’s pretty advanced setup tough

baptiste-from-paris 2017-03-08T19:54:27.003109Z

reading it right now 😉

baptiste-from-paris 2017-03-08T19:56:01.003110Z

what tool did you use for diagrams on this github page ?

2017-03-08T19:56:45.003111Z

https://monodraw.helftone.com/

baptiste-from-paris 2017-03-08T19:57:29.003112Z

real nice ^^

qqq 2017-03-08T22:42:57.003113Z

@darwin: I thought you did those diagrams by hand! Less impressed by your ability to focus now.