Clojurians
#hoplon
<
2015-12-22
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

flyboarder08:12:55

@micha @onetom I whipped together this little guy here demonstrating Polymer/Hoplon https://github.com/degree9/vinyl

onetom13:12:12

@flyboarder: im getting this error in boot-bower:

[email protected] ~/r/vinyl> boot dev
Version in version.properties ...: 0.1.0
Current Build Version ...: 0.1.0
             clojure.lang.ExceptionInfo: java.lang.AssertionError: Assert failed:
                                         (= 0 exitcode)
...
degree9.boot-bower/eval2900/fn/fn/fn  boot_bower.clj:   34
  boot-semver.core/eval1872/fn/fn/fn        core.clj:   87
                 boot.core/run-tasks        core.clj:  800
....

alandipert15:12:24

@flyboarder: that looks awesome, i'll definitely try it out

micha16:12:32

just pushed 1.4.0 version of hoplon-castra-template

micha16:12:39

don't have access to push to clojars though

micha16:12:18

@alandipert: can you add me to that thing on clojars pls

raywillig16:12:10

hi can anyone here help with a transit question? it's a hoplon/castra thing so i don't think too off-topic :simple_smile:

micha16:12:24

@raywillig: what's up?

raywillig16:12:57

i'm pulling records from dynamodb and some of the numeric values come over into hoplon as tagged.literal blah blah blah. I'm assuming the numeric format coming from ddb is something that transit doesn't recognize.

raywillig16:12:14

i understand there's supposed to be a way for me to tell transit how to treat those

micha16:12:51

there is, but it's probably a better idea to just translate them before serializing

micha16:12:04

because you don't need that special type in your client app

micha16:12:19

and you'd have to do the translation there otherwise to preserve the types

micha16:12:32

if you put things back into dynamo from client rpc request

raywillig16:12:54

well, the thing is, it's kind of a deep structure. I've found btw that if i fall back to using cljson, it works with no problems

raywillig16:12:19

it's not even a special structure. it might be a number like 65535

micha16:12:27

what's the tagged literal

raywillig16:12:52

i'll paste an example one sec

raywillig17:12:18

oh sorry, it renders as types.TaggedValue

micha17:12:48

transit is more complicated than cljson

micha17:12:12

alan did some tests and it's not significantly faster or more efficient, so maybe just use cljson

raywillig17:12:36

i'm ok with that. it's only 4 lines to implement

micha17:12:42

problem solved

raywillig17:12:13

i thought for some reason since transit was the default i should try to make it work but. what. ever.

micha17:12:26

how are you getting deeply nested things from ddb?

micha17:12:29

it's a kv store

raywillig17:12:50

i'm storing a big object

micha17:12:01

as a string?

raywillig17:12:24

no, faraday does it all for me. it's magic apparently

micha17:12:04

well that's where your problem is

raywillig17:12:56

that could be.

flyboarder17:12:25

@onetom: boot-bower requires bower on the second machine, the task does not currently error well if it is missing

flyboarder17:12:45

Sorry dev* machine

micha18:12:46

anyone here from appsflyer?

levitanong18:12:17

Hi guys, added another entry in the cookbook, on the topic of attribute inheritance. Putting this out there in case someone spots an error. https://github.com/hoplon/hoplon/wiki/Cookbook#attribute-inheritance

levitanong18:12:39

Also, (tab-tab) in the hoplon twitter-bootstrap repo is hilarious

micha18:12:05

@levitanong: great work!

levitanong18:12:10

Hurrah! Thanks, @micha!

micha18:12:36

documentation is coming along, thanks for writing that :simple_smile:

levitanong18:12:33

Do y’all know if github’s wiki can have nested structures?

levitanong18:12:55

i’m thinking the current hoplon wiki could do with some organization

micha19:12:17

the sidebar can be organized like a tree with nested lists

levitanong19:12:50

I too remember the sidebar having a nested structure, but that doesn’t seem to be the case now. Nor can I find any way to do it at the moment.

micha19:12:03

i yhink you can edit the sidebar and use markdown lists

micha19:12:49

* chapter 1
  * section 1
  * section 2
* chapter 2
  * section 1
    * subsection 1
  * section 2

flyboarder19:12:10

@onetom: I updated boot-bower to version 0.3.0 let me know if that works better, ill push an update to vinyl shortly