#hoplon

/

      • statonjr joined the channel
      • tbl joined the channel
      • onetom__ joined the channel
      • voytech joined the channel
      • statonjr has quit
      • onetom__ has quit
      • statonjr joined the channel
      • mr-foobar joined the channel
      • hayohayo joined the channel
      • voytech
        Hi, I'm trying to use boot-hoplon task in new boot to compile hoplon, but it seems it works bit differently than previous hoplon task - it doesnt touch cljs files, it is only focusing on hoplon. Will this change ? or it will be responsibility of programmer to composer cljs task and hoplon ?
      • hayohayo has quit
      • michaniskin
        voytech: hello there! and welcome!
      • voytech
        Hi !
      • michaniskin
        voytech: yes, the user will compose them
      • but we'll have a pre-rolled solution too, a task that has them composed already
      • that you can use if your requirements are relatively standard
      • but you can still decompose them yourself if you have requirements that are not supported by the pre-roll solution
      • does that make sense?
      • voytech
        more flexible
      • jjttjj has quit
      • campeterson joined the channel
      • michaniskin: I've one more question, because I have problems today with compiling hoplon - resulted html was almost empty no body at all, only script with following src index.html.js ? it is normal behaviour or am I missing something...
      • statonjr has quit
      • jjttjj joined the channel
      • alandipert
        voytech: that sounds normal - there won’t be any actual HTML source unless you prerender. normally hoplon will generate the dom on load as it evaluates your hlisp
      • danielneal joined the channel
      • danielneal
        Hello, just noticed that hoplon 6 / boot 2 is the default branch now on github.
      • Congrats!!
      • alandipert wasn’t even aware
      • alandipert
        but that is great! ul_ has been doing incredible work
      • it blows my mind that he ported it to boot2 as a matter of trying it
      • danielneal
        wow
      • good work ul_
      • alandipert
        we are entering an amazing era, for sure
      • danielneal
        i'm excited
      • alandipert
        i have a toy project that uses 4 compilers in sequence, continuously
      • danielneal
        wat?
      • alandipert
        antlr, javac, clojure, kawa scheme, all in a build pipeline
      • danielneal
        wow
      • alandipert
        i type and it all compilse and runs
      • err, “boot antlr -p simplisp -v javac watch yeti run -m simplisp.Main -a "(+ 1 2)””
      • so the parser compiles first and then yeti compiles continuously
      • but yeah the effort put into shaving all the frontend yaks definitely seems to pay for backend/server things; basically any polyglot scenario is amazing in boot
      • danielneal
        haha what is that i don't even
      • yeti?
      • alandipert
        an obscure ML dialect for the jvm written by a reclusive swedish genius
      • danielneal
        ooh
      • might have to bring that to the next functional programming night here in Brighton
      • alandipert
      • danielneal
        is ul_ around? or michaniskin? I have a question...
      • alandipert
        danielneal: there has been a bunch of discussion about this recently, https://botbot.me/freenode/hoplon/search/?q=inc... /cc raywillig martinklepsch ^^
      • alandipert heads back to the mines
      • danielneal
        aha thanks will have a read through
      • ul_
        danielneal: you are completely right about moving vendor to cljsjs. what about contrib is better to ask michaniskin or alandipert, it is completely voluntary decision — to add contrib dir into repo or deploy contrib libs in arbitrary repos & namespaces
      • alandipert
        i kind of like the idea of a hoplon-sanctioned contrib repo, if only because the shape of a contrib API surface would be guided by hoplon design idioms. we could keep things in one place that will work nicely in a hoplon app. e.g. cell-aware
      • onetom__ joined the channel
      • onetom__
        is there a cljson implementation directly in javascript?
      • michaniskin
        onetom__: cognitect's transit
      • it's the same thing, they implemented it in hand optimized JS
      • onetom__
        im just wondering if i could start "rotting" our previous node api server from inside and hook it up to castra servers
      • candiru joined the channel
      • michaniskin
        we might be ready to switch from cljson to transit anyway
      • alandipert
        another option is david nolen’s mori, a build of the cljs runtime you can drive from JS
      • onetom__
        why switch? transit is more compact?
      • or because it's better supported?
      • alandipert
        the big difference is non-cljs, non-clj interop went into the design
      • so they have ruby, erlang, etc transit libs
      • we only care about clj/s because that’s all you need :-)
      • onetom__
        for new applications...
      • but to rejuvenate applications, the transition period has to be supported... :/
      • danielneal
        alandipert - yeah having rubber stamped contrib in one place would be good for discovering what is possible and consistency
      • alandipert
        onetom: https://github.com/tailrecursion/mori is a fork of mori i did last year that includes javelin
      • onetom: you could modify it a little more to include cljson if you wanted
      • statonjr joined the channel
      • onetom__
        alandipert: thx
      • alandipert
        the primary downside to that over transit is you incur cljs runtime overhead (which you wouldn’t with transit)
      • candiru has quit
      • statonjr has quit
      • onetom__
        i was thinking about swapping out old nodejs backend code which talked to the database with new castra backend code which talks to datomic
      • candiru joined the channel
      • michaniskin
        castra should be able to support transit btw
      • there is a multimethod that lets you swap out cljson with anything else
      • alandipert
        maybe it’s time for transit to be the default?
      • alandipert hasn’t used transit
      • michaniskin
        yeah i haven't used it either yet
      • does it support everything cljson does now?
      • statonjr joined the channel
      • onetom__
        sure, everything is possible. i actually tried to modify that multimethod and it worked.
      • statonjr has quit
      • my question really was just trying to avoid duplicate effort
      • lanceball is now known as lance|afk
      • ul_
        i use transit as packer with sente
      • seems to be working fine
      • crazydiamond has quit
      • alandipert: >60 ppl on chan )))
      • danielneal
        :)
      • alandipert
        wow maybe 2015 will see a HopConf?
      • danielneal
        I'm there!
      • @ul_ @alandipert i'm just starting out on using boot2... i'm getting an error: No such var: core/add-meta something to do with boot-cljs?
      • any ideas ?
      • alandipert
        danielneal: boot -u? sounds like you’re on an older boot
      • onetom__
        i was already asked to give a talk about hoplon at https://generalassemb.ly
      • ul_
        or may be you have meta in your page
      • alandipert
        ooh
      • ul_
        in hoplon6 you should use html-mets
      • html-meta
      • danielneal
        thanks @alandipert... boot -u seems to be doing some magic
      • alandipert
        danielneal: add-meta is a neat function in recent boot, tasks can add metadata to files in the fileset. for instance a compiler might put error messages in some file as metadata on the file with the problems
      • danielneal
        @onetom___ that' cool - do you know when that would be? would love to come
      • @onetom____ there's some magic stuff you can do with hoplon + reveal ;)
      • onetom__
        hasnt been fixed yet
      • danielneal: r u in hk?
      • danielneal
        brighton
      • , uk
      • aha - i thought the talk would be in london ;) didn't realize you were in hk!
      • onetom__
        yeah, i live on lamma island. very nice combo. the metropolis is just half hour ferry ride away
      • on the island we have nice beaches; i was just invited to this year's 1st hungarian dragon boat exercise tomorrow morning, so good nite for now
      • danielneal
        wow, have fun!
      • @ul_ just a question - trying to get hoplon.io working for starters, i'm getting Could not find artifact org.clojure:clojurescript:jar:0.0.0
      • do i have to specify a clojurescript version somewhere?
      • ul_
        hmm... let me try by my own, i didn't after ltest changes by michaniskin
      • hayohayo joined the channel
      • danielneal
        oh wait, my bad - i'd upgraded the cljsjs dependency
      • trying to fix a different problem
      • the only thing is it needs hoplon 0.1.0 is not found - only snapshot dependency is there
      • hayohayo1 joined the channel
      • hayohayo has quit
      • danielneal has quit
      • danielneal joined the channel
      • onetom__ has quit
      • dm3 has quit
      • dm3 joined the channel
      • danielneal has quit
      • ul_
        yes, thank you for pointing, fixed deps in repo
      • boot-cljs should work 2814-0
      • 2814-1 is broken is clojurescript not explicitely specified
      • michaniskin
        we should move all of this to stabilized/clojurescript i think
      • dm3 joined the channel
      • i'm going to add :exclusions to boot today
      • pandeiro joined the channel
      • NOTICE: [boot] micha opened issue #146: Add global :exclusions to env http://git.io/xtXJ
      • so you can :exclude org.clojure/clojurescript
      • statonjr joined the channel
      • ul_
        michaniskin: how do you think, what will be good example to attach to vfsm lib?
      • not huge, but explanatory and, may be, involving watching cells
      • may be some ui depending on possibly failing network request?
      • dm3 has quit
      • dm3 joined the channel