Clojurians
#hoplon
<
2015-09-13
>

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

raymcdermott07:09:05

@alandipert: thanks alan … timezone lag from europe. Thanks for the tip I’ll give it a try

micha10:09:00

hi everyone! !m all around things are looking awesome

mynomoto13:09:53

New hoplon page looks nice but why no dog fooding there?

bsima14:09:04

I heard the designer made it 6 months ago, before he was converted to hoplonism

alandipert14:09:30

@mynomoto: hehe yeah, workin' on the dog fooding simple_smile

alandipert14:09:57

i was able to convert the markup to hlisp format with some data.xml repl activity

mynomoto14:09:58

!m alandipert

alandipert14:09:17

i showed it to @jab and he pointed out we really need a couple live demos

alandipert14:09:30

so my goal is to show off defelem blink

bsima14:09:16

But to do that you need the website to be powered by Hoplon, no?

jab14:09:52

Hey @alandipert, I meant to say yesterday, if I could possibly help in any way by pairing with you while you update the site, it'd be a pleasure

alandipert14:09:36

@jab: possibly tomorrow PM? we could work on adding the demos

jab14:09:58

Sounds great

mynomoto14:09:27

And we have a hoplon emoji simple_smile

alandipert14:09:32

i think this week the logo will be much cooler, the designer is attacking it

alandipert14:09:40

i just made that in 10 minutes in inkscape

bsima14:09:22

...yeah i wasn't gonna say anything, but i'm looking forward to new hoplon logo 😛

mynomoto14:09:31

@alandipert: @micha about the artifacts coordinates is it hoplon/javelin and hoplon/castra or javelin/javelin and castra/castra?

alandipert15:09:37

@mynomoto: i was in favor of hoplon/* but i think @micha and @onetom went with hoplon/hoplon, javelin/javelin, etc

mynomoto15:09:53

The latest javelin is on hoplon/javelin and the latest castra is on castra/castra atm.

alandipert15:09:22

oh, so we did both lol

alandipert15:09:24

"compromise"

mynomoto15:09:29

Got a nasty bug with those changes of coordinates 😕

onetom15:09:38

this was our thinking process

onetom15:09:56

mynomoto: what bug?

mynomoto15:09:25

I'm pulling both hoplon/javelin and tailrecursion/javelin and formula cells are behaving crazy doing no autoderefs

mynomoto15:09:48

At least this is my current hypotesis, will know in a couple of minutes

onetom15:09:49

we are suffering from some super weird error. our backend is throwing random exceptions about get being not defined and similarly basic vars were missing

mynomoto15:09:23

Also two hoplon 😞

onetom15:09:43

mynomoto: wanna have a 2nd pair of eyes? if u let me in via http://tmate.io i would be willing to have a look. (voice channel can be skype unless u have a better idea)

mynomoto15:09:23

onetom: thanks, I'm fixing the duplicate requires, that should do it.

onetom15:09:13

btw, i was scanning thru the source of elem+ and defelem+. is there any example usage for them or they are not official yet?

onetom15:09:39

i was wondering how would i create a menu widget which holds the selected element in a cell and the menu items implicitly use that cell. something like:

(defelem menu [attrs items]
  (let [active (cell)]
    (bindings [item (elem [...] (div :click #(reset! active %) ...))]
      items)
so i can use it like:
(menu "File"
   (item "Open")
   (item "Save")
   (item :disabled true "Close"))

onetom15:09:13

I remember the classical tab example from http://hoplon.io but that was imposing a bit too much structure on the kids...

onetom16:09:38

I have only one menu to deal with at the moment, so I can just hardwire these menu and item elements to a singleton cell, but i was just wondering how to create these kind of more complex "widgets", because we are just about to more over some substantial amount of frontend into hoplon

mynomoto16:09:38

So about my bug different versions of hoplon and javelin at the same time on a project are a no no. All fixed now, but boot show -d is your friend to find that.

asolovyov17:09:24

so does everybody prefer slack to irc these days or what? simple_smile

mynomoto17:09:48

@asolovyov: I like gitter more, but there is value on having the whole clojure community in one place with logs 😉

asolovyov17:09:36

that's true, plus gitter's app is slow for me, from time to time it becomes painful to use

bsima17:09:00

i just haven't set up irssi on my new laptop...

mynomoto17:09:50

I would like to have only one of those for each subject. Here and irc at the same time bugs me a little.

asolovyov17:09:20

@mynomoto: yeah, I'd rather vote for one type of chats and stick with it

asolovyov17:09:56

slack, irc, gitter... we had skype chats for devs here, but they moved to gitter. I'm really happy nobody thought of setting up groups in telegram yet

micha18:09:26

i never got around to moving castra to hoplon/castra

micha18:09:49

but that was the intention after we discussed it

micha18:09:24

@mynomoto: if you would like to move castra that would be great

mynomoto18:09:37

@micha: ok, so the artifact should be hoplon/castra then? And the namespaces are already ok with castra.core as the main entrypoint?

micha18:09:18

i believe that's what we ended up with, yes

micha18:09:04

i don't have a strong opinion about it, myself

mynomoto18:09:44

Me neither as long as there is something consistent. I will deploy it in a bit as hoplon/castra then.

raymcdermott19:09:11

@alandipert: cloned the project and still having no luck

raymcdermott19:09:18

ray-ge-quit! > boot dev
             clojure.lang.ExceptionInfo: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
    data: {:file
           "/var/folders/rm/08qghdcn7v731n1jl9s2xvdr0000gn/T/boot.user161164472853904582.clj",
           :line 13}
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
            java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
                  boot.pod/make-pod          pod.clj:  458
     adzerk.boot-reload/make-pod/fn  boot_reload.clj:   15
clojure.core/binding-conveyor-fn/fn         core.clj: 1910
                                ...                       

raymcdermott19:09:07

java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

raymcdermott19:09:44

uname -a
Darwin i-Ray-MacBook-Pro-2.local 15.0.0 Darwin Kernel Version 15.0.0: Wed Aug 26 19:41:34 PDT 2015; root:xnu-3247.1.106~5/RELEASE_X86_64 x86_64

raymcdermott19:09:55

should I open an issue on that project?

mynomoto19:09:41

@raymcdermott: what is the output of boot? (only the first 3 lines)

alandipert19:09:42

@raymcdermott: it looks like you must download a new boot.sh, https://github.com/boot-clj/boot/issues/276

alandipert20:09:28

is there any known reason a reload would cause a blank page?

alandipert20:09:51

using boot-reload on a hoplon app that is

alandipert20:09:54

looks like after the first reload, body is empty

alandipert20:09:29

derp, body was inside head

alandipert20:09:56

i think a simpler markdown macro with just support for links and inline stuff like strong/em would go a long way

alandipert20:09:02

i will compute this for the homepage

alandipert20:09:50

unless someone else already has, do we have such a thing?

micha20:09:47

adzerk/zerkdown

alandipert20:09:10

is it ok if i deploy a 1.0 of this?

alandipert20:09:22

or is it on clojars and i am not seeing?

micha20:09:34

i just pushed a thing

micha20:09:38

it's not really ready

micha20:09:56

but if you're going to invent something that might be a start

xifi20:09:23

I just realized something - if the Matrix was the JVM then Neo would be Clojure

alandipert21:09:14

@micha: yeah just the grammar is a big help, i can massage the instaparsed into the codes

raywillig22:09:08

@alandipert: suggestion for live example for hoplon site: a gauge like from your blog post showing number of repos in hoplon organization

alandipert22:09:35

@raywillig: awesome, thanks

alandipert22:09:48

@mynomoto: that's so awesome!!

mynomoto23:09:57

@alandipert: I just did minor adjustments on the code micha removed from the hoplon task 😉

alandipert23:09:29

yes but separately, it's an even better example of what boot can do imo. thanks for making

mynomoto23:09:02

boot is amazing, it was not even hard to do a task that only does work when necessary.

alandipert23:09:46

now that it's on clojars you can use it for the docstring on the task for the next version 😄

bsima23:09:09

@alandipert how do you guys use this locally? https://github.com/adzerk-oss/env

bsima23:09:06

I'm used to having config/*.yml files, so in my build.boot I usually load config vars from a git-ignored file, but it seems that's not best practices

bsima23:09:21

I imagine you guys would just have a gitignore'd shell script that exports all of the config vars, and you execute this script before running your app locally?