untangled

NEW CHANNEL: #fulcro
tony.kay 2016-11-01T16:00:05.003456Z

@currentoor I'm curious if you'd be willing to mention Untangled in your talk/blog titles? You seem to like it, and I think it would really help us with adoption if it had more of a headline inclusion...e.g. "w/ Om Next, Untangled, and Datomic"

šŸ˜„ 1
tony.kay 2016-11-01T16:00:54.003457Z

and I think it would save a lot of ppl a lot of pain to know there's an easier route to getting Om Next working than writing emitters for a parser and all of the other plumbing details. So, seems like a win-win

currentoor 2016-11-01T16:21:58.003458Z

@tony.kay I have a slide with these speaker notes > Probably the part of our stack that this audience is least familiar with. > Itā€™s a lightweight framework and I strongly recommend using it if youā€™re using Om next. > Makes Om next a lot easier to work with. > We started out without it but added after a few weeks. > Itā€™s written by some very talented Clojure developers. > Does things like provid all the network plumbing and write the Om.next parser for you (and a whole lot more that I donā€™t have time to go into). > Gives you a lot of well thought out conventions and a clean architecture. > Plus the untangled team is super helpful.

currentoor 2016-11-01T16:23:03.003459Z

I donā€™t mind changing the title of the talk šŸ˜„

currentoor 2016-11-01T16:23:52.003460Z

Let me know if thereā€™s anything else you want me to mention on the untangled specific slide.

wilkerlucio 2016-11-01T16:24:04.003461Z

@jasonjckn if you want to implement a server side SQL for Untangled, this may help you: https://github.com/daveconservatoire/dcex-cljs/blob/master/src/server/pathom/sql.cljs

wilkerlucio 2016-11-01T16:24:34.003463Z

it's a SQL base code that implements readers for Untangled, this one is for Node.js, but I believe most can be ported

currentoor 2016-11-01T16:37:10.003467Z

@tony.kay changed the title of the blog post and added an Untangled tag on it. https://medium.com/adstage-engineering/realtime-apps-with-om-next-and-datomic-470be2c8204b#.qy59c3r4z If you or anyone else posts on medium itā€™s probably a good idea to use the Untangled tag as well.

keatondunsford 2016-11-01T17:02:10.003471Z

@tony.kay I just found out about Untangled today. This is so amazing. Thank you so much for your hard work. šŸ˜

keatondunsford 2016-11-01T17:03:05.003472Z

Iā€™ve been looking for something that makes Om Next easy. The value propositions over Reagent are just too incredible to ignore for my use case. You just saved me so much time from having to write all this boilerplate:)

currentoor 2016-11-01T17:03:47.003473Z

@keatondunsford just out of curiosity, how did you hear about it?

keatondunsford 2016-11-01T17:04:16.003474Z

I asked a long question in the #om-next channel and @jasonjckn really helpfully and quickly pointed me to this.

keatondunsford 2016-11-01T17:06:25.003475Z

Curious ā€” in Tony's Portland Meetup talk he said then you didnā€™t have support for microservices yet, but that that could be implemented in like ten minutes. Iā€™ve been looking hard into Dockerizing my app. Is there support for this, or would it be easy to implement?:)

keatondunsford 2016-11-01T17:13:59.003476Z

@currentoor Where does Sente come into play? (I didnā€™t see anything explicit about Untangled in that post).

currentoor 2016-11-01T17:15:46.003477Z

Sente is what we used to push data from the server to browser clients. Should be in two of the code examples.

keatondunsford 2016-11-01T17:15:49.003478Z

(since Sente uses Ring)

keatondunsford 2016-11-01T17:16:50.003479Z

Does Untangled use Ring? Sorry if thatā€™s a stupid question lol Iā€™m just trying to learn all this stuff and the state of Om Next dev.

currentoor 2016-11-01T17:16:52.003480Z

Our app is almost entirely built on Untangled.

currentoor 2016-11-01T17:17:14.003481Z

yes untangled does use ring

currentoor 2016-11-01T17:17:20.003482Z

no worries

currentoor 2016-11-01T17:17:38.003483Z

have you gone through tonyā€™s interactive tutorial?

currentoor 2016-11-01T17:17:45.003484Z

thatā€™s a really good place to start

currentoor 2016-11-01T17:18:00.003485Z

the devcards one

keatondunsford 2016-11-01T17:18:35.003486Z

Iā€™ll do that today for sure. This is all super exciting.

keatondunsford 2016-11-01T17:19:10.003487Z

Iā€™m sort of a beginner developer. Iā€™ve only been learning software for like 7 months. But the Clojure world won me over.

currentoor 2016-11-01T17:22:37.003488Z

Oh cool! My unsolicited advice is just to go slow. Thereā€™s a lot to learn and a shaky foundation, from trying to do too much too quickly, is not fun at all.

keatondunsford 2016-11-01T17:24:08.003489Z

Totally. Really appreciate the advice!

tony.kay 2016-11-01T18:23:34.003492Z

@keatondunsford Love your enthusiasm šŸ˜„ I'd have to re-watch my talk to know what I was referring to on microservices. Can you point me to the timestamp where I say that?

tony.kay 2016-11-01T18:24:14.003493Z

@currentoor Cool! I'm sure everyone here that's using it (particularly commercially) appreciates the efforts to get more ppl using it. Future proofing sure is nice.

keatondunsford 2016-11-01T18:44:51.003494Z

@tony.kay ā€œPart 1: Eliminate client parsing code ā€¦ Downside: Multiple remotes are not (currently) supported.ā€ https://youtu.be/IeIyQDg9gBc?t=26m13s

wilkerlucio 2016-11-01T19:21:04.003495Z

I just tried to create a new project using the untangled template, and got an error:

wilkerlucio 2016-11-01T19:22:08.003497Z

is the syntax correct to use the template?

wilkerlucio 2016-11-01T19:24:29.003498Z

ok, I just figured that the [] must be omited, I suggest we change the example, it's confusing since [:devcards] looks like valid clojure snippet

tony.kay 2016-11-01T20:08:53.003499Z

@wilkerlucio this one is currently better (just clone it): https://github.com/awkay/untangled-template-workspace

tony.kay 2016-11-01T20:09:18.003501Z

trying to get time to finish it and get it on clojars

tony.kay 2016-11-01T20:10:11.003502Z

@keatondunsford oh, multiple remotes. Yeah, that is pretty simple, just need to make the networking be a map of networking objects keyed by remote. Om takes care of most of the rest.

tony.kay 2016-11-01T20:11:27.003503Z

it would be a relatively minor refactoring. We would want to decide if the serial queue for network requests should be a singleton, or one-per-network channel. Perhaps that should be configurable. Anyway, future work. We haven't needed it yet, but would be glad to help anyone understand it that wanted to implement it

tony.kay 2016-11-01T20:11:56.003504Z

http caching has a similar story. not there yet, but not too hard to add in.

wilkerlucio 2016-11-01T20:21:00.003505Z

@tony.kay thanks, I'm restarting from it

wilkerlucio 2016-11-01T20:31:04.003506Z

@tony.kay did you have any issues with Cursive not being able to generate the stubs on this project?

tony.kay 2016-11-01T20:31:44.003507Z

don't remember having that problem no...but I do remember having that problem with something...OH beta doesn't work right. I had to turn off EA updates

wilkerlucio 2016-11-01T20:33:24.003509Z

@tony.kay can you tell me how I revert from an EA?

anmonteiro 2016-11-01T20:35:19.003510Z

@wilkerlucio I was just now reading up on Cursive

anmonteiro 2016-11-01T20:35:20.003511Z

https://cursive-ide.com/userguide/

anmonteiro 2016-11-01T20:35:30.003513Z

there's a "Choosing to receive EAP (beta) builds" section at the bottom

wilkerlucio 2016-11-01T20:36:03.003514Z

@anmonteiro thanks, I found that, but since it was installed I think I can't revert, I'm going to just re-install it

adambros 2016-11-01T22:22:54.003517Z

@wilkerlucio the [:option] indicates that it is optional, and the -- is because lein will assume any arguments before a -- are for it and not the template see Common Quotes in http://www.tfug.org/helpdesk/general/man.html

adambros 2016-11-01T22:23:46.003518Z

i should just put this in the readmeā€¦ and help/error messages