Fork me on GitHub
#dirac
<
2017-02-08
>
richiardiandrea02:02:46

By the way I pushed a release (`0.2.0`) version this weekend @qqq

qqq03:02:45

@richiardiandrea : I feel guilty about the fact I'm not even paying you for support contract. // Github needs to implement this feature.

richiardiandrea03:02:49

@qqq I am sure we can arrange some way if you really want to ah ah

qqq03:02:13

I would actually be okay if, every time my boot project pulls a dependency, it pays the dev team behind the dependency $1.00 in dogecoin or something.

richiardiandrea03:02:35

That's a neat idea

qqq03:02:51

or maybe not every pull (since it's automatic), but something like "boot -pay-all-the-devs-because-my-code-just-did-something-awesome-and-I'm-in-a-really-good-mood"

richiardiandrea03:02:18

A boot task that pays you some small amount every time it pulls a new dep is cool

qqq03:02:05

the tech is theoretically all there; we just need every dependency to attach a bitcoin address to it

qqq03:02:18

the main problem is probably the lack of devs owning bitcoins (I certainly own none)

richiardiandrea03:02:16

Yeah but coinbase is big enough I guess

danielsz05:02:12

@darwin I encountered the same error as @adamfrey , the one that says "Uncaught TypeError: Cannot read property 'addExtensions' of undefined", source: (57)

danielsz05:02:35

FYI I'm running all the latest versions, but I'm on Linux, and while Dirac indicates it connected successfully, the developer console is blank.

danielsz05:02:48

So I can't use it. 😞

danielsz05:02:07

Here are two related errors adjacent in the logs: (1882)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)

danielsz05:02:23

And: [(443)] Attempting to require callback on nonexistent surface

danielsz22:02:41

Some more log digging inside Chromium reveal the following messages: at Object.Protocol.InspectorBackendExtensionMode.loadFromExtensionIfNeeded (inspector.js:4597)

darwin22:02:26

@danielsz this sounds like an older version of Chromium in play

darwin22:02:40

are you sure you are running the latest canary?

danielsz22:02:08

On Linux, there is no Canary.

danielsz22:02:15

I run Chromium Version 56.0.2924.87 (64-bit)

darwin22:02:18

my travis builds run on ubuntu and test against: Google Chrome: 58.0.3007.0 (Developer Build) (64-bit) https://travis-ci.org/binaryage/dirac#L777

darwin22:02:01

ah, it is debian

danielsz22:02:23

Ah, OK, that's nice to know. There is a dev package in Arch too. I better test it with that, then.

darwin22:02:35

there used to be google-chrome-unstable package, not sure about your Arch tough

darwin22:02:28

also dirac releases contain direct links to precompiled likely-compatible linux versions, see Rolling DevTools sections: https://github.com/binaryage/dirac/releases

danielsz22:02:26

Oh, thanks, that's nice too. It's kind of interesting (and a bit crazy) to keep up with the changes. For you it must be even more annoying to have these APIs constantly changing, no?

darwin22:02:17

it's been a challenge, ideas welcome 🙂

danielsz22:02:46

Well, at least your name is apt, as befits the father of evolution.

danielsz22:02:27

I suppose at one point things will slow down.

danielsz22:02:43

I mean, that's how things work, don't they?

darwin22:02:07

well, the devtools activity has beeb quite busy and there are no signs of a slowdown[1], but I hope protocol changes will be less frequent because now they commit to support node.js as well, which forces them to maintain more stable api between the frontend (UI) and backend (debugger) [1] https://github.com/binaryage/dirac/commits/devtools

danielsz22:02:41

Interesting. Out of curiosity, what's your view on weasel + piggieback? Is it a good foundation? Are they evolving too?

danielsz22:02:55

I sometimes hear they it's brittle, but I don't have much experience with them.

darwin22:02:21

I don’t know full context, I came to ClojureScript from Javascript, never did any Java + Clojure before, unfortunately piggieback and weasel were solutions how to bolt CLJS REPL functionality on top of existing Clojure infrastructure, which required some hacks

darwin22:02:41

for me piggieback is so “clever” to the level it is incomprehensible for me, nREPL also adds a lot of complexity, but it is flexible

darwin22:02:16

all these tools and libraries have place and were super-important in the early days at least

danielsz22:02:39

You're the man. Fantastic document. @cemerick used to write some early foundational clojurescript, he's a great guy but not always easy to follow, I remember struggling with piggieback.

danielsz22:02:19

Sometimes I wonder if at some stage someone will decide to rewrite those foundations because that person thinks he can improve on it. If it makes sense, if it's worth it, maybe someone will do that.

darwin23:02:42

I think there is inherent complexity in the task of building a full-featured ClojureScript REPL. A rewrite could make individual parts more understandable from REPL developer’s point of view, but not much better from end-user’s point of view. So it not worth it IMO.

danielsz23:02:08

I get that. It makes sense, and probably it's the reason nobody made the foolish attempt. Self-hosted Clojurescript is full of promises in terms of simpler tooling, but that's theory at this point I guess.

danielsz23:02:26

Looks much better after installing google-chrome-dev on Arch. 🙂

darwin23:02:16

in general I think good amount of tooling should be part of core development so that it is built on solid foundations and provides best user/developer-experience possible, but I think we don’t have man power for that right now, a single person (dnolen) cannot possibly handle everything, so he lets community to figure out more high-level tooling, like figwheel

darwin23:02:49

it is good, but might be overhelming for new comers, especially people coming from Javascript without prior exposure to Java

danielsz23:02:54

Still trying to figure out why I see "Please install Dirac Runtime into your app and enable the :repl feature" despite running the (cljs-devtools) and (dirac) tasks in my boot pipleline.

danielsz23:02:07

I see Agent connected in the console.

darwin23:02:50

I’m not familiar with boot tasks, try to install dirac by hand in your app

darwin23:02:04

just calling dirac.runtime.core/install! or something like that

danielsz23:02:19

Ah, awesome, let me try that.

darwin23:02:29

(not a new release, just fixed the link)