Fork me on GitHub
#hoplon
<
2015-08-31
>
micha01:08:25

before it was called tailrecursion.javelin not javelin.core, maybe that's the problem?

onetom01:08:12

im looking into the latest sources to track it down but im surprised how come the error is not specific enough 😕

onetom01:08:24

i tried it on our homepage project and the error is the same

onetom01:08:21

pair@parrot ~/e/homepage> boot show -d | grep javelin
└── [javelin "3.8.1"]

pair@parrot ~/e/homepage> unzip -p ~/.m2/repository/javelin/javelin/3.8.1/javelin-3.8.1.jar 'javelin/*' | grep 'ns javelin'
(ns javelin.core
(ns javelin.core-clj
(ns javelin.core

onetom01:08:14

but let me try it on the hoplon/demos project. i will push an upgrade to that and u can try there

onetom01:08:02

@micha: ^ u can observe the error in the contacts demo

xificurC11:08:20

@mr-spock: This github repo (the hoplon6 branch of it) has more up to date examples using boot2 and hoplon6. I don't know if all are transitioned and work but it's a start. https://github.com/hoplon/demos/tree/hoplon6

mr-spock11:08:41

Thanks - I will try.

onetom11:08:49

mr-spock: welcome!

onetom11:08:30

xifi: mr-spock I just push a breaking patch to the hoplon6 branch, so check out the commit before mine; that should work.

mr-spock11:08:55

I'm still fihtng with some stuff related to eeping state between rpc calls and dom. It seems that every rpc call cleans up state for everything else. Right now its my only issue. I made post about it on forum

onetom13:08:39

micha: checking the fix. thx!

micha13:08:12

implemented the final solution to the hl-files-in-jar-deps problem yesterday

micha13:08:33

i'll have to migrate the hoplon component jars over and push to clojars

micha13:08:03

it's easy though, just rebuilding the jar with boot hoplon --manifest build-jar push-release

onetom13:08:46

i still dont have a gpg setup, but once i get it in place i can help with publishing too

micha13:08:14

i want to merge danielsz's gpg stuff in boot soon

onetom13:08:01

eh, i was saying contacts but i meant counters actually...

onetom13:08:46

why do u need to specify clojurescript version too? doesnt boot-cljs determine it?

onetom13:08:03

@mr-spock: do u want me to pair with you on your issue? also can i close the hoplon/hoplon#67 ?

mr-spock13:08:58

@onetom: - Yes you can close #67 - it works back again

mr-spock13:08:34

@onetom: by pair you refering to my issue with state when make rpc calls ?

onetom13:08:17

yes. im just reading your post now

onetom13:08:51

can u share the source for it on github pls?

mr-spock13:08:35

yes - give me 5 mins.

onetom13:08:40

and if u can use http://tmate.io/ i can ssh into your system temporarily and we could share a terminal there and figure out whats wrong

mr-spock13:08:20

I'm pretty sure it's nothing wrong but rather my lack of understanding how state is keep between server and client.

onetom13:08:22

for audio connection u can pick a channel; im not sure what to recommend. teamspeak worked well for me in the past but havent used it for a while. probably skype is the quickest or facetime...? firefox hello maybe?

onetom13:08:55

im still trying to understand what your problem is

mr-spock13:08:39

give me a moment - I'm working on tmate/github

mr-spock13:08:52

code is on github

onetom13:08:00

i need to see the frontend code too. u r probably reading the state into the same cell with the different rpc calls.

mr-spock13:08:17

that it just simple 30 lines of code

mr-spock13:08:39

just launch it boot development and click on two links at index page. Clicking one erase state of antoher

mr-spock13:08:43

I’m just evaulating simple pieces on different repos to avoid „what part is not working” scenario

onetom14:08:29

mr-spock: yes, your issue is that u r putting the return value of the 2 different calls into the same state cell

mr-spock14:08:56

@onetom: so separating is solution, In case of 20 rpc calls I should have ~20 (defc something) ..

onetom14:08:26

unless they are manipulating the same state in different ways

mr-spock14:08:28

Now it’s clear to me ..

mr-spock14:08:27

@onetom: I own you simple_smile From many clojure/clojurescript frameworks/libs hoplon is the most efficient. The only stuff what is missing is documentation - that almost always the hardest part to make simple_smile

mr-spock14:08:08

I made changes and now this little code is working like expected.

onetom14:08:22

documentation is coming

onetom14:08:54

the project just been migrated under a new github org yesterday and we opened a wiki there (https://github.com/hoplon/hoplon/wiki), so documentation will grow there eventually

onetom14:08:43

just like it grew over a couple of month under https://github.com/boot-clj/boot/wiki

mr-spock14:08:09

Thx for info

xificurC22:08:05

@micha: Hey, can you recommend anything on learning good css design? I didn't know I need a master's degree to put 2 elements next to each other...

xificurC22:08:23

people are like - use float! Or use inline-block! Or use fixed height on the container and position stuff inside it absolutely! And I'm like, crying already

onetom23:08:31

if you understand this, u dont have to fuck around w floats. u still need to understand that dynamic layouts is a complicated thing and in html u have inline elements which are line oriented and block elements which are stacked by default unless u float them. using block, inline, inline-block and float though doesn't cover all usual needs, neither does it make easy to do everyday alignments, that's why the flexbox model was invented.